From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 64934@debbugs.gnu.org
Cc: bjoern.hoefling@bjoernhoefling.de, julien@lepiller.eu
Subject: [bug#64934] [PATCH 04/42] gnu: Add java-eclipse-rdf4j-model-api.
Date: Sat, 29 Jul 2023 16:10:06 +0200 [thread overview]
Message-ID: <c1e24920bffcc22f07fe1b25d4b450134c0c4aa3.1690646441.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1690646441.git.liliana.prikler@gmail.com>
Since RDF4J is a large framework with many parts, this patch also prepares
some boilerplate code for the other packages.
* gnu/packages/java-rdf.scm (%rdf4j-version, %rdf4j-sha256, %rdf4j-source)
(rdf4j-common-arguments): New variables.
(java-eclipse-rdf4j-model-api): New variable.
---
gnu/packages/java-rdf.scm | 44 +++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index 066b383c5a..bf83c9ab5e 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -99,3 +99,47 @@ (define-public java-commons-rdf-simple
(synopsis "Simple implementation of RDF 1.1 concepts")
(description "This package provides a simple implementation of RDF 1.1
concepts in Java.")))
+
+(define %rdf4j-version "3.7.7")
+(define %rdf4j-sha256
+ (base32 "1lala4wjl5lbg45jdgd94rfkvdg6r4vq23k3q54bkk9q3w9v2bdx"))
+(define %rdf4j-source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eclipse/rdf4j")
+ (commit %rdf4j-version)))
+ (file-name (git-file-name "rdf4j" %rdf4j-version))
+ (sha256 %rdf4j-sha256)
+ (modules '((guix build utils)))
+ (snippet #~(begin (delete-file-recursively "site")))))
+
+(define (rdf4j-common-arguments jar-name directory)
+ (list #:source-dir "src/main/java"
+ #:test-dir "src/test/java"
+ #:tests? #f ; tests require junit 5
+ #:jar-name jar-name
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir (lambda _ (chdir #$directory)))
+ (add-after 'chdir 'fix-pom
+ (lambda _
+ (substitute* "pom.xml"
+ (("\\$\\{project\\.groupId\\}") "org.eclipse.rdf4j"))))
+ (replace 'install
+ (install-from-pom "pom.xml")))))
+
+(define-public java-eclipse-rdf4j-model-api
+ (package
+ (name "java-eclipse-rdf4j-model-api")
+ (version %rdf4j-version)
+ (source %rdf4j-source)
+ (build-system ant-build-system)
+ (arguments
+ (rdf4j-common-arguments "rdf4j-model-api.jar"
+ "core/model-api"))
+ (home-page "https://rdf4j.org/")
+ (synopsis "RDF4J model interfaces")
+ (description "This package provides interfaces for the RDF data model used
+in the RDF4J framework.")
+ (license license:epl1.0)))
--
2.41.0
next prev parent reply other threads:[~2023-07-29 16:56 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-29 16:00 [bug#64934] [PATCH 00/42] I tried to semantic the web, and after downloading half the Internet, these are some packages I came up with Liliana Marie Prikler
2023-07-29 14:01 ` [bug#64934] [PATCH 01/42] gnu: Add java-commons-rdf-api Liliana Marie Prikler
2023-07-29 14:02 ` [bug#64934] [PATCH 02/42] gnu: Add java-commons-rdf-api-tests Liliana Marie Prikler
2023-07-29 14:03 ` [bug#64934] [PATCH 03/42] gnu: Add java-commons-rdf-simple Liliana Marie Prikler
2023-07-29 14:10 ` Liliana Marie Prikler [this message]
2023-07-30 17:26 ` [bug#64934] [PATCH 04/42] gnu: Add java-eclipse-rdf4j-model-api Björn Höfling
2023-07-29 14:12 ` [bug#64934] [PATCH 05/42] gnu: Add java-eclipse-rdf4j-model-vocabulary Liliana Marie Prikler
2023-07-29 14:12 ` [bug#64934] [PATCH 06/42] gnu: Add java-eclipse-rdf4j-util Liliana Marie Prikler
2023-07-29 14:14 ` [bug#64934] [PATCH 07/42] gnu: Add java-eclipse-rdf4j-model Liliana Marie Prikler
2023-07-29 14:20 ` [bug#64934] [PATCH 08/42] gnu: Add java-easymock version 3.2 Liliana Marie Prikler
2023-07-29 14:27 ` [bug#64934] [PATCH 09/42] gnu: Add java-easymock-class-extension Liliana Marie Prikler
2023-07-29 14:32 ` [bug#64934] [PATCH 10/42] gnu: Add java-httpcomponents-httpclient-cache Liliana Marie Prikler
2023-07-29 14:50 ` [bug#64934] [PATCH 11/42] gnu: Add java-httpcomponents-httpcore-osgi Liliana Marie Prikler
2023-07-29 14:54 ` [bug#64934] [PATCH 12/42] gnu: Add java-httpcomponents-httpclient-osgi Liliana Marie Prikler
2023-07-29 14:56 ` [bug#64934] [PATCH 13/42] gnu: Add java-jsonld-java Liliana Marie Prikler
2023-07-29 14:56 ` [bug#64934] [PATCH 14/42] gnu: Add java-eclipse-rdf4j-rio-api Liliana Marie Prikler
2023-07-29 14:57 ` [bug#64934] [PATCH 15/42] gnu: Add java-eclipse-rdf4j-rio-datatypes Liliana Marie Prikler
2023-07-29 14:57 ` [bug#64934] [PATCH 16/42] gnu: Add java-eclipse-rdf4j-rio-languages Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 17/42] gnu: Add java-eclipse-rdf4j-rio-turtle Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 18/42] gnu: Add java-eclipse-rdf4j-rio-ntriples Liliana Marie Prikler
2023-07-29 14:58 ` [bug#64934] [PATCH 19/42] gnu: Add java-eclipse-rdf4j-rio-nquads Liliana Marie Prikler
2023-07-29 14:59 ` [bug#64934] [PATCH 20/42] gnu: Add java-eclipse-rdf4j-rio-jsonld Liliana Marie Prikler
2023-07-29 14:59 ` [bug#64934] [PATCH 21/42] gnu: Add java-eclipse-rdf4j-rio-rdfxml Liliana Marie Prikler
2023-07-29 15:00 ` [bug#64934] [PATCH 22/42] gnu: Add java-eclipse-rdf4j-rio-trig Liliana Marie Prikler
2023-07-29 15:03 ` [bug#64934] [PATCH 23/42] gnu: Add java-eclipse-rdf4j-query Liliana Marie Prikler
2023-07-29 15:04 ` [bug#64934] [PATCH 24/42] gnu: Add java-eclipse-rdf4j-queryalgebra-model Liliana Marie Prikler
2023-07-29 15:05 ` [bug#64934] [PATCH 25/42] gnu: Add java-eclipse-rdf4j-repository-api Liliana Marie Prikler
2023-07-29 15:05 ` [bug#64934] [PATCH 26/42] gnu: Add java-eclipse-rdf4j-sail-api Liliana Marie Prikler
2023-07-29 15:28 ` [bug#64934] [PATCH 27/42] gnu: Add java-eclipse-rdf4j-queryparser-api Liliana Marie Prikler
2023-07-29 15:28 ` [bug#64934] [PATCH 28/42] gnu: Add java-eclipse-rdf4j-queryparser-sparql Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 29/42] gnu: Add java-eclipse-rdf4j-queryresultio-api Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 30/42] gnu: Add java-eclipse-rdf4j-queryresultio-binary Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 31/42] gnu: Add java-eclipse-rdf4j-queryresultio-sparqlxml Liliana Marie Prikler
2023-07-29 15:32 ` [bug#64934] [PATCH 32/42] gnu: Add java-eclipse-rdf4j-queryresultio-sparqljson Liliana Marie Prikler
2023-07-29 15:34 ` [bug#64934] [PATCH 33/42] gnu: Add java-eclipse-rdf4j-http-protocol Liliana Marie Prikler
2023-07-29 15:34 ` [bug#64934] [PATCH 34/42] gnu: Add java-eclipse-rdf4j-http-client Liliana Marie Prikler
2023-07-29 15:35 ` [bug#64934] [PATCH 35/42] gnu: Add java-eclipse-rdf4j-repository-sparql Liliana Marie Prikler
2023-07-29 15:36 ` [bug#64934] [PATCH 37/42] gnu: Add java-eclipse-rdf4j-queryalgebra-evaluation Liliana Marie Prikler
2023-07-29 15:36 ` [bug#64934] [PATCH 38/42] gnu: Add java-eclipse-rdf4j-repository-sail Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 39/42] gnu: Add java-eclipse-rdf4j-sail-base Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 40/42] gnu: Add java-eclipse-rdf4j-sail-memory Liliana Marie Prikler
2023-07-29 15:37 ` [bug#64934] [PATCH 41/42] gnu: Add java-eclipse-rdf4j-sail-nativerdf Liliana Marie Prikler
2023-07-29 15:40 ` [bug#64934] [PATCH 36/42] gnu: Add java-mapdb Liliana Marie Prikler
2023-07-29 15:58 ` [bug#64934] [PATCH 42/42] gnu: Add java-commons-rdf-rdf4j Liliana Marie Prikler
2023-08-05 12:40 ` bug#64934: [PATCH 00/42] I tried to semantic the web, and after downloading half the Internet, these are some packages I came up with Liliana Marie Prikler
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=c1e24920bffcc22f07fe1b25d4b450134c0c4aa3.1690646441.git.liliana.prikler@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=64934@debbugs.gnu.org \
--cc=bjoern.hoefling@bjoernhoefling.de \
--cc=julien@lepiller.eu \
/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).