On Thu, May 08, 2014 at 04:00:52PM +0200, Rene Engelhard wrote: > Note that 4.2.4 includes > http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-2-4&id=f0c38c8505a523f3bde3ee4fca3e513cdd6044d5 > > so you can extend (and should tell upstream to do so if (s)he adapts > him/herself) the patch in the way that the required > OpenOffice.org-minimal-versionversion is 4.1.
Updated debdiff with that one included attached. Regards, Rene
diff -Nru accessodf-0.1/debian/changelog accessodf-0.1/debian/changelog --- accessodf-0.1/debian/changelog 2013-05-23 00:35:15.000000000 +0200 +++ accessodf-0.1/debian/changelog 2014-04-04 16:44:48.000000000 +0200 @@ -1,3 +1,10 @@ +accessodf (0.1-4ubuntu1) trusty; urgency=medium + + * fix for underdocumented change of published API inherited from + https://issues.apache.org/ooo/show_bug.cgi?id=121544 (Closes: #743634) + + -- Bjoern Michaelsen <bjoern.michael...@canonical.com> Fri, 04 Apr 2014 16:42:06 +0200 + accessodf (0.1-4) unstable; urgency=low * add Replaces/Breaks for new packages, to not coexist with older versions diff -Nru accessodf-0.1/debian/control accessodf-0.1/debian/control --- accessodf-0.1/debian/control 2013-05-23 00:40:11.000000000 +0200 +++ accessodf-0.1/debian/control 2014-04-04 16:54:16.000000000 +0200 @@ -3,9 +3,9 @@ Priority: extra Maintainer: Sebastian Humenda <shume...@gmx.de> Build-Depends: debhelper (>= 7.0.50~), ant (>= 1.8~), ant-optional, - libcommons-collections3-java, libreoffice-java-common (>= 1:3.5.0~), unzip, + libcommons-collections3-java, libreoffice-java-common (>= 1:4.2.0~), unzip, default-jdk -Standards-Version: 3.9.3 +Standards-Version: 3.9.5 Homepage: http://sourceforge.net/p/accessodf Package: accessodf @@ -45,9 +45,9 @@ Package: libaccessodf-java Architecture: all Replaces: accessodf (<< 0.1-3) -Breaks: accessodf (<< 0.1-3) +Breaks: accessodf (<< 0.1-3), libreoffice-java-common (<< 1:4.2.0~) Depends: ${misc:Depends}, libcommons-collections3-java, - libreoffice-java-common, libreoffice-writer + libreoffice-java-common (>= 1:4.2.0~), libreoffice-writer Description: library for checking accessibility in ODF/ODT documents using Libreoffice AccessODF is an extension that can be used in OpenOffice.org Writer and in LibreOffice Writer. It enables authors to find and repair accessibility issues diff -Nru accessodf-0.1/debian/patches/fix-for-i121544.diff accessodf-0.1/debian/patches/fix-for-i121544.diff --- accessodf-0.1/debian/patches/fix-for-i121544.diff 1970-01-01 01:00:00.000000000 +0100 +++ accessodf-0.1/debian/patches/fix-for-i121544.diff 2014-04-04 16:49:02.000000000 +0200 @@ -0,0 +1,21 @@ +From: Bjoern Michaelsen <bjoern.michael...@canonical.com> +Date: Wed, 02 Apr 2014 11:49:08 +0200 +Subject: adjust for underdocumented change of published API from i#121544 + +this was inherited from AOO + +see also: http://cgit.freedesktop.org/libreoffice/core/commit/?id=805c6101b3427cc98b53f1c48f22f705206c384d + +--- accessodf-0.1.orig/addon/be/docarch/accessodf/ooo/UnoAwtUtils.java ++++ accessodf-0.1/addon/be/docarch/accessodf/ooo/UnoAwtUtils.java +@@ -111,9 +111,7 @@ public class UnoAwtUtils { + // Initialize the message box factory + XMessageBoxFactory messageBoxFactory = (XMessageBoxFactory) UnoRuntime.queryInterface(XMessageBoxFactory.class, parentWindowPeer.getToolkit()); + +- Rectangle messageBoxRectangle = new Rectangle(); +- +- XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, messageBoxRectangle, messageBoxType, messageBoxButtons, messageBoxTitle, message); ++ XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, com.sun.star.awt.MessageBoxType.MESSAGEBOX, messageBoxButtons, messageBoxTitle, message); + return box.execute(); + } + diff -Nru accessodf-0.1/debian/patches/series accessodf-0.1/debian/patches/series --- accessodf-0.1/debian/patches/series 2013-05-17 00:10:47.000000000 +0200 +++ accessodf-0.1/debian/patches/series 2014-04-04 16:38:42.000000000 +0200 @@ -1 +1,2 @@ debian_build_dependencies +fix-for-i121544.diff