--- writer2latex-1.0.2.orig/debian/libreoffice-writer2xhtml.script.bug +++ writer2latex-1.0.2/debian/libreoffice-writer2xhtml.script.bug @@ -0,0 +1,4 @@ +#!/bin/sh +# this is a legacy package, so we need to find it first... +id=`/usr/lib/openoffice/program/unopkg list --shared | grep Identifier:.*writer2latex | cut -d":" -f2` +/usr/lib/openoffice/program/unopkg list --shared $id >&3 --- writer2latex-1.0.2.orig/debian/copyright +++ writer2latex-1.0.2/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Rene Engelhard on +Tue, 20 Nov 2007 21:12:28 +0100. + +It was downloaded from http://www.hj-gym.dk/~hj/writer2latex/ + +Upstream Author: + + Henrik Just + +Copyright: + + (C) 2002-2007 Henrik Just + +License: + + LGPL 2.1. On Debian systems you can find the full text of the LGPL 2.1 + in /usr/share/common-licenses/LGPL-2.1 + + ooomath.sty is under LPPL 1.2 or later; the latest version of the LPPL + is in http://www.latex-project.org/lppl.txt + --- writer2latex-1.0.2.orig/debian/changelog +++ writer2latex-1.0.2/debian/changelog @@ -0,0 +1,332 @@ +writer2latex (1.0.2-7ubuntu1) precise; urgency=low + + * Merge from Debian testing. Remaining changes: + - (Build-)depend on default-jre/-jdk. + - debian/rules: Change the path of JAVA_HOME to suit with the + gcj-jdk -> default-jdk transition. + + -- Angel Abad Mon, 06 Feb 2012 14:14:01 +0100 + +writer2latex (1.0.2-7) unstable; urgency=low + + * remove obsolete debian/po (closes: #619659) + * install source/java/writer2latex/xhtml/config/*.xml, + thanks Samuel Thibault (closes: #639736) + + -- Rene Engelhard Mon, 23 Jan 2012 22:05:34 +0100 + +writer2latex (1.0.2-6ubuntu1) oneiric; urgency=low + + * Merge from debian unstable. (LP: #835773) Remaining changes: + - (Build-)depend on default-jre/-jdk. + - debian/rules: Change the path of JAVA_HOME to suit with the + gcj-jdk -> default-jdk transition. + + -- Angel Abad Tue, 13 Sep 2011 05:13:36 +0200 + +writer2latex (1.0.2-6) unstable; urgency=high + + * fix build with LibreOffice 3.4 + + -- Rene Engelhard Mon, 12 Sep 2011 17:10:58 +0200 + +writer2latex (1.0.2-5ubuntu1) oneiric; urgency=low + + * Merge from debian unstable. Remaining changes: + - (Build-)depend on default-jre/-jdk. + - debian/rules: Change the path of JAVA_HOME to suit with the + gcj-jdk -> default-jdk transition. + + -- Angel Abad Wed, 04 May 2011 22:56:13 +0200 + +writer2latex (1.0.2-5) unstable; urgency=low + + * remove spaces at the end of package descriptions (closes: #614214) + * fix convertingconverts (closes: #618772, #618773) + + -- Rene Engelhard Fri, 18 Mar 2011 15:54:23 +0100 + +writer2latex (1.0.2-4) unstable; urgency=low + + * fix/update package descriptions (closes: #613577, #613579) + * add Vcs-{Git,Browser} + + -- Rene Engelhard Fri, 18 Feb 2011 14:24:24 +0000 + +writer2latex (1.0.2-3ubuntu1) natty; urgency=low + + * Merge from debian unstable. Remaining changes: + - (Build-)depend on default-jre/-jdk. + - debian/rules: Change the path of JAVA_HOME to suit with the + gcj-jdk -> default-jdk transition. + + -- Angel Abad Tue, 08 Feb 2011 22:58:46 +0100 + +writer2latex (1.0.2-3) unstable; urgency=low + + * upload to unstable + + -- Rene Engelhard Sun, 06 Feb 2011 11:19:28 +0000 + +writer2latex (1.0.2-2) experimental; urgency=low + + * change maintainer to Debian LibreOffice Maintainers + * don't gzip .odt files (closes: #610311) + * don't predefine printer settings and name (PrinterSetup and + PrinterName in settings.xml) in user-manual.odt (closes: #610312) + * rename to libreoffice-writer2* and install them unpacked + * remove Pre-Depends; now finally not needed anymore, yay + + -- Rene Engelhard Wed, 19 Jan 2011 23:11:06 +0100 + +writer2latex (1.0.2-1ubuntu1) natty; urgency=low + + * Merge from debian unstable (LP: #683893). Remaining changes: + - (Build-)depend on default-jre/-jdk. + - debian/rules: Change the path of JAVA_HOME to suit with the + gcj-jdk -> default-jdk transition. + + -- Angel Abad Wed, 01 Dec 2010 22:41:23 +0100 + +writer2latex (1.0.2-1) unstable; urgency=low + + * new upstream release + * remove check_for_running_ooo as for OOo itself + + -- Rene Engelhard Mon, 22 Nov 2010 00:44:13 +0100 + +writer2latex (1.0-12ubuntu1) maverick; urgency=low + + * Merge from debian unstable. Remaining changes: + - (Build-)depend on default-jre/-jdk. + + -- Chris Cheney Sat, 05 Jun 2010 21:15:00 -0500 + +writer2latex (1.0-12) unstable; urgency=medium + + * hack: remove Pre-Depends on openoffice.org-java-common again, add + to Depends: instead (see #571771). The gack from 1.0-6 also still + needed + + -- Rene Engelhard Sun, 25 Apr 2010 23:56:47 +0200 + +writer2latex (1.0-11) unstable; urgency=low + + * revert back to build-depending on ant, as ant is now fixed; + add build-conflicts against ant 1.8.0-{1,2,3} + + -- Rene Engelhard Tue, 16 Mar 2010 01:03:04 +0100 + +writer2latex (1.0-10ubuntu1) lucid; urgency=low + + * Merge from debian testing. Remaining changes: + - (Build-)depend on default-jre/-jdk. + + -- Chris Cheney Wed, 31 Mar 2010 14:30:00 -0500 + +writer2latex (1.0-10) unstable; urgency=low + + * build-depend on ant1.7 | ant (<< 1.8.0~) (closes: #571397) + + -- Rene Engelhard Thu, 04 Mar 2010 18:06:03 +0100 + +writer2latex (1.0-9) unstable; urgency=low + + * update for OOo 3.2 + + -- Rene Engelhard Thu, 11 Feb 2010 13:10:20 +0100 + +writer2latex (1.0-8) unstable; urgency=low + + * oops, actually build with -15... + + -- Rene Engelhard Mon, 08 Feb 2010 01:06:23 +0100 + +writer2latex (1.0-7) unstable; urgency=low + + * fix clean install to not split out dpkg --compare-versions + warning (closes: #568713) + * restore lost bits in preinst (closes: #568805) + + -- Rene Engelhard Mon, 08 Feb 2010 00:55:26 +0100 + +writer2latex (1.0-6) unstable; urgency=low + + * add missing Pre-Depends on Java and openoffice.org-java-common + * as the Pre-Depends on -java-common doesn't prevent -common being + temporarily removed in the upgrade (and we don't have unopkg then...) + try to recover in postinst from preinst not de-registering the old + extension. + + -- Rene Engelhard Sat, 06 Feb 2010 23:13:59 +0100 + +writer2latex (1.0-5) unstable; urgency=medium + + * stop pre-depending on openoffice.org-common for openoffice.org/running. + This closes: #566644. + Rename to shared/openofficeorg-running and merge here. + * add echos instead of debconf message on DEBIAN_FRONTEND = noninteractive + so that people in that case also know what goes on + * remove unneeded postrms, dh_installdebconf already does it for us + * fix debian/NEWS to have correct version number; thanks lintian + * rebuild with openoffice.org-dev 1:3.1.1-15 + + -- Rene Engelhard Wed, 27 Jan 2010 09:15:59 +0100 + +writer2latex (1.0-4) unstable; urgency=medium + + * rebuild with OOo 3.1.1-14 to get a uncorrupted .rdb + * add missing .lock to find_running_ooo to actually check for the extistence + of the lockfile and not for the profile dir, thanks Chris Cheney + * adapt for java-gcj-compat-dev -> gcj-jdk + + -- Rene Engelhard Fri, 15 Jan 2010 17:15:17 +0100 + +writer2latex (1.0-3) unstable; urgency=low + + * debian/openoffice.org-writer2latex.prerm: actually source confmodule... + + -- Rene Engelhard Mon, 19 Oct 2009 12:02:01 +0200 + +writer2latex (1.0-2) unstable; urgency=low + + * check whether OOo is running and show error openoffice.org/running if it + is - as in openoffice.org-common. pre-depend on + openoffice.org-common (>= 1:3.1.1-3), debconf (>= 0.5) | debconf-2.0 + and procps. (closes: #527556) + + -- Rene Engelhard Sun, 04 Oct 2009 15:13:38 +0200 + +writer2latex (1.0-1) unstable; urgency=low + + * New upstream release + * run unopkg with -v + + -- Rene Engelhard Wed, 30 Sep 2009 02:33:25 +0200 + +writer2latex (1.0~beta3-1) experimental; urgency=low + + * New upstream release + + -- Rene Engelhard Mon, 27 Apr 2009 18:29:55 +0200 + +writer2latex (1.0~beta2-1) experimental; urgency=low + + * New upstream release + * update Homepage: + * use /var/lib/openoffice/javasettingsunopkginstall.xml for + -env:UNO_JAVA_JFW_INSTALL_DATA + * adapt section of libwriter2latex-java: -> java + + -- Rene Engelhard Wed, 15 Apr 2009 18:39:20 +0200 + +writer2latex (0.5.0.2-4ubuntu1) karmic; urgency=low + + * Merge with Debian; remaining changes: + - (Build-)depend on default-jre/-jdk. + + -- Matthias Klose Sun, 17 May 2009 13:41:41 +0200 + +writer2latex (0.5.0.2-4) unstable; urgency=low + + * add missing Build-Depends: on ure (closes: #521945) + + -- Rene Engelhard Tue, 31 Mar 2009 00:47:44 +0200 + +writer2latex (0.5.0.2-3) unstable; urgency=high + + * $ORIGIN -> $OOO_BASE_DIR + + -- Rene Engelhard Tue, 03 Mar 2009 02:46:26 +0100 + +writer2latex (0.5.0.2-2) unstable; urgency=low + + * upload to unstable + + -- Rene Engelhard Fri, 13 Feb 2009 10:03:12 +0100 + +writer2latex (0.5.0.2-1) experimental; urgency=low + + * New upstream release + * lintian fixes + + -- Rene Engelhard Mon, 06 Oct 2008 02:00:55 +0200 + +writer2latex (0.5.0.1-fix1-1) experimental; urgency=low + + * New upstream release + - splits the writer2xhtml part into an own extension + * debian/patches/01_dirs.dpatch: make generic to work with OOo 2.4.1 and + 3.0.0 + + -- Rene Engelhard Tue, 29 Jul 2008 16:22:15 +0200 + +writer2latex (0.5-8ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable (LP: #244098), remaining Ubuntu changes: + - (Build-)depend on default-jre/-jdk. + + -- Luca Falavigna Mon, 04 Aug 2008 02:19:03 +0200 + +writer2latex (0.5-8) unstable; urgency=high + + * add missing Depends: on ${misc:Depends} for writer2latex + (closes: #490138) + + -- Rene Engelhard Fri, 11 Jul 2008 00:28:21 +0200 + +writer2latex (0.5-7) unstable; urgency=high + + * fix debian/copyright; ooomath.sty is LPPL, actually mention that + + -- Rene Engelhard Wed, 09 Jul 2008 15:40:16 +0200 + +writer2latex (0.5-6ubuntu1) intrepid; urgency=low + + * (Build-)depend on default-jre/-jdk. + * Set Ubuntu maintainer address. + + -- Matthias Klose Thu, 31 Jul 2008 08:17:33 +0000 + +writer2latex (0.5-6) unstable; urgency=low + + * add missing -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 to the prerm + unopkg call, hopefully closes: #468202, please reopen if not + + -- Rene Engelhard Thu, 28 Feb 2008 14:11:44 +0100 + +writer2latex (0.5-5) unstable; urgency=low + + * build-depend on openoffice.org-java-common (closes: #46760) + + -- Rene Engelhard Tue, 26 Feb 2008 15:53:46 +0100 + +writer2latex (0.5-4) unstable; urgency=low + + * upload to unstable + * add bug script running unopkg list + + -- Rene Engelhard Fri, 15 Feb 2008 12:37:10 +0100 + +writer2latex (0.5-3) experimental; urgency=low + + * debian/shell-lib.sh: + - run unopkg with -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 because + otherwise the first run with gcj won't find a JRE (and might fail the + install then). Flush the cache after removing as unopkg doesn't remove + files on uninstall but marks them as "to-be-removed-on-next-start". + Thanks Caolan McNamara. + + -- Rene Engelhard Tue, 04 Dec 2007 17:31:46 +0100 + +writer2latex (0.5-2) experimental; urgency=low + + * run dh_installtex + + -- Rene Engelhard Mon, 26 Nov 2007 14:12:01 +0100 + +writer2latex (0.5-1) experimental; urgency=low + + * Initial release + + -- Rene Engelhard Mon, 26 Nov 2007 10:06:34 +0100 --- writer2latex-1.0.2.orig/debian/rules +++ writer2latex-1.0.2/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +include /usr/share/dpatch/dpatch.make + +export JAVA_HOME=/usr/lib/jvm/default-java + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + touch configure-stamp + + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + + ant -DURE_CLASSES=/usr/lib/ure/share/java -DOFFICE_CLASSES=/usr/lib/libreoffice/basis3.4/program/classes jar + ant javadoc + ant oxt + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp configure-stamp + + ant clean + + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + install -D -m755 debian/libreoffice-writer2latex.script.bug \ + debian/libreoffice-writer2latex/usr/share/bug/libreoffice-writer2latex/script + + dh_install -i + + # fix up user-manual.odt (#610312) + t=`mktemp -q -d`; \ + cd $$t && unzip $(CURDIR)/source/distro/doc/user-manual.odt && \ + perl -pi -e 's#Generic Printer##' settings.xml && \ + perl -pi -e 's#VAH+/0dlbmVyaWMgUHJpbnRlcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU0dFTlBSVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAMAmgAAAAAAAAABAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9R2VuZXJpYyBQcmludGVyCm9yaWVudGF0aW9uPVBvcnRyYWl0CmNvcGllcz0xCm1hcmdpbmRhanVzdG1lbnQ9MCwwLDAsMApjb2xvcmRlcHRoPTI0CnBzbGV2ZWw9MApjb2xvcmRldmljZT0wClBQRENvbnRleERhdGEKUGFnZVNpemU6QTQAAA==##' settings.xml && \ + zip -r $(CURDIR)/debian/writer2latex-manual/usr/share/doc/writer2latex/manual/user-manual.odt settings.xml + + mkdir -p debian/libreoffice-writer2latex/usr/lib/libreoffice/share/extensions/writer2latex + cd debian/libreoffice-writer2latex/usr/lib/libreoffice/share/extensions/writer2latex && \ + unzip -o $(CURDIR)/target/lib/writer2latex.oxt + mkdir -p debian/libreoffice-writer2xhtml/usr/lib/libreoffice/share/extensions/writer2xhtml + cd debian/libreoffice-writer2xhtml/usr/lib/libreoffice/share/extensions/writer2xhtml && \ + unzip -o $(CURDIR)/target/lib/writer2xhtml.oxt + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + dh_install -s + +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs source/distro/History.txt + dh_installdocs + dh_installexamples -pwriter2latex source/distro/samples/* + dh_installman + dh_installdebconf + dh_link + dh_strip + dh_compress -X.odt + dh_fixperms + unset DH_OPTIONS; dh_installtex -p writer2latex +# dh_perl +# dh_nativejava + dh_lintian + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +binary-arch: build-arch install-arch + #$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- writer2latex-1.0.2.orig/debian/writer2latex.links +++ writer2latex-1.0.2/debian/writer2latex.links @@ -0,0 +1 @@ +usr/share/java/writer2latex.jar usr/share/writer2latex/writer2latex.jar --- writer2latex-1.0.2.orig/debian/libwriter2latex-java-doc.install +++ writer2latex-1.0.2/debian/libwriter2latex-java-doc.install @@ -0,0 +1 @@ +target/javadoc usr/share/doc/libwriter2latex-java --- writer2latex-1.0.2.orig/debian/libreoffice-writer2latex.script.bug +++ writer2latex-1.0.2/debian/libreoffice-writer2latex.script.bug @@ -0,0 +1,4 @@ +#!/bin/sh +# this is a legacy package, so we need to find it first... +id=`/usr/lib/openoffice/program/unopkg list --shared | grep Identifier:.*writer2latex | cut -d":" -f2` +/usr/lib/openoffice/program/unopkg list --shared $id >&3 --- writer2latex-1.0.2.orig/debian/writer2latex-manual.install +++ writer2latex-1.0.2/debian/writer2latex-manual.install @@ -0,0 +1 @@ +source/distro/doc/* /usr/share/doc/writer2latex/manual --- writer2latex-1.0.2.orig/debian/NEWS +++ writer2latex-1.0.2/debian/NEWS @@ -0,0 +1,11 @@ +writer2latex (0.5.0.1-fix1-1) unstable; urgency=low + + * writer2latex 0.5.0.1 split the writer2latex and the writer2xhtml + extensions. When you used the XHTML part of openoffice.org-writer2latex + so far and want to continue it instead you should install + openoffice.org-writer2xhtml. + Thus you can also remove this package and install + openoffice.org-writer2xhtml if you just need XHTML export but not a LaTeX + one. + + -- Rene Engelhard Tue, 29 Jul 2008 01:09:34 +0200 --- writer2latex-1.0.2.orig/debian/control +++ writer2latex-1.0.2/debian/control @@ -0,0 +1,128 @@ +Source: writer2latex +Section: text +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian LibreOffice Maintainers +Uploaders: Rene Engelhard , Chris Halls +Build-Depends: debhelper (>= 6.0.7~), ant, libxerces2-java, libxalan2-java, default-jdk, libreoffice-java-common (>= 1:3.1.0~), ure (>= 1.4.1~), dpatch, tex-common, zip, unzip +Build-Conflicts: libreoffice-java-common (>= 1:3.5.0~), ant (= 1.8.0-1), ant (= 1.8.0-2), ant (= 1.8.0-3) +Standards-Version: 3.7.2 +Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/writer2latex.git +Vcs-Browser: http://git.debian.org/?p=pkg-openoffice/writer2latex.git;a=summary +Homepage: http://writer2latex.sourceforge.net + +Package: writer2latex +Architecture: all +Depends: default-jre-headless | java2-runtime-headless, libwriter2latex-java, ${misc:Depends} +Recommends: www-browser | x-www-browser | pdf-viewer | libreoffice-writer +Description: OpenOffice.org Writer/Calc to LaTeX/XHTML converter + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents – in particular documents containing formulas – into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + +Package: writer2latex-manual +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: OpenOffice.org Writer/Calc to LaTeX/XHTML converter -- manual + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents – in particular documents containing formulas – into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + . + This package contains the manual. + +Package: libwriter2latex-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: www-browser | x-www-browser +Description: OpenOffice.org Writer/Calc to LaTeX/XHTML converter -- javadoc + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents – in particular documents containing formulas – into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + . + This package contains the javadoc for the writer2latex library. + +Package: libwriter2latex-java +Section: java +Architecture: all +Depends: libxalan2-java, libxerces2-java, ${misc:Depends} +Description: OpenOffice.org Writer/Calc to LaTeX/XHTML converter -- library + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents - in particular documents containing formulas - into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + . + This package contains the java library. + +Package: libreoffice-writer2latex +Architecture: all +Depends: default-jre | gcj-jre | java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre | java5-runtime | jre, libreoffice-core (>= 1:2.3.0~oog680m1), libreoffice-java-common (>= 1:2.3.0~oog680m1), ${misc:Depends} +Enhances: libreoffice-writer, libreoffice-calc +Conflicts: libreoffice-core (<< 1:3.0.0~), libreoffice-common (<< 1:3.0.1-10), ure (<< 1.5.1+OOo3.1.1-15) +Description: Writer/Calc to LaTeX converter extension for LibreOffice + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents – in particular documents containing formulas – into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + . + This package contains the extension providing writer2latex for LibreOffice. + +Package: libreoffice-writer2xhtml +Architecture: all +Depends: default-jre | gcj-jre | java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre | java5-runtime | jre, libreoffice-core (>= 1:2.3.0~oog680m1), libreoffice-java-common (>= 1:2.3.0~oog680m1), ${misc:Depends} +Enhances: libreoffice-writer, libreoffice-calc +Conflicts: libreoffice-core (<< 1:3.0.0~), libreoffice-common (<< 1:3.0.1-10), ure (<< 1.5.1+OOo3.1.1-15) +Description: Writer/Calc to XHTML converter extension for LibreOffice + Writer2LaTeX is a java utility to convert OpenOffice.org/LibreOffice + documents – in particular documents containing formulas – into other + formats. It is actually a collection of four converters, i.e.: + 1) Writer2LaTeX converts documents into LaTeX 2e format for high quality + typesetting. + 2) Writer2BibTeX extracts bibliographic data from a document and stores it in + BibTeX format (works together with Writer2LaTeX). + 3) Writer2xhtml converts documents into XHTML 1.0 or XHTML 1.1+MathML 2.0 with + CSS2. + 4) Calc2xhtml is a companion to Writer2xhtml that converts Calc documents + to XHTML 1.0 with CSS2 to display your spreadsheets on the web. + . + This package contains the extension providing writer2xhtml for LibreOffice. + --- writer2latex-1.0.2.orig/debian/libwriter2latex-java.install +++ writer2latex-1.0.2/debian/libwriter2latex-java.install @@ -0,0 +1 @@ +target/lib/writer2latex.jar usr/share/java --- writer2latex-1.0.2.orig/debian/compat +++ writer2latex-1.0.2/debian/compat @@ -0,0 +1 @@ +5 --- writer2latex-1.0.2.orig/debian/writer2latex.install +++ writer2latex-1.0.2/debian/writer2latex.install @@ -0,0 +1,5 @@ +source/distro/w2l usr/bin +source/java/writer2latex/latex/config/*.xml usr/share/writer2latex +source/java/writer2latex/xhtml/config/*.xml usr/share/writer2latex +source/oxt/xhtml-config-sample/template/xhtml-sample-config/*.ott /usr/share/writer2latex +source/distro/latex/ooomath.sty usr/share/texmf/tex/latex/ooomath --- writer2latex-1.0.2.orig/debian/source/lintian-overrides +++ writer2latex-1.0.2/debian/source/lintian-overrides @@ -0,0 +1,3 @@ +writer2latex source: missing-build-dependency ant +writer2latex source: debhelper-but-no-misc-depends openoffice.org-writer2latex +writer2latex source: debhelper-but-no-misc-depends openoffice.org-writer2xhtml --- writer2latex-1.0.2.orig/debian/patches/04_add_shebang.dpatch +++ writer2latex-1.0.2/debian/patches/04_add_shebang.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_add_shebang.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad writer2latex-1.0~beta2~/source/distro/w2l writer2latex-1.0~beta2/source/distro/w2l +--- writer2latex-1.0~beta2~/source/distro/w2l 2009-04-15 18:36:09.000000000 +0200 ++++ writer2latex-1.0~beta2/source/distro/w2l 2009-04-15 18:36:31.000000000 +0200 +@@ -1,3 +1,4 @@ ++#!/bin/sh + # *Very* simple script to run Writer2LaTeX (unix version) + # Created by Henrik Just, october 2003 + # Modified december 2003 as suggested by Juan Julian Merelo Guervos --- writer2latex-1.0.2.orig/debian/patches/03_no_writer2latex_in_extension.dpatch +++ writer2latex-1.0.2/debian/patches/03_no_writer2latex_in_extension.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_no_writer2latex_in_extension.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad writer2latex-0.5~/build.xml writer2latex-0.5/build.xml +--- writer2latex-0.5~/build.xml 2007-11-20 23:25:55.000000000 +0100 ++++ writer2latex-0.5/build.xml 2007-11-20 23:26:27.000000000 +0100 +@@ -100,7 +100,7 @@ + + + ++ includes="META-INF/manifest.xml,w2l_types.xcu,w2l_filters.xcu" /> + + + + + + + + +- +\ No newline at end of file ++ --- writer2latex-1.0.2.orig/debian/patches/01_dirs.dpatch +++ writer2latex-1.0.2/debian/patches/01_dirs.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_dir.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: speficy the paths to the office jars and where we install writer2latex +## DP: into + +@DPATCH@ +diff -urNad writer2latex-0.5.0.1~/w2l writer2latex-0.5.0.1/w2l +--- writer2latex-1.0~beta2/source/distro/w2l 2008-07-29 01:19:17.000000000 +0200 ++++ writer2latex-1.0~beta2/source/distro/w2l 2008-07-29 01:20:16.000000000 +0200 +@@ -6,7 +6,7 @@ + + # If writer2latex.jar is not in the same directory as the script, please + # edit the following line to contain the full path to Writer2LaTeX: +-W2LPATH=`dirname $0` ++W2LPATH=/usr/share/java + + # If the required JVM is not in your path, or the path is not set by JAVA_HOME, + # please edit the following line to contain the full path and file name +@@ -19,4 +19,4 @@ + JAVAEXE="$JAVA_HOME/bin/java" + fi + +-$JAVAEXE -jar "$W2LPATH/writer2latex.jar" "$@" +\ Kein Zeilenumbruch am Dateiende. ++$JAVAEXE -jar "$W2LPATH/writer2latex.jar" "$@" --- writer2latex-1.0.2.orig/debian/patches/00list +++ writer2latex-1.0.2/debian/patches/00list @@ -0,0 +1,3 @@ +01_dirs +#02_BASE64_no_Sunism +04_add_shebang --- writer2latex-1.0.2.orig/debian/patches/02_BASE64_no_Sunism.dpatch +++ writer2latex-1.0.2/debian/patches/02_BASE64_no_Sunism.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_BASE64_no_Sunism.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: remove Sunism + +@DPATCH@ +diff -urNad writer2latex-0.5~/build.xml writer2latex-0.5/build.xml +--- writer2latex-0.5~/build.xml 2006-11-02 11:15:42.000000000 +0100 ++++ writer2latex-0.5/build.xml 2007-11-20 21:17:21.000000000 +0100 +@@ -85,7 +85,7 @@ + + + +- ++ + + + +diff -urNad writer2latex-0.5~/source/writer2latex/office/ImageLoader.java writer2latex-0.5/source/writer2latex/office/ImageLoader.java +--- writer2latex-1.0~beta2/source/java/writer2latex/office/ImageLoader.java 2007-04-17 09:30:42.000000000 +0200 ++++ writer2latex-1.0~beta2/source/java/writer2latex/office/ImageLoader.java 2007-11-20 21:18:32.000000000 +0100 +@@ -107,8 +107,8 @@ + } + // TODO: Use another base64 decoder. This one is "nonstandard" + try { +- blob = new sun.misc.BASE64Decoder().decodeBuffer(buf.toString()); +- } catch (IOException e) { ++ blob = org.apache.xerces.impl.dv.util.Base64.decode(buf.toString()); ++ } catch (Exception e) { + System.err.println("Oops - error converting base64"); + } + sMIME = MIMETypes.getMagicMIMEType(blob);