Your message dated Wed, 29 May 2013 15:28:37 +0000
with message-id <e1uhiin-0006hi...@franck.debian.org>
and subject line Bug#708616: fixed in xmlgraphics-commons 1.5-3
has caused the Debian Bug report #708616,
regarding xmlgraphics-commons: Enable testsuite + disable test which is 
incompat with openjdk-7.
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.)


-- 
708616: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708616
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xmlgraphics-commons
Version: 1.5-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Merge from Debian unstable.  Remaining changes:
    - d/rules: Enable testsuite execution.
    - d/patches/disable-iccprofile-test.patch: Disable failing test
      with openjdk-7 until resolved upstream.

Jessie will be switching default-java to OpenJDK 7 fairly soon; I've
reported the test bug upstream as well (see the headers).

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 
'raring-proposed'), (500, 'raring'), (100, 'raring-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0-21-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru xmlgraphics-commons-1.5/debian/changelog xmlgraphics-commons-1.5/debian/changelog
diff -Nru xmlgraphics-commons-1.5/debian/patches/disable-iccprofile-test.patch xmlgraphics-commons-1.5/debian/patches/disable-iccprofile-test.patch
--- xmlgraphics-commons-1.5/debian/patches/disable-iccprofile-test.patch	1970-01-01 01:00:00.000000000 +0100
+++ xmlgraphics-commons-1.5/debian/patches/disable-iccprofile-test.patch	2013-05-17 10:00:58.000000000 +0100
@@ -0,0 +1,36 @@
+Description: This test fails with openjdk-7 (and oracle java 7).
+ Skip for the time being until upstream resolve - see Bug.
+Author: James Page <james.p...@ubuntu.com>
+Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=53328
+
+--- a/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java
++++ b/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java
+@@ -162,28 +162,6 @@ public class ImageLoaderTestCase extends
+         sessionContext.checkAllStreamsClosed();
+     }
+ 
+-    public void testICCProfiles() throws Exception {
+-        MyImageSessionContext sessionContext = createImageSessionContext();
+-        List/* <ICC_Profile> */profiles = new ArrayList();
+-
+-        runReaders(profiles, sessionContext, "iccTest.png", "image/png",
+-                ImageFlavor.RAW_PNG);
+-        runReaders(profiles, sessionContext, "iccTest.jpg", "image/jpeg",
+-                ImageFlavor.RAW_JPEG);
+-
+-        ICC_Profile first = (ICC_Profile) profiles.get(0);
+-        byte[] firstData = first.getData();
+-        for (int i = 1; i < profiles.size(); i++) {
+-            ICC_Profile icc = (ICC_Profile) profiles.get(i);
+-            byte[] data = icc.getData();
+-            assertEquals("Embedded ICC Profiles are not the same size!",
+-                    firstData.length, data.length);
+-            for (int j = 0; j < firstData.length; j++) {
+-                assertEquals("Embedded ICC Profiles differ at index " + j,
+-                        firstData[j], data[j]);
+-            }
+-        }
+-    }
+     
+     private void runReaders(List profiles, ImageSessionContext isc, String uri,
+             String mime, ImageFlavor rawFlavor) throws Exception {
diff -Nru xmlgraphics-commons-1.5/debian/patches/series xmlgraphics-commons-1.5/debian/patches/series
--- xmlgraphics-commons-1.5/debian/patches/series	2012-10-31 20:08:21.000000000 +0000
+++ xmlgraphics-commons-1.5/debian/patches/series	2013-05-17 10:24:41.000000000 +0100
@@ -1,2 +1,3 @@
 #xml-top-level.patch
 #xml-rdf-resource.patch
+disable-iccprofile-test.patch
diff -Nru xmlgraphics-commons-1.5/debian/rules xmlgraphics-commons-1.5/debian/rules
--- xmlgraphics-commons-1.5/debian/rules	2012-11-03 14:02:59.000000000 +0000
+++ xmlgraphics-commons-1.5/debian/rules	2013-05-17 10:29:04.000000000 +0100
@@ -11,11 +11,15 @@
 
 # all target, builds package and run test
 override_dh_auto_build:
-	#dh_auto_build -- -noinput -Dpwd=none all maven-artifacts
-	dh_auto_build -- -noinput -Dpwd=none package maven-artifacts
+	# Link in required deps for testing
+	ln -sf /usr/share/java/commons-io.jar lib/
+	ln -sf /usr/share/java/commons-logging.jar lib/
+	dh_auto_build -- -noinput -Dpwd=none all maven-artifacts
 
-# remove tests for now until issue with DISPLAY is solved
-#override_dh_auto_test:
+override_dh_auto_clean:
+	# Drop any linked in deps for testing
+	rm -f lib/*.jar
+	dh_auto_clean
 
 override_dh_install:
 	#mh_installpoms -plib$(PACKAGE)-java

--- End Message ---
--- Begin Message ---
Source: xmlgraphics-commons
Source-Version: 1.5-3

We believe that the bug you reported is fixed in the latest version of
xmlgraphics-commons, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 708...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathieu Malaterre <ma...@debian.org> (supplier of updated xmlgraphics-commons 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 29 May 2013 14:34:25 +0200
Source: xmlgraphics-commons
Binary: libxmlgraphics-commons-java libxmlgraphics-commons-java-doc
Architecture: source all
Version: 1.5-3
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Mathieu Malaterre <ma...@debian.org>
Description: 
 libxmlgraphics-commons-java - reusable components used by Batik and FOP
 libxmlgraphics-commons-java-doc - reusable components used by Batik and FOP
Closes: 708616
Changes: 
 xmlgraphics-commons (1.5-3) unstable; urgency=low
 .
   * Fix lintian error (doc-base-file-references-missing-file)
   * Enable testsuite + disable test which is incompat with openjdk-7.
     Thanks to James Page. Closes: #708616
Checksums-Sha1: 
 fd543d9b5525afdaef19d143abe6a26621d188f3 2346 xmlgraphics-commons_1.5-3.dsc
 f51244d59899a72b28b066ef2ef02a490afee562 6999 
xmlgraphics-commons_1.5-3.debian.tar.gz
 fcd491192da2f1bd7ebef221e5679423958f003b 553976 
libxmlgraphics-commons-java_1.5-3_all.deb
 2ba1dbc104f78423376d377a9155ebbd1c756a41 104342 
libxmlgraphics-commons-java-doc_1.5-3_all.deb
Checksums-Sha256: 
 436eb7cef43c6db7ff03ba64cf75e5cc5ff3c39938137c805cf1c9e56bb5d6ea 2346 
xmlgraphics-commons_1.5-3.dsc
 7d08cd0948c45ea08ae80d3021da69d6f9d8541dee40afeac7d127061e571be4 6999 
xmlgraphics-commons_1.5-3.debian.tar.gz
 6b0be0ef8705001075c93e24dd53de2237d88faf4889cc4e2aab9a9252713e8a 553976 
libxmlgraphics-commons-java_1.5-3_all.deb
 3fca53018d29a4a00d5afc09e48ccb28a8bf6882187fb3d27804d690ddcb1071 104342 
libxmlgraphics-commons-java-doc_1.5-3_all.deb
Files: 
 77ba8df04219ca9eb56be8ffa75b4d46 2346 java optional 
xmlgraphics-commons_1.5-3.dsc
 48f04f17c89796b08dbcfbb75126021a 6999 java optional 
xmlgraphics-commons_1.5-3.debian.tar.gz
 31204bad17af38fd32606dadb3cf1fa8 553976 java optional 
libxmlgraphics-commons-java_1.5-3_all.deb
 326cf8ec09cbe3f08c7b7b0ad97dc761 104342 doc optional 
libxmlgraphics-commons-java-doc_1.5-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJRpg1BAAoJEAFx4YKK4JNF55oP/A+aNgGGpfYX1/IcRoFv33EY
vL9zoEFmYvOyEjWg9hQlSd8LXOpBwfZJD55VsSSUdjxAY6ViMAhNbJxtU/l/aZtn
6mgO8CHeKlC5NHtfuGEpBCOt5MJV+sPmaB0W8/ZFFU/XyzKRUmvM5zrpRHarTqfO
86AvKHS9Wr38EIX9lht+7Jpt8VJXbNxBLvkGjjbqs/wyMlaFHipbZ0/X0aSyhmMg
Js7H6Uz/ZpJVjWItZc91icm41D96pAOcE2mpGqBoT2dphJJElnvBqUtFpjatC8R8
EYZSz47fCY/SfiJML+fVRqbBjStmhxat5G+bdjzliRX5fuSvCVo86+xasprYc5p9
iVre4i70eRAWnA7ALhULMNcH1OaBvgT1wZBDnh9KKcaEIW7TRz6NBMjiV0NKaYVu
HUfAfge08Y9C9+8fFwqKvmyTFaVoHVlJSY8Gtdb/Wa0E5q+S/D/wSPryJ8r9ikkY
IclAN0deeyca55iGo/O6jqgUER8bm0Fw0lxz+ffxLaeg1GNi/g6rHe7b02tW03IF
cd0QX0bps1cpW07pwQ/+iiOpHLYFpBkb0gtWSOXNdcpiDqtYVdsZdmdV4jqsO2Wb
ZmKgwH45RSY4ffg73Ej56IrtfMiG8RIsz4PHOVCz4bDWAxn4UGup6PvxgmOftH27
amiHh34DkBgQRekgVZbL
=PI5V
-----END PGP SIGNATURE-----

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

Reply via email to