Bump to use generation-2 java eclasses
authorAlistair Bush <ali_bush@gentoo.org>
Tue, 24 Apr 2007 12:36:52 +0000 (12:36 +0000)
committerAlistair Bush <ali_bush@gentoo.org>
Tue, 24 Apr 2007 12:36:52 +0000 (12:36 +0000)
Package-Manager: portage-2.1.2.4

app-misc/gallery-remote/ChangeLog
app-misc/gallery-remote/Manifest
app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r4 [new file with mode: 0644]
app-misc/gallery-remote/files/gallery-remote-1.4.1-ant.patch [new file with mode: 0644]
app-misc/gallery-remote/gallery-remote-1.4.1-r4.ebuild [new file with mode: 0644]

index b2dce0a48c066e86369778e6460b12bf3d8ffcb8..d84c2bb4d0b57253473987a39a8f1b35cfd0158a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/gallery-remote
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery-remote/ChangeLog,v 1.13 2007/02/08 22:33:40 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery-remote/ChangeLog,v 1.14 2007/04/24 12:36:52 ali_bush Exp $
+
+*gallery-remote-1.4.1-r4 (24 Apr 2007)
+
+  24 Apr 2007; Alistair John Bush <ali_bush@gentoo.org>
+  +files/gallery-remote-1.4.1-ant.patch, +gallery-remote-1.4.1-r4.ebuild:
+  Bump gallery-remote to use generation-2 java eclasses
 
   08 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
   Regenerate digest in Manifest2 format.
index 080bfe78a73d5ae36b716e2bec13371bb30e23b7..501ab12f137b2d865a623484ba76415dc484af92 100644 (file)
@@ -1,23 +1,28 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX 1.4.1.patch 1125 RMD160 9be2b9061420a89bc33d56f612559cb0b6b53aa1 SHA1 18271e072354ab666e614f0f3d2f5a76d32046ec SHA256 85a05972a2813c329094064328a7e043a7032cdcf84513cd9c844ecd16d0e435
 MD5 0ecf06ec29fc94fb87eff8f73989989b files/1.4.1.patch 1125
 RMD160 9be2b9061420a89bc33d56f612559cb0b6b53aa1 files/1.4.1.patch 1125
 SHA256 85a05972a2813c329094064328a7e043a7032cdcf84513cd9c844ecd16d0e435 files/1.4.1.patch 1125
+AUX gallery-remote-1.4.1-ant.patch 334 RMD160 1137d357ee94c8270a6fec6e6decef8e8ea0910b SHA1 f52e49d45bd98c098fe8dfe6003a45090bbc7e51 SHA256 e5208c274e380fa91fa5b192856341d580e644ba038a18911b126294933cd485
+MD5 7c3579cb0ec53b61a7063dedf552704e files/gallery-remote-1.4.1-ant.patch 334
+RMD160 1137d357ee94c8270a6fec6e6decef8e8ea0910b files/gallery-remote-1.4.1-ant.patch 334
+SHA256 e5208c274e380fa91fa5b192856341d580e644ba038a18911b126294933cd485 files/gallery-remote-1.4.1-ant.patch 334
 DIST gallery-remote-1.4.1-cvs-gentoo.tar.bz2 1603276 RMD160 55ba05c7181a8efba0061f43bdc1fcfcb67bde10 SHA1 7412081d4f6483419c1967324fce99a14079e546 SHA256 6d9e7a6485b5f101735f1d6ca8ea5adde4516a966e32fb12f696d59c4923870e
 EBUILD gallery-remote-1.4.1-r3.ebuild 1896 RMD160 8d7cd388cef9031551dadabb1fe999a0c92bdef9 SHA1 8f739b6f14eb042db5c7bfbc6f6dc0d68c106c87 SHA256 9909209a0dcfb395a31ddb5c82ba5269ae661c051b167ec412007a0d9036ac67
 MD5 0a3894dd38d674b4f21eee2b071f099d gallery-remote-1.4.1-r3.ebuild 1896
 RMD160 8d7cd388cef9031551dadabb1fe999a0c92bdef9 gallery-remote-1.4.1-r3.ebuild 1896
 SHA256 9909209a0dcfb395a31ddb5c82ba5269ae661c051b167ec412007a0d9036ac67 gallery-remote-1.4.1-r3.ebuild 1896
