[libquartz2-java] 06/63: * Move package to contrib because of Build-Depends: glassfish-javaee. * Use upstream provided build.xml.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 14 10:32:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libquartz2-java.

commit 8286ea98827da4e0a99dab1efa7faa3951ea0a62
Author: Torsten Werner <twerner at debian.org>
Date:   Fri Nov 30 13:08:32 2007 +0000

    * Move package to contrib because of Build-Depends: glassfish-javaee.
    * Use upstream provided build.xml.
---
 debian/ant.properties | 15 -----------
 debian/build.xml      | 71 ---------------------------------------------------
 debian/changelog      |  7 +++++
 debian/control        |  2 +-
 debian/install        |  1 +
 debian/rules          | 15 +++++------
 6 files changed, 16 insertions(+), 95 deletions(-)

diff --git a/debian/ant.properties b/debian/ant.properties
deleted file mode 100644
index d88fd62..0000000
--- a/debian/ant.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-project.name=quartz
-class.dir=classes
-source.dir=src
-
-java.dir=java
-jboss.dir=jboss
-oracle.dir=oracle
-test.dir=test
-weblogic.dir=weblogic
-
-java.jar=quartz.jar
-jboss.jar=quartz-jboss.jar
-oracle.jar=quartz-oracle.jar
-test.jar=quartz-test.jar
-weblogic.jar=quartz-weblogic.jar
diff --git a/debian/build.xml b/debian/build.xml
deleted file mode 100644
index 69377c5..0000000
--- a/debian/build.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project default="jar" name="${project.name}" basedir="..">
-
-  <target name="clean">
-    <delete dir="${java.dir}/${class.dir}" quiet="true"/>
-    <delete dir="${jboss.dir}/${class.dir}" quiet="true"/>
-    <delete dir="${oracle.dir}/${class.dir}" quiet="true"/>
-    <delete dir="${test.dir}/${class.dir}" quiet="true"/>
-    <delete dir="${weblogic.dir}/${class.dir}" quiet="true"/>
-    <delete file="${java.jar}" quiet="true"/>
-    <delete file="${jboss.jar}" quiet="true"/>
-    <delete file="${oracle.jar}" quiet="true"/>
-    <delete file="${test.jar}" quiet="true"/>
-    <delete file="${weblogic.jar}" quiet="true"/>
-  </target>
-
-  <target name="jar">
-    <mkdir dir="${source.dir}/${java.dir}/${class.dir}"/>
-    <javac srcdir="${source.dir}/${java.dir}" destdir="${source.dir}/${java.dir}/${class.dir}"
-      debug="true"/>
-
-    <jar jarfile="${java.jar}">
-      <fileset dir="${source.dir}/${java.dir}/${class.dir}">
-          <include name="**"/>
-      </fileset>
-    </jar>
-
-    <mkdir dir="${source.dir}/${jboss.dir}/${class.dir}"/>
-    <javac srcdir="${source.dir}/${jboss.dir}" destdir="${source.dir}/${jboss.dir}/${class.dir}"
-      debug="true" source="1.5" classpath="quartz.jar"/>
-
-    <jar jarfile="${jboss.jar}">
-      <fileset dir="${source.dir}/${jboss.dir}/${class.dir}">
-          <include name="**"/>
-      </fileset>
-    </jar>
-
-    <mkdir dir="${source.dir}/${test.dir}/${class.dir}"/>
-    <javac srcdir="${source.dir}/${test.dir}" destdir="${source.dir}/${test.dir}/${class.dir}"
-      debug="true" classpath="quartz.jar"/>
-
-    <jar jarfile="${test.jar}">
-      <fileset dir="${source.dir}/${test.dir}/${class.dir}">
-          <include name="**"/>
-      </fileset>
-    </jar>
-
-<!--     <mkdir dir="${source.dir}/${oracle.dir}/${class.dir}"/> -->
-<!--     <javac srcdir="${source.dir}/${oracle.dir}" destdir="${source.dir}/${oracle.dir}/${class.dir}" -->
-<!--       debug="true" classpath="quartz.jar"/> -->
-
-<!--     <jar jarfile="${oracle.jar}"> -->
-<!--       <fileset dir="${source.dir}/${oracle.dir}/${class.dir}"> -->
-<!--           <include name="**"/> -->
-<!--       </fileset> -->
-<!--     </jar> -->
-
-<!--     <mkdir dir="${source.dir}/${weblogic.dir}/${class.dir}"/> -->
-<!--     <javac srcdir="${source.dir}/${weblogic.dir}" destdir="${source.dir}/${weblogic.dir}/${class.dir}" -->
-<!--       debug="true" classpath="quartz.jar"/> -->
-
-<!--     <jar jarfile="${weblogic.jar}"> -->
-<!--       <fileset dir="${source.dir}/${weblogic.dir}/${class.dir}"> -->
-<!--           <include name="**"/> -->
-<!--       </fileset> -->
-<!--     </jar> -->
-
-  </target>
-
-</project>
diff --git a/debian/changelog b/debian/changelog
index 89877ae..89e5019 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libquartz-java (1.6.0-2) unstable; urgency=low
+
+  * Move package to contrib because of Build-Depends: glassfish-javaee.
+  * Use upstream provided build.xml.
+
+ -- Torsten Werner <twerner at debian.org>  Fri, 30 Nov 2007 14:10:48 +0100
+
 libquartz-java (1.6.0-1) unstable; urgency=low
 
   * Initial release (Closes: #450612)
diff --git a/debian/control b/debian/control
index bb63006..1525529 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
 Source: libquartz-java
-Section: libs
+Section: contrib/libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..527fc28
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+build/*.jar /usr/share/java/
diff --git a/debian/rules b/debian/rules
index d4f6467..6b89cdb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,20 +5,19 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 
 JAVA_HOME 		:= /usr/lib/jvm/java-gcj
 DEB_ANT_BUILD_TARGET	:= jar
-DEB_ANT_BUILDFILE	:= debian/build.xml
+#tests fail because clover is missing:
+#DEB_ANT_CHECK_TARGET	:= test
 DEB_JARS		:= commons-logging commons-modeler servlet-api glassfish-ejb-api glassfish-javaee \
 			   commons-dbcp commons-beanutils commons-digester commons-collections3 jnpserver\
 			   jboss-system jboss-common jboss-jmx junit
 
-ALL_JARS = $(wildcard *.jar)
-DEST_DIR = $(DEB_DESTDIR)/usr/share/java
+ALL_JARS = $(wildcard build/*.jar)
 
 common-install-prehook-indep::
-	for jar in $(ALL_JARS); do                         \
-	  BASENAME=`basename $$jar .jar`;        	   \
-	  FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
-	  install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME;  \
-	  ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar;     \
+	for jar in $(ALL_JARS); do                                           \
+	  FILENAME=`basename $$jar`;        	                             \
+	  LINKBASE=`basename $$jar -$(DEB_UPSTREAM_VERSION).jar`;            \
+	  dh_link /usr/share/java/$$FILENAME /usr/share/java/$$LINKBASE.jar; \
 	done
 
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libquartz2-java.git



More information about the pkg-java-commits mailing list