From: Roman Scherer <roman@burningswell.com>
To: 68606@debbugs.gnu.org
Cc: Roman Scherer <roman@burningswell.com>,
Andreas Enge <andreas@enge.fr>,
Efraim Flashner <efraim@flashner.co.il>,
Eric Bavier <bavier@posteo.net>,
Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68606] [PATCH 2/2] gnu: gdal: Build Java bindings.
Date: Sat, 20 Jan 2024 12:30:26 +0100 [thread overview]
Message-ID: <c9fffde5552831398ceb0732d4fa80b49d904860.1705747715.git.roman@burningswell.com> (raw)
In-Reply-To: <cover.1705747715.git.roman@burningswell.com>
* gnu/packages/geo.scm (gdal): Build Java bindings.
Change-Id: I6c6a6d4b5f7c6692d443d8ebf288dfe6c4ccad87
---
gnu/packages/geo.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 3c82f2f3af..d2d78197c3 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1207,6 +1207,10 @@ (define-public gdal
(ice-9 popen))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'set-JAVA_HOME
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((jdk (assoc-ref inputs "jdk")))
+ (setenv "JAVA_HOME" jdk))))
(add-after 'install 'fix-rpath
(lambda* (#:key outputs #:allow-other-keys)
(let ((libdir (string-append (assoc-ref outputs "out") "/lib")))
@@ -1246,9 +1250,11 @@ (define-public gdal
zlib
zstd))
(native-inputs
- (list patchelf
- pkg-config
- python))
+ `(("ant" ,ant)
+ ("jdk" ,openjdk11 "jdk")
+ ("patchelf" ,patchelf)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python)))
(propagated-inputs
(list python-numpy))
(home-page "https://gdal.org/")
--
2.34.1
next prev parent reply other threads:[~2024-01-20 11:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 11:29 [bug#68606] [PATCH 0/2] Update GDAL and build Java bindings Roman Scherer
2024-01-20 11:30 ` [bug#68606] [PATCH 1/2] gnu: gdal: Update to 3.8.3 Roman Scherer
2024-01-20 11:30 ` Roman Scherer [this message]
2024-01-21 13:54 ` [bug#68606] [PATCH v2 0/3] Update GDAL and build Java bindings Roman Scherer
2024-01-21 13:54 ` [bug#68606] [PATCH v2 1/3] gnu: gdal: Update to 3.8.3 Roman Scherer
2024-01-21 13:54 ` [bug#68606] [PATCH v2 2/3] gnu: gdal: Build Java bindings Roman Scherer
2024-01-21 13:54 ` [bug#68606] [PATCH v2 3/3] gnu: patchelf: Update to 0.18.0 Roman Scherer
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=c9fffde5552831398ceb0732d4fa80b49d904860.1705747715.git.roman@burningswell.com \
--to=roman@burningswell.com \
--cc=68606@debbugs.gnu.org \
--cc=andreas@enge.fr \
--cc=bavier@posteo.net \
--cc=efraim@flashner.co.il \
--cc=sharlatanus@gmail.com \
/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).