# ChangeLog for app-office/unoconv
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*unoconv-0.3-r4 (12 Aug 2011)
+
+ 12 Aug 2011; Nathan Phillip Brink <binki@gentoo.org> -unoconv-0.3-r3.ebuild,
+ +unoconv-0.3-r4.ebuild, +files/unoconv-0.3-openoffice-3.2-libreoffice.patch,
+ files/unoconv-0.3-openoffice-3.2.patch:
+ Add libreoffice support.
+
01 Dec 2010; Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>
+unoconv-0.3-r3.ebuild, +files/unoconv-0.3-longer-timeout.patch,
+files/unoconv-0.3-openoffice-3.2.patch, +files/unoconv-wrapper,
--- /dev/null
+--- a/unoconv
++++ b/unoconv
+@@ -17,7 +17,7 @@
+ import getopt, sys, os, glob, time
+
+ #extrapaths = ('/usr/lib/openoffice/program/', '/usr/lib/openoffice.org2.0/program/')
+-extrapaths = glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ]
++extrapaths = glob.glob('/usr/lib*/libreoffice*/basis*/program/') + glob.glob('/usr/lib*/openoffice*/basis*/program/') + glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ]
+ for path in extrapaths:
+ try:
+ sys.path.append(path)
---- unoconv.~1~ 2007-09-01 03:23:13.000000000 +0200
-+++ unoconv 2010-04-03 12:09:13.703092418 +0200
-@@ -17,7 +17,7 @@
- import getopt, sys, os, glob, time
-
- #extrapaths = ('/usr/lib/openoffice/program/', '/usr/lib/openoffice.org2.0/program/')
--extrapaths = glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ]
-+extrapaths = glob.glob('/usr/lib*/openoffice*/basis*/program/') + glob.glob('/usr/lib*/openoffice*/program/') + glob.glob('/usr/lib*/ooo*/program') + [ '/Applications/NeoOffice.app/Contents/program', ]
- for path in extrapaths:
- try:
- sys.path.append(path)
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DEPEND="app-text/asciidoc
dev-python/setuptools"
-RDEPEND="|| ( app-office/openoffice app-office/openoffice-bin )"
+RDEPEND="|| ( app-office/openoffice app-office/openoffice-bin
+ app-office/libreoffice app-office/libreoffice-bin )"
src_prepare() {
- epatch "${FILESDIR}/${P}-openoffice-3.2.patch" \
+ epatch "${FILESDIR}/${P}-openoffice-3.2-libreoffice.patch" \
"${FILESDIR}/${P}-longer-timeout.patch"
}