From 92cef3a127d55a3f0e00761283d066c19aad3bbb Mon Sep 17 00:00:00 2001
From: Dominic Hopf
Date: Wed, 26 Jul 2017 15:36:22 +0200
Subject: [PATCH] Rebuild against GTK3
---
geany.spec | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/geany.spec b/geany.spec
index 246ff8d..6dc4942 100644
--- a/geany.spec
+++ b/geany.spec
@@ -5,19 +5,19 @@
Name: geany
Version: 1.31
-Release: 2%{?dist}
-Summary: A fast and lightweight IDE using GTK2
+Release: 3%{?dist}
+Summary: A fast and lightweight IDE using GTK3
Group: Development/Tools
License: GPLv2+
URL: http://www.geany.org/
Source0: http://download.geany.org/%{name}-%{version}.tar.bz2
-BuildRequires: desktop-file-utils, gettext, gtk2-devel, glib2-devel, pango-devel, intltool
+BuildRequires: desktop-file-utils, gettext, gtk3-devel, glib2-devel, pango-devel, intltool
BuildRequires: perl(XML::Parser)
-Requires: vte
+Requires: vte3
Requires: geany-libgeany = %{version}-%{release}
-Provides: bundled(scintilla) = 3.7.2
+Provides: bundled(scintilla) = 3.7.3
%description
@@ -52,7 +52,7 @@ Geany plugins.
Summary: Header files for building Geany plug-ins
Group: Development/Tools
Requires: geany = %{version}-%{release}
-Requires: pkgconfig gtk2-devel
+Requires: pkgconfig gtk3-devel
%description devel
This package contains the header files and pkg-config file needed for building
@@ -68,7 +68,7 @@ rm -f wscript
%build
-%configure --docdir=%{geany_docdir}
+%configure --docdir=%{geany_docdir} --enable-gtk3
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
@@ -108,7 +108,7 @@ SentUpstream: 2014-09-17
Geany is a small and lightweight Integrated Development Environment.
It was developed to provide a small and fast IDE.
Another goal was to be as independent as possible from a KDE or GNOME -
- Geany only requires the GTK2 runtime libraries.
+ Geany only requires the GTK3 runtime libraries.
@@ -161,6 +161,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/pkgconfig/geany.pc
%changelog
+* Wed Jul 26 2017 Dominic Hopf - 1.31-3
+- Rebuild against GTK3
+
* Wed Jul 26 2017 Fedora Release Engineering - 1.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild