diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-java/javolution | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-java/javolution')
| -rw-r--r-- | dev-java/javolution/Manifest | 3 | ||||
| -rw-r--r-- | dev-java/javolution/files/4.0.2-fix-java7.patch | 38 | ||||
| -rw-r--r-- | dev-java/javolution/files/javolution-6.0.0-javadoc-fix.patch | 13 | ||||
| -rw-r--r-- | dev-java/javolution/javolution-4.0.2-r1.ebuild | 44 | ||||
| -rw-r--r-- | dev-java/javolution/javolution-6.0.0.ebuild | 57 | ||||
| -rw-r--r-- | dev-java/javolution/metadata.xml | 9 |
6 files changed, 164 insertions, 0 deletions
diff --git a/dev-java/javolution/Manifest b/dev-java/javolution/Manifest new file mode 100644 index 000000000000..9a5d6dd99528 --- /dev/null +++ b/dev-java/javolution/Manifest @@ -0,0 +1,3 @@ +DIST javolution-4.0.2-src.zip 556097 BLAKE2B 83f009a60e2b981d488b0b5f95572d3f88f724388b0d09eee10d7f1555379b2b51cf1d2f0f0af74d6944718b7e4b2f609f7866a747c19001edb2466611a6192a SHA512 562e0d364aa6b564341ce197941aaaf51e286712e6b71459ac12eccffbdf1d440f1910826cebf088176562b5dccb865f5d0e652a519814e1357094e253ee2efd +DIST javolution-6.0.0-build.xml.tar.xz 2696 BLAKE2B 825899c903300dd7d031ab372c85f2824b796305dcf56ea9fc162d883a09f2feedc7498d13b6c803ad43d876dcf3dc457704cf834ff9d48411a67e0bec0a28f9 SHA512 5861e462f24817efec24a784625e240fd4e08117c7b11bf7145f8dae35bb90b0b9fc1e431895ef5d868a1f1d57d96967fd9f39a9b821b51875814f6e118dbdab +DIST javolution-6.0.0.tar.xz 1308148 BLAKE2B 148bd28e7cd9a0fe16d657cb61fd870e92180f4ad64fb9b1a37fa953309a80c1f3b3b9edbe0c7defa2a3a73ba8d3cf200ee29737769cc31fe87300fbc40f2111 SHA512 86a7a19b13b74cca6ab4871e725a1143d6a1401cc7265390ee66b83f8a9b48f7879b8ccc2d7a3d660e523b64e3779eaf372519ee98268f1bf55df1d7b5a7f034 diff --git a/dev-java/javolution/files/4.0.2-fix-java7.patch b/dev-java/javolution/files/4.0.2-fix-java7.patch new file mode 100644 index 000000000000..19d2275b8e0c --- /dev/null +++ b/dev-java/javolution/files/4.0.2-fix-java7.patch @@ -0,0 +1,38 @@ +diff --git a/javolution-4.0/src/javolution/io/Struct.java b/javolution-4.0/src/javolution/io/Struct.java +index 5198030..3def806 100644 +--- a/javolution-4.0/src/javolution/io/Struct.java ++++ b/javolution-4.0/src/javolution/io/Struct.java +@@ -134,7 +134,7 @@ public class Struct { + /** + * Holds the outer struct if any. + */ +- private Struct _outer; ++ Struct _outer; + + /** + * Holds the byte buffer backing the struct (top struct). +@@ -145,7 +145,7 @@ public class Struct { + * Holds the offset of this struct relative to the outer struct or + * to the byte buffer if there is no outer. + */ +- private int _outerOffset; ++ int _outerOffset; + + /** + * Holds the number of bits currently used (for size calculation). +@@ -155,7 +155,7 @@ public class Struct { + /** + * Holds this struct alignment (largest alignment of its members). + */ +- private int _alignment = 1; ++ int _alignment = 1; + + /** + * Holds the current bit index position (during construction). +@@ -1607,4 +1607,4 @@ public class Struct { + } + } + } +-} +\ No newline at end of file ++} diff --git a/dev-java/javolution/files/javolution-6.0.0-javadoc-fix.patch b/dev-java/javolution/files/javolution-6.0.0-javadoc-fix.patch new file mode 100644 index 000000000000..24530ef6b251 --- /dev/null +++ b/dev-java/javolution/files/javolution-6.0.0-javadoc-fix.patch @@ -0,0 +1,13 @@ +--- a/core-java/maven-build.xml ++++ b/core-java/maven-build.xml +@@ -180,9 +180,8 @@ + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> +- <javadoc sourcepath="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/target/colorized" ++ <javadoc sourcepath="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/" + destdir="${maven.reporting.outputDirectory}/apidocs" +- overview="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/target/colorized/javolution/doc-files/overview.html" + access="protected" + old="false" + verbose="false" diff --git a/dev-java/javolution/javolution-4.0.2-r1.ebuild b/dev-java/javolution/javolution-4.0.2-r1.ebuild new file mode 100644 index 000000000000..80255b4d8561 --- /dev/null +++ b/dev-java/javolution/javolution-4.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Java Solution for Real-Time and Embedded Systems" +SRC_URI="http://javolution.org/${P}-src.zip" +HOMEPAGE="http://javolution.org" + +LICENSE="BSD" +SLOT="4" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/javolution-${PV%.*}" + +EANT_BUILD_TARGET="clean _init_1.5 _compile jar" +EANT_DOC_TARGET="doc" + +java_prepare() { + epatch "${FILESDIR}"/${PV}*.patch +} + +src_test() { + java -jar "${PN}.jar" test || die "test failed" +} + +src_install() { + java-pkg_dojar "${PN}.jar" + + dodoc doc/coding_standard.txt + dohtml index.html + + use doc && java-pkg_dojavadoc api + use source && java-pkg_dosrc "${S}/src/${PN}" +} diff --git a/dev-java/javolution/javolution-6.0.0.ebuild b/dev-java/javolution/javolution-6.0.0.ebuild new file mode 100644 index 000000000000..c289d27fec73 --- /dev/null +++ b/dev-java/javolution/javolution-6.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +# Documentation generation is broken. +JAVA_PKG_IUSE="source" # doc + +inherit java-pkg-2 java-ant-2 unpacker + +DESCRIPTION="Java Solution for Real-Time and Embedded Systems" +SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz + https://dev.gentoo.org/~tomwij/files/dist/${P}-build.xml.tar.xz" +HOMEPAGE="http://javolution.org" + +LICENSE="BSD" +SLOT="6" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/osgi-core-api:0 + dev-java/osgi-compendium:0" + +DEPEND=">=virtual/jdk-1.5 + ${CDEPEND} + app-arch/unzip" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" + +EANT_BUILD_TARGET="package" +JAVA_PKG_BSFIX_NAME="build.xml maven-build.xml" +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_GENTOO_CLASSPATH="osgi-core-api,osgi-compendium" + +src_unpack() { + unpacker ${P}.tar.xz + cd "${S}" || die + unpacker ${P}-build.xml.tar.xz +} + +java_prepare() { + # Remove bundled libraries. + find . -name '*.jar' -print -delete || die + find . -name '*.class' -print -delete || die + + epatch "${FILESDIR}"/${P}-javadoc-fix.patch +} + +src_install() { + java-pkg_newjar core-java/target/${PN}-core-java-${PV}.jar + + dohtml index.html + + # Documentation generation is broken. + #use doc && java-pkg_dojavadoc core-java/target/site/apidocs + use source && java-pkg_dosrc core-java/src/main/java/${PN} +} diff --git a/dev-java/javolution/metadata.xml b/dev-java/javolution/metadata.xml new file mode 100644 index 000000000000..428163197653 --- /dev/null +++ b/dev-java/javolution/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> |
