summaryrefslogtreecommitdiff
path: root/dev-java/commons-discovery/files
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/commons-discovery/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/commons-discovery/files')
-rw-r--r--dev-java/commons-discovery/files/0.4-jar-target.patch41
-rw-r--r--dev-java/commons-discovery/files/commons-discovery-0.2-gentoo.diff51
2 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/commons-discovery/files/0.4-jar-target.patch b/dev-java/commons-discovery/files/0.4-jar-target.patch
new file mode 100644
index 00000000000..7cc3c983efe
--- /dev/null
+++ b/dev-java/commons-discovery/files/0.4-jar-target.patch
@@ -0,0 +1,41 @@
+Index: build.xml
+===================================================================
+--- build.xml (revision 498103)
++++ build.xml (working copy)
+@@ -175,23 +175,26 @@
+ </javadoc>
+ </target>
+
++ <target name="jar" depends="compile"
++ description="Create the jar file">
++ <mkdir dir="${build.home}/classes/META-INF"/>
++ <copy file="LICENSE.txt"
++ tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
++ <copy file="NOTICE.txt"
++ tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
++ <mkdir dir="${dist.home}"/>
++ <jar jarfile="${dist.home}/${component.name}.jar"
++ basedir="${build.home}/classes"
++ manifest="${build.home}/conf/MANIFEST.MF"/>
++ </target>
+
+- <target name="dist" depends="compile,javadoc"
++ <target name="dist" depends="jar,javadoc"
+ description="Create binary distribution">
+ <!-- TODO: top level files like LICENSE and README -->
+- <mkdir dir="${dist.home}"/>
+ <copy file="LICENSE.txt"
+ todir="${dist.home}"/>
+ <copy file="NOTICE.txt"
+ todir="${dist.home}"/>
+- <mkdir dir="${build.home}/classes/META-INF"/>
+- <copy file="LICENSE.txt"
+- tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+- <copy file="NOTICE.txt"
+- tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
+- <jar jarfile="${dist.home}/${component.name}.jar"
+- basedir="${build.home}/classes"
+- manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
+
+ <!-- ========== Testing section ======================================== -->
diff --git a/dev-java/commons-discovery/files/commons-discovery-0.2-gentoo.diff b/dev-java/commons-discovery/files/commons-discovery-0.2-gentoo.diff
new file mode 100644
index 00000000000..b55e10f5a0c
--- /dev/null
+++ b/dev-java/commons-discovery/files/commons-discovery-0.2-gentoo.diff
@@ -0,0 +1,51 @@
+--- build.xml.orig 2005-04-17 16:14:52.000000000 +0200
++++ build.xml 2005-04-17 16:14:57.000000000 +0200
+@@ -14,13 +14,15 @@
+ <property file="../build.properties"/> <!-- Commons local -->
+ <property file="${user.home}/build.properties"/> <!-- User local -->
+
++ <!-- The base directory for compilation targets -->
++ <property name="build.home" value="target"/>
+
+ <!-- ========== External Dependencies ===================================== -->
+
+
+ <!-- The directories corresponding to your necessary dependencies -->
+- <property name="junit.jar" value="../../junit3.7/junit.jar"/>
+- <property name="logger.jar" value="../../jakarta-commons/logging/target/commons-logging.jar"/>
++ <property name="junit.jar" value="${build.home}/lib/junit.jar"/>
++ <property name="logger.jar" value="${build.home}/lib/commons-logging.jar"/>
+
+
+ <!-- ========== Component Declarations ==================================== -->
+@@ -38,8 +40,6 @@
+ <!-- The current version number of this component -->
+ <property name="component.version" value="0.2"/>
+
+- <!-- The base directory for compilation targets -->
+- <property name="build.home" value="target"/>
+
+ <!-- The base directory for component configuration files -->
+ <property name="conf.home" value="src/conf"/>
+@@ -116,6 +116,7 @@
+
+
+ <target name="compile" depends="prepare" description="Compile shareable components">
++
+ <javac srcdir="${source.home}"
+ destdir="${build.home}/classes"
+ debug="${compile.debug}"
+@@ -163,10 +164,10 @@
+ description="Create binary distribution">
+ <!-- TODO: top level files like LICENSE and README -->
+ <mkdir dir="${dist.home}"/>
+- <copy file="../LICENSE"
+- todir="${dist.home}"/>
++ <!--<copy file="LICENSE"
++ todir="${dist.home}"/>-->
+ <mkdir dir="${build.home}/classes/META-INF"/>
+- <copy file="../LICENSE"
++ <copy file="LICENSE.txt"
+ tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
+ basedir="${build.home}/classes"