summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-24 11:56:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-24 13:46:39 +0100
commite82b4313d11aceba23245ee0c1fde15f21e57018 (patch)
treee17a3683ad94e144b0197f70d62ca7ec826d59d9 /app-office
parentprofiles: sparc: Cleanup obsolete package entries (diff)
downloadgentoo-e82b4313d11aceba23245ee0c1fde15f21e57018.tar.gz
gentoo-e82b4313d11aceba23245ee0c1fde15f21e57018.tar.bz2
gentoo-e82b4313d11aceba23245ee0c1fde15f21e57018.zip
app-office/libreoffice: Switch default gtk+ frontend to gtk+3
It is no longer declared experimental in >=6.0. Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice/libreoffice-6.0.9999.ebuild18
-rw-r--r--app-office/libreoffice/libreoffice-9999.ebuild18
-rw-r--r--app-office/libreoffice/metadata.xml3
3 files changed, 20 insertions, 19 deletions
diff --git a/app-office/libreoffice/libreoffice-6.0.9999.ebuild b/app-office/libreoffice/libreoffice-6.0.9999.ebuild
index 5b58caa856a0..90f72941a9bd 100644
--- a/app-office/libreoffice/libreoffice-6.0.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-6.0.9999.ebuild
@@ -64,7 +64,7 @@ unset ADDONS_SRC
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
IUSE="bluetooth +branding coinmp +cups dbus debug eds firebird googledrive
-gstreamer +gtk gtk3 jemalloc kde libressl mysql odk pdfimport postgres test vlc
+gstreamer +gtk gtk2 jemalloc kde libressl mysql odk pdfimport postgres test vlc
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
@@ -148,15 +148,15 @@ COMMON_DEPEND="${PYTHON_DEPS}
media-libs/gst-plugins-base:1.0
)
gtk? (
- x11-libs/gdk-pixbuf
- >=x11-libs/gtk+-2.24:2
- )
- gtk3? (
dev-libs/glib:2
dev-libs/gobject-introspection
gnome-base/dconf
x11-libs/gtk+:3
)
+ gtk2? (
+ x11-libs/gdk-pixbuf
+ >=x11-libs/gtk+-2.24:2
+ )
jemalloc? ( dev-libs/jemalloc )
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
@@ -426,8 +426,8 @@ src_configure() {
$(use_enable eds evolution2)
$(use_enable firebird firebird-sdbc)
$(use_enable gstreamer gstreamer-1-0)
- $(use_enable gtk)
- $(use_enable gtk3)
+ $(use_enable gtk gtk3)
+ $(use_enable gtk2 gtk)
$(use_enable mysql ext-mariadb-connector)
$(use_enable odk)
$(use_enable pdfimport)
@@ -442,7 +442,7 @@ src_configure() {
$(use_with odk doxygen)
)
- if use eds || use gtk3; then
+ if use eds || use gtk; then
myeconfargs+=( --enable-dconf --enable-gio )
else
myeconfargs+=( --disable-dconf --disable-gio )
@@ -519,7 +519,7 @@ src_install() {
make DESTDIR="${D}" distro-pack-install -o build -o check || die
# bug 593514
- if use gtk3; then
+ if use gtk; then
dosym libreoffice/program/liblibreofficekitgtk.so \
/usr/$(get_libdir)/liblibreofficekitgtk.so
fi
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild
index 664bacbda8ea..7bfe88d60c1b 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -64,7 +64,7 @@ unset ADDONS_SRC
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
IUSE="bluetooth +branding coinmp +cups dbus debug eds firebird googledrive
-gstreamer +gtk gtk3 kde libressl mysql odk pdfimport postgres qt4 qt5 test vlc
+gstreamer +gtk gtk2 kde libressl mysql odk pdfimport postgres qt4 qt5 test vlc
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
@@ -148,15 +148,15 @@ COMMON_DEPEND="${PYTHON_DEPS}
media-libs/gst-plugins-base:1.0
)
gtk? (
- x11-libs/gdk-pixbuf
- >=x11-libs/gtk+-2.24:2
- )
- gtk3? (
dev-libs/glib:2
dev-libs/gobject-introspection
gnome-base/dconf
x11-libs/gtk+:3
)
+ gtk2? (
+ x11-libs/gdk-pixbuf
+ >=x11-libs/gtk+-2.24:2
+ )
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
mysql? ( dev-db/mysql-connector-c++ )
@@ -438,8 +438,8 @@ src_configure() {
$(use_enable eds evolution2)
$(use_enable firebird firebird-sdbc)
$(use_enable gstreamer gstreamer-1-0)
- $(use_enable gtk)
- $(use_enable gtk3)
+ $(use_enable gtk gtk3)
+ $(use_enable gtk2 gtk)
$(use_enable mysql ext-mariadb-connector)
$(use_enable odk)
$(use_enable pdfimport)
@@ -455,7 +455,7 @@ src_configure() {
$(use_with odk doxygen)
)
- if use eds || use gtk3; then
+ if use eds || use gtk; then
myeconfargs+=( --enable-dconf --enable-gio )
else
myeconfargs+=( --disable-dconf --disable-gio )
@@ -532,7 +532,7 @@ src_install() {
make DESTDIR="${D}" distro-pack-install -o build -o check || die
# bug 593514
- if use gtk3; then
+ if use gtk; then
dosym libreoffice/program/liblibreofficekitgtk.so \
/usr/$(get_libdir)/liblibreofficekitgtk.so
fi
diff --git a/app-office/libreoffice/metadata.xml b/app-office/libreoffice/metadata.xml
index 1d3010d41306..f72d5cc7d181 100644
--- a/app-office/libreoffice/metadata.xml
+++ b/app-office/libreoffice/metadata.xml
@@ -15,7 +15,8 @@ version</longdescription>
<flag name="collada">Enable Collada for rendering 3D models stored in *.dae and *.kmz format</flag>
<flag name="gltf">Use media-libs/libgltf for inserting 3D models in the glTF format into presentations</flag>
<flag name="googledrive">Enable support for remote files on Google Drive</flag>
- <flag name="gtk3">Enable highly experimental gtk3 frontend</flag>
+ <flag name="gtk2">Enable legacy gtk2 frontend</flag>
+ <flag name="gtk3">Enable experimental gtk3 frontend</flag>
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations</flag>
<flag name="odk">Build the Office Development Kit</flag>
<flag name="pdfimport">Enable PDF import via the Poppler library</flag>