unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Sankey <sankeytms@gmail.com>
To: 28359@debbugs.gnu.org
Subject: [bug#28359] [PATCH] gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
Date: Tue, 05 Sep 2017 12:48:44 -0400	[thread overview]
Message-ID: <150463012448.9803.4142562239000467283@x220> (raw)
In-Reply-To: <150462834044.9803.18002224745520327188@x220>


[-- 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-----

  reply	other threads:[~2017-09-05 16:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-09-08 16:11   ` bug#28359: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=150463012448.9803.4142562239000467283@x220 \
    --to=sankeytms@gmail.com \
    --cc=28359@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).