summaryrefslogtreecommitdiff
path: root/dev-java/jibx-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jibx-tools
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jibx-tools')
-rw-r--r--dev-java/jibx-tools/Manifest5
-rw-r--r--dev-java/jibx-tools/files/1.1.5-build.patch20
-rw-r--r--dev-java/jibx-tools/jibx-tools-1.1.5-r2.ebuild52
-rw-r--r--dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild51
-rw-r--r--dev-java/jibx-tools/metadata.xml11
5 files changed, 139 insertions, 0 deletions
diff --git a/dev-java/jibx-tools/Manifest b/dev-java/jibx-tools/Manifest
new file mode 100644
index 000000000000..f96fdf4f25b4
--- /dev/null
+++ b/dev-java/jibx-tools/Manifest
@@ -0,0 +1,5 @@
+AUX 1.1.5-build.patch 1082 BLAKE2B 6a91b3c3464d23cd846501ced1bcbfb93c667ccea31cab3f27c2e19b8965cc6e54af45af23b39a27891ae82d0bb5b98122fd0c03515abb9de146ec601a617c28 SHA512 5e9b2814cfcdf2624c3e8c813d74cecf6a5c2fb1ed8fa493dbb8af039cb1b13b526018dffc512cda9abb48c3b6a481f7a3fe3095c71218f7231cc0785529d064
+DIST jibx_1_1_5.zip 6788994 BLAKE2B 0b579e6eb9f6037c92dce3acbec4e9fd5a6aec179cb0f4ecf935ff0bbfb525c4c317d79d21683c3ea6136256b69f5aa9250851802c8eaccf14f3dff9f5ad8aa6 SHA512 13c3a43a53746e9146d1240d73d1948b3c03ead55aa0e79158c2700a385b0dfba0e31122efd11446c1a46c2b3f85235035dc198c6b3acf2fcefa88b2a0683cc7
+EBUILD jibx-tools-1.1.5-r2.ebuild 1112 BLAKE2B e989b0bb0ba50c222b98331840310509a21ed9e8592035fbcfe438610504e018111f2a0d489cd9ccf0989d51097bde0664f455e5dd5a26ef6e65eeaea2602c40 SHA512 3a33add19351da5c3c2a358329a2e0b7ba68a120d9dd00db0a3fb6533c0f200259b175d0548ba1224d31f2c47287c7c2be60571ba6283e5a12e39fe5c52b1c1e
+EBUILD jibx-tools-1.1.5-r3.ebuild 1079 BLAKE2B 0ae251af105c5f8d35cf7e5172371284fccccc5bde50e5c5d6f1b868a2a6660a02b20e7216392216e49793c4c89aa6b98133c4464102d3930e853b70255e3325 SHA512 bad3f13750ce06d8832d7ae8bcc3c6be6255ba0528d473cdad871c45ca2a5f3e7688d961a8e6fb040bf1fd9cd6bd42ca53a233ea5243493048520632d9630135
+MISC metadata.xml 310 BLAKE2B 553d575c998235bcf718e558a48fd802b683298ac6075d165488a6173dab86c73169a761673ebd6307b3e3ad446034cb418e5515b1aeb147505e98410b3466cd SHA512 40d0f9f66393bca25216d7953624b713aa0ecce6badf7a8021ac269813131cd630d90b48e042f31b27b8681e2286c50f24c15938b14fc7a4fdbc224a626d75dd
diff --git a/dev-java/jibx-tools/files/1.1.5-build.patch b/dev-java/jibx-tools/files/1.1.5-build.patch
new file mode 100644
index 000000000000..7e2354c2cbde
--- /dev/null
+++ b/dev-java/jibx-tools/files/1.1.5-build.patch
@@ -0,0 +1,20 @@
+--- build/src/org/jibx/binding/SchemaGenerator.java 2007-05-23 21:31:14.000000000 +0300
++++ build/src/org/jibx/binding/SchemaGenerator.java 2008-02-21 23:14:06.000000000 +0200
+@@ -178,7 +178,7 @@
+ m_classLocator = new IClassLocator() {
+ public IClass getClassInfo(String name) {
+ try {
+- return new ClassWrapper(ClassCache.getClassFile(name));
++ return new ClassWrapper(m_classLocator, ClassCache.getClassFile(name));
+ } catch (JiBXException e) {
+ throw new IllegalStateException("Class not found " + name);
+ }
+@@ -382,7 +382,7 @@
+
+ // check for reference to a mapped class
+ StructureElement structure = (StructureElement)comp;
+- TemplateElementBase templ = structure.getMapAsMapping();
++ TemplateElementBase templ = structure.getEffectiveMapping();
+ if (! (templ instanceof MappingElement)) {
+
+ // unknown content, leave it to user to fill in details
diff --git a/dev-java/jibx-tools/jibx-tools-1.1.5-r2.ebuild b/dev-java/jibx-tools/jibx-tools-1.1.5-r2.ebuild
new file mode 100644
index 000000000000..dd75ab9faf44
--- /dev/null
+++ b/dev-java/jibx-tools/jibx-tools-1.1.5-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
+HOMEPAGE="http://jibx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+CDEPEND="dev-java/bcel:0
+ java-virtuals/stax-api:0
+ dev-java/jibx:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+S="${WORKDIR}/jibx"
+
+java_prepare() {
+ # http://jira.codehaus.org/browse/JIBX-207
+ epatch "${FILESDIR}/1.1.5-build.patch"
+
+ java-ant_rewrite-classpath "${S}/build/build.xml"
+
+ rm -v "${S}"/lib/*.jar || die
+}
+
+EANT_FILTER_COMPILER="ecj-3.3"
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="jar-tools"
+EANT_GENTOO_CLASSPATH="bcel,stax-api,jibx"
+
+src_install() {
+ java-pkg_register-dependency jibx
+
+ java-pkg_dojar "${S}/lib"/jibx-*.jar
+ use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
+}
diff --git a/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild b/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild
new file mode 100644
index 000000000000..c60763f4676e
--- /dev/null
+++ b/dev-java/jibx-tools/jibx-tools-1.1.5-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
+HOMEPAGE="http://jibx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-java/bcel:0
+ dev-java/jibx:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+S="${WORKDIR}/jibx"
+
+java_prepare() {
+ # http://jira.codehaus.org/browse/JIBX-207
+ epatch "${FILESDIR}/1.1.5-build.patch"
+
+ java-ant_rewrite-classpath "${S}/build/build.xml"
+
+ rm -v "${S}"/lib/*.jar || die
+}
+
+EANT_FILTER_COMPILER="ecj-3.3"
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="jar-tools"
+EANT_GENTOO_CLASSPATH="bcel,jibx"
+
+src_install() {
+ java-pkg_register-dependency jibx
+
+ java-pkg_dojar "${S}/lib"/jibx-*.jar
+ use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
+}
diff --git a/dev-java/jibx-tools/metadata.xml b/dev-java/jibx-tools/metadata.xml
new file mode 100644
index 000000000000..991690c700b2
--- /dev/null
+++ b/dev-java/jibx-tools/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">jibx</remote-id>
+ </upstream>
+</pkgmetadata>