[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40677] [PATCH 04/30] gnu: jami: Add a generalized procedure for app
From: |
Jan Wielkiewicz |
Subject: |
[bug#40677] [PATCH 04/30] gnu: jami: Add a generalized procedure for applying patches made by Savoir-faire linux to Jami dependencies. |
Date: |
Fri, 17 Apr 2020 02:34:07 +0200 |
---
gnu/packages/jami.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 8601ad718d..27f6ff26f5 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -76,6 +76,22 @@
(base32
"0kx0y9jxyhgj6id6n3xxpm54i6b8dqyx9vxwkx505jvhlbxd2x7x"))))
+(define-public jami-apply-dependency-patches
+ '(lambda* (#:key inputs dep-name patches)
+ (let ((savoir-faire-linux-patches-directory "Savoir-faire Linux patches"))
+ (mkdir-p savoir-faire-linux-patches-directory)
+ (invoke "tar" "-xvf" (assoc-ref inputs "savoir-faire-linux-patches")
+ "-C" savoir-faire-linux-patches-directory
+ "--strip-components=5"
+ (string-append "ring-project/daemon/contrib/src/"
+ dep-name))
+ (for-each
+ (lambda (file)
+ (invoke "patch" "--force" "-p1" "-i"
+ (string-append savoir-faire-linux-patches-directory "/"
+ file ".patch")))
+ patches))))
+
(define-public pjproject-jami
(package
(inherit pjproject)
--
2.26.1
- [bug#40677] Jami, Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 01/30] gnu: jami: Move Jami and its dependencies to jami.scm., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 02/30] gnu: jami: Bump to 20200203.1.5ee7e10., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 03/30] gnu: jami: Fix downloading by changing the prefix to "jami_"; Use the "release" dir instead of the deprecated "ring-release"., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 04/30] gnu: jami: Add a generalized procedure for applying patches made by Savoir-faire linux to Jami dependencies.,
Jan Wielkiewicz <=
- [bug#40677] [PATCH 07/30] gnu: libring: Add libnatpmp as an optional dependency; remove unnecessary comment., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 06/30] gnu: Add libnatpmp., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 09/30] gnu: opendht: Bump to 2.0.0rc1., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 05/30] gnu: pjproject-jami: Use the jami-apply-dependency-patches procedure., Jan Wielkiewicz, 2020/04/16
- [bug#40677] [PATCH 08/30] gnu: libupnp: Bump to 1.8.6; change the download method to git-fetch; add missing dependencies., Jan Wielkiewicz, 2020/04/16