diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-07-30 05:23:53 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-07-30 05:23:53 +0000 |
commit | 0571ec6d5db36c2eebcf1bf100260f86e04f36a0 (patch) | |
tree | 78574fac1e0cdf6b0778e9d6616b59fcf7d7621a /app-misc/gallery-remote | |
parent | initial import, dependency of gallery-remote (diff) | |
download | historical-0571ec6d5db36c2eebcf1bf100260f86e04f36a0.tar.gz historical-0571ec6d5db36c2eebcf1bf100260f86e04f36a0.tar.bz2 historical-0571ec6d5db36c2eebcf1bf100260f86e04f36a0.zip |
initial import
Diffstat (limited to 'app-misc/gallery-remote')
-rw-r--r-- | app-misc/gallery-remote/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/gallery-remote/Manifest | 16 | ||||
-rw-r--r-- | app-misc/gallery-remote/files/1.3.2.patch | 21 | ||||
-rw-r--r-- | app-misc/gallery-remote/files/build.xml.patch | 25 | ||||
-rw-r--r-- | app-misc/gallery-remote/files/digest-gallery-remote-1.3.2 | 1 | ||||
-rw-r--r-- | app-misc/gallery-remote/gallery-remote-1.3.2.ebuild | 52 | ||||
-rw-r--r-- | app-misc/gallery-remote/metadata.xml | 5 |
7 files changed, 130 insertions, 0 deletions
diff --git a/app-misc/gallery-remote/ChangeLog b/app-misc/gallery-remote/ChangeLog new file mode 100644 index 000000000000..35698ecdfb15 --- /dev/null +++ b/app-misc/gallery-remote/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/gallery-remote +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery-remote/ChangeLog,v 1.1 2004/07/30 05:23:53 axxo Exp $ + +*gallery-remote-1.3.2 (30 Jul 2004) + + 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/1.3.2.patch, +files/build.xml.patch, +gallery-remote-1.3.2.ebuild: + initial import + diff --git a/app-misc/gallery-remote/Manifest b/app-misc/gallery-remote/Manifest new file mode 100644 index 000000000000..6b03f8a5bedb --- /dev/null +++ b/app-misc/gallery-remote/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 20c6607aac0723c31fa39eca61ef6834 gallery-remote-1.3.2.ebuild 1704 +MD5 5c1397b217c75e419bbd9eccad8dde20 ChangeLog 412 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 0683fc9111309eaa629527346f044b73 files/1.3.2.patch 858 +MD5 2b6dd7a0ea88fe68b8f27f4348fc134d files/build.xml.patch 1008 +MD5 73fa77691176c50c67fd313e23d089dd files/digest-gallery-remote-1.3.2 84 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.4 (GNU/Linux) + +iD8DBQFBCdvW/rLF9B432nYRAjy+AJ0cqnB9+FafAktrV33yN5usE2R2fwCfVkeL +X3DlWxbVIL7F6c195ufXRZk= +=SP7H +-----END PGP SIGNATURE----- diff --git a/app-misc/gallery-remote/files/1.3.2.patch b/app-misc/gallery-remote/files/1.3.2.patch new file mode 100644 index 000000000000..f84b52e2526b --- /dev/null +++ b/app-misc/gallery-remote/files/1.3.2.patch @@ -0,0 +1,21 @@ +--- com/gallery/GalleryRemote/util/ExifImageUtils.java.orig 2004-07-30 05:54:29.074613888 +0200 ++++ com/gallery/GalleryRemote/util/ExifImageUtils.java 2004-07-30 05:54:45.454123824 +0200 +@@ -84,9 +84,6 @@ + Log.log(Log.LEVEL_TRACE, MODULE, "Angle: " + af.angle + " Flipped: " + af.flip); + return af; + } +- } catch (FileNotFoundException e) { +- Log.logException(Log.LEVEL_ERROR, MODULE, e); +- return null; + } catch (JpegProcessingException e) { + Log.logException(Log.LEVEL_ERROR, MODULE, e); + return null; +@@ -107,8 +104,6 @@ + + // todo: this doesn't do anything at present: the library can only READ + // EXIF, not write to it... +- } catch (FileNotFoundException e) { +- Log.logException(Log.LEVEL_ERROR, MODULE, e); + } catch (JpegProcessingException e) { + Log.logException(Log.LEVEL_ERROR, MODULE, e); + } diff --git a/app-misc/gallery-remote/files/build.xml.patch b/app-misc/gallery-remote/files/build.xml.patch new file mode 100644 index 000000000000..8554cd94262d --- /dev/null +++ b/app-misc/gallery-remote/files/build.xml.patch @@ -0,0 +1,25 @@ +--- build.xml.orig 2004-07-30 05:50:41.822161512 +0200 ++++ build.xml 2004-07-30 05:53:17.553486752 +0200 +@@ -25,12 +25,8 @@ + <!-- Compile the java code from ${src} into ${build} --> + <javac srcdir="${src}" destdir="${build}" + includes="com/**,HTTPClient/**,edu/**" ++ classpath="${compile.classpath}" + listfiles="on" debug="on" source="1.3"> +- <classpath> +- <pathelement location="lib/JSX1.0.7.4.jar"/> +- <pathelement location="lib/AppleJavaExtensions.jar"/> +- <pathelement location="lib/metadata-extractor-2.1.jar"/> +- </classpath> + </javac> + + <!-- other files needed --> +@@ -65,7 +61,7 @@ + <manifest> + <attribute name="Built-By" value="${user.name}" /> + <attribute name="Main-Class" value="com.gallery.GalleryRemote.GalleryRemote" /> +- <attribute name="Class-Path" value="lib/metadata-extractor-2.1.jar lib/JSX1.0.7.4.jar img/" /> ++ <attribute name="Class-Path" value="${compile.classpath} /usr/share/gallery-remote/img/" /> + </manifest> + </jar> + </target> diff --git a/app-misc/gallery-remote/files/digest-gallery-remote-1.3.2 b/app-misc/gallery-remote/files/digest-gallery-remote-1.3.2 new file mode 100644 index 000000000000..bf5df0e24936 --- /dev/null +++ b/app-misc/gallery-remote/files/digest-gallery-remote-1.3.2 @@ -0,0 +1 @@ +MD5 bb93921f1826dfa790ff59888c445a3b gallery-remote-1.3.2-cvs-gentoo.tar.bz2 340558 diff --git a/app-misc/gallery-remote/gallery-remote-1.3.2.ebuild b/app-misc/gallery-remote/gallery-remote-1.3.2.ebuild new file mode 100644 index 000000000000..589779222879 --- /dev/null +++ b/app-misc/gallery-remote/gallery-remote-1.3.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 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.3.2.ebuild,v 1.1 2004/07/30 05:23:53 axxo Exp $ + +inherit java-pkg eutils + +DESCRIPTION="This is a sample skeleton ebuild file" +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="~x86" +IUSE="jikes" +DEPEND=">=virtual/jdk-1.4 + dev-java/apple-java-extensions-bin + dev-java/jsx + dev-java/metadata-extractor + dev-java/java-config" +RDEPEND="${DEPEND} + media-gfx/imagemagick + media-libs/jpeg" + +S=${WORKDIR}/gallery_remote + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/build.xml.patch + epatch ${FILESDIR}/1.3.2.patch +} + +src_compile() { + local antflags="jar -Dcompile.classpath=$(java-config -p apple-java-extensions-bin,jsx,metadata-extractor)" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "failed to compile" +} + +src_install() { + dodoc ChangeLog LICENSE 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/ + + dodir /usr/bin/ + echo "#!/bin/bash" > ${D}/usr/bin/gallery-remote + echo "cd /usr/share/gallery-remote/" >> ${D}/usr/bin/gallery-remote + echo "\$(java-config -J) -jar \$(java-config -p gallery-remote)" >> ${D}/usr/bin/gallery-remote + chmod 755 ${D}/usr/bin/gallery-remote +} diff --git a/app-misc/gallery-remote/metadata.xml b/app-misc/gallery-remote/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/app-misc/gallery-remote/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |