From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNElb-0003zj-6P for guix-patches@gnu.org; Sun, 05 May 2019 06:53:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNElX-0000VX-Ia for guix-patches@gnu.org; Sun, 05 May 2019 06:53:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNElS-0000UA-3Q for guix-patches@gnu.org; Sun, 05 May 2019 06:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNElR-0004fD-R9 for guix-patches@gnu.org; Sun, 05 May 2019 06:53:01 -0400 Subject: [bug#35545] [PATCH 04/17] gnu: Add java-xmp. Resent-Message-ID: Date: Sun, 5 May 2019 12:52:23 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20190505125223.1368b5e2@alma-ubu> In-Reply-To: <20190503130134.24788-4-julien@lepiller.eu> References: <20190503145820.606f37db@sybil.lepiller.eu> <20190503130134.24788-1-julien@lepiller.eu> <20190503130134.24788-4-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/b98WWysDZmGooBW_qZ==_rs"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 35545@debbugs.gnu.org --Sig_/b98WWysDZmGooBW_qZ==_rs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 3 May 2019 15:01:21 +0200 Julien Lepiller wrote: > * gnu/packages/java.scm (java-xmp): New variable. > --- > gnu/packages/java.scm | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) >=20 > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index d0bbc4b682..ee54e936bc 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -11098,3 +11098,42 @@ and allows to build a Java object model for > JSON text using API classes (description "JSON Processing (JSON-P) is > a Java API to process (e.g. parse, generate, transform and query) > JSON messages. This package contains a reference implementation of > that API."))) + > +(define-public java-xmp > + (package > + (name "java-xmp") > + (version "5.1.3") > + (source (origin > + (method url-fetch) > + (uri (string-append > "http://download.macromedia.com/pub/developer" > + "/xmp/sdk/XMPCoreJava-" version > ".zip")) > + (sha256 > + (base32 > + > "14nai2mmsg7l5ya2y5mx4w4lr1az3sk2fjz6hiy4zdrsavgvl1g7")))) > + (build-system ant-build-system) > + (arguments > + `(#:build-target "build" > + #:tests? #f; no tests > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'chdir > + (lambda _ > + (chdir "XMPCore") > + #t)) > + (replace 'install > + (install-jars ".")) > + (add-after 'install 'install-doc > + (lambda* (#:key outputs #:allow-other-keys) > + (copy-recursively > + "docs" > + (string-append (assoc-ref outputs "out") > "/share/doc/java-xmp")) > + #t))))) > + (native-inputs > + `(("unzip" ,unzip))) > + (home-page "https://www.adobe.com/devnet/xmp.html") > + (synopsis "Extensible Metadat Platform (XMP) support in Java") > + (description "Adobe's Extensible Metadata Platform (XMP) is a > labeling +technology that allows you to embed data about a file, > known as metadata, +into the file itself. The XMP Toolkit for Java > is based on the C++ XMPCore +library and the API is similar.") > + (license license:bsd-3))) This is NOT reproducible: =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 java =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 xmpcore.jar =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 zipinfo -v {} =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 @@ -82,15 +82,15 @@ =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 version of encoding software: = 3.0 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 minimum file system compatibilit= y required: MS-DOS, OS/2 or NT FAT =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 minimum software version require= d to extract: 1.0 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 compression method: = none (stored) =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 file security status: = not encrypted =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 extended local header: = no =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 file last modified on (DOS date/= time): 1980 Jan 1 00:00:00 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 - 32-bit CRC value (hex): = e6bc1834 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 + 32-bit CRC value (hex): = 1e47a4b8 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 compressed size: = 436 bytes =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 uncompressed size: = 436 bytes =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 length of filename: = 20 characters =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 length of extra field: = 0 bytes =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 length of file comment: = 0 characters =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 disk number on which file begins= : disk 1 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 apparent file type: = binary =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 META-INF/MANIFEST= .MF =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 @@ -5,10 +5,10 @@ =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-Vendor: Copyright 2= 006-2009 Adobe Systems Incorporated. =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 All rights reserved =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-Major: 5 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-Minor: 1 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-Micro: 3 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-Debug: false =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 Implementation-EngBuild: 003 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 -BuildDate: 2019 May 05 10:43:42-GMT =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 +BuildDate: 2019 May 05 10:43:37-GMT =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 AdobeIP: Could you have a look at it? Otherwise, LGTM. Bj=C3=B6rn --Sig_/b98WWysDZmGooBW_qZ==_rs Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXM7AZwAKCRC/KGy2WT5f /VmcAJ0ezDx63q04jz/2j8JrVuKOlgu7uQCcDV3tfDFHqkKWqf4aKDRizupHIZQ= =CW04 -----END PGP SIGNATURE----- --Sig_/b98WWysDZmGooBW_qZ==_rs--