Summary(pl.UTF-8): Graficzna nakładka na git
Name: giggle
Version: 0.7
-Release: 2
+Release: 3
License: GPL v2
Group: X11/Development/Tools
Source0: http://ftp.gnome.org/pub/GNOME/sources/giggle/0.7/%{name}-%{version}.tar.xz
# Source0-md5: f5e756c13d9b59843c05b648901b9f28
URL: http://live.gnome.org/giggle
Patch0: gtksourceview-3.8.patch
+Patch1: vte-0.38.patch
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1.11
BuildRequires: evolution-data-server-devel >= 3.2
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: tar >= 1:1.22
-BuildRequires: vte-devel >= 0.28
+BuildRequires: vte-devel >= 0.38
BuildRequires: xz
BuildRequires: yelp-tools
Requires(post,postun): /sbin/ldconfig
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__intltoolize}
%{__autoconf}
%{__automake}
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ --enable-terminal
%{__make}
%install
--- /dev/null
+--- giggle-0.7/configure.ac~ 2012-11-01 06:29:01.000000000 +0100
++++ giggle-0.7/configure.ac 2014-11-19 20:07:29.896975342 +0100
+@@ -109,7 +109,7 @@
+ AS_IF([test "x$enable_terminal" = "xyes"],
+ [
+ PKG_CHECK_MODULES([VTE],
+- [vte-2.90 >= $VTE_REQUIRED_VERSION],
++ [vte-2.91 >= $VTE_REQUIRED_VERSION],
+ [have_vte=yes
+ AC_DEFINE([HAVE_VTE], [1],
+ [Use features from vte])
+--- giggle-0.7/plugins/giggle-view-terminal.c.orig 2014-11-19 20:19:10.433636937 +0100
++++ giggle-0.7/plugins/giggle-view-terminal.c 2014-11-19 20:19:26.986970150 +0100
+@@ -186,19 +186,19 @@
+ real_argv[1] = NULL;
+ spawn_flags = G_SPAWN_CHILD_INHERITS_STDIN | G_SPAWN_SEARCH_PATH | G_SPAWN_FILE_AND_ARGV_ZERO;
+
+- succes = vte_terminal_fork_command_full (VTE_TERMINAL (terminal),
++ succes = vte_terminal_spawn_sync (VTE_TERMINAL (terminal),
+ pty_flags,
+ directory,
+ real_argv,
+ NULL,
+ spawn_flags,
+ NULL, NULL,
+- NULL,
++ NULL, NULL,
+ &error);
+ g_strfreev (real_argv);
+
+ if (succes == FALSE) {
+- g_warning ("%s: %s: vte_terminal_fork_command_full failed %s",
++ g_warning ("%s: %s: vte_terminal_spawn_sync failed %s",
+ G_STRLOC, G_STRFUNC, error->message);
+ g_error_free (error);
+ }