summaryrefslogtreecommitdiff
path: root/community-testing/guake
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/guake')
-rw-r--r--community-testing/guake/0001-Retrieve-port-as-int.2.patch25
-rw-r--r--community-testing/guake/PKGBUILD35
-rw-r--r--community-testing/guake/guake.install17
3 files changed, 77 insertions, 0 deletions
diff --git a/community-testing/guake/0001-Retrieve-port-as-int.2.patch b/community-testing/guake/0001-Retrieve-port-as-int.2.patch
new file mode 100644
index 000000000..3fde26dc2
--- /dev/null
+++ b/community-testing/guake/0001-Retrieve-port-as-int.2.patch
@@ -0,0 +1,25 @@
+From efcd1d8d3cdc354f46bc2485e7e3394f8578b7ba Mon Sep 17 00:00:00 2001
+From: pingou <pingou@pingoured.fr>
+Date: Mon, 23 Aug 2010 09:54:35 +0200
+Subject: [PATCH] Retrieve port as int
+
+---
+ src/guake.py | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/guake.py b/src/guake.py
+index 6214fb2..40e688f 100644
+--- a/src/guake.py
++++ b/src/guake.py
+@@ -1099,7 +1099,7 @@ class Guake(SimpleGladeApp):
+ ssl_port = port
+ else:
+ ssl_host = self.client.get_string('/system/proxy/secure_host')
+- ssl_port = self.client.get_string('/system/proxy/secure_port')
++ ssl_port = self.client.get_int('/system/proxy/secure_port')
+
+ if self.client.get_bool(proxy + 'use_authentication'):
+ auth_user = self.client.get_string(
+--
+1.7.2.1
+
diff --git a/community-testing/guake/PKGBUILD b/community-testing/guake/PKGBUILD
new file mode 100644
index 000000000..a7d4d7117
--- /dev/null
+++ b/community-testing/guake/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 63158 2012-01-30 18:59:52Z ibiru $
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Wilson Pinto JĂșnior (N3RD3X) <n3rd3x@linuxmail.org>
+pkgname=guake
+pkgver=0.4.2
+pkgrel=5
+pkgdesc='is a drop-down terminal for Gnome Desktop Environment'
+arch=('i686' 'x86_64')
+url='http://guake.org'
+license=('GPL')
+depends=('python-notify' 'vte' 'gconf' 'python2-gconf' 'dbus-python' 'notification-daemon')
+makedepends=('libx11' 'pkgconfig' 'perlxml' 'intltool')
+install=guake.install
+source=(http://guake.org/files/guake-$pkgver.tar.gz
+ http://guake.org/raw-attachment/ticket/246/0001-Retrieve-port-as-int.2.patch)
+md5sums=('1f0feff3bfc15c998147dbf07d9d8a8e'
+ '9aca6ba8e46ae1b69958cda0e03320ff')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Point Python scripts to the python2 binary
+ sed -i 's|bin/python"|bin/python2"|' src/guake{,-prefs}.in
+
+ # Patch to import proxy port setting as int (http://guake.org/ticket/246)
+ patch -Np1 -i "$srcdir/0001-Retrieve-port-as-int.2.patch"
+
+ ./configure --sysconfdir=/usr/share --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community-testing/guake/guake.install b/community-testing/guake/guake.install
new file mode 100644
index 000000000..1e828c86b
--- /dev/null
+++ b/community-testing/guake/guake.install
@@ -0,0 +1,17 @@
+pkgname=guake
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}