Your message dated Thu, 11 Dec 2008 21:17:10 +0000
with message-id <[email protected]>
and subject line Bug#505582: fixed in fop 1:0.95.dfsg-2
has caused the Debian Bug report #505582,
regarding Multiple packaging problems
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 [email protected]
immediately.)


-- 
505582: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505582
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fop
Version: 1:0.95.dfsg-1

I have found following problems with the fop package from
experimental, version 1:0.95.dfsg-1. One of them is present in the
version in unstable/testing as well and was reported in Ubuntu in
Intrepid development cycle.

1. Bump libxmlgraphics-commons-java version required to >= 1.3.1.
Fop now uses image loaders provided by xmlgraphics commons library.
These loaders are not present in libxmlgraphics-commons-java version
1.2. Following is the error I get when I try to run fop with
libxmlgraphics-commons-java 1.2.

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xmlgraphics/image/loader/ImageContext
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
...

2. Missing xml-apis-ext.jar in wrapper script.
If the xml-apis-ext is not present in classpath in the fop launcher
script then following error is seen while trying to process documents
with SVG images embedded. The bug was reported in Ubuntu previously
[1].
java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
...

I have attached a sample docbook file as a use case. Same file can
also be found in Ubuntu bug.

3. Add runtime dependency on libxml-commons-external-java.
Although this is not strictly necessary, since the library will be
pulled in by libbatik-java, I think it is good to have this dependency
added.

[1] https://edge.launchpad.net/bugs/268930

Hope this helps.


Onkar
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
<article>
	<articleinfo>
		<title>Docbook to PDF using fop</title>
	</articleinfo>
	<sect1 id="intro">
		<title>Sample</title>
		<para>
			You should see an image here.
			<inlinemediaobject>
			<objectinfo><title>Home</title></objectinfo>
			<imageobject>
			<imagedata fileref="/usr/share/xml/docbook/stylesheet/nwalsh/images/home.svg" format="SVG"/>
			</imageobject>
			<textobject>
			<phrase>Home</phrase>
			</textobject>
			</inlinemediaobject>
		</para>
	</sect1>
</article>

--- End Message ---
--- Begin Message ---
Source: fop
Source-Version: 1:0.95.dfsg-2

We believe that the bug you reported is fixed in the latest version of
fop, which is due to be installed in the Debian FTP archive:

fop-doc_0.95.dfsg-2_all.deb
  to pool/main/f/fop/fop-doc_0.95.dfsg-2_all.deb
fop_0.95.dfsg-2.diff.gz
  to pool/main/f/fop/fop_0.95.dfsg-2.diff.gz
fop_0.95.dfsg-2.dsc
  to pool/main/f/fop/fop_0.95.dfsg-2.dsc
fop_0.95.dfsg-2_all.deb
  to pool/main/f/fop/fop_0.95.dfsg-2_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Fourmond <[email protected]> (supplier of updated fop 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 [email protected])


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

Format: 1.8
Date: Thu, 11 Dec 2008 21:09:32 +0100
Source: fop
Binary: fop fop-doc
Architecture: source all
Version: 1:0.95.dfsg-2
Distribution: experimental
Urgency: low
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Vincent Fourmond <[email protected]>
Description: 
 fop        - XML to PDF Translator
 fop-doc    - Documentation for fop
Closes: 505582 508485
Changes: 
 fop (1:0.95.dfsg-2) experimental; urgency=low
 .
   * Tighten up depencies on libxmlgraphics-commons-java and add xml-apis-ext
     to the wrapper script (closes: #505582)
   * Depends on libxml-commons-external-java use openjdk-jre-6 as
     'preferred' JVM (I'm not sure it will run on non-Sun runtime), thanks
     to Kobayashi Noritada <[email protected]> for spotting and for
     advice (closes: 508485)
   * Add ${misc:Depends} for possible dh_*-added dependencies, with
     the side benefits that it makes lintian happy !
Checksums-Sha1: 
 3c576fef950416a8aa710e8221afbfad964c1186 1670 fop_0.95.dfsg-2.dsc
 1c84659bd91206870ca8474bea3f6dde8e8141d0 8569 fop_0.95.dfsg-2.diff.gz
 22d21131f556f6e118797f3c680bf9c64b9f7887 2082278 fop_0.95.dfsg-2_all.deb
 42a47b351daf35f59d119c7f8cd595b7594e9409 4196660 fop-doc_0.95.dfsg-2_all.deb
Checksums-Sha256: 
 25b6bd74985ba79781b75039dd0b6227321f93cf5381997cc4a3ec7e5d08498e 1670 
fop_0.95.dfsg-2.dsc
 7af1aa191831c5286d6d0e7058b563c75b281ccc59cd632fe4a566037116c433 8569 
fop_0.95.dfsg-2.diff.gz
 05a692e156c004b1290384e625d7f7efe3006d7d84767f555e7201c917696743 2082278 
fop_0.95.dfsg-2_all.deb
 1d5fc57f8a4709d4548a1ce2d5770f9f15c2acf513fb2b1b20c5410f898be8a7 4196660 
fop-doc_0.95.dfsg-2_all.deb
Files: 
 3ba8bf432a543793df93bd07b43797cf 1670 text optional fop_0.95.dfsg-2.dsc
 fbaac5605e9f331af9c2c1c8e0b61f25 8569 text optional fop_0.95.dfsg-2.diff.gz
 17d89a37f171e1b84f4f3784530e3e58 2082278 text optional fop_0.95.dfsg-2_all.deb
 0ba6fe2f2994e5fb89e5fa94315a7738 4196660 doc optional 
fop-doc_0.95.dfsg-2_all.deb

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

iEYEARECAAYFAklBdMAACgkQx/UhwSKygsqnbwCfdqyOMKv+3tDNeV0C7EX51W9M
d/4Anif2RTJmHj9a/TbpEeSCCjuq+ZP2
=gW3P
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to