[libcommons-lang-java] 33/51: * Team upload. * New upstream release. * Set source package format as 3.0 (quilt). * Bump Standards-Version to 3.9.2. No changes were required. * Remove unnecessary Build-Depends on quilt. * Refresh patches. * Add mh_clean call in clean target. * Remove unnecessary dependency on JRE. * Link -doc javadocs with default-jdk-doc and add a Suggests dep on that.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jan 12 13:38:36 UTC 2018


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

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

commit c43028c13450c76ca01f6dd4b4a49baaf8cf9415
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Tue Aug 2 16:51:38 2011 +0000

    * Team upload.
    * New upstream release.
    * Set source package format as 3.0 (quilt).
    * Bump Standards-Version to 3.9.2. No changes were required.
    * Remove unnecessary Build-Depends on quilt.
    * Refresh patches.
    * Add mh_clean call in clean target.
    * Remove unnecessary dependency on JRE.
    * Link -doc javadocs with default-jdk-doc and add a Suggests dep on that.
---
 debian/changelog                     | 14 +++++++
 debian/control                       |  9 +++--
 debian/libcommons-lang-java-doc.docs |  2 +-
 debian/patches/OSGi_Manifest.patch   | 75 ++++++++++++++++++++++++++++--------
 debian/rules                         |  7 +++-
 debian/source/format                 |  1 +
 6 files changed, 85 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fa1fb10..793f899 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+libcommons-lang-java (2.6-1) UNRELEASED; urgency=low
+
+  * Team upload.
+  * New upstream release.
+  * Set source package format as 3.0 (quilt).
+  * Bump Standards-Version to 3.9.2. No changes were required.
+  * Remove unnecessary Build-Depends on quilt.
+  * Refresh patches.
+  * Add mh_clean call in clean target.
+  * Remove unnecessary dependency on JRE.
+  * Link -doc javadocs with default-jdk-doc and add a Suggests dep on that.
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Tue, 02 Aug 2011 12:23:57 -0430
+
 libcommons-lang-java (2.4-4) unstable; urgency=low
 
   * Upload to unstable.
diff --git a/debian/control b/debian/control
index 841fade..ff22f14 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,16 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>, Kumar Appaiah <akumar at debian.org>
-Build-Depends: debhelper (>= 6), cdbs, quilt, default-jdk
-Build-Depends-Indep: maven-repo-helper, ant, junit (>= 3.8.1)
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 6), cdbs, default-jdk
+Build-Depends-Indep: maven-repo-helper, ant, junit (>= 3.8.1), default-jdk-doc
+Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-lang-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-lang-java
 Homepage: http://commons.apache.org/lang/
 
 Package: libcommons-lang-java
 Architecture: all
-Depends: ${misc:Depends}, default-jre-headless | java1-runtime-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 Description: Extension of the java.lang package
  The Lang Component contains a set of Java classes that provide helper
  methods for standard Java classes, especially those found in the
@@ -37,6 +37,7 @@ Package: libcommons-lang-java-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
+Suggests: default-jdk-doc
 Description: Extension of the java.lang package
  The Lang Component contains a set of Java classes that provide helper
  methods for standard Java classes, especially those found in the
diff --git a/debian/libcommons-lang-java-doc.docs b/debian/libcommons-lang-java-doc.docs
index 81a398b..e5e6d3a 100644
--- a/debian/libcommons-lang-java-doc.docs
+++ b/debian/libcommons-lang-java-doc.docs
@@ -1 +1 @@
-dist/docs/api
+build/api
diff --git a/debian/patches/OSGi_Manifest.patch b/debian/patches/OSGi_Manifest.patch
index af4bfc7..ac0f6db 100644
--- a/debian/patches/OSGi_Manifest.patch
+++ b/debian/patches/OSGi_Manifest.patch
@@ -1,9 +1,62 @@
---- a/src/conf/MANIFEST.MF
-+++ b/src/conf/MANIFEST.MF
-@@ -10,3 +10,33 @@
- Implementation-Vendor-Id: org.apache
- X-Compile-Source-JDK: @compile.source@
- X-Compile-Target-JDK: @compile.target@
+Description: Add OSGi metadata
+Author: Ludovic Claude <ludovic.claude at laposte.net>
+Forwarded: no
+Last-Update: 2011-08-02
+
+--- libcommons-lang-java-2.6.orig/build.xml
++++ libcommons-lang-java-2.6/build.xml
+@@ -30,7 +30,7 @@
+     <property file="${basedir}/build.properties"/>
+     <property file="${basedir}/default.properties"/>
+     <!-- The Sun Javadoc for versions prior to 1.3 are off-line. -->
+-    <property name="jdk.javadoc" value="http://java.sun.com/j2se/1.3/docs/api/"/>
++    <property name="jdk.javadoc" value="file:///usr/share/doc/default-jdk-doc/api/"/>
+ 
+     <!-- ========== Construct compile classpath =============================== -->
+     <path id="compile.classpath">
+@@ -52,6 +52,7 @@
+         <filter token="version" value="${component.version}"/>
+         <filter token="compile.source" value="${compile.source}"/>
+         <filter token="compile.target" value="${compile.target}"/>
++        <filter token="lastmodified" value="${lastmodified}"/>
+         <mkdir dir="${build.home}"/>
+         <available property="jdk.1.5.present" classname="java.lang.StringBuilder"/>
+     </target>
+@@ -159,18 +160,7 @@
+         <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="${build.home}/${final.name}.jar">
+-            <manifest>
+-                <attribute name="Specification-Title" value="Commons Lang"/>
+-                <attribute name="Specification-Version" value="${component.version}"/>
+-                <attribute name="Specification-Vendor" value="The Apache Software Foundation"/>
+-                <attribute name="Implementation-Title" value="Commons Lang"/>
+-                <attribute name="Implementation-Version" value="${component.version}"/> 
+-                <attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
+-                <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+-                <attribute name="X-Compile-Source-JDK" value="${compile.source}"/>
+-                <attribute name="X-Compile-Target-JDK" value="${compile.target}"/>
+-            </manifest>
++        <jar jarfile="${build.home}/${final.name}.jar" manifest="${build.home}/../src/conf/MANIFEST.MF">
+             <fileset dir="${build.home}/classes">
+                 <include name="**/*.class"/>
+                 <include name="**/LICENSE.txt"/>
+--- /dev/null
++++ libcommons-lang-java-2.6/src/conf/MANIFEST.MF
+@@ -0,0 +1,42 @@
++Manifest-Version: 1.0
++Package: org.apache.commons.lang
++Extension-Name: commons-lang
++Specification-Version: @component.version@
++Specification-Vendor: The Apache Software Foundation
++Specification-Title: Commons Lang
++Implementation-Version: @component.version@
++Implementation-Vendor: The Apache Software Foundation
++Implementation-Title: Commons Lang
++Implementation-Vendor-Id: org.apache
++X-Compile-Source-JDK: @compile.source@
++X-Compile-Target-JDK: @compile.target@
 +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
 +Import-Package: org.apache.commons.lang;version="@version@",
 + org.apache.commons.lang.builder;version="@version@",
@@ -34,13 +87,3 @@
 +Bundle-Vendor: The Apache Software Foundation
 +Bundle-SymbolicName: org.apache.commons.lang
 +Tool: Bnd-0.0.238
---- a/build.xml
-+++ b/build.xml
-@@ -48,6 +48,7 @@
- 		<filter token="version" value="${component.version}"/>
- 		<filter token="compile.source" value="${compile.source}"/>
- 		<filter token="compile.target" value="${compile.target}"/>
-+		<filter token="lastmodified" value="${lastmodified}"/>
- 	</target>
- 	<target name="prepare" depends="init" description="Prepare build directory">
- 		<mkdir dir="${build.home}"/>
diff --git a/debian/rules b/debian/rules
index 5cfb859..c527aac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 PACKAGE              := $(DEB_SOURCE_PACKAGE)
 VERSION              := $(DEB_UPSTREAM_VERSION)
@@ -12,14 +11,18 @@ DEB_ANT_BUILD_TARGET := jar javadoc
 LAST_MODIFIED        := $(shell date +%s%N | cut -c -13)
 DEB_ANT_ARGS         := -Dlastmodified=$(LAST_MODIFIED)
 
+common-post-build-indep::
+	mv build/apidocs build/api
+
 install/libcommons-lang-java::
 	mh_installpoms -p$(PACKAGE)
-	mh_installjar -p$(PACKAGE) -l pom.xml dist/commons-lang-$(VERSION).jar
+	mh_installjar -p$(PACKAGE) -l pom.xml build/commons-lang-$(VERSION).jar
 
 clean::
 	-rm gjdoc_rawcomment.cache
 	-rm -rf docs/api/*
 	-rm -rf debian/tmp
+	mh_clean
 
 get-orig-source:
 	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

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



More information about the pkg-java-commits mailing list