dtardon pushed to libreoffice (master). "enable gtk3 plugin"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 18:43:31 UTC 2015


>From 06c1cdaa913f6681d046d03e87e3483370f88b87 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Wed, 22 Apr 2015 09:39:17 +0200
Subject: enable gtk3 plugin


diff --git a/libreoffice.spec b/libreoffice.spec
index d9a3758..99678ff 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -177,6 +177,7 @@ BuildRequires: glm-devel
 BuildRequires: kdelibs4-devel
 BuildRequires: openCOLLADA-devel
 BuildRequires: pkgconfig(glew)
+BuildRequires: pkgconfig(gtk+-3.0)
 BuildRequires: pkgconfig(libabw-0.1)
 BuildRequires: pkgconfig(libcdr-0.1)
 BuildRequires: pkgconfig(libcmis-0.5)
@@ -813,6 +814,15 @@ Requires: %{name}-core = %{epoch}:%{version}-%{release}
 %description kde
 A plug-in for LibreOffice that enables integration into the KDE desktop environment.
 
+%package gtk3
+Summary: LibreOffice GTK+ 3 integration plug-in
+Group:   Applications/Productivity
+Requires: %{name}-core = %{epoch}:%{version}-%{release}
+
+%description gtk3
+A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
+This plugin is experimental and it is not suggested for normal use.
+
 %endif
 
 %if 0%{?_enable_debug_packages}
@@ -1204,7 +1214,7 @@ export CXXFLAGS=$ARCH_FLAGS
 %define distrooptions --disable-eot --disable-firebird-sdbc --disable-gstreamer-0-10 --enable-gstreamer --with-system-mythes --enable-python=system %{?_smp_mflags:--with-parallelism=%{_smp_mflags}}
 %endif
 %else # fedora
-%define distrooptions --enable-eot --enable-kde4 --disable-gstreamer-0-10 --enable-gstreamer --with-system-mythes %{?_smp_mflags:--with-parallelism=%{_smp_mflags}}
+%define distrooptions --enable-eot --enable-gtk3 --enable-kde4 --disable-gstreamer-0-10 --enable-gstreamer --with-system-mythes %{?_smp_mflags:--with-parallelism=%{_smp_mflags}}
 export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
 export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
 %endif
@@ -2378,6 +2388,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
 %{baseinstdir}/program/libkde4be1lo.so
 %{baseinstdir}/program/libvclplug_kde4lo.so
 
+%files gtk3
+%{baseinstdir}/program/libvclplug_gtk3lo.so
+
 %endif
 
 %changelog
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libreoffice.git/commit/?h=master&id=06c1cdaa913f6681d046d03e87e3483370f88b87


More information about the scm-commits mailing list