diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
commit | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch) | |
tree | 5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/awn-extras-applets | |
parent | 46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff) |
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/awn-extras-applets')
-rw-r--r-- | community/awn-extras-applets/PKGBUILD | 50 | ||||
-rw-r--r-- | community/awn-extras-applets/aff-results.patch | 11 | ||||
-rw-r--r-- | community/awn-extras-applets/awn-extras-applets.install | 23 | ||||
-rw-r--r-- | community/awn-extras-applets/awn-extras-libnotify0.7.patch | 20 | ||||
-rw-r--r-- | community/awn-extras-applets/weather.patch | 11 |
5 files changed, 0 insertions, 115 deletions
diff --git a/community/awn-extras-applets/PKGBUILD b/community/awn-extras-applets/PKGBUILD deleted file mode 100644 index 2379fd74e..000000000 --- a/community/awn-extras-applets/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: PKGBUILD 41460 2011-03-06 17:46:31Z jelle $ -# Contributor: Biru Ionut <ionut@archlinux.ro> -# Contributor: Jonathan Liu <net147@hotmail.com> -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgname=awn-extras-applets -pkgver=0.4.0 -pkgrel=8 -pkgdesc="A collection of applets for avant-window-navigator" -arch=('i686' 'x86_64') -url="https://launchpad.net/awn-extras" -license=('GPL2') -depends=('avant-window-navigator' 'gnome-menus' 'libgtop' 'libnotify' - 'libsexy' 'vte' 'gstreamer0.10-python') -makedepends=('intltool' 'libdesktop-agnostic' 'vala') -optdepends=('python-notify: needed for some applets' - 'python-vobject: needed for some applets') -provides=('avant-window-navigator-extras') -install=awn-extras-applets.install -options=('!libtool') -source=(http://launchpad.net/awn-extras/0.4/0.4.0/+download/awn-extras-0.4.0.tar.gz \ - awn-extras-libnotify0.7.patch) -md5sums=('b559d68cd6ad295c961c20fcc5d9f9c0' - '7999955956d1d2457b4c3b50ffd3199d') - -build() { - cd ${srcdir}/${pkgname/-applets/}-${pkgver} - patch -Np1 -i $srcdir/awn-extras-libnotify0.7.patch - ./configure --prefix=/usr --sysconfdir=/etc --disable-pymod-checks - make -} - -package() { - cd ${srcdir}/${pkgname/-applets/}-${pkgver} - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install - - # yes... theses guys can not even get a "#!" right - sed -i -e "s|#[ ]*[!]*[ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - -e "s|#[ ]*![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - $(find $pkgdir/usr/share/avant-window-navigator/applets/ -name '*.py') \ - $pkgdir/usr/lib/python2.7/site-packages/awn/extras/awnmediaplayers.py - - mkdir -p ${pkgdir}/usr/share/gconf/schemas - gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/awn-extras.schemas \ - ${pkgdir}/etc/gconf/schemas/*.schemas - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas - rmdir --ignore-fail-on-non-empty -p ${pkgdir}/usr/share/locale - rmdir --ignore-fail-on-non-empty -p ${pkgdir}/etc/gconf/schemas -} -# vim:set ts=2 sw=2 et: diff --git a/community/awn-extras-applets/aff-results.patch b/community/awn-extras-applets/aff-results.patch deleted file mode 100644 index b36a9d9f9..000000000 --- a/community/awn-extras-applets/aff-results.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- awn-extras-applets-0.2.6.orig/src/affinity/aff-results.c 2008-02-15 03:49:53.000000000 +1100 -+++ awn-extras-applets-0.2.6/src/affinity/aff-results.c 2008-03-03 17:42:07.000000000 +1100 -@@ -422,7 +422,7 @@ - const char *name = gnome_vfs_mime_application_get_name (app); - const char *icon_name = gnome_vfs_mime_application_get_icon (app); - #elif defined(LIBAWN_USE_XFCE) -- ThunarVfsMimeApplication *app = (ThunarVfsApplication *)a->data; -+ ThunarVfsMimeApplication *app = (ThunarVfsMimeApplication *)a->data; - const char *name = thunar_vfs_mime_application_get_name (app); - const char *icon_name = thunar_vfs_mime_handler_lookup_icon_name (THUNAR_VFS_MIME_HANDLER (app), gtk_icon_theme_get_default ()); - #else diff --git a/community/awn-extras-applets/awn-extras-applets.install b/community/awn-extras-applets/awn-extras-applets.install deleted file mode 100644 index 93e2e13e6..000000000 --- a/community/awn-extras-applets/awn-extras-applets.install +++ /dev/null @@ -1,23 +0,0 @@ -post_install() { - usr/sbin/gconfpkg --install awn-extras - update-desktop-database -q - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - - -pre_remove() { - usr/sbin/gconfpkg --uninstall awn-extras - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -} - -post_remove() { - update-desktop-database -q -} diff --git a/community/awn-extras-applets/awn-extras-libnotify0.7.patch b/community/awn-extras-applets/awn-extras-libnotify0.7.patch deleted file mode 100644 index 63b282b70..000000000 --- a/community/awn-extras-applets/awn-extras-libnotify0.7.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -aur awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c awn-extras-0.4.0-new//applets/maintained/notification-daemon/daemon.c ---- awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c 2010-04-09 16:26:20.000000000 -0700 -+++ awn-extras-0.4.0-new//applets/maintained/notification-daemon/daemon.c 2011-03-06 09:33:33.603336393 -0800 -@@ -1487,7 +1487,15 @@ - if (fork() == 0) - { - notify_init("notify-send"); -- notify = notify_notification_new(summary, body, icon_str, NULL); -+ #ifdef NOTIFY_CHECK_VERSION -+ #if NOTIFY_CHECK_VERSION (0, 7, 0) -+ notify = notify_notification_new(summary, body, icon_str); -+ #else -+ notify = notify_notification_new(summary, body, icon_str, NULL); -+ #endif -+ #else -+ notify = notify_notification_new(summary, body, icon_str, NULL); -+ #endif - notify_notification_set_category(notify, type); - notify_notification_set_urgency(notify, urgency); - notify_notification_set_timeout(notify, expire_timeout); diff --git a/community/awn-extras-applets/weather.patch b/community/awn-extras-applets/weather.patch deleted file mode 100644 index 62bfb4dbd..000000000 --- a/community/awn-extras-applets/weather.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/awn-extras-applets-0.2.6/src/weather/weather.py~ 2008-05-09 02:20:39.000000000 +0200 -+++ src/awn-extras-applets-0.2.6/src/weather/weather.py 2008-05-09 02:21:06.000000000 +0200 -@@ -315,7 +315,7 @@ - - - def get_conditions(self): -- url = 'http://xoap.weather.com/weather/local/' + self.location_code + '?cc=*&prod=xoap&par=1048871467&key=12daac2f3a67cb39' -+ url = 'http://xoap.weather.com/weather/local/' + self.location_code + '?cc=*&link=xoap&par=1048871467&key=12daac2f3a67cb39' - if self.units == "Metric": - url = url + '&unit=m' - try: |