From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/guake/PKGBUILD | 41 --------------------------- community/guake/guake-fix-notification.patch | 42 ---------------------------- community/guake/guake.install | 22 --------------- 3 files changed, 105 deletions(-) delete mode 100644 community/guake/PKGBUILD delete mode 100644 community/guake/guake-fix-notification.patch delete mode 100644 community/guake/guake.install (limited to 'community/guake') diff --git a/community/guake/PKGBUILD b/community/guake/PKGBUILD deleted file mode 100644 index f5e1eaffd..000000000 --- a/community/guake/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# $Id: PKGBUILD 78192 2012-10-17 10:24:02Z allan $ -# Maintainer: Balló György -# Contributor: Angel Velasquez -# Contributor: Wilson Pinto Júnior (N3RD3X) - -pkgname=guake -pkgver=0.4.4 -pkgrel=2 -pkgdesc='Drop-down terminal for GNOME' -arch=('i686' 'x86_64') -url="http://guake.org/" -license=('GPL') -depends=('python2-notify' 'vte' 'python2-gconf' 'python2-dbus' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils') -makedepends=('intltool') -options=('!libtool') -install=$pkgname.install -source=(http://guake.org/files/$pkgname-$pkgver.tar.gz - guake-fix-notification.patch) -md5sums=('532adada29b8f0bb79dc15904aa6b70c' - '0b57227e6869dd84dd4fb0794ed0d082') - -build() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's|schemadir = $(sysconfdir)/gconf/schemas|schemadir = $(GCONF_SCHEMA_FILE_DIR)|' data/Makefile.in - sed -i 's|/usr/bin/env python|/usr/bin/python2|' src/{guake{,-prefs},prefs.py} - - # http://guake.org/ticket/416 - patch -Np1 -i "$srcdir/guake-fix-notification.patch" - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --disable-schemas-install \ - --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ - PYTHON=python2 - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install -} diff --git a/community/guake/guake-fix-notification.patch b/community/guake/guake-fix-notification.patch deleted file mode 100644 index 847dac10e..000000000 --- a/community/guake/guake-fix-notification.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/src/guake 2011-02-09 20:00:35.000000000 +0100 -+++ b/src/guake 2012-02-25 00:55:28.513075769 +0100 -@@ -46,7 +46,10 @@ - TERMINAL_MATCH_EXPRS, TERMINAL_MATCH_TAGS, \ - ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER - --pynotify.init('Guake!') -+popup_works = True -+if not pynotify.init('Guake!') or pynotify.get_server_info() == None : -+ popup_works = False -+ print "WARNING: could not use popup notification" - - GNOME_FONT_PATH = '/desktop/gnome/interface/monospace_font_name' - -@@ -637,7 +640,12 @@ - 'Please use Guake Preferences dialog to choose another ' - 'key (The trayicon was enabled)') % label, filename) - self.client.set_bool(KEY('/general/use_trayicon'), True) -- notification.show() -+ if popup_works : -+ notification.show() -+ else : -+ print _('A problem happened when binding %s key.\n' -+ 'Please use Guake Preferences dialog to choose another ' -+ 'key (The trayicon was enabled)') % label - - elif self.client.get_bool(KEY('/general/use_popup')): - # Pop-up that shows that guake is working properly (if not -@@ -646,7 +654,11 @@ - _('Guake!'), - _('Guake is now running,\n' - 'press %s to use it.') % label, filename) -- notification.show() -+ if popup_works : -+ notification.show() -+ else : -+ print _('Guake is now running,\n' -+ 'press %s to use it.') % label - - def execute_command(self, command, tab=None): - """Execute the `command' in the `tab'. If tab is None, the - diff --git a/community/guake/guake.install b/community/guake/guake.install deleted file mode 100644 index 8084333b1..000000000 --- a/community/guake/guake.install +++ /dev/null @@ -1,22 +0,0 @@ -pkgname=guake - -post_install() { - usr/sbin/gconfpkg --install ${pkgname} - xdg-icon-resource forceupdate -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} -} - -post_remove() { - xdg-icon-resource forceupdate -} -- cgit v1.2.3-54-g00ecf