[X2Go-Commits] [x2gomatebindings] 04/04: x2gomatebindings.spec: switch to GTK 3 for Fedora 25 and up.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 11 16:54:06 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gomatebindings.
commit 802d9801a388c5123b2fa39b35003e66c9eeeec5
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jun 11 16:53:23 2016 +0200
x2gomatebindings.spec: switch to GTK 3 for Fedora 25 and up.
---
debian/changelog | 1 +
x2gomatebindings.spec | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 050e9d9..2ce0786 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ x2gomatebindings (0.0.1.4-0~x2go1) UNRELEASED; urgency=low
- Prepare GTK library version switching and hardcode GTK 2 for now.
- Re-add explicit GTK library build dependencies. Run-time dependencies
should be handled automatically.
+ - Switch to GTK 3 for Fedora 25 and up.
* debian/control:
- Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
- Whitespace only.
diff --git a/x2gomatebindings.spec b/x2gomatebindings.spec
index 2b2f855..8aae7e0 100644
--- a/x2gomatebindings.spec
+++ b/x2gomatebindings.spec
@@ -88,7 +88,12 @@ if [ ! -e configure ]; then
./autogen.sh;
fi;
# Remember to switch to --with-gtk=3.0 once OpenSuSE already provides a newer MATE version compiled against GTK 3.
+# Fedora will switch to GTK 3 with FC25.
+%if 0%{?fedora_version} && 0%{?fedora_version} >= 25
+%configure --with-gtk=3.0
+%else
%configure --with-gtk=2.0
+%endif
make %{?_smp_mflags};
--
Alioth's /srv/git/code.x2go.org/x2gomatebindings.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gomatebindings.git
More information about the x2go-commits
mailing list