From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-java/xmlc/Manifest | 1 + dev-java/xmlc/files/xmlc-2.3.1-build.xml.patch | 53 ++++++++++++++++++++ dev-java/xmlc/metadata.xml | 10 ++++ dev-java/xmlc/xmlc-2.3.1-r1.ebuild | 69 ++++++++++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 dev-java/xmlc/Manifest create mode 100644 dev-java/xmlc/files/xmlc-2.3.1-build.xml.patch create mode 100644 dev-java/xmlc/metadata.xml create mode 100644 dev-java/xmlc/xmlc-2.3.1-r1.ebuild (limited to 'dev-java/xmlc') diff --git a/dev-java/xmlc/Manifest b/dev-java/xmlc/Manifest new file mode 100644 index 000000000000..b3039a951a40 --- /dev/null +++ b/dev-java/xmlc/Manifest @@ -0,0 +1 @@ +DIST xmlc-src-2.3.1.zip 8147268 SHA256 b95b422fc143c8bd2d61706d70ab4985431d5155b88df528951fc6f0c76b1b04 SHA512 377ec4d57373038e550b2f1902b019e413aeddc8b80f297898156a17c1fa437948b1e1f9302ca82f6b46fc8114a96f32bef9d27f68662fcf4fae1e7c3a52c16a WHIRLPOOL 819526aca87805a545237720b39fadbf3cb9f19bfab5acd38a24a084a0406ac7ece1b0d83b76cbe9fbd18286b45e846832afe58dfbc52cc6fb3c8d6c315d461e diff --git a/dev-java/xmlc/files/xmlc-2.3.1-build.xml.patch b/dev-java/xmlc/files/xmlc-2.3.1-build.xml.patch new file mode 100644 index 000000000000..58c3db7f62ae --- /dev/null +++ b/dev-java/xmlc/files/xmlc-2.3.1-build.xml.patch @@ -0,0 +1,53 @@ +diff -Nur xmlc-src-2.3.1/xmlc/modules/taskdef/build-default.properties xmlc-src-2.3.1_patched/xmlc/modules/taskdef/build-default.properties +--- xmlc-src-2.3.1/xmlc/modules/taskdef/build-default.properties 2007-04-22 00:40:58.000000000 +0300 ++++ xmlc-src-2.3.1_patched/xmlc/modules/taskdef/build-default.properties 2009-01-31 20:00:27.000000000 +0200 +@@ -37,7 +37,7 @@ + # Comma seperated list of libraries (or more exactly, include patterns) this + # module depends on for building. + # They are searched relative to ${lib.dir} +-module.depends=xmlc.jar ++module.depends=xmlc.jar,ant.jar + + # Javadoc settings + javadoc.packages=org.enhydra.* +diff -Nur xmlc-src-2.3.1/xmlc/modules/xmlc/build.xml xmlc-src-2.3.1_patched/xmlc/modules/xmlc/build.xml +--- xmlc-src-2.3.1/xmlc/modules/xmlc/build.xml 2007-11-04 01:07:36.000000000 +0200 ++++ xmlc-src-2.3.1_patched/xmlc/modules/xmlc/build.xml 2009-01-31 20:13:12.000000000 +0200 +@@ -148,15 +148,12 @@ + description="Build the module .jar file"> + + +- +- ++ + + + +- +- + + + +@@ -171,18 +168,13 @@ + + + +- +-
+- +- +- +-
++ +
+ +-
++ + + + + + +java + +Enhydra XMLC is the presentation technology that supports the needs of +designers, developers and architects alike, delivering what JSP cannot - strict +separation of markup and logic in a true object view of dynamic presentations. + + diff --git a/dev-java/xmlc/xmlc-2.3.1-r1.ebuild b/dev-java/xmlc/xmlc-2.3.1-r1.ebuild new file mode 100644 index 000000000000..1d93761ebfc1 --- /dev/null +++ b/dev-java/xmlc/xmlc-2.3.1-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +JAVA_PKG_IUSE="doc" + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}-src-${PV}" +DESCRIPTION="Open Source Java/XML Presentation Compiler" +HOMEPAGE="http://xmlc.objectweb.org/" +SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.zip + http://download.us.forge.objectweb.org/${PN}/${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +COMMON_DEP=" + dev-java/ant-core:0 + dev-java/asm:3 + dev-java/gnu-regexp:1 + dev-java/log4j:0 + dev-java/nekohtml:0 + dev-java/xerces:2 + dev-java/xml-commons-external:1.4 + dev-java/xml-commons-resolver:0 + java-virtuals/servlet-api:2.5" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_P}/" + +java_prepare() { + find -name '*.jar' -exec rm -v {} + || die + + # get rid of jarjar, and add ant.jar to the taskdef module's classpath + epatch "${FILESDIR}/${P}-build.xml.patch" +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_BUILD_TARGET="all-libs" +EANT_GENTOO_CLASSPATH="xerces-2,gnu-regexp-1,log4j,nekohtml,asm-3,xml-commons-external-1.4,xml-commons-resolver,servlet-api-2.5,ant-core" + +src_install() { + # the rest of jars are included in all-runtime + java-pkg_dojar release/lib/{xmlc-all-runtime,xmlc-taskdef}.jar + java-pkg_register-ant-task + + newdoc xmlc/modules/xmlc/README.XMLC README || die + dodoc xmlc/modules/xmlc/ChangeLog || die + dohtml release/release-notes/xmlc-${PV//./-}-release-note.html \ + xmlc/bugs/bugs.html || die + + # move the generated documentation around + if use doc; then + mv ${PN}/modules/taskdef/doc ${PN}/modules/${PN}/doc/taskdef || die + mv ${PN}/modules/wireless/doc ${PN}/modules/${PN}/doc/wireless || die + mv ${PN}/modules/xhtml/doc ${PN}/modules/${PN}/doc/xhtml || die + java-pkg_dohtml -r ${PN}/modules/xmlc/doc/* || die "Failed to install documentation" + fi +} -- cgit v1.2.3-65-gdbad