+EBUILD gallery-remote-1.4.1-r4.ebuild 2020 RMD160 727343d4fd06bb8334ec36c0d8a3b56585c3c1c3 SHA1 a67f55ba343e406e4ec19e496fdac3dc1904dab3 SHA256 336a41b8df0a8b8a88a40b6baf4445c89b44d10ca4fb8a50888fdbe148619133
+MD5 929c123ce83a3d8af6f9592ed51724f8 gallery-remote-1.4.1-r4.ebuild 2020
+RMD160 727343d4fd06bb8334ec36c0d8a3b56585c3c1c3 gallery-remote-1.4.1-r4.ebuild 2020
+SHA256 336a41b8df0a8b8a88a40b6baf4445c89b44d10ca4fb8a50888fdbe148619133 gallery-remote-1.4.1-r4.ebuild 2020
 EBUILD gallery-remote-1.4.1.ebuild 1799 RMD160 dec8d844dd5c5e72e1de66ba5465d3fd99ddb41c SHA1 b31f8e8ac7aee4d2915d46125fad7efca0b9b992 SHA256 55833614c21514bdd75045bb99c378599d939b420e56043b5dcfe689121b7527
 MD5 8d901509915f147e995103c3d14f05bd gallery-remote-1.4.1.ebuild 1799
 RMD160 dec8d844dd5c5e72e1de66ba5465d3fd99ddb41c gallery-remote-1.4.1.ebuild 1799
 SHA256 55833614c21514bdd75045bb99c378599d939b420e56043b5dcfe689121b7527 gallery-remote-1.4.1.ebuild 1799
-MISC ChangeLog 1331 RMD160 7995468fb91aa223aaa46e063b6a4d6cd8964d45 SHA1 edfa3ca5d27942712faad3846deedc3d1894dcc0 SHA256 76640cf9664f5f6f9938cf345b475f258c9c2b14221394674193048ed26f56a7
-MD5 354456895e287c54b47b80423878eca4 ChangeLog 1331
-RMD160 7995468fb91aa223aaa46e063b6a4d6cd8964d45 ChangeLog 1331
-SHA256 76640cf9664f5f6f9938cf345b475f258c9c2b14221394674193048ed26f56a7 ChangeLog 1331
+MISC ChangeLog 1557 RMD160 5d9a7eae0da5a844a9b63f478f7075e24baf4d2b SHA1 d9370d4e66d53e06124298a5117c0db1a02e6385 SHA256 0256addb4ad13f898fe236830d11be64a0f7261233ffc2ad8e842260464abc21
+MD5 3a87dbdcf5f61530b2bd318b62f089d6 ChangeLog 1557
+RMD160 5d9a7eae0da5a844a9b63f478f7075e24baf4d2b ChangeLog 1557
+SHA256 0256addb4ad13f898fe236830d11be64a0f7261233ffc2ad8e842260464abc21 ChangeLog 1557
 MISC metadata.xml 166 RMD160 af18d28484911b8d61247d24b25dd7e7a275cda4 SHA1 57a1af20d2ca06457db9fb349738e54166808dd5 SHA256 4b082e7b06db7445c4ff9b3d894036aa11427f8f3d86c62f724946251afd3bd6
 MD5 749a585baabd115db5bb22980f11abdf metadata.xml 166
 RMD160 af18d28484911b8d61247d24b25dd7e7a275cda4 metadata.xml 166
@@ -28,10 +33,6 @@ SHA256 64cdef0f73213a0af6fa97a845769a3d1cce451d686c9f8856c90dd40baae352 files/di
 MD5 339df5f24dfaedb5603a4e92e2269d6e files/digest-gallery-remote-1.4.1-r3 301
 RMD160 388d267bd7fc158abe1bb6e2515ef9d37225027f files/digest-gallery-remote-1.4.1-r3 301
 SHA256 64cdef0f73213a0af6fa97a845769a3d1cce451d686c9f8856c90dd40baae352 files/digest-gallery-remote-1.4.1-r3 301
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFy6VLAiZjviIA2XgRAhmLAJ93dtGbpdQ/EpH7YuYJRmAtSecpxQCfUZI3
-4wQ/LfQWr/i6/dr4EAAvuQY=
-=ek9x
------END PGP SIGNATURE-----
+MD5 339df5f24dfaedb5603a4e92e2269d6e files/digest-gallery-remote-1.4.1-r4 301
+RMD160 388d267bd7fc158abe1bb6e2515ef9d37225027f files/digest-gallery-remote-1.4.1-r4 301
+SHA256 64cdef0f73213a0af6fa97a845769a3d1cce451d686c9f8856c90dd40baae352 files/digest-gallery-remote-1.4.1-r4 301
diff --git a/app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r4 b/app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r4
new file mode 100644 (file)
index 0000000..0bae0a5
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 68391b5f6098e31c314530278b4cee25 gallery-remote-1.4.1-cvs-gentoo.tar.bz2 1603276
+RMD160 55ba05c7181a8efba0061f43bdc1fcfcb67bde10 gallery-remote-1.4.1-cvs-gentoo.tar.bz2 1603276
+SHA256 6d9e7a6485b5f101735f1d6ca8ea5adde4516a966e32fb12f696d59c4923870e gallery-remote-1.4.1-cvs-gentoo.tar.bz2 1603276
diff --git a/app-misc/gallery-remote/files/gallery-remote-1.4.1-ant.patch b/app-misc/gallery-remote/files/gallery-remote-1.4.1-ant.patch
new file mode 100644 (file)
index 0000000..43430f3
--- /dev/null
@@ -0,0 +1,10 @@
+--- build.xml.orig     2007-04-25 00:06:04.000000000 +1200
++++ build.xml  2007-04-25 00:07:01.000000000 +1200
+@@ -29,6 +29,7 @@
+    <classpath>
+     <pathelement location="lib/AppleJavaExtensions.jar"/>
+     <pathelement location="lib/metadata-extractor-2.1.jar"/>
++    <pathelement location="lib/ant.jar"/>
+    </classpath>
+   </javac>
diff --git a/app-misc/gallery-remote/gallery-remote-1.4.1-r4.ebuild b/app-misc/gallery-remote/gallery-remote-1.4.1-r4.ebuild
new file mode 100644 (file)
index 0000000..3a29e33
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery-remote/gallery-remote-1.4.1-r4.ebuild,v 1.1 2007/04/24 12:36:52 ali_bush Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Gallery Remote is a client-side Java application that provides users with a rich front-end to Gallery. This application makes it easier to upload images to your Gallery."
+HOMEPAGE="http://gallery.sourceforge.net/gallery_remote.php"
+SRC_URI="mirror://gentoo/gallery-remote-${PV}-cvs-gentoo.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND=">=virtual/jre-1.4
+               dev-java/apple-java-extensions-bin
+               >=dev-java/metadata-extractor-2.2.2-r1
+               media-gfx/imagemagick
+               media-libs/jpeg"
+DEPEND=">=virtual/jdk-1.4
+               dev-java/ant-core
+               ${RDEPEND}"
+
+S="${WORKDIR}/gallery_remote"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}/${PV}.patch" "${FILESDIR}/${P}-ant.patch"
+       cd "${S}/lib"
+       rm -f *.jar
+       java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar
+       java-pkg_jar-from metadata-extractor metadata-extractor.jar metadata-extractor-2.1.jar
+       java-pkg_jar-from --build-only ant-core ant.jar
+}
+
+src_compile() {
+       eant jar
+}
+
+src_install() {
+       dodoc ChangeLog README
+       java-pkg_dojar GalleryRemote.jar
+
+       dodir /usr/share/gallery-remote/{imagemagick,jpegtran}
+       cp imagemagick/im.properties.preinstalled ${D}/usr/share/gallery-remote/imagemagick/im.properties
+       cp jpegtran/jpegtran.preinstalled ${D}/usr/share/gallery-remote/jpegtran/jpegtran.properties
+       cp -r img ${D}/usr/share/gallery-remote/
+
+       java-pkg_addcp './img/'
+       #echo "#!/bin/bash" > gallery-remote
+       #echo "cd /usr/share/gallery-remote/" >> gallery-remote
+       #echo "java -cp \$(java-config -p ${PN},metadata-extractor):img/ com.gallery.GalleryRemote.GalleryRemote \${@} "  >> gallery-remote
+       #dobin gallery-remote
+       java-pkg_dolauncher gallery-remote \
+               --main com.gallery.GalleryRemote.GalleryRemote \
+               --pwd /usr/share/gallery-remote
+}