[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65479] [PATCH core-updates v3 34/63] gnu: git-crypt: Remove docbook
From: |
Bruno Victal |
Subject: |
[bug#65479] [PATCH core-updates v3 34/63] gnu: git-crypt: Remove docbook workarounds. |
Date: |
Mon, 9 Oct 2023 21:06:22 +0100 |
* gnu/packages/version-control.scm (git-crypt)[arguments]: Use G-Expressions.
<#:phases>: Refactored into …
<#:make-flags>: … here.
[native-inputs]: Add docbook-xml-4.2.
---
gnu/packages/version-control.scm | 41 +++++++++++---------------------
1 file changed, 14 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index b0997db5da..cc6d9745a0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -48,6 +48,7 @@
;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2015, 2022 David Thompson <davet@gnu.org>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Kjartan Oli Agustsson <kjartanoli@disroot.org>
;;;
;;; This file is part of GNU Guix.
@@ -991,34 +992,20 @@ (define-public git-crypt
(inputs
(list git openssl))
(native-inputs
- (list docbook-xsl libxslt))
+ (list docbook-xml-4.2 docbook-xsl 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 _
- ;; Add flag to work around OpenSSL 3 incompatibility.
- ;; See <https://github.com/AGWA/git-crypt/issues/232>.
- (setenv "CXXFLAGS" "-DOPENSSL_API_COMPAT=0x30000000L")
-
- (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))))))))
+ (list
+ #:tests? #f ; No tests.
+ #:make-flags
+ #~(list
+ "ENABLE_MAN=yes"
+ ;; Add flag to work around OpenSSL 3 incompatibility.
+ ;; See <https://github.com/AGWA/git-crypt/issues/232>.
+ "CXXFLAGS+=-DOPENSSL_API_COMPAT=0x30000000L"
+ (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
(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
--
2.41.0
- [bug#65479] [PATCH core-updates v3 36/63] gnu: metapixel: Drop docbook workaround., (continued)
- [bug#65479] [PATCH core-updates v3 36/63] gnu: metapixel: Drop docbook workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 12/63] gnu: docbook2x: Import patches from debian., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 30/63] gnu: udisks: Drop docbook workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 39/63] gnu: libxkbcommon: Faux propagate libxml2., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 19/63] gnu: dblatex: Split documentation., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 22/63] gnu: lilypond: Use dblatex/stable., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 10/63] gnu: docbook: Remove leftovers., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 13/63] gnu: docbook2x: Fix sgml2xml-isoent and add test dependencies., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 11/63] gnu: docbook-utils: Import patches from debian., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 04/63] gnu: libxslt: Set search-paths for XML and SGML catalogs., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 34/63] gnu: git-crypt: Remove docbook workarounds.,
Bruno Victal <=
- [bug#65479] [PATCH core-updates v3 32/63] gnu: criu: Drop xmlto workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 42/63] gnu: tdb: Build manpages., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 45/63] gnu: iputils: Use docbook-xml-5.0.1., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 16/63] gnu: docbook2x: Use search-path-as-list for wrapping., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 29/63] gnu: udisks: Rewrite using G-Expressions., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 21/63] gnu: dblatex: Fix missing texlive binaries and fig2dev., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 18/63] gnu: dblatex: Add libxslt native-search-paths to its own., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 23/63] gnu: xmlto: Rewrite with G-Expressions., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 14/63] gnu: docbook2x: Split documentation., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 41/63] gnu: sssd: Drop xmllint workaround., Bruno Victal, 2023/10/09