* [bug#63636] [PATCH 1/2] gnu: pcre2: Update to 10.42.
[not found] <cover.1684726234.git.873216071@qq.com>
@ 2023-05-22 3:48 ` Z572 via Guix-patches via
2023-05-22 3:48 ` [bug#63636] [PATCH 2/2] gnu: pcre2: use git source Z572 via Guix-patches via
1 sibling, 0 replies; 3+ messages in thread
From: Z572 via Guix-patches via @ 2023-05-22 3:48 UTC (permalink / raw)
To: 63636
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1783 bytes --]
* gnu/packages/pcre.scm (pcre2): Update to 10.42.
[arguments]: <#:configure-flags>: enable jit when target to riscv64.
---
gnu/packages/pcre.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index 7c53a27685..769738c3d5 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -93,7 +94,7 @@ (define-public pcre
(define-public pcre2
(package
(name "pcre2")
- (version "10.40")
+ (version "10.42")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/PCRE2Project/pcre2"
@@ -101,7 +102,7 @@ (define-public pcre2
"/pcre2-" version ".tar.bz2"))
(sha256
(base32
- "0s4x2l6g0sb9piwkr3sxqwdswz2g6bk1hhwngv0kv4w38wybir0l"))))
+ "0h78np8h3dxlmvqvpnj558x67267n08n9zsqncmlqapans6csdld"))))
(build-system gnu-build-system)
(inputs (list bzip2 readline zlib))
(arguments
@@ -113,8 +114,7 @@ (define-public pcre2
"--enable-pcre2-16"
"--enable-pcre2-32"
;; pcre2_jit_test fails on powerpc32.
- ;; riscv64-linux is an unsupported architecture.
- #$@(if (or (target-ppc32?) (target-riscv64?))
+ #$@(if (target-ppc32?)
#~()
#~("--enable-jit"))
"--disable-static")
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#63636] [PATCH 2/2] gnu: pcre2: use git source.
[not found] <cover.1684726234.git.873216071@qq.com>
2023-05-22 3:48 ` [bug#63636] [PATCH 1/2] gnu: pcre2: Update to 10.42 Z572 via Guix-patches via
@ 2023-05-22 3:48 ` Z572 via Guix-patches via
2024-01-22 4:32 ` bug#63636: " Maxim Cournoyer
1 sibling, 1 reply; 3+ messages in thread
From: Z572 via Guix-patches via @ 2023-05-22 3:48 UTC (permalink / raw)
To: 63636
* gnu/packages/pcre.scm[source]: use GIT-FETCH.
[native-inputs]: add AUTOCONF AUTOMAKE LIBTOOL.
---
gnu/packages/pcre.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/pcre.scm b/gnu/packages/pcre.scm
index 769738c3d5..84ca7292b4 100644
--- a/gnu/packages/pcre.scm
+++ b/gnu/packages/pcre.scm
@@ -28,12 +28,14 @@
(define-module (gnu packages pcre)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages readline)
#:use-module (gnu packages)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system gnu))
@@ -96,14 +98,17 @@ (define-public pcre2
(name "pcre2")
(version "10.42")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/PCRE2Project/pcre2"
- "/releases/download/pcre2-" version
- "/pcre2-" version ".tar.bz2"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PCRE2Project/pcre2")
+ (commit (string-append "pcre2-" version))))
+ (file-name
+ (git-file-name name version))
(sha256
(base32
- "0h78np8h3dxlmvqvpnj558x67267n08n9zsqncmlqapans6csdld"))))
+ "1d2kiavdn0wyxv168sz9wd77m3hl46i51fmx4pqya99ydnimpxzb"))))
(build-system gnu-build-system)
+ (native-inputs (list autoconf automake libtool))
(inputs (list bzip2 readline zlib))
(arguments
(list #:configure-flags
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#63636: [PATCH 2/2] gnu: pcre2: use git source.
2023-05-22 3:48 ` [bug#63636] [PATCH 2/2] gnu: pcre2: use git source Z572 via Guix-patches via
@ 2024-01-22 4:32 ` Maxim Cournoyer
0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-01-22 4:32 UTC (permalink / raw)
To: Z572; +Cc: 63636-done
Hi,
Z572 <873216071@qq.com> writes:
> * gnu/packages/pcre.scm[source]: use GIT-FETCH.
> [native-inputs]: add AUTOCONF AUTOMAKE LIBTOOL.
I've pushed the update in 388bdc495d, but not the switch to git fetch as
this would increase the closure of core packages such as grep.
That would need to be investigated whether it'd cause a bootstrapping
problem.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-22 4:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1684726234.git.873216071@qq.com>
2023-05-22 3:48 ` [bug#63636] [PATCH 1/2] gnu: pcre2: Update to 10.42 Z572 via Guix-patches via
2023-05-22 3:48 ` [bug#63636] [PATCH 2/2] gnu: pcre2: use git source Z572 via Guix-patches via
2024-01-22 4:32 ` bug#63636: " Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).