[pkg-java] r11278 - in trunk/eigenbase-resgen/debian: . patches

Damien Raude-Morvan drazzib at alioth.debian.org
Sun Dec 13 15:35:01 UTC 2009


Author: drazzib
Date: 2009-12-13 15:35:00 +0000 (Sun, 13 Dec 2009)
New Revision: 11278

Added:
   trunk/eigenbase-resgen/debian/README.source
   trunk/eigenbase-resgen/debian/patches/
   trunk/eigenbase-resgen/debian/patches/javadoc.diff
   trunk/eigenbase-resgen/debian/patches/series
Removed:
   trunk/eigenbase-resgen/debian/install
Modified:
   trunk/eigenbase-resgen/debian/changelog
   trunk/eigenbase-resgen/debian/control
   trunk/eigenbase-resgen/debian/copyright
   trunk/eigenbase-resgen/debian/rules
Log:
Add javadoc links

Added: trunk/eigenbase-resgen/debian/README.source
===================================================================
--- trunk/eigenbase-resgen/debian/README.source	                        (rev 0)
+++ trunk/eigenbase-resgen/debian/README.source	2009-12-13 15:35:00 UTC (rev 11278)
@@ -0,0 +1,8 @@
+Patch System
+============
+
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.

Modified: trunk/eigenbase-resgen/debian/changelog
===================================================================
--- trunk/eigenbase-resgen/debian/changelog	2009-12-12 21:33:55 UTC (rev 11277)
+++ trunk/eigenbase-resgen/debian/changelog	2009-12-13 15:35:00 UTC (rev 11278)
@@ -1,5 +1,5 @@
-eigenbase-resgen (1.3.0.11875-1) UNRELEASED; urgency=low
+eigenbase-resgen (1.3.0.11875-1) unstable; urgency=low
 
   * Initial release. (Closes: #560237)
 
- -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 06 Dec 2009 02:13:36 +0100
+ -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 13 Dec 2009 16:16:07 +0100

Modified: trunk/eigenbase-resgen/debian/control
===================================================================
--- trunk/eigenbase-resgen/debian/control	2009-12-12 21:33:55 UTC (rev 11277)
+++ trunk/eigenbase-resgen/debian/control	2009-12-13 15:35:00 UTC (rev 11278)
@@ -2,8 +2,9 @@
 Section: java
 Priority: optional
 Maintainer: Damien Raude-Morvan <drazzib at debian.org>
-Build-Depends: cdbs, debhelper (>= 7), default-jdk, ant
-Build-Depends-Indep: libxerces2-java, junit, libeigenbase-resgen-java
+Build-Depends: cdbs, debhelper (>= 7), default-jdk, ant, quilt
+Build-Depends-Indep: libxerces2-java, junit, libeigenbase-resgen-java,
+ default-jdk-doc, junit-doc
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/eigenbase-resgen
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/eigenbase-resgen
@@ -24,6 +25,7 @@
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}
+Recommends: default-jdk-doc, junit-doc
 Suggests: libeigenbase-resgen-java
 Description: Java i18n code generator from XML files - documentation
  Eigenbase Resource Generator helps you build and maintain internationalized

Modified: trunk/eigenbase-resgen/debian/copyright
===================================================================
--- trunk/eigenbase-resgen/debian/copyright	2009-12-12 21:33:55 UTC (rev 11277)
+++ trunk/eigenbase-resgen/debian/copyright	2009-12-13 15:35:00 UTC (rev 11278)
@@ -4,10 +4,11 @@
 Source: http://eigenbase.sourceforge.net/download.html
 
 Files: *
-Copyright: Copyright (C) 2005-2005 The Eigenbase Project
-Copyright: Copyright (C) 2005-2005 Disruptive Tech
-Copyright: Copyright (C) 2005-2005 LucidEra, Inc.
-Copyright: Copyright (C) 2001-2005 Kana Software, Inc. and others. 
+Copyright: Copyright (C) 2005-2008 The Eigenbase Project
+Copyright: Copyright (C) 2005-2008 Disruptive Tech
+Copyright: Copyright (C) 2005-2008 LucidEra, Inc.
+Copyright: Copyright (C) 2005-2008 Red Square, Inc.
+Copyright: Copyright (C) 2000-2008 Kana Software, Inc.
 License: LGPL-2.1+
 
 Files: debian/*

Deleted: trunk/eigenbase-resgen/debian/install
===================================================================
--- trunk/eigenbase-resgen/debian/install	2009-12-12 21:33:55 UTC (rev 11277)
+++ trunk/eigenbase-resgen/debian/install	2009-12-13 15:35:00 UTC (rev 11278)
@@ -1,2 +0,0 @@
-lib/eigenbase-resgen.jar usr/share/java
-lib/eigenbase-xom.jar usr/share/java

Added: trunk/eigenbase-resgen/debian/patches/javadoc.diff
===================================================================
--- trunk/eigenbase-resgen/debian/patches/javadoc.diff	                        (rev 0)
+++ trunk/eigenbase-resgen/debian/patches/javadoc.diff	2009-12-13 15:35:00 UTC (rev 11278)
@@ -0,0 +1,18 @@
+Description: Fix link of Javadoc HTML documentation
+ to use local API from /usr/share/doc/
+Author: Damien Raude-Morvan <drazzib at debian.org>
+Last-Update: 2009-12-13
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -204,8 +204,8 @@
+       <packageset dir="${src.dir}">
+         <include name="**"/>
+       </packageset>
+-      <link href="http://java.sun.com/j2se/1.5.0/docs/api"/>
+-      <link href="http://www.junit.org/junit/javadoc/3.8.1"/>
++      <link href="/usr/share/doc/default-jdk-doc/api/"/>
++      <link href="/usr/share/doc/junit-doc/doc/api/"/>
+     </javadoc>
+     <copy file="${src.dir}/org/eigenbase/xom/Meta.xml"
+         todir="${javadoc.dir}/org/eigenbase/xom"/>

Added: trunk/eigenbase-resgen/debian/patches/series
===================================================================
--- trunk/eigenbase-resgen/debian/patches/series	                        (rev 0)
+++ trunk/eigenbase-resgen/debian/patches/series	2009-12-13 15:35:00 UTC (rev 11278)
@@ -0,0 +1 @@
+javadoc.diff

Modified: trunk/eigenbase-resgen/debian/rules
===================================================================
--- trunk/eigenbase-resgen/debian/rules	2009-12-12 21:33:55 UTC (rev 11277)
+++ trunk/eigenbase-resgen/debian/rules	2009-12-13 15:35:00 UTC (rev 11278)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/ant.mk
 
 JAVA_HOME            := /usr/lib/jvm/default-java
@@ -10,5 +11,13 @@
 DEB_ANT_BUILD_TARGET := cleanBuild
 DEB_ANT_CLEAN_TARGET := clean
 
+binary-post-install/libeigenbase-resgen-java::
+	mv lib/eigenbase-resgen.jar lib/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar
+	dh_install -plibeigenbase-resgen-java lib/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/
+	dh_link -plibeigenbase-resgen-java /usr/share/java/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/eigenbase-resgen.jar
+	mv lib/eigenbase-xom.jar lib/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar
+	dh_install -plibeigenbase-resgen-java lib/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/
+	dh_link -plibeigenbase-resgen-java /usr/share/java/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/eigenbase-xom.jar
+
 get-orig-source:
 	uscan --force-download




More information about the pkg-java-commits mailing list