[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/31: gnu: virtuoso-ose: Use G-expressions.
From: |
guix-commits |
Subject: |
08/31: gnu: virtuoso-ose: Use G-expressions. |
Date: |
Mon, 17 Jul 2023 11:37:20 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit ae8a4de1417887759d383645b040b5d7b06c0a44
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 9 02:00:02 2023 +0200
gnu: virtuoso-ose: Use G-expressions.
* gnu/packages/databases.scm (virtuoso-ose)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/databases.scm | 128 +++++++++++++++++++++++----------------------
1 file changed, 65 insertions(+), 63 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d95b363249..6e8fe4cfb6 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3333,71 +3333,73 @@ Memory-Mapped Database} (LMDB), a high-performance
key-value store.")
(modules '((guix build utils)))
;; This snippet removes pre-built Java archives.
(snippet
- '(for-each delete-file-recursively
- (list "binsrc/hibernate"
- "binsrc/jena"
- "binsrc/jena2"
- "binsrc/jena3"
- "binsrc/jena4"
- "binsrc/rdf4j"
- "binsrc/sesame"
- "binsrc/sesame2"
- "binsrc/sesame3"
- "binsrc/sesame4"
- "libsrc/JDBCDriverType4")))))
+ #~(for-each delete-file-recursively
+ (list "binsrc/hibernate"
+ "binsrc/jena"
+ "binsrc/jena2"
+ "binsrc/jena3"
+ "binsrc/jena4"
+ "binsrc/rdf4j"
+ "binsrc/sesame"
+ "binsrc/sesame2"
+ "binsrc/sesame3"
+ "binsrc/sesame4"
+ "libsrc/JDBCDriverType4")))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; Tests require a network connection.
- ;; TODO: Removing the libsrc/zlib source directory breaks the build.
- ;; This indicates that the internal zlib code may still be used.
- #:configure-flags '("--without-internal-zlib"
- "--with-readline"
- "--enable-static=no")
- #:phases
- (modify-phases %standard-phases
- (replace 'bootstrap
- (lambda _
- (invoke "sh" "autogen.sh")))
- (add-after 'unpack 'avoid-embedding-kernel-and-timestamps
- ;; For a reproducible build, avoid embedding the kernel version and
- ;; timestamps.
- (lambda _
- (substitute*
- (list "bin/makever"
- "appsrc/ODS-Polls/make_vad.sh"
- "appsrc/ODS-Blog/make_vad.sh"
- "appsrc/ODS-Community/make_vad.sh"
- "appsrc/ODS-Framework/make_vad.sh"
- "appsrc/ODS-Framework/oauth/make_vad.sh"
- "appsrc/ODS-WebMail/make_vad.sh"
- "appsrc/ODS-Calendar/make_vad.sh"
- "appsrc/ODS-Gallery/make_vad.sh"
- "appsrc/ODS-Briefcase/make_vad.sh"
- "appsrc/ODS-FeedManager/make_vad.sh"
- "appsrc/ODS-Bookmark/make_vad.sh"
- "appsrc/ODS-Addressbook/make_vad.sh"
- "binsrc/dbpedia/make_vad.sh"
- "binsrc/samples/demo/make_vad.sh"
- "binsrc/samples/demo/mkdoc.sh"
- "binsrc/samples/sparql_demo/make_vad.sh"
- "binsrc/bpel/make_vad.sh"
- "binsrc/fct/make_vad.sh"
- "binsrc/rdf_mappers/make_vad.sh"
- "binsrc/isparql/make_vad.sh"
- "binsrc/conductor/mkvad.sh")
- (("^UNAME_SYSTEM=.*") "UNAME_SYSTEM=unknown\n")
- (("^UNAME_RELEASE=.*") "UNAME_RELEASE=unknown\n")
- (("^PACKDATE=.*") "PACKDATE=2012-04-18\n")
- (("^DATE=.*") "DATE=2012-04-18\n"))))
- ;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in
- ;; the build output. The following phase removes it.
- (add-after 'install 'remove-static-libs
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
- (for-each (lambda (file)
- (delete-file (string-append lib "/" file)))
- '("libvirtuoso-t.a"
- "libvirtuoso-t.la"))))))))
+ (list
+ #:tests? #f ; tests require a network connection
+ ;; TODO: Removing the libsrc/zlib source directory breaks the build.
+ ;; This indicates that the internal zlib code may still be used.
+ #:configure-flags
+ #~(list "--without-internal-zlib"
+ "--with-readline"
+ "--enable-static=no")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'bootstrap
+ (lambda _
+ (invoke "sh" "autogen.sh")))
+ (add-after 'unpack 'avoid-embedding-kernel-and-timestamps
+ ;; For a reproducible build, avoid embedding the kernel version and
+ ;; timestamps.
+ (lambda _
+ (substitute*
+ (list "bin/makever"
+ "appsrc/ODS-Polls/make_vad.sh"
+ "appsrc/ODS-Blog/make_vad.sh"
+ "appsrc/ODS-Community/make_vad.sh"
+ "appsrc/ODS-Framework/make_vad.sh"
+ "appsrc/ODS-Framework/oauth/make_vad.sh"
+ "appsrc/ODS-WebMail/make_vad.sh"
+ "appsrc/ODS-Calendar/make_vad.sh"
+ "appsrc/ODS-Gallery/make_vad.sh"
+ "appsrc/ODS-Briefcase/make_vad.sh"
+ "appsrc/ODS-FeedManager/make_vad.sh"
+ "appsrc/ODS-Bookmark/make_vad.sh"
+ "appsrc/ODS-Addressbook/make_vad.sh"
+ "binsrc/dbpedia/make_vad.sh"
+ "binsrc/samples/demo/make_vad.sh"
+ "binsrc/samples/demo/mkdoc.sh"
+ "binsrc/samples/sparql_demo/make_vad.sh"
+ "binsrc/bpel/make_vad.sh"
+ "binsrc/fct/make_vad.sh"
+ "binsrc/rdf_mappers/make_vad.sh"
+ "binsrc/isparql/make_vad.sh"
+ "binsrc/conductor/mkvad.sh")
+ (("^UNAME_SYSTEM=.*") "UNAME_SYSTEM=unknown\n")
+ (("^UNAME_RELEASE=.*") "UNAME_RELEASE=unknown\n")
+ (("^PACKDATE=.*") "PACKDATE=2012-04-18\n")
+ (("^DATE=.*") "DATE=2012-04-18\n"))))
+ ;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in
+ ;; the build output. The following phase removes it.
+ (add-after 'install 'remove-static-libs
+ (lambda _
+ (for-each
+ (lambda (file)
+ (delete-file (string-append #$output "/lib/" file)))
+ '("libvirtuoso-t.a"
+ "libvirtuoso-t.la")))))))
(native-inputs
(list autoconf automake bison flex gperf libtool))
(inputs
- branch master updated (ad457d0114 -> 6dbcdb4b7f), guix-commits, 2023/07/17
- 06/31: gnu: vdirsyncer: Use G-expressions., guix-commits, 2023/07/17
- 04/31: gnu: redis: Update to 7.0.12., guix-commits, 2023/07/17
- 08/31: gnu: virtuoso-ose: Use G-expressions.,
guix-commits <=
- 09/31: gnu: xandikos: Update to 0.2.8., guix-commits, 2023/07/17
- 16/31: gnu: libburn: Update to 1.5.6., guix-commits, 2023/07/17
- 14/31: gnu: ddcutil: Update to 1.4.2., guix-commits, 2023/07/17
- 15/31: gnu: unbound: Update to 1.17.1., guix-commits, 2023/07/17
- 18/31: gnu: zutils: Update to 1.12., guix-commits, 2023/07/17
- 22/31: gnu: epson-inkjet-printer-escpr: Document missing newer tarballs., guix-commits, 2023/07/17
- 24/31: gnu: zchunk: Use G-expressions., guix-commits, 2023/07/17
- 01/31: gnu: trurl: Update to 0.8., guix-commits, 2023/07/17
- 03/31: gnu: redis: Fetch over HTTPS., guix-commits, 2023/07/17
- 07/31: gnu: virtuoso-ose: Update to 7.2.10., guix-commits, 2023/07/17