unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39525] [PATCH 1/2] gnu: git-crypt: Update to 0.6.0.
@ 2020-02-09  9:13 Brice Waegeneire
  2020-02-09  9:15 ` [bug#39525] [PATCH 2/2] gnu: git-crypt: Install man page Brice Waegeneire
  0 siblings, 1 reply; 3+ messages in thread
From: Brice Waegeneire @ 2020-02-09  9:13 UTC (permalink / raw)
  To: 39525

* gnu/packages/version-control.scm (git-crypt): Update to 0.6.0.
---
 gnu/packages/version-control.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index ca8af00752..7bd0e35c08 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -593,7 +593,7 @@ write native speed custom Git applications in any language with bindings.")
 (define-public git-crypt
   (package
     (name "git-crypt")
-    (version "0.5.0")
+    (version "0.6.0")
     (source
      (origin
        (method git-fetch)
@@ -602,7 +602,7 @@ write native speed custom Git applications in any language with bindings.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1x9209n3k49k998saadr2d0lmvs01smjinx7gzzyjdwj9l904sii"))))
+        (base32 "1ba5s0fvmd9hhnfhfsjrm40v0qpxfnwc8vmm55m0k4dryzkzx66q"))))
     (build-system gnu-build-system)
     (inputs
      `(("git" ,git)
-- 
2.24.1

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

* [bug#39525] [PATCH 2/2] gnu: git-crypt: Install man page.
  2020-02-09  9:13 [bug#39525] [PATCH 1/2] gnu: git-crypt: Update to 0.6.0 Brice Waegeneire
@ 2020-02-09  9:15 ` Brice Waegeneire
  2020-02-09 23:52   ` bug#39525: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Brice Waegeneire @ 2020-02-09  9:15 UTC (permalink / raw)
  To: 39525

* gnu/packages/version-control.scm (git-crypt)[native-inputs]: Add
dockbook-xsl, libxslt.
[arguments]: Add phase patch-makefile.
---
 gnu/packages/version-control.scm | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 7bd0e35c08..776e536e82 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -607,20 +607,33 @@ write native speed custom Git applications in any language with bindings.")
     (inputs
      `(("git" ,git)
        ("openssl" ,openssl)))
+    (native-inputs
+     `(("docbook-xsl" ,docbook-xsl)
+       ("libxslt" ,libxslt)))
     (arguments
      `(#:tests? #f ; No tests.
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
+         (add-after 'unpack 'patch-makefile
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "Makefile"
+               (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
+                (string-append (assoc-ref inputs "docbook-xsl")
+                               "/xml/xsl/docbook-xsl-"
+                               ,(package-version docbook-xsl)
+                               "/manpages/docbook.xsl")))
+             #t))
          (replace 'build
            (lambda _
-             (invoke "make")))
+             (invoke "make" "ENABLE_MAN=yes")))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (invoke "make" "install"
+                       "ENABLE_MAN=yes"
                        (string-append "PREFIX=" out))))))))
-    (home-page "https://www.agwa.name/projects/git-crypt")
+    (home-page "https://www.agwa.name/projects/git-crypt/")
     (synopsis "Transparent encryption of files in a git repository")
     (description "git-crypt enables transparent encryption and decryption of
 files in a git repository.  Files which you choose to protect are encrypted when
-- 
2.24.1

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

* bug#39525: [PATCH 2/2] gnu: git-crypt: Install man page.
  2020-02-09  9:15 ` [bug#39525] [PATCH 2/2] gnu: git-crypt: Install man page Brice Waegeneire
@ 2020-02-09 23:52   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-02-09 23:52 UTC (permalink / raw)
  To: Brice Waegeneire; +Cc: 39525-done

Hello,

Brice Waegeneire <brice@waegenei.re> writes:

> * gnu/packages/version-control.scm (git-crypt)[native-inputs]: Add
> dockbook-xsl, libxslt.
> [arguments]: Add phase patch-makefile.

I applied both patches (as 57f90b2a245786b6c6683b0cb95aa79c07273ff4 and
ddc5e7468484b0527e6ee423bc42186283dd9998)... and added a copyright line
for you.

Thank you!

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-02-09 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09  9:13 [bug#39525] [PATCH 1/2] gnu: git-crypt: Update to 0.6.0 Brice Waegeneire
2020-02-09  9:15 ` [bug#39525] [PATCH 2/2] gnu: git-crypt: Install man page Brice Waegeneire
2020-02-09 23:52   ` bug#39525: " Nicolas Goaziou

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