unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28359] [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
@ 2017-09-05 16:19 Troy Sankey
  2017-09-05 16:48 ` Troy Sankey
  0 siblings, 1 reply; 3+ messages in thread
From: Troy Sankey @ 2017-09-05 16:19 UTC (permalink / raw)
  To: 28359


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

This fixes notmuch-addrlookup-c which is currently failing build on
master.  It changes the version to include a commit which fixes
compatibility with notmuch-0.25.  Builds were failing since notmuch was
updated on 2017-07-25.

Troy

[-- Attachment #1.2: 0001-gnu-notmuch-addrlookup-c-Update-to-8-1.88f156d.patch --]
[-- Type: text/x-diff, Size: 4926 bytes --]

From 57ee2da4c72c6ff9c2d4367f2909f5b902082906 Mon Sep 17 00:00:00 2001
From: Troy Sankey <sankeytms@gmail.com>
Date: Tue, 5 Sep 2017 11:56:34 -0400
Subject: [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.

* gnu/packages/mail.scm (notmuch-addrlookup-c): Update to 8-1.88f156d.
[source]: Use git-fetch.
---
 gnu/packages/mail.scm | 84 +++++++++++++++++++++++++++------------------------
 1 file changed, 45 insertions(+), 39 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 2a759c3d2..42abc9409 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -727,45 +727,51 @@ ing, and tagging large collections of email messages.")
     (license gpl3+)))
 
 (define-public notmuch-addrlookup-c
-  (package
-    (name "notmuch-addrlookup-c")
-    (version "7")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/aperezdc/" name "/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0rslg2ifgyhl6asv3yr1f62m9xjfcinv7i6qb07h2k217jqlmrri"))))
-    (build-system gnu-build-system)
-    (arguments
-     '(#:tests? #f ; no tests
-       #:make-flags (list "CC=gcc"
-                          (string-append "PREFIX="
-                                         (assoc-ref %outputs "out")))
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure)
-                  ;; Remove vim code completion config, it's not needed to
-                  ;; build (or be patched).
-                  (add-before 'patch-source-shebangs 'delete-ycm-file
-                              (lambda _ (delete-file ".ycm_extra_conf.py")))
-                  (replace 'install
-                           (lambda* (#:key outputs #:allow-other-keys)
-                             (let ((bin (string-append
-                                         (assoc-ref outputs "out") "/bin")))
-                               (install-file "notmuch-addrlookup" bin)))))))
-    (native-inputs
-     `(("pkg-config" ,pkg-config)))
-    (inputs
-     `(("glib" ,glib)
-       ("notmuch" ,notmuch)))
-    (home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
-    (synopsis "Address lookup tool for Notmuch")
-    (description "This is an address lookup tool using a Notmuch database,
-useful for email address completion.")
-    (license license:expat)))
+  ;; This commit includes a compatibility fix for notmuch-0.25, and is not
+  ;; currently part of any release.  Please update this package when
+  ;; notmuch-addrlookup-c-9 is released.
+  (let ((commit "88f156d04990a71c6ad6fc2757b537b44e3c4d00")
+        (revision "1"))          ;Guix package revision
+    (package
+      (name "notmuch-addrlookup-c")
+      (version (string-append "8-" revision "."
+                              (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/aperezdc/notmuch-addrlookup-c.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "0v0wzs7qzy4n1hbql8s10qrwgalcxdzbxf8pj6cii1pv2jwmkxbm"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:tests? #f ; no tests
+         #:make-flags (list "CC=gcc"
+                            (string-append "PREFIX="
+                                           (assoc-ref %outputs "out")))
+         #:phases (modify-phases %standard-phases
+                    (delete 'configure)
+                    ;; Remove vim code completion config, it's not needed to
+                    ;; build (or be patched).
+                    (add-before 'patch-source-shebangs 'delete-ycm-file
+                                (lambda _ (delete-file ".ycm_extra_conf.py")))
+                    (replace 'install
+                             (lambda* (#:key outputs #:allow-other-keys)
+                               (let ((bin (string-append
+                                           (assoc-ref outputs "out") "/bin")))
+                                 (install-file "notmuch-addrlookup" bin)))))))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("glib" ,glib)
+         ("notmuch" ,notmuch)))
+      (home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
+      (synopsis "Address lookup tool for Notmuch")
+      (description "This is an address lookup tool using a Notmuch database,
+us  eful for email address completion.")
+      (license license:expat))))
 
 (define-public python-notmuch
   (package
-- 
2.13.3


[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE0zLJ6STd4Cp+CgbIgs677ofYV8IFAlmuznEACgkQgs677ofY
V8LQKhAAiHZdCPwH15alv9l91DkSpbn6I0XckAoZFr8TfkOoCPWm5cv5QFTdk02S
bSeVpysFBVnoByShRIRhthxk9VfvRKqdcYFiKc/u3PDGS247JBblP8lJ+qCkoRKe
UepMIcgnsIYkpV1Dtk2mPBN7SsM/a84T1sEp4CvUCihW6J2EjfLIm+FNYCAx/XGa
PEHAbF4pr5r/W7IAgNwItLSWO4CApOFLvbkb1p3hoKxB85O4GjKIxqSpkV6+A0Cf
bMmypAL5hF0fZ6T50R8er1rQ0Ju9Omi7uxczvcGm091xwQPcQ0l6vEJmt1kNYWZ+
uJwkcfFUSVyFo2UznJPPCr/0ifKN+0LHR6atR/IfTCDMhNMJ0U2XHdvDtBPukX1s
8fqAwnDabtlpZnjGiDk9SfFt4Ye9PMvFwJSQfFx6uXwuop8d1AlhcItyNNJH3Haf
3Y5DVsEunyszvyjFEvTQiWlfwcKwYr/mcXL3gmGCzp6cUvzHX09Pn6lNb71NyFJo
2ncDRanX5bFoiF1rRrAK72iyCwwuqkoa2AT/6xbX2g2kyMwcgCC9JLW/Tp4rjiLK
ymtoir/yqN/O4uIlPNcDH/qtDvmWcP3zf1Y0XBHdD0/gDBSiLGFh1tCgGnM2+F+M
Iw3FRYTXd71coNmVaop14ghXnnwvoulciI85wBbLKWjYJgGLn94=
=veLl
-----END PGP SIGNATURE-----

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#28359] [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
  2017-09-05 16:19 [bug#28359] [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d Troy Sankey
@ 2017-09-05 16:48 ` Troy Sankey
  2017-09-08 16:11   ` bug#28359: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Troy Sankey @ 2017-09-05 16:48 UTC (permalink / raw)
  To: 28359


[-- Attachment #1.1: Type: text/plain, Size: 69 bytes --]

Bleh, here's an updated patch without my indentation error.

Troy

[-- Attachment #1.2: 0001-gnu-notmuch-addrlookup-c-Update-to-8-1.88f156d.patch --]
[-- Type: text/x-diff, Size: 4883 bytes --]

From c3f56cb191a4a3e17052f2f41da18909c87e8692 Mon Sep 17 00:00:00 2001
From: Troy Sankey <sankeytms@gmail.com>
Date: Tue, 5 Sep 2017 11:56:34 -0400
Subject: [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.

* gnu/packages/mail.scm (notmuch-addrlookup-c): Update to 8-1.88f156d.
[source]: Use git-fetch.
---
 gnu/packages/mail.scm | 82 +++++++++++++++++++++++++++------------------------
 1 file changed, 44 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 2a759c3d2..50ee17b56 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -727,45 +727,51 @@ ing, and tagging large collections of email messages.")
     (license gpl3+)))
 
 (define-public notmuch-addrlookup-c
-  (package
-    (name "notmuch-addrlookup-c")
-    (version "7")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/aperezdc/" name "/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0rslg2ifgyhl6asv3yr1f62m9xjfcinv7i6qb07h2k217jqlmrri"))))
-    (build-system gnu-build-system)
-    (arguments
-     '(#:tests? #f ; no tests
-       #:make-flags (list "CC=gcc"
-                          (string-append "PREFIX="
-                                         (assoc-ref %outputs "out")))
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure)
-                  ;; Remove vim code completion config, it's not needed to
-                  ;; build (or be patched).
-                  (add-before 'patch-source-shebangs 'delete-ycm-file
-                              (lambda _ (delete-file ".ycm_extra_conf.py")))
-                  (replace 'install
-                           (lambda* (#:key outputs #:allow-other-keys)
-                             (let ((bin (string-append
-                                         (assoc-ref outputs "out") "/bin")))
-                               (install-file "notmuch-addrlookup" bin)))))))
-    (native-inputs
-     `(("pkg-config" ,pkg-config)))
-    (inputs
-     `(("glib" ,glib)
-       ("notmuch" ,notmuch)))
-    (home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
-    (synopsis "Address lookup tool for Notmuch")
-    (description "This is an address lookup tool using a Notmuch database,
+  ;; This commit includes a compatibility fix for notmuch-0.25, and is not
+  ;; currently part of any release.  Please update this package when
+  ;; notmuch-addrlookup-c-9 is released.
+  (let ((commit "88f156d04990a71c6ad6fc2757b537b44e3c4d00")
+        (revision "1"))          ;Guix package revision
+    (package
+      (name "notmuch-addrlookup-c")
+      (version (string-append "8-" revision "."
+                              (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/aperezdc/notmuch-addrlookup-c.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "0v0wzs7qzy4n1hbql8s10qrwgalcxdzbxf8pj6cii1pv2jwmkxbm"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:tests? #f ; no tests
+         #:make-flags (list "CC=gcc"
+                            (string-append "PREFIX="
+                                           (assoc-ref %outputs "out")))
+         #:phases (modify-phases %standard-phases
+                    (delete 'configure)
+                    ;; Remove vim code completion config, it's not needed to
+                    ;; build (or be patched).
+                    (add-before 'patch-source-shebangs 'delete-ycm-file
+                                (lambda _ (delete-file ".ycm_extra_conf.py")))
+                    (replace 'install
+                             (lambda* (#:key outputs #:allow-other-keys)
+                               (let ((bin (string-append
+                                           (assoc-ref outputs "out") "/bin")))
+                                 (install-file "notmuch-addrlookup" bin)))))))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("glib" ,glib)
+         ("notmuch" ,notmuch)))
+      (home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
+      (synopsis "Address lookup tool for Notmuch")
+      (description "This is an address lookup tool using a Notmuch database,
 useful for email address completion.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public python-notmuch
   (package
-- 
2.13.3


[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE0zLJ6STd4Cp+CgbIgs677ofYV8IFAlmu1WcACgkQgs677ofY
V8JtEQ/8DXqR8veG5WjyCvGnyweo4qWDNHLvhJxqpTGgvGNBKB0kWQ0G3rZoiQCV
GZ3KfKCjgz/k4gMgUAvOihfoQBaE6wP0U/AaA2XKHMorc6zfuBYxG/mk0UxjLgjz
YOETdVnM+I4/La9J8GbCdp1cFrTgpRqZdJgJoL/chNHKcEPXKD+6jndkgGUbpelg
vZkOynKzthcuZmhngDo3Yijl6oF6cZALZ+lqj6Y1ZoGErmIaDxP6NRoCTulNmDdW
a3T3fJJZdgD2kUHHrB5ykTkM/COkrd4uWmI4iBHASjD8K4WLDT2G8Pb0TGGNqDll
WMzrEL3jEukko/EzPeaOVPJL3FJ0WPS4giQ03+/7kC6TuT2nsWCe/KCxBsxRAd58
HA7+ty2cTosWWaDXRilNMJYCprLNqArafXHgBogo/wgyALSfzBTfKLj43keuyqyq
Klri+o+85xaGzdxliUUdrjd8wSBAtyaJ+iIx48k0NzhNBV/5rmB9jDp9GUM9Xr1q
nllWhxPFeaoXEQhQxJwh1CB0MRilX/uq0ZOcxUfi7u7RZCfEK9z0eZLVhsgHzoTg
nIE4d2Ub5c8XWhX80xF60CrGQ83jjRoBRkuimSN7h+txIKst9Y4tixKpBfIAPRQN
f+fFTdqq/IocaF2QGttWERD/+PIzwqWgQVPJykUgnIyE06jOVVM=
=W9B0
-----END PGP SIGNATURE-----

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#28359: [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
  2017-09-05 16:48 ` Troy Sankey
@ 2017-09-08 16:11   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-09-08 16:11 UTC (permalink / raw)
  To: Troy Sankey; +Cc: 28359-done

Troy Sankey <sankeytms@gmail.com> skribis:

> From c3f56cb191a4a3e17052f2f41da18909c87e8692 Mon Sep 17 00:00:00 2001
> From: Troy Sankey <sankeytms@gmail.com>
> Date: Tue, 5 Sep 2017 11:56:34 -0400
> Subject: [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
>
> * gnu/packages/mail.scm (notmuch-addrlookup-c): Update to 8-1.88f156d.
> [source]: Use git-fetch.

Applied, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-08 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 16:19 [bug#28359] [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d Troy Sankey
2017-09-05 16:48 ` Troy Sankey
2017-09-08 16:11   ` bug#28359: " Ludovic Courtès

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).