[pkg-java] r11433 - in trunk/libxml-commons-resolver1.1-java/debian: . patches
Torsten Werner
twerner at alioth.debian.org
Wed Jan 27 19:33:39 UTC 2010
Author: twerner
Date: 2010-01-27 19:33:35 +0000 (Wed, 27 Jan 2010)
New Revision: 11433
Added:
trunk/libxml-commons-resolver1.1-java/debian/patches/catalog.diff
Modified:
trunk/libxml-commons-resolver1.1-java/debian/changelog
trunk/libxml-commons-resolver1.1-java/debian/compat
trunk/libxml-commons-resolver1.1-java/debian/control
trunk/libxml-commons-resolver1.1-java/debian/patches/series
Log:
* Add patch catalog.diff to fix catalog lookup thanks to Brian M. Carlson.
(Closes: #552018)
* Switch to debhelper version 5.
* Add missing Depends: ${misc:Depends}.
* Change Section: java.
Modified: trunk/libxml-commons-resolver1.1-java/debian/changelog
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/changelog 2010-01-27 08:40:48 UTC (rev 11432)
+++ trunk/libxml-commons-resolver1.1-java/debian/changelog 2010-01-27 19:33:35 UTC (rev 11433)
@@ -1,3 +1,13 @@
+libxml-commons-resolver1.1-java (1.2-5) unstable; urgency=low
+
+ * Add patch catalog.diff to fix catalog lookup thanks to Brian M. Carlson.
+ (Closes: #552018)
+ * Switch to debhelper version 5.
+ * Add missing Depends: ${misc:Depends}.
+ * Change Section: java.
+
+ -- Torsten Werner <twerner at debian.org> Wed, 27 Jan 2010 20:31:29 +0100
+
libxml-commons-resolver1.1-java (1.2-4) unstable; urgency=low
* Remove debug statements from patch nb-extra.diff - thanks to Marek Slama.
Modified: trunk/libxml-commons-resolver1.1-java/debian/compat
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/compat 2010-01-27 08:40:48 UTC (rev 11432)
+++ trunk/libxml-commons-resolver1.1-java/debian/compat 2010-01-27 19:33:35 UTC (rev 11433)
@@ -1 +1 @@
-4
+5
Modified: trunk/libxml-commons-resolver1.1-java/debian/control
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/control 2010-01-27 08:40:48 UTC (rev 11432)
+++ trunk/libxml-commons-resolver1.1-java/debian/control 2010-01-27 19:33:35 UTC (rev 11433)
@@ -1,9 +1,9 @@
Source: libxml-commons-resolver1.1-java
-Section: libs
+Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Stefan Gybas <sgybas at debian.org>, Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>, Torsten Werner <twerner at debian.org>
-Build-Depends: debhelper (>= 4.2.0), cdbs (>= 0.4.8), default-jdk-builddep, ant, libjaxp1.3-java, quilt
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.8), default-jdk-builddep, ant, libjaxp1.3-java, quilt
Standards-Version: 3.8.0
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxml-commons-resolver1.1-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxml-commons-resolver1.1-java
@@ -11,8 +11,7 @@
Package: libxml-commons-resolver1.1-java
Architecture: all
-Section: libs
-Depends: classpath-common | java1-runtime | java2-runtime
+Depends: classpath-common | java1-runtime | java2-runtime, ${misc:Depends}
Suggests: libxml-commons-resolver1.1-java-doc
Description: XML entity and URI resolver library
Apache XML Commons Resolver simplifies the task of using XML catalog files to
@@ -22,6 +21,7 @@
Package: libxml-commons-resolver1.1-java-doc
Architecture: all
Section: doc
+Depends: ${misc:Depends}
Suggests: libxml-commons-resolver1.1-java
Description: XML entity and URI resolver library -- documentation
Apache XML Commons Resolver simplifies the task of using XML catalog files to
@@ -33,7 +33,7 @@
Package: libxml-commons-resolver1.1-java-gcj
Architecture: any
Section: libs
-Depends: libxml-commons-resolver1.1-java (= ${source:Version}), ${shlibs:Depends}
+Depends: libxml-commons-resolver1.1-java (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: XML entity and URI resolver library -- native library
Apache XML Commons Resolver simplifies the task of using XML catalog files to
perform entity resolution. They are used by other Apache XML projects like
Added: trunk/libxml-commons-resolver1.1-java/debian/patches/catalog.diff
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/patches/catalog.diff (rev 0)
+++ trunk/libxml-commons-resolver1.1-java/debian/patches/catalog.diff 2010-01-27 19:33:35 UTC (rev 11433)
@@ -0,0 +1,20 @@
+diff -ur libxml-commons-resolver1.1-java.old/src/org/apache/xml/resolver/Catalog.java libxml-commons-resolver1.1-java-1.2/src/org/apache/xml/resolver/Catalog.java
+--- libxml-commons-resolver1.1-java.old/src/org/apache/xml/resolver/Catalog.java 2010-01-25 22:18:12.000000000 +0000
++++ libxml-commons-resolver1.1-java-1.2/src/org/apache/xml/resolver/Catalog.java 2010-01-25 22:19:51.000000000 +0000
+@@ -2182,13 +2182,15 @@
+ */
+ protected void addDelegate(CatalogEntry entry) {
+ int pos = 0;
++ int type = entry.getEntryType();
+ String partial = entry.getEntryArg(0);
+
+ Enumeration local = localDelegate.elements();
+ while (local.hasMoreElements()) {
+ CatalogEntry dpe = (CatalogEntry) local.nextElement();
+ String dp = dpe.getEntryArg(0);
+- if (dp.equals(partial)) {
++ int dptype = dpe.getEntryType();
++ if (dp.equals(partial) && (type == dptype)) {
+ // we already have this prefix
+ return;
+ }
Modified: trunk/libxml-commons-resolver1.1-java/debian/patches/series
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/patches/series 2010-01-27 08:40:48 UTC (rev 11432)
+++ trunk/libxml-commons-resolver1.1-java/debian/patches/series 2010-01-27 19:33:35 UTC (rev 11433)
@@ -1,2 +1,3 @@
nb-new-api.diff
nb-extra.diff
+catalog.diff
More information about the pkg-java-commits
mailing list