From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/liferea/ChangeLog | 143 ++++++++++++++++++++++++++++++++++++++ extra/liferea/PKGBUILD | 39 +++++++++++ extra/liferea/libnotify-0.7.patch | 21 ++++++ extra/liferea/liferea.install | 22 ++++++ 4 files changed, 225 insertions(+) create mode 100644 extra/liferea/ChangeLog create mode 100644 extra/liferea/PKGBUILD create mode 100644 extra/liferea/libnotify-0.7.patch create mode 100644 extra/liferea/liferea.install (limited to 'extra/liferea') diff --git a/extra/liferea/ChangeLog b/extra/liferea/ChangeLog new file mode 100644 index 000000000..c0861a7ae --- /dev/null +++ b/extra/liferea/ChangeLog @@ -0,0 +1,143 @@ +2011-03-07 Jan Steffens + + * liferea 1.6.5-2 + * Add patch for libnotify-0.7 + * Add hicolor-icon-theme dependency + +2010-09-29 Eric Belanger + + * liferea 1.6.5-1 + * Upstream update + +2010-06-30 Eric Belanger + + * liferea 1.6.4-1 + * Upstream update + * Changed libnotify depends to optdepends + * Tidied up package description + +2010-02-22 Eric Belanger + + * liferea 1.6.3-1 + * Upstream update + +2010-01-23 Eric Belanger + + * liferea 1.6.2-1 + * Upstream update + +2009-11-20 Eric Belanger + + * liferea 1.6.1-1 + * Upstream update + +2009-07-26 Eric Belanger + + * liferea 1.6.0-1 + * Upstream update + * Updated depends + * Added lua support + +2009-07-01 Jan de Groot + + * liferea 1.4.28-2 + * Rebuild for xulrunner 1.9.1 + * Remove networkmanager dependencies + +2009-04-13 Eric Belanger + + * liferea 1.4.28-1 + * Upstream update + +2009-03-15 Eric Belanger + + * liferea 1.4.27-1 + * Upstream update + +2009-02-21 Eric Belanger + + * liferea 1.4.25-1 + * Upstream update + +2009-02-01 Eric Belanger + + * liferea 1.4.24-1 + * Upstream update + +2008-12-29 Eric Belanger + + * liferea 1.4.23-1 + * Upstream update + +2008-11-14 Eric Belanger + + * liferea 1.4.22d-1 + * Upstream update + +2008-10-27 Eric Belanger + + * liferea 1.4.20-1 + * Forced downgrade (close FS#11899) + +2008-10-26 Eric Belanger + + * liferea 1.4.21b-1 + * Upstream update + +2008-10-01 Eric Belanger + + * liferea 1.4.20-1 + * Upstream update + +2008-09-06 Eric Belanger + + * liferea 1.4.19-1 + * Upstream update + +2008-08-03 Eric Belanger + + * liferea 1.4.18-2 + * Rebuilt against gnutls 2.4.1 + +2008-07-28 Eric Belanger + + * liferea 1.4.18-1 + * Upstream update + * Updated xulrunner 1.9 support patch + * Added intltool makedepends + * Removed force option + +2008-06-22 Jan de Groot + + * liferea 1.4.16b-2 + * Build with xulrunner 1.9 + * Add patch from gentoo to fix xulrunner 1.9 support + * Make versioned dependencies more strict + * Drop dependencies covered by xulrunner 1.9 + +2008-06-17 Eric Belanger + + * liferea 1.4.16b-1 + * Upstream update + * Added force option + +2008-06-13 Eric Belanger + + * liferea 1.4.16-1 + * Upstream update + +2008-04-17 Eric Belanger + + * liferea 1.4.15-1 + * Upstream update + +2008-03-12 Eric Belanger + + * liferea 1.4.14-1 + * Upstream update + +2008-03-06 Eric Belanger + + * liferea 1.4.13-1 + * Upstream update + * Cleaned install scriptlet diff --git a/extra/liferea/PKGBUILD b/extra/liferea/PKGBUILD new file mode 100644 index 000000000..cbc0f1c96 --- /dev/null +++ b/extra/liferea/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 112823 2011-03-07 01:00:08Z eric $ +# Maintainer: Eric Belanger + +pkgname=liferea +pkgver=1.6.5 +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' '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 + 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 +} + +package() { + cd "${srcdir}/liferea-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas +} diff --git a/extra/liferea/libnotify-0.7.patch b/extra/liferea/libnotify-0.7.patch new file mode 100644 index 000000000..6dbbffb87 --- /dev/null +++ b/extra/liferea/libnotify-0.7.patch @@ -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)); diff --git a/extra/liferea/liferea.install b/extra/liferea/liferea.install new file mode 100644 index 000000000..7d812ccdb --- /dev/null +++ b/extra/liferea/liferea.install @@ -0,0 +1,22 @@ +pkgname=liferea + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + 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 ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} -- cgit v1.2.3-54-g00ecf