diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-09-28 14:34:51 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-09-28 14:34:51 +0000 |
commit | b25ee00cee87fb7a2dee9b7e0d612a79994d99f1 (patch) | |
tree | 51ff52c562573a8c29a6ae1591903fb7094dc42d /dev-java/jempbox | |
parent | Version bump. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild. #4... (diff) | |
download | historical-b25ee00cee87fb7a2dee9b7e0d612a79994d99f1.tar.gz historical-b25ee00cee87fb7a2dee9b7e0d612a79994d99f1.tar.bz2 historical-b25ee00cee87fb7a2dee9b7e0d612a79994d99f1.zip |
Version bump. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild. #430058
Some fixups by me.
Package-Manager: portage-2.1.11.13/cvs/Linux x86_64
Diffstat (limited to 'dev-java/jempbox')
-rw-r--r-- | dev-java/jempbox/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/jempbox/Manifest | 19 | ||||
-rw-r--r-- | dev-java/jempbox/files/jempbox-1.7.1_maven-build.xml | 247 | ||||
-rw-r--r-- | dev-java/jempbox/jempbox-1.7.1.ebuild | 46 |
4 files changed, 321 insertions, 3 deletions
diff --git a/dev-java/jempbox/ChangeLog b/dev-java/jempbox/ChangeLog index 01558b44c498..dac0279c3294 100644 --- a/dev-java/jempbox/ChangeLog +++ b/dev-java/jempbox/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/jempbox -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jempbox/ChangeLog,v 1.7 2007/06/14 00:37:33 angelos Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jempbox/ChangeLog,v 1.8 2012/09/28 14:34:51 sera Exp $ + +*jempbox-1.7.1 (28 Sep 2012) + + 28 Sep 2012; Ralph Sennhauser <sera@gentoo.org> +jempbox-1.7.1.ebuild, + +files/jempbox-1.7.1_maven-build.xml: + Version bump. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild. + #430058 + Some fixups by me. 14 Jun 2007; Christoph Mende <angelos@gentoo.org> jempbox-0.2.0.ebuild: Stable on amd64 wrt bug 181086 diff --git a/dev-java/jempbox/Manifest b/dev-java/jempbox/Manifest index 42251b0de914..18afa0e0928a 100644 --- a/dev-java/jempbox/Manifest +++ b/dev-java/jempbox/Manifest @@ -1,4 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX jempbox-1.7.1_maven-build.xml 10502 SHA256 de55ba873b5ca0dfa4e837ce13ba8faa5271e1ea33bd64c1d4dfedfd0acc24b1 SHA512 230436b03ddd8146f6aca41b26f54c0beba208eed9836aaf12e1326de75f226572e473e28c3d313c49a53266d3a827ee62097a49849d1782c546fe9e8bc1d269 WHIRLPOOL 7b566b3b4256c7399689d637a526b83c7308ea594fb600414e1206050e78d0892d8f09ef4fd81f4e84c58a72ef02ca426431d536a3126882563bf71880c7b381 DIST JempBox-0.2.0.zip 6131627 SHA256 a4c6def91c31aaae4b8ee4b3f9ecebef73fce2f608bf7fc906a89a9bef17978e SHA512 8468028cf04d78e4bcbd2108f21c26e70d23a39f9ee897c2edf0a982c8981cdcbf1f6474f222021ac68e65dc0e5f6063d2603658f694a99ccac6ee52715c3aad WHIRLPOOL bb8659ab900b8920ace7afb8787d30ed4a00c701f0962106dcb1891f7829c83a04a4f9de09c9b7b682340bed06fb58622ffd4ff60d0defd39c5485363161137f +DIST pdfbox-1.7.1-src.zip 9167805 SHA256 805c6b893ff10216cc826aa44e7a2eaf35bb43ca8ed19896c43132d253d3145e SHA512 8b2af3d8f431626c106e4f6e9e1d59d14abcd58cfdc9553f20c5057eef9f9cfbd0287e14e58e4d34472ad81198eb3f4d0a2fd6e88bd1fa5cbcf01e4befbf77d0 WHIRLPOOL 438fcd6f2d0128b972dfd5be83b2bc455daf9f126ac5b7a6a5de8a41e29f482b462e8e48e07a21ac1e896de4daa5ffed2eee400ec96ac93fbbce25fef99b0ade EBUILD jempbox-0.2.0.ebuild 1642 SHA256 9faf4e3bad4297db4dbdf3abd01f2943b918c0dafd38047f90df5b04a5b484d7 SHA512 266418f85e318a5ab3c91b9e451f75de2374ebf0a5fca04d31608b9a873603f30f933a529487d18fdedcd9b99138d2950d5cee8b7d8b2c657d4357bbf77ec439 WHIRLPOOL 6488ae8d6e4011e42d05e01b4c3e9b195a0555078430376c7faa7b20d85fde7aa86774ca44c7e28b19b71e43b26007d89b64ab22f1538b1dd1647bc15c52d1ad -MISC ChangeLog 1040 SHA256 2ceacb590fd30b6c2fac331296024f39762737c07e850c32da7eee8180476937 SHA512 187f3b6e29d1fcaf978e3fb20c452305ed11c8b23fe56c7f91f2cb54def5ac30cc15dae1ed4c7d65599a42d83511b81534212055d866310b3073d0a145268fa3 WHIRLPOOL 6856b65e40e82146b4edb117560c783f2263d88e09b43cd2ca4641e5b2ef6ab8ed75aa9957ea40f1840995e801d00aa364b82eda54f58e1d161d1fee4e54046d +EBUILD jempbox-1.7.1.ebuild 991 SHA256 5a70d3a502b1d67136c4fa8056e1beab4237f3c17596c53dc4ec16f7908f2778 SHA512 c2e66dfdec24a3d75699e17e019bf7151df8961f31fcfc91fdca2d35b3635ea8e9bf21386579c40f751efecec148d132298f0988d95df8a7bc1d194cd243e4a4 WHIRLPOOL 45933b3092dded59b5cce35164e7d4eef169152ed1c30187848cbb99936b44e51c57fee9bb657873c7caf6268172d6e980d838d94dc125b5fb990d91570efb54 +MISC ChangeLog 1289 SHA256 75274f35b2ff68cb5b2d415c190e403a74514bed9bd46b98e6c54452bdf9606c SHA512 82f0d7e16b3459fe267e93e27bf66b120efdc2618393c13edcf77de31467de7f87a77dbadc90b3f956ef2f185bb4a71042d9594367ddb6b2e111be9b2b823adc WHIRLPOOL dc7ca27b10e5cdd97f82e30558448f399bc0d005d1f88d901b15b6c4b1d328123e8bcc94110a6b8740cf259ab4377a473ca464d0e84f4c5968bcb8b5edb8d46c MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQZbWhAAoJEIUJ+svaV1635lYH/jDrS0TZ5KOsTKctEerYIVfq +DQztJ0vS6LZJaufEBRp0RRLbM/ckXcMyH382RQkF/gH+T7tCJt4fZLwbKOHH9/NE +EaKthieRv2dYcdWxcSjMfz+xOaYmOhzj+ZSEDrGpallByOl+VDuHRdtWhAGbP2Ra +S7p/7RdB0P6TEAqdDI5xZd6MCWd1cITrq6+E29MdaNfIL6wvJxOLv3JH+J6d7Fc2 +FEyYqOi8toBjoOlrCYViHgD7aqvrqIaRNox2UrEewhGzUwA9rukAXHUq24PH4guI +CU4xPbjnRB/23jekD21dkCM3lt2ZuSK1/70psNt68bqicCmM1VY0riVto87puqA= +=cj7s +-----END PGP SIGNATURE----- diff --git a/dev-java/jempbox/files/jempbox-1.7.1_maven-build.xml b/dev-java/jempbox/files/jempbox-1.7.1_maven-build.xml new file mode 100644 index 000000000000..453f9f69f665 --- /dev/null +++ b/dev-java/jempbox/files/jempbox-1.7.1_maven-build.xml @@ -0,0 +1,247 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 8/2/12 4:32 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jempbox-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jempbox-1.7.1"/> + <property name="maven.build.dir" value="target"/> + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> + <property name="maven.build.srcDir.0" value="src/main/java"/> + <property name="maven.build.resourceDir.0" value="src/main/resources"/> + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> + <property name="maven.build.testDir.0" value="src/test/java"/> + <property name="maven.build.testResourceDir.0" value="src/test/resources"/> + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> + + <property name="maven.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"/> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + <javac destdir="${maven.build.outputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.srcDir.0}"/> + </src> + <classpath refid="build.classpath"/> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + <javac destdir="${maven.build.testOutputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.testDir.0}"/> + </src> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + </classpath> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"> + <mkdir dir="${maven.test.reports}"/> + <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> + <sysproperty key="basedir" value="."/> + <formatter type="xml"/> + <formatter type="plain" usefile="false"/> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + <pathelement location="${maven.build.testOutputDir}"/> + </classpath> + <batchtest todir="${maven.test.reports}" unless="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/Test*.java"/> + <include name="**/*Test.java"/> + <include name="**/*TestCase.java"/> + <exclude name="**/*Abstract*Test.java"/> + </fileset> + </batchtest> + <batchtest todir="${maven.test.reports}" if="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/${test}.java"/> + <exclude name="**/*Abstract*Test.java"/> + </fileset> + </batchtest> + </junit> + </target> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> + <javadoc sourcepath="${maven.build.srcDir.0}" + packagenames="*" + destdir="${maven.reporting.outputDirectory}/apidocs" + access="protected" + old="false" + verbose="false" + version="true" + use="true" + author="true" + splitindex="false" + nodeprecated="false" + nodeprecatedlist="false" + notree="false" + noindex="false" + nohelp="false" + nonavbar="false" + serialwarn="false" + charset="ISO-8859-1" + source="1.5" + linksource="false" + breakiterator="false"> + <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/> + </javadoc> + </target> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + basedir="${maven.build.outputDir}" + excludes="**/package.html"> + </jar> + </target> + + <!-- ====================================================================== --> + <!-- A dummy target for the package named after the type it creates --> + <!-- ====================================================================== --> + + <target name="jar" depends="package" description="Builds the jar for the application"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/> + <get src="http://repository.apache.org/snapshots/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/jempbox/jempbox-1.7.1.ebuild b/dev-java/jempbox/jempbox-1.7.1.ebuild new file mode 100644 index 000000000000..a990b6ce46ae --- /dev/null +++ b/dev-java/jempbox/jempbox-1.7.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jempbox/jempbox-1.7.1.ebuild,v 1.1 2012/09/28 14:34:51 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +MY_PN=pdfbox + +DESCRIPTION="An open source Java library for parsing font files" +HOMEPAGE="http://pdfbox.apache.org/" +SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_PN}-${PV}-src.zip" + +LICENSE="BSD" +SLOT="1.7" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5 + app-arch/unzip + test? ( dev-java/ant-junit:0 )" + +S="${WORKDIR}/${MY_PN}-${PV}/${PN}" + +java_prepare() { + cp -v "${FILESDIR}"/${P}_maven-build.xml build.xml || die +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org +} |