diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-03 10:19:45 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-03 10:19:45 +0100 |
commit | 4ca808e56ce1f8f47678257e8d0a054f9ad5cc44 (patch) | |
tree | 2d34299acbf0564d2972226c0be9f9f7cad7a720 /dev-java | |
parent | dev-java/flexdock: drop old (diff) | |
download | sci-4ca808e56ce1f8f47678257e8d0a054f9ad5cc44.tar.gz sci-4ca808e56ce1f8f47678257e8d0a054f9ad5cc44.tar.bz2 sci-4ca808e56ce1f8f47678257e8d0a054f9ad5cc44.zip |
dev-java/gluegen: fix build, EAPI bump
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/gluegen/files/2.1.4-dont-copy-jars.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/files/2.1.4-dont-strip.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/files/2.1.4-dont-test-archive.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/files/2.2.4-dont-copy-jars.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/files/2.2.4-dont-strip.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/files/2.2.4-dont-test-archive.patch | 6 | ||||
-rw-r--r-- | dev-java/gluegen/gluegen-2.2.4.ebuild | 18 |
7 files changed, 31 insertions, 23 deletions
diff --git a/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch b/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch index dca10dce8..6f51d6811 100644 --- a/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch +++ b/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/build.xml b/gluegen-2.1.4_rc01/make/build.xml +diff --git a/make/build.xml b/make/build.xml index 55ef270..bce6d12 100644 ---- a/gluegen-2.1.4_rc01/make/build.xml -+++ b/gluegen-2.1.4_rc01/make/build.xml +--- a/make/build.xml ++++ b/make/build.xml @@ -806,12 +806,6 @@ </fileset> </jar> diff --git a/dev-java/gluegen/files/2.1.4-dont-strip.patch b/dev-java/gluegen/files/2.1.4-dont-strip.patch index 02020d2ae..23f62b80b 100644 --- a/dev-java/gluegen/files/2.1.4-dont-strip.patch +++ b/dev-java/gluegen/files/2.1.4-dont-strip.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml b/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml +diff --git a//make/gluegen-cpptasks-base.xml b//make/gluegen-cpptasks-base.xml index 8b8b82e..ec39aeb 100755 ---- a/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml -+++ b/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml +--- a//make/gluegen-cpptasks-base.xml ++++ b//make/gluegen-cpptasks-base.xml @@ -1511,17 +1511,6 @@ - Helper strip.libraries for stripping off debug information --> diff --git a/dev-java/gluegen/files/2.1.4-dont-test-archive.patch b/dev-java/gluegen/files/2.1.4-dont-test-archive.patch index 3eb061f27..183df447d 100644 --- a/dev-java/gluegen/files/2.1.4-dont-test-archive.patch +++ b/dev-java/gluegen/files/2.1.4-dont-test-archive.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/build-test.xml b/gluegen-2.1.4_rc01/make/build-test.xml +diff --git a//make/build-test.xml b//make/build-test.xml index 31dc773..e872a0a 100644 ---- a/gluegen-2.1.4_rc01/make/build-test.xml -+++ b/gluegen-2.1.4_rc01/make/build-test.xml +--- a//make/build-test.xml ++++ b//make/build-test.xml @@ -614,9 +614,11 @@ chmod 644 ${results}/* \${line.separator} <!-- updates / create the test results zip file --> diff --git a/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch b/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch index dca10dce8..eed581659 100644 --- a/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch +++ b/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/build.xml b/gluegen-2.1.4_rc01/make/build.xml +diff --git a//make/build.xml b//make/build.xml index 55ef270..bce6d12 100644 ---- a/gluegen-2.1.4_rc01/make/build.xml -+++ b/gluegen-2.1.4_rc01/make/build.xml +--- a//make/build.xml ++++ b//make/build.xml @@ -806,12 +806,6 @@ </fileset> </jar> diff --git a/dev-java/gluegen/files/2.2.4-dont-strip.patch b/dev-java/gluegen/files/2.2.4-dont-strip.patch index 02020d2ae..23f62b80b 100644 --- a/dev-java/gluegen/files/2.2.4-dont-strip.patch +++ b/dev-java/gluegen/files/2.2.4-dont-strip.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml b/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml +diff --git a//make/gluegen-cpptasks-base.xml b//make/gluegen-cpptasks-base.xml index 8b8b82e..ec39aeb 100755 ---- a/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml -+++ b/gluegen-2.1.4_rc01/make/gluegen-cpptasks-base.xml +--- a//make/gluegen-cpptasks-base.xml ++++ b//make/gluegen-cpptasks-base.xml @@ -1511,17 +1511,6 @@ - Helper strip.libraries for stripping off debug information --> diff --git a/dev-java/gluegen/files/2.2.4-dont-test-archive.patch b/dev-java/gluegen/files/2.2.4-dont-test-archive.patch index 3eb061f27..183df447d 100644 --- a/dev-java/gluegen/files/2.2.4-dont-test-archive.patch +++ b/dev-java/gluegen/files/2.2.4-dont-test-archive.patch @@ -1,7 +1,7 @@ -diff --git a/gluegen-2.1.4_rc01/make/build-test.xml b/gluegen-2.1.4_rc01/make/build-test.xml +diff --git a//make/build-test.xml b//make/build-test.xml index 31dc773..e872a0a 100644 ---- a/gluegen-2.1.4_rc01/make/build-test.xml -+++ b/gluegen-2.1.4_rc01/make/build-test.xml +--- a//make/build-test.xml ++++ b//make/build-test.xml @@ -614,9 +614,11 @@ chmod 644 ${results}/* \${line.separator} <!-- updates / create the test results zip file --> diff --git a/dev-java/gluegen/gluegen-2.2.4.ebuild b/dev-java/gluegen/gluegen-2.2.4.ebuild index a1992bcf2..67c6c32ac 100644 --- a/dev-java/gluegen/gluegen-2.2.4.ebuild +++ b/dev-java/gluegen/gluegen-2.2.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 JAVA_PKG_IUSE="doc source test" WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0" @@ -15,7 +15,6 @@ SRC_URI="https://github.com/sgothel/gluegen/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="2.2" KEYWORDS="~amd64 ~x86" -IUSE="" COMMON_DEP=" dev-java/ant-core:0 @@ -42,9 +41,18 @@ EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar" EANT_EXTRA_ARGS="-Dc.strip.libraries=false" -java_prepare() { +PATCHES=( + "${FILESDIR}/2.1.4-dont-copy-jars.patch" + "${FILESDIR}/2.1.4-dont-strip.patch" + "${FILESDIR}/2.1.4-dont-test-archive.patch" + #"${FILESDIR}/2.2.4-dont-copy-jars.patch" + #"${FILESDIR}/2.2.4-dont-strip.patch" + #"${FILESDIR}/2.2.4-dont-test-archive.patch" +) + +src_prepare() { rm -rf make/lib - epatch "${FILESDIR}"/${PV}-*.patch + default java-ant_bsfix_files "${S}/make/build-test.xml" } @@ -56,7 +64,7 @@ src_install() { java-pkg_dojar build/${PN}{,-rt}.jar java-pkg_doso build/obj/*.so - use doc && dohtml -r doc/manual + use doc && dodoc -r doc/manual use source && java-pkg_dosrc src/java/* # for building jogl |