ohaessler pushed to guake (epel7). "Quick and dirty patch"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 2 12:52:55 UTC 2015


From 4156340ce67f0966f781293e18e8b615ccabe537 Mon Sep 17 00:00:00 2001
From: Pierre-YvesChibon <pingou at fedoraproject.org>
Date: Wed, 26 Nov 2008 20:32:26 +0000
Subject: Quick and dirty patch


diff --git a/guake.spec b/guake.spec
index 8dc80a6..79b6595 100644
--- a/guake.spec
+++ b/guake.spec
@@ -1,13 +1,12 @@
 Name:           guake
 Version:        0.3.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Drop-down terminal for GNOME
 
 Group:          Applications/System
 License:        GPLv2+
 URL:            http://www.guake-terminal.org/
 Source0:        http://guake-terminal.org/releases/%{version}/%{name}-%{version}.tar.gz
-Patch0:         guake-0.2.2-fix_vte.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python-devel gtk2-devel gettext desktop-file-utils perl(XML::Parser) GConf2-devel
@@ -25,8 +24,12 @@ and press again to hide.
 
 %prep
 %setup -q
-%patch0 -p1 -b .fix_vte
 
+# Enables to pass the configure without problem concerning python vte library
+sed -i -e 's|if test -z "$ac_pvte_result"; then|if test -z "" ; then|g' configure
+
+# Quick and dirty patch to get rid of the Num Lock error
+sed -i -e "s|key = cellrendererkeys.accelerator_name(keyval, keycode, mask)|key = cellrendererkeys.accelerator_name(keyval, keycode, mask).replace('<Mod2>','')|" src/guake.py
 
 
 %build
@@ -86,6 +89,9 @@ fi
 
 
 %changelog
+* Wed Nov 26 2008 pingou <pingoufc at yahoo.fr> - 0.3.1-4
+- Quick and dirty trick before upstream patch
+
 * Thu Nov 20 2008 pingou <pingoufc at yahoo.fr> - 0.3.1-3
 - Correct the Source0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/guake.git/commit/?h=epel7&id=4156340ce67f0966f781293e18e8b615ccabe537


More information about the scm-commits mailing list