From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 30845@debbugs.gnu.org
Subject: [bug#30845] [PATCH 09/82] gnu: Add java-native-access.
Date: Tue, 20 Mar 2018 19:13:11 +0100 [thread overview]
Message-ID: <20180320191311.0a722683@alma-ubu> (raw)
In-Reply-To: <20180318130530.1654-9-julien@lepiller.eu>
[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]
On Sun, 18 Mar 2018 14:05:29 +0100
Julien Lepiller <julien@lepiller.eu> wrote:
> * gnu/packages/java.scm (java-native-access): New variable.
> ---
> gnu/packages/java.scm | 65
> +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed,
> 65 insertions(+)
>
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 37eeda0a6..54b44a9d0 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -9547,3 +9547,68 @@ substitutions, splits, filtering filenames,
> etc. This library is the successor of the OROMatcher, AwkTools,
> PerlTools, and TextTools libraries originally from ORO, Inc.")
> (license license:asl2.0)))
> +
> +(define-public java-native-access
> + (package
> + (name "java-native-access")
> + (version "4.5.1")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> "https://github.com/java-native-access/jna/"
> + "archive/" version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> +
> "0zrpzkib6b905i018a9pqlzkqinphywr6y4jwv6mwp63jjqvqkd9"))
> + (modules '((guix build utils)))
> + (snippet
> + `(for-each delete-file (find-files "." ".*.jar")))))
Additionaly snip away: natives/libffi: First it has a different license
(Expat) and second you have it already as a dependency.
There is a "dist" directory. Please look at at. It contains some
binaries.
Maybe strip it totally away, as it doesn't give us more than the source
we have?
./dist/jna.aar: Binary.
dist/src-full.zip contains two jars:
./lib/junit.jar
./lib/clover.jar
So, snip it away.
src-full.zip:./native/libffi/LICENSE:
Is EXPAT. Either snip away or add to license list.
Not completely digged into the "dist" directory.
[..]
> + ;; Java Native Access project (JNA) is dual-licensed under 2
> + ;; alternative Open Source/Free licenses: LGPL 2.1 or later and
> + ;; Apache License 2.0. (starting with JNA version 4.0.0).
> + (license (list
> + license:asl2.0
> + license:lgpl2.1+))))
Remove "Open Source/" from comment.
Otherwise, LGTM
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2018-03-20 18:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-18 12:42 [bug#30845] More java packages Julien Lepiller
2018-03-18 13:05 ` [bug#30845] [PATCH 01/82] gnu: Add java-jline-2 Julien Lepiller
2018-03-19 22:13 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 02/82] gnu: Update java-commons-cli to 1.4 Julien Lepiller
2018-03-19 22:13 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 03/82] gnu: java-eclipse-jetty-security-9.2: Ignore test error Julien Lepiller
2018-03-19 22:20 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 04/82] gnu: Add java-commons-bsf Julien Lepiller
2018-03-19 22:21 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 05/82] gnu: Add java-bouncycastle Julien Lepiller
2018-03-19 22:32 ` Björn Höfling
2018-03-20 8:06 ` julien lepiller
2018-03-21 8:08 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 06/82] gnu: Add java-commons-httpclient Julien Lepiller
2018-03-20 18:12 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 07/82] gnu: Add java-commons-vfs Julien Lepiller
2018-03-20 18:12 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 08/82] gnu: Add java-jakarta-oro Julien Lepiller
2018-03-20 18:13 ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 09/82] gnu: Add java-native-access Julien Lepiller
2018-03-20 18:13 ` Björn Höfling [this message]
2018-03-18 13:05 ` [bug#30845] [PATCH 10/82] gnu: Add java-native-access-platform Julien Lepiller
2018-03-20 18:13 ` Björn Höfling
2018-04-05 17:50 ` bug#30845: More java packages Julien Lepiller
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=20180320191311.0a722683@alma-ubu \
--to=bjoern.hoefling@bjoernhoefling.de \
--cc=30845@debbugs.gnu.org \
--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).