From 19165cbede1d6943317531d862042c8484538a73 Mon Sep 17 00:00:00 2001
From: Dominic Hopf
Date: Wed, 19 Aug 2015 22:26:17 +0200
Subject: [PATCH] roll back to GTK2
---
geany.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/geany.spec b/geany.spec
index 5ea31d4..5475cba 100644
--- a/geany.spec
+++ b/geany.spec
@@ -5,7 +5,7 @@
Name: geany
Version: 1.25
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A fast and lightweight IDE using GTK2
Group: Development/Tools
@@ -38,9 +38,9 @@ Source21: http://wiki.geany.org/_media/tags/xfce48.c.tags
Source22: http://advamacs.com/pub/tcl.tcl.tags
-BuildRequires: desktop-file-utils, gettext, gtk3-devel, glib2-devel, pango-devel, intltool
+BuildRequires: desktop-file-utils, gettext, gtk2-devel, glib2-devel, pango-devel, intltool
BuildRequires: perl(XML::Parser)
-Requires: vte3
+Requires: vte
Requires: geany-libgeany = %{version}-%{release}
Provides: bundled(scintilla) = 3.5.6
@@ -93,7 +93,7 @@ rm -f wscript
%build
-%configure --docdir=%{geany_docdir} --enable-gtk3
+%configure --docdir=%{geany_docdir}
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}
@@ -141,7 +141,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 GTK3 runtime libraries.
+ Geany only requires the GTK2 runtime libraries.
@@ -194,6 +194,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/pkgconfig/geany.pc
%changelog
+* Wed Aug 19 2015 Dominic Hopf - 1.25-5
+- roll back to GTK2
+
* Mon Jul 27 2015 Dominic Hopf - 1.25-4
- require vte3 instead of vte (RHBZ#1245831)
- do not require gtk3-devel for libgeany subpackage