commit: db23475fd1efe1c0d7144c7c6a195f00dd5a60a0
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Oct 21 23:37:12 2015 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 17:05:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db23475f
app-office/libreoffice: Update DEPENDs, pyuno patch, add 5.1 stable branch
- Pin mdds DEPEND to slot 0
- Relax library dependencies, see commit
517e2522adcd7d091009bfd9e9f9704374ec02a7 and following
- Upstream dropped gconf integration, see commit
3cf557c12d27f1b2250e69a543136da098112d80
- pyuno patch: Only a small change in desktop/scripts/soffice.sh context
Package-Manager: portage-2.2.27
.../files/libreoffice-5.2-system-pyuno.patch | 44 ++++++++++++++++++++++
app-office/libreoffice/libreoffice-4.4.6.3.ebuild | 2 +-
app-office/libreoffice/libreoffice-4.4.9999.ebuild | 2 +-
app-office/libreoffice/libreoffice-5.0.3.2.ebuild | 2 +-
app-office/libreoffice/libreoffice-5.0.4.2.ebuild | 2 +-
app-office/libreoffice/libreoffice-5.0.5.2.ebuild | 4 +-
app-office/libreoffice/libreoffice-5.0.9999.ebuild | 4 +-
...ice-9999.ebuild => libreoffice-5.1.9999.ebuild} | 22 ++++++-----
app-office/libreoffice/libreoffice-9999.ebuild | 40 ++++++++------------
9 files changed, 79 insertions(+), 43 deletions(-)
diff --git a/app-office/libreoffice/files/libreoffice-5.2-system-pyuno.patch
b/app-office/libreoffice/files/libreoffice-5.2-system-pyuno.patch
new file mode 100644
index 0000000..e06f81f
--- /dev/null
+++ b/app-office/libreoffice/files/libreoffice-5.2-system-pyuno.patch
@@ -0,0 +1,44 @@
+diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
+index a259bf6..672fa23 100755
+--- a/desktop/scripts/soffice.sh
++++ b/desktop/scripts/soffice.sh
+@@ -129,6 +129,9 @@ if echo "$checks" | grep -q "cc" ; then
+ exit 1;
+ fi
+
++PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH}
++export PYTHONPATH
++
+ case "`uname -s`" in
+ NetBSD|OpenBSD|DragonFly)
+ # this is a temporary hack until we can live with the default search paths
+diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
+index 4ff2606..6a05eed 100644
+--- a/pyuno/source/module/uno.py
++++ b/pyuno/source/module/uno.py
+@@ -16,8 +16,12 @@
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ #
++import os
+ import sys
+
++sys.path.append('%eprefix%/usr/%libdir%/libreoffice/program')
++if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
++ os.environ['URE_BOOTSTRAP'] =
"vnd.sun.star.pathname:%eprefix%/usr/%libdir%/libreoffice/program/fundamentalrc"
+ import pyuno
+
+ try:
+diff --git a/pyuno/source/officehelper.py b/pyuno/source/officehelper.py
+index 99d3b03..704edab 100755
+--- a/pyuno/source/officehelper.py
++++ b/pyuno/source/officehelper.py
+@@ -44,7 +44,7 @@ def bootstrap():
+ if "UNO_PATH" in os.environ:
+ sOffice = os.environ["UNO_PATH"]
+ else:
+- sOffice = "" # lets hope for the best
++ sOffice = "%eprefix%/usr/%libdir%/libreoffice/program"
+ sOffice = os.path.join(sOffice, "soffice")
+ if platform.startswith("win"):
+ sOffice += ".exe"
diff --git a/app-office/libreoffice/libreoffice-4.4.6.3.ebuild
b/app-office/libreoffice/libreoffice-4.4.6.3.ebuild
index 863f7c9..1dad190 100644
--- a/app-office/libreoffice/libreoffice-4.4.6.3.ebuild
+++ b/app-office/libreoffice/libreoffice-4.4.6.3.ebuild
@@ -220,7 +220,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.11.2:=
+ >=dev-util/mdds-0.11.2:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-4.4.9999.ebuild
b/app-office/libreoffice/libreoffice-4.4.9999.ebuild
index 863f7c9..1dad190 100644
--- a/app-office/libreoffice/libreoffice-4.4.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-4.4.9999.ebuild
@@ -220,7 +220,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.11.2:=
+ >=dev-util/mdds-0.11.2:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-5.0.3.2.ebuild
b/app-office/libreoffice/libreoffice-5.0.3.2.ebuild
index 15d59be..6b99676 100644
--- a/app-office/libreoffice/libreoffice-5.0.3.2.ebuild
+++ b/app-office/libreoffice/libreoffice-5.0.3.2.ebuild
@@ -221,7 +221,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ >=dev-util/mdds-0.12.0:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-5.0.4.2.ebuild
b/app-office/libreoffice/libreoffice-5.0.4.2.ebuild
index 4cc1a49..1cf15be 100644
--- a/app-office/libreoffice/libreoffice-5.0.4.2.ebuild
+++ b/app-office/libreoffice/libreoffice-5.0.4.2.ebuild
@@ -221,7 +221,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ >=dev-util/mdds-0.12.0:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-5.0.5.2.ebuild
b/app-office/libreoffice/libreoffice-5.0.5.2.ebuild
index 4cc1a49..abeb761 100644
--- a/app-office/libreoffice/libreoffice-5.0.5.2.ebuild
+++ b/app-office/libreoffice/libreoffice-5.0.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -221,7 +221,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ >=dev-util/mdds-0.12.0:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-5.0.9999.ebuild
b/app-office/libreoffice/libreoffice-5.0.9999.ebuild
index 4cc1a49..abeb761 100644
--- a/app-office/libreoffice/libreoffice-5.0.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-5.0.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -221,7 +221,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ >=dev-util/mdds-0.12.0:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild
b/app-office/libreoffice/libreoffice-5.1.9999.ebuild
similarity index 98%
copy from app-office/libreoffice/libreoffice-9999.ebuild
copy to app-office/libreoffice/libreoffice-5.1.9999.ebuild
index 3907338..18d7177 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-5.1.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -106,15 +106,15 @@ COMMON_DEPEND="
app-text/mythes
>=app-text/libabw-0.1.0
>=app-text/libexttextcat-3.4.4
- >=app-text/libebook-0.1.1
- >=app-text/libetonyek-0.1.2
+ >=app-text/libebook-0.1
+ >=app-text/libetonyek-0.1
app-text/liblangtag
>=app-text/libmspub-0.1.0
- >=app-text/libmwaw-0.3.6
+ >=app-text/libmwaw-0.3.1
>=app-text/libodfgen-0.1.0
app-text/libwpd:0.10[tools]
app-text/libwpg:0.3
- >=app-text/libwps-0.4.2
+ >=app-text/libwps-0.4
>=app-text/poppler-0.16:=[cxx]
>=dev-cpp/clucene-2.3.3.4-r2
=dev-cpp/libcmis-0.5*
@@ -123,7 +123,7 @@ COMMON_DEPEND="
dev-libs/expat
>=dev-libs/hyphen-2.7.1
>=dev-libs/icu-4.8.1.1:=
- >=dev-libs/liborcus-0.9.0
+ =dev-libs/liborcus-0.9*
>=dev-libs/librevenge-0.0.1
>=dev-libs/nspr-4.8.8
>=dev-libs/nss-3.12.9
@@ -158,10 +158,12 @@ COMMON_DEPEND="
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
cups? ( net-print/cups )
dbus? ( >=dev-libs/dbus-glib-0.92 )
- eds? ( gnome-extra/evolution-data-server )
+ eds? (
+ dev-libs/glib:2
+ gnome-extra/evolution-data-server
+ )
firebird? ( >=dev-db/firebird-2.5 )
gltf? ( media-libs/libgltf )
- gnome? ( dev-libs/glib:2 )
gtk? (
x11-libs/gdk-pixbuf[X]
>=x11-libs/gtk+-2.24:2
@@ -215,7 +217,7 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ >=dev-util/mdds-0.12.0:0=
media-libs/glm
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
@@ -247,7 +249,7 @@ REQUIRED_USE="
collada? ( gltf )
eds? ( gnome )
gnome? ( gtk )
- telepathy? ( gnome )
+ telepathy? ( gtk )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild
b/app-office/libreoffice/libreoffice-9999.ebuild
index 3907338..9e2bd12 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -59,7 +59,6 @@ unset DEV_URI
# These are bundles that can't be removed for now due to huge patchsets.
# If you want them gone, patches are welcome.
ADDONS_SRC=(
- "${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
"${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz"
# modifies source code
"collada? (
${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
)"
"java? (
${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
@@ -106,15 +105,15 @@ COMMON_DEPEND="
app-text/mythes
>=app-text/libabw-0.1.0
>=app-text/libexttextcat-3.4.4
- >=app-text/libebook-0.1.1
- >=app-text/libetonyek-0.1.2
+ >=app-text/libebook-0.1
+ >=app-text/libetonyek-0.1
app-text/liblangtag
>=app-text/libmspub-0.1.0
- >=app-text/libmwaw-0.3.6
+ >=app-text/libmwaw-0.3.1
>=app-text/libodfgen-0.1.0
app-text/libwpd:0.10[tools]
app-text/libwpg:0.3
- >=app-text/libwps-0.4.2
+ >=app-text/libwps-0.4
>=app-text/poppler-0.16:=[cxx]
>=dev-cpp/clucene-2.3.3.4-r2
=dev-cpp/libcmis-0.5*
@@ -158,10 +157,12 @@ COMMON_DEPEND="
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
cups? ( net-print/cups )
dbus? ( >=dev-libs/dbus-glib-0.92 )
- eds? ( gnome-extra/evolution-data-server )
+ eds? (
+ dev-libs/glib:2
+ gnome-extra/evolution-data-server
+ )
firebird? ( >=dev-db/firebird-2.5 )
gltf? ( media-libs/libgltf )
- gnome? ( dev-libs/glib:2 )
gtk? (
x11-libs/gdk-pixbuf[X]
>=x11-libs/gtk+-2.24:2
@@ -215,9 +216,8 @@ DEPEND="${COMMON_DEPEND}
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
- >=dev-util/mdds-0.12.0:=
+ dev-util/mdds:1=
media-libs/glm
- net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
sys-devel/bison
sys-apps/coreutils
@@ -247,7 +247,7 @@ REQUIRED_USE="
collada? ( gltf )
eds? ( gnome )
gnome? ( gtk )
- telepathy? ( gnome )
+ telepathy? ( gtk )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
@@ -256,7 +256,7 @@ REQUIRED_USE="
PATCHES=(
# not upstreamable stuff
- "${FILESDIR}/${PN}-4.4-system-pyuno.patch"
+ "${FILESDIR}/${PN}-5.2-system-pyuno.patch"
)
CHECKREQS_MEMORY="512M"
@@ -365,7 +365,6 @@ src_prepare() {
src_configure() {
local java_opts
- local internal_libs
local lo_ext
local ext_opts
@@ -380,16 +379,6 @@ src_configure() {
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada
-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader
-lGeneratedSaxParser"
fi
- # sane: just sane.h header that is used for scan in writer, not
- # linked or anything else, worthless to depend on
- # vigra: just uses templates from there
- # it is serious pain in the ass for packaging
- # should be replaced by boost::gil if someone interested
- internal_libs+="
- --without-system-sane
- --without-system-vigra
- "
-
# libreoffice extensions handling
for lo_xt in ${LO_EXTS}; do
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" ==
"scripting-javascript" ]]; then
@@ -427,6 +416,8 @@ src_configure() {
# --enable-extension-integration: enable any extension integration
support
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
# --disable-report-builder: too much java packages pulled in without
pkgs
+ # --without-system-sane: just sane.h header that is used for scan in
writer,
+ # not linked or anything else, worthless to depend on
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
--with-system-headers \
@@ -440,7 +431,6 @@ src_configure() {
--enable-neon \
--enable-python=system \
--enable-randr \
- --enable-randr-link \
--enable-release-build \
--disable-hardlink-deliver \
--disable-ccache \
@@ -469,6 +459,7 @@ src_configure() {
--without-help \
--with-helppack-integration \
--without-sun-templates \
+ --without-system-sane \
$(use_enable bluetooth sdremote-bluetooth) \
$(use_enable coinmp) \
$(use_enable collada) \
@@ -494,7 +485,6 @@ src_configure() {
$(use_with java) \
$(use_with mysql system-mysql-cppconn) \
$(use_with odk doxygen) \
- ${internal_libs} \
${java_opts} \
${ext_opts}
}