[pkg-java] r13190 - in tags/xmlgraphics-commons: . 1.4.dfsg-2/debian

2010-12-23 Thread Vincent Fourmond
Author: fourmond
Date: 2010-12-22 19:40:10 + (Wed, 22 Dec 2010)
New Revision: 13190

Added:
   tags/xmlgraphics-commons/1.4.dfsg-2/
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/changelog
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/control
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/rules
Removed:
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/changelog
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/control
   tags/xmlgraphics-commons/1.4.dfsg-2/debian/rules
Log:
[svn-buildpackage] Tagging xmlgraphics-commons 1.4.dfsg-2

Deleted: tags/xmlgraphics-commons/1.4.dfsg-2/debian/changelog
===
--- trunk/xmlgraphics-commons/debian/changelog  2010-12-20 22:44:02 UTC (rev 
13188)
+++ tags/xmlgraphics-commons/1.4.dfsg-2/debian/changelog2010-12-22 
19:40:10 UTC (rev 13190)
@@ -1,119 +0,0 @@
-xmlgraphics-commons (1.4.dfsg-2) experimental; urgency=low
-
-  * Applied patches by Brian M. Carlson sand...@crustytoothpaste.net
-to fix various problems with XMP (closes: #605940, #605941)
-
- -- Vincent Fourmond fourm...@debian.org  Mon, 20 Dec 2010 21:43:24 +0100
-
-xmlgraphics-commons (1.4.dfsg-1) experimental; urgency=low
-
-  [ Mathieu Malaterre ]
-  * New upstream. Closes: #589269
-  * Update Standards-Version to 3.9.0 (no change required)
-  * Use shipped in pom.xml instead of debian one.
-  * Add get-orig-source target in debian/rules
-
-  [ Torsten Werner ]
-  * Improve the download and creation of the orig tarball.
-
- -- Torsten Werner twer...@debian.org  Sun, 18 Jul 2010 15:19:45 +0200
-
-xmlgraphics-commons (1.3.1.dfsg-5) unstable; urgency=low
-
-  * Added Maven support
-  * Added VCS-* fields
-  * Standards-Version to 3.8.4
-  * Source format 3.0 (quilt)
-  * debhelper compat to 7
-  * d/copyright:
-- converted to DEP5 format
-- added debian/pom.xml section
-  * Removed Arnaud Vandyck from Uploaders
-
- -- Gabriele Giacone 1o5g4...@gmail.com  Mon, 22 Feb 2010 00:13:23 +0100
-
-xmlgraphics-commons (1.3.1.dfsg-4) unstable; urgency=low
-
-  * Hmmm, also depend on java2-runtime-headless as well... (really closes:
-#551548)
-
- -- Vincent Fourmond fourm...@debian.org  Thu, 28 Jan 2010 21:18:21 +0100
-
-xmlgraphics-commons (1.3.1.dfsg-3) unstable; urgency=low
-
-  * The losing one's head release
-  * Depend on java-gcj-compat-headless rather than -compat, to avoid
-pulling unnecessary X dependencies (closes: #551548)
-  * Already conforms to Standards 3.8.3
-
- -- Vincent Fourmond fourm...@debian.org  Mon, 25 Jan 2010 21:07:44 +0100
-
-xmlgraphics-commons (1.3.1.dfsg-2) unstable; urgency=low
-
-  * Uploading to unstable
-  * Add a missing ${misc:Depends} in dependencies
-
- -- Vincent Fourmond fourm...@debian.org  Tue, 17 Feb 2009 21:44:28 +0100
-
-xmlgraphics-commons (1.3.1.dfsg-1) experimental; urgency=low
-
-  [ Sylvestre Ledru ]
-  * New upstream version (closes: #490749)
-  * debian/rules now uses DEB_UPSTREAM_VERSION
-
-  [ Vincent Fourmond ]
-  * Created a debian/new-upstream script to repackage upstream 
-tarball
-  * Updated debian/watch
-  * Adding libcommons-logging as Build-Dep and in debian/rules
-  * Updated debian/README.Debian-source to reflect the 
-debian/new-upstream script.
-
- -- Vincent Fourmond fourm...@debian.org  Mon, 13 Oct 2008 22:17:22 +0200
-
-xmlgraphics-commons (1.2.dfsg+dak-1) experimental; urgency=low
-
-  [ Michael Koch ]
-  * Fixed watch file to match current debian version format.
-
-  [ Vincent Fourmond ]
-  * Added myself to Uploaders
-  * Fixed debian/rules and debian/control to build with openjdk 
-(closes: #452875)
-  * Already conforms to Standards 3.8.0
-  * Moving to main, hence the pseudo-new-upstream tarball to work
-around dak's contrib-to-main bug.
-  * Uploading to experimental to avoid potential disruption
-
- -- Vincent Fourmond fourm...@debian.org  Thu, 18 Sep 2008 00:28:42 +0200
-
-xmlgraphics-commons (1.2.dfsg-1) unstable; urgency=low
-
-  * New upstream release.
-  * Renamed README.Debian to README.Debian-source and adjusted content.
-  * Removed libxmlgraphics-commons-java.dirs,
-libxmlgraphics-commons-java.install and
-libxmlgraphics-commons-java.links files and implemented them in
-debian/rules accounting for upstream version automatically.
-  * Build-Depend on sun-java6-jdk instead of ibm-j2sdk1.5.
-  * Moved debhelper and cdbs from from Build-Depends-Indep to Build-Depends.
-  * Removed unused Depends on libasm-java.
-  * Cleaned up debian/rules.
-  * Updated Standards-Version to 3.7.3.
-  * Updated debhelper level to 5.
-  * Added myself to Uploaders.
-
- -- Michael Koch konque...@gmx.de  Thu, 27 Dec 2007 21:13:11 +0100
-
-xmlgraphics-commons (1.1.dfsg.2-1) unstable; urgency=low
-
-  * Move to contrib because it needs Sun's proprietary jpeg codecs.
-
- -- Arnaud Vandyck av...@debian.org  Mon,  7 May 2007 10:46:53 +0200
-
-xmlgraphics-commons (1.1.dfsg.1-1) unstable; urgency=low
-
-  * Initial Release (closes: #418896).
-  * No javadoc 

xmlgraphics-commons_1.4.dfsg-2_amd64.changes ACCEPTED into experimental

2010-12-23 Thread Debian FTP Masters



Accepted:
libxmlgraphics-commons-java_1.4.dfsg-2_all.deb
  to main/x/xmlgraphics-commons/libxmlgraphics-commons-java_1.4.dfsg-2_all.deb
xmlgraphics-commons_1.4.dfsg-2.debian.tar.gz
  to main/x/xmlgraphics-commons/xmlgraphics-commons_1.4.dfsg-2.debian.tar.gz
xmlgraphics-commons_1.4.dfsg-2.dsc
  to main/x/xmlgraphics-commons/xmlgraphics-commons_1.4.dfsg-2.dsc


Override entries for your package:
libxmlgraphics-commons-java_1.4.dfsg-2_all.deb - optional java
xmlgraphics-commons_1.4.dfsg-2.dsc - source libs

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 605940 605941 


Thank you for your contribution to Debian.

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#605940: marked as done (libxmlgraphics-commons-java: handles top-level elements in XMP poorly)

2010-12-23 Thread Debian Bug Tracking System
Your message dated Wed, 22 Dec 2010 19:47:07 +
with message-id e1pvuer-0006h6...@franck.debian.org
and subject line Bug#605940: fixed in xmlgraphics-commons 1.4.dfsg-2
has caused the Debian Bug report #605940,
regarding libxmlgraphics-commons-java: handles top-level elements in XMP poorly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
605940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605940
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libxmlgraphics-commons-java
Version: 1.4.dfsg-1
Severity: normal
Tags: patch

XMP permits only rdf:Description elements directly under rdf:RDF.
libxmlgraphics-commons-java does not enforce this and produces some odd
results in the XMP (it looks like it treats top-level non-Description
elements as properties).  Attached is a patch that raises an exception
if it discovers this in XMP data.  It is part of a larger patch that
also fixes another bug that I am about to file.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxmlgraphics-commons-java depends on:
ii  default-jre-headless [java2- 1:1.6-40Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java2- 4.4.5-9 Java runtime environment using GIJ
ii  gcj-jre-headless [java2-runt 4:4.4.5-1   Java runtime environment using GIJ
ii  openjdk-6-jre-headless [java 6b20~pre1-2 OpenJDK Java runtime, using Hotspo

libxmlgraphics-commons-java recommends no packages.

libxmlgraphics-commons-java suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
diff -ur xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPArray.java xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPArray.java
--- xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPArray.java	2010-12-04 18:46:09.0 +
+++ xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPArray.java	2010-12-04 20:18:25.0 +
@@ -19,6 +19,8 @@
 
 package org.apache.xmlgraphics.xmp;
 
+import java.net.URI;
+
 import java.util.List;
 
 import org.xml.sax.ContentHandler;
@@ -216,15 +218,19 @@
 for (int i = 0, c = values.size(); i  c; i++) {
 String lang = (String)xmllang.get(i);
 atts.clear();
+Object v = values.get(i);
 if (lang != null) {
 atts.addAttribute(XMPConstants.XML_NS, lang, xml:lang, CDATA, lang);
 }
+if (v instanceof URI) {
+atts.addAttribute(XMPConstants.RDF_NAMESPACE, resource,
+rdf:resource, CDATA, ((URI)v).toString());
+}
 handler.startElement(XMPConstants.RDF_NAMESPACE,
 li, rdf:li, atts);
-Object v = values.get(i);
 if (v instanceof XMPComplexValue) {
 ((XMPComplexValue)v).toSAX(handler);
-} else {
+} else if (!(v instanceof URI)) {
 String value = (String)values.get(i);
 char[] chars = value.toCharArray();
 handler.characters(chars, 0, chars.length);
diff -ur xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java
--- xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java	2010-12-04 18:46:09.0 +
+++ xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java	2010-12-04 20:35:47.0 +
@@ -19,6 +19,9 @@
 
 package org.apache.xmlgraphics.xmp;
 
+import java.net.URI;
+import java.net.URISyntaxException;
+
 import java.util.Stack;
 
 import org.xml.sax.Attributes;
@@ -188,6 +191,12 @@
 throw new SAXException(Unexpected element in the RDF namespace:  + localName);
 }
 } else {
+String about = attributes.getValue(XMPConstants.RDF_NAMESPACE, about);
+if (this.contextStack.peek().equals(this.meta)  (about != null)) {
+//rdf:RDF is the parent, so this is a top-level item that isn't
+//an rdf:Description, which isn't allowed.
+throw new 

Bug#605941: marked as done (libxmlgraphics-commons-java: ignores rdf:resource in XMP)

2010-12-23 Thread Debian Bug Tracking System
Your message dated Wed, 22 Dec 2010 19:47:07 +
with message-id e1pvuer-0006h9...@franck.debian.org
and subject line Bug#605941: fixed in xmlgraphics-commons 1.4.dfsg-2
has caused the Debian Bug report #605941,
regarding libxmlgraphics-commons-java: ignores rdf:resource in XMP
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
605941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605941
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libxmlgraphics-commons-java
Version: 1.4.dfsg-1
Severity: normal
Tags: patch

When converting RDF into XMP, libxmlgraphics-commons-java ignores
rdf:resource attributes and instead leaves the properties completely
empty.  This is problematic because certain common uses of RDF and XMP
(e.g. cc:license attributes) are best used with rdf:resource.  Attached
is a patch which parses and emits rdf:resource attributes normally.
This patch is the same as the patch for 605940.  The only part of the
patch which fixes 605490 is that for line 188 et seq of XMPHandler.java;
the rest are for this bug.

An example of metadata that would normally be handled poorly:

  rdf:RDF
rdf:Description rdf:about=
cc:license
rdf:Alt
rdf:li

rdf:resource=http://creativecommons.org/licenses/GPL/2.0//
rdf:li

rdf:resource=http://creativecommons.org/licenses/by-sa/3.0//
/rdf:Alt
/cc:license
/rdf:Description
  /rdf:RDF

Without the patch, this would end up as:

  rdf:RDF
rdf:Description rdf:about=
cc:license
rdf:Alt/
/cc:license
/rdf:Description
  /rdf:RDF

which is not particularly useful.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxmlgraphics-commons-java depends on:
ii  default-jre-headless [java2- 1:1.6-40Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java2- 4.4.5-9 Java runtime environment using GIJ
ii  gcj-jre-headless [java2-runt 4:4.4.5-1   Java runtime environment using GIJ
ii  openjdk-6-jre-headless [java 6b20~pre1-2 OpenJDK Java runtime, using Hotspo

libxmlgraphics-commons-java recommends no packages.

libxmlgraphics-commons-java suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
diff -ur xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPArray.java xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPArray.java
--- xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPArray.java	2010-12-04 18:46:09.0 +
+++ xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPArray.java	2010-12-04 20:18:25.0 +
@@ -19,6 +19,8 @@
 
 package org.apache.xmlgraphics.xmp;
 
+import java.net.URI;
+
 import java.util.List;
 
 import org.xml.sax.ContentHandler;
@@ -216,15 +218,19 @@
 for (int i = 0, c = values.size(); i  c; i++) {
 String lang = (String)xmllang.get(i);
 atts.clear();
+Object v = values.get(i);
 if (lang != null) {
 atts.addAttribute(XMPConstants.XML_NS, lang, xml:lang, CDATA, lang);
 }
+if (v instanceof URI) {
+atts.addAttribute(XMPConstants.RDF_NAMESPACE, resource,
+rdf:resource, CDATA, ((URI)v).toString());
+}
 handler.startElement(XMPConstants.RDF_NAMESPACE,
 li, rdf:li, atts);
-Object v = values.get(i);
 if (v instanceof XMPComplexValue) {
 ((XMPComplexValue)v).toSAX(handler);
-} else {
+} else if (!(v instanceof URI)) {
 String value = (String)values.get(i);
 char[] chars = value.toCharArray();
 handler.characters(chars, 0, chars.length);
diff -ur xmlgraphics-commons.old/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java xmlgraphics-commons.work/src/java/org/apache/xmlgraphics/xmp/XMPHandler.java
--- 

Bug#606294: antlr3: FTBFS: maven-related errors

2010-12-23 Thread Julien Cristau
On Wed, Dec  8, 2010 at 22:06:12 +0100, Torsten Werner wrote:

 On Wed, Dec 8, 2010 at 9:26 PM, Lucas Nussbaum lu...@lucas-nussbaum.net 
 wrote:
  What does antlr3 need from the network? If the resource it needs might
  disappear during the squeeze lifetime, it is still RC, I think.
 
 It tries to download the gunit code which is part of antlr3. It won't
 go away as it is part of antlr3.
 
Is that gunit code not part of the source package?  If not, then we're
building packages from a source we don't distribute.  If yes, why is it
trying to download it from the network anyway?

Cheers,
Julien


signature.asc
Description: Digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.