Package: jodconverter
Version: 2.2.2-6
Severity: important
Tags: patch

Hi,

LibreOffice 3.5 dropped the "we change basisX.Y with every minor version"
madness and thus also dropped basis-link. Which leads to the jodconverter
build not being able to have the Java classes of LO acctually available.

Filing this as important for now but this bug will become serious when 
LibreOffice
3.5.x gets uploaded to sid (and this *will* happen before the wheezy freeze)

Trivial patch:

diff -Nru jodconverter-2.2.2/debian/changelog 
jodconverter-2.2.2/debian/changelog
--- jodconverter-2.2.2/debian/changelog 2012-01-28 20:57:53.000000000 +0000
+++ jodconverter-2.2.2/debian/changelog 2012-02-24 19:10:38.000000000 +0000
@@ -1,3 +1,10 @@
+jodconverter (2.2.2-6.1) experimental; urgency=low
+
+  * Non-maintainer upload.
+  * remove basis-link usage in JAVAFLAGS, as it's gone in LO 3.5
+
+ -- Rene Engelhard <[email protected]>  Fri, 24 Feb 2012 19:10:08 +0000
+
 jodconverter (2.2.2-6) unstable; urgency=low

   * Bump Standards-Version to 3.9.2 (no change needed)
diff -Nru jodconverter-2.2.2/debian/control jodconverter-2.2.2/debian/control
--- jodconverter-2.2.2/debian/control   2012-01-28 20:57:46.000000000 +0000
+++ jodconverter-2.2.2/debian/control   2012-02-24 19:11:02.000000000 +0000
@@ -3,6 +3,7 @@
 Maintainer: Samuel Thibault <[email protected]>
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: default-jdk, libcommons-io-java, ure (>= 1.7.0), 
libslf4j-java, libreoffice-java-common (>= 1:3.3.2~rc2), libxstream-java
+Build-Conflicts: libreoffice-common (<< 1:3.5.0~)
 Standards-Version: 3.9.2
 Section: java
 Homepage: http://www.artofsolving.com/opensource/jodconverter
diff -Nru jodconverter-2.2.2/debian/rules jodconverter-2.2.2/debian/rules
--- jodconverter-2.2.2/debian/rules     2012-01-28 20:57:10.000000000 +0000
+++ jodconverter-2.2.2/debian/rules     2012-02-24 19:09:49.000000000 +0000
@@ -7,7 +7,7 @@
 JAVACLASSES=/usr/share/java
 SRCDIR=src/main/java

-JAVAFLAGS=-classpath 
$(JAVACLASSES)/ridl.jar:/usr/lib/libreoffice/basis-link/program/classes/unoil.jar:$(JAVACLASSES)/juh.jar:$(JAVACLASSES)/slf4j-api.jar:$(JAVACLASSES)/commons-io.jar:$(JAVACLASSES)/xstream.jar
+JAVAFLAGS=-classpath 
$(JAVACLASSES)/ridl.jar:/usr/lib/libreoffice/program/classes/unoil.jar:$(JAVACLASSES)/juh.jar:$(JAVACLASSES)/slf4j-api.jar:$(JAVACLASSES)/commons-io.jar:$(JAVACLASSES)/xstream.jar

 JARFILE=jodconverter-2.2.2.jar

I verified that it works after this patch.

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

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

Grüße/Regards,

Rene



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to