Date: Sunday, March 6, 2011 @ 18:21:16
  Author: heftig
Revision: 112800

upgpkg: liferea 1.6.5-2
Add patch for libnotify-0.7

Added:
  liferea/trunk/libnotify-0.7.patch
Modified:
  liferea/trunk/ChangeLog
  liferea/trunk/PKGBUILD
  liferea/trunk/liferea.install

---------------------+
 ChangeLog           |    6 ++++++
 PKGBUILD            |   14 +++++++++-----
 libnotify-0.7.patch |   21 +++++++++++++++++++++
 liferea.install     |    2 +-
 4 files changed, 37 insertions(+), 6 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog   2011-03-06 23:01:31 UTC (rev 112799)
+++ ChangeLog   2011-03-06 23:21:16 UTC (rev 112800)
@@ -1,3 +1,9 @@
+2011-03-07  Jan Steffens  <jan.steff...@gmail.com>
+
+       * liferea 1.6.5-2
+       * Add patch for libnotify-0.7
+       * Add hicolor-icon-theme dependency
+
 2010-09-29  Eric Belanger  <e...@archlinux.org>
 
        * liferea 1.6.5-1

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-03-06 23:01:31 UTC (rev 112799)
+++ PKGBUILD    2011-03-06 23:21:16 UTC (rev 112800)
@@ -3,24 +3,28 @@
 
 pkgname=liferea
 pkgver=1.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A desktop news aggregator for online news feeds and weblogs"
 arch=('i686' 'x86_64')
 url="http://liferea.sourceforge.net/";
 license=('GPL')
-depends=('gconf' 'libwebkit' 'libxslt' 'libglade' 'sqlite3')
+depends=('gconf' 'libwebkit' 'libxslt' 'libglade' 'sqlite3' 
'hicolor-icon-theme')
 makedepends=('pkg-config' 'intltool' 'lua' 'libnotify')
 optdepends=('lua: for lua scripting support'
             'libnotify: for notification support')
 options=('!libtool' '!emptydirs')
 install=liferea.install
 changelog=ChangeLog
-source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz)
-md5sums=('b5a2c0803eec5d0aff0b9ca4114eaf16')
-sha1sums=('f24dbd0e81c5a8309f0d19853211fc02ff818477')
+source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz
+        libnotify-0.7.patch)
+md5sums=('b5a2c0803eec5d0aff0b9ca4114eaf16'
+         'fca97e3316c1c51e0179c4c7dcce47a2')
+sha1sums=('f24dbd0e81c5a8309f0d19853211fc02ff818477'
+          '52e53dd11a0ffe62304c4f17e80bfe1412cfbf29')
 
 build() {
   cd "${srcdir}/liferea-${pkgver}"
+  patch -Np1 -i "$srcdir/libnotify-0.7.patch"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--disable-schemas-install
   make
 }

Added: libnotify-0.7.patch
===================================================================
--- libnotify-0.7.patch                         (rev 0)
+++ libnotify-0.7.patch 2011-03-06 23:21:16 UTC (rev 112800)
@@ -0,0 +1,21 @@
+diff -u -Nr liferea-1.6.5/src/notification/libnotify.c 
liferea-1.6.5-libnotify/src/notification/libnotify.c
+--- liferea-1.6.5/src/notification/libnotify.c 2009-06-20 20:33:19.000000000 
+0200
++++ liferea-1.6.5-libnotify/src/notification/libnotify.c       2011-03-06 
23:53:45.783336455 +0100
+@@ -150,7 +150,7 @@
+ //            notify_notification_update ( n, node_get_title(node_p), 
labelText_now_p, NULL);
+ //            notify_notification_clear_actions(n);
+ 
+-              n = notify_notification_new (node_get_title(node_p), 
labelText_now_p, NULL, NULL);
++              n = notify_notification_new (node_get_title(node_p), 
labelText_now_p, NULL);
+ 
+               notify_notification_set_icon_from_pixbuf 
(n,node_get_icon(node_p));
+ 
+@@ -244,7 +244,7 @@
+ 
+       labelSummary_p = g_strdup_printf (ngettext ("%s has %d new / updated 
headline\n", "%s has %d new / updated headlines\n", item_count), 
+                                         node_get_title (node), item_count);
+-      n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL, 
NULL);
++      n = notify_notification_new ( _("Feed Update"), labelSummary_p, NULL);
+       g_free(labelSummary_p);
+ 
+       notify_notification_set_icon_from_pixbuf (n, node_get_icon (node));

Modified: liferea.install
===================================================================
--- liferea.install     2011-03-06 23:01:31 UTC (rev 112799)
+++ liferea.install     2011-03-06 23:21:16 UTC (rev 112800)
@@ -14,7 +14,7 @@
 }
 
 pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 post_remove() {

Reply via email to