[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/94: gnu: readline: Add a version parameter to patch procedures.
From: |
guix-commits |
Subject: |
22/94: gnu: readline: Add a version parameter to patch procedures. |
Date: |
Thu, 5 Dec 2019 12:15:30 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit f7511ff1109868d215f5668d8e07e539ef77bd7b
Author: Marius Bakke <address@hidden>
Date: Sat Nov 30 03:33:56 2019 +0100
gnu: readline: Add a version parameter to patch procedures.
* gnu/packages/readline.scm (patch-url, readline-patch, patch-series): Add
VERSION parameter.
(%patch-series-7.0): Pass "7.0" to PATCH-SERIES.
---
gnu/packages/readline.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm
index 57d550d..1304bb8 100644
--- a/gnu/packages/readline.scm
+++ b/gnu/packages/readline.scm
@@ -30,22 +30,24 @@
#:use-module (guix utils)
#:use-module (ice-9 format))
-(define (patch-url seqno)
- (format #f "mirror://gnu/readline/readline-7.0-patches/readline70-~3,'0d"
seqno))
+(define (patch-url version seqno)
+ (format #f "mirror://gnu/readline/readline-~a-patches/readline~a-~3,'0d"
+ version (string-join (string-split version #\.) "") seqno))
-(define (readline-patch seqno sha256)
+(define (readline-patch version seqno sha256)
"Return the origin of Readline patch SEQNO, with expected hash SHA256"
(origin
(method url-fetch)
- (uri (patch-url seqno))
+ (uri (patch-url version seqno))
(sha256 sha256)))
-(define-syntax-rule (patch-series (seqno hash) ...)
- (list (readline-patch seqno (base32 hash))
+(define-syntax-rule (patch-series version (seqno hash) ...)
+ (list (readline-patch version seqno (base32 hash))
...))
(define %patch-series-7.0
(patch-series
+ "7.0"
(1 "0xm3sxvwmss7ddyfb11n6pgcqd1aglnpy15g143vzcf75snb7hcs")
(2 "0n1dxmqsbjgrfxb1hgk5c6lsraw4ncbnzxlsx7m35nym6lncjiw7")
(3 "1027kmymniizcy0zbdlrczxfx3clxcdln5yq05q9yzlc6y9slhwy")
- 49/94: gnu: libxcomposite: Do not build static libraries., (continued)
- 49/94: gnu: libxcomposite: Do not build static libraries., guix-commits, 2019/12/05
- 41/94: gnu: harfbuzz: Update to 2.6.4., guix-commits, 2019/12/05
- 54/94: gnu: libxpm: Do not build static libraries., guix-commits, 2019/12/05
- 74/94: gnu: xcb-util: Do not build static libraries., guix-commits, 2019/12/05
- 78/94: gnu: xcb-util-renderutil: Do not build static libraries., guix-commits, 2019/12/05
- 73/94: gnu: libxaw: Do not build static libraries., guix-commits, 2019/12/05
- 86/94: gnu: xorgproto: Update to 2019.2., guix-commits, 2019/12/05
- 13/94: gnu: jbig2dec: Update to 0.17., guix-commits, 2019/12/05
- 14/94: gnu: glibc: Update to 2.30., guix-commits, 2019/12/05
- 15/94: gnu: zstd: Update to 1.4.4., guix-commits, 2019/12/05
- 22/94: gnu: readline: Add a version parameter to patch procedures.,
guix-commits <=
- 18/94: gnu: libffi: Update to 3.3., guix-commits, 2019/12/05
- 31/94: gnu: Remove cmake/fixed., guix-commits, 2019/12/05
- 24/94: gnu: icu4c: Update to 65.1., guix-commits, 2019/12/05
- 36/94: gnu: libspiro: Update to 20190731., guix-commits, 2019/12/05
- 35/94: gnu: meson: Update to 0.52.1., guix-commits, 2019/12/05
- 34/94: gnu: doxygen: Update to 1.8.16., guix-commits, 2019/12/05
- 32/94: gnu: CMake: Update to 3.16.0., guix-commits, 2019/12/05
- 38/94: gnu: libxslt: Update to 1.1.34., guix-commits, 2019/12/05
- 45/94: gnu: libxi: Do not build static libraries., guix-commits, 2019/12/05
- 47/94: gnu: libxshmfence: Do not build static libraries., guix-commits, 2019/12/05