[arch-commits] Commit in lxmusic/trunk (PKGBUILD libnotify-0.7.patch)

Balló György bgyorgy at archlinux.org
Tue Sep 23 12:58:13 UTC 2014


    Date: Tuesday, September 23, 2014 @ 14:58:12
  Author: bgyorgy
Revision: 119467

upgpkg: lxmusic 0.4.6-1

Update to version 0.4.6

Modified:
  lxmusic/trunk/PKGBUILD
Deleted:
  lxmusic/trunk/libnotify-0.7.patch

---------------------+
 PKGBUILD            |   16 ++++------------
 libnotify-0.7.patch |   27 ---------------------------
 2 files changed, 4 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-23 12:51:09 UTC (rev 119466)
+++ PKGBUILD	2014-09-23 12:58:12 UTC (rev 119467)
@@ -4,8 +4,8 @@
 # Contributor: Marcus Schulderinsky <mmaacceess at gmail dot com>
 
 pkgname=lxmusic
-pkgver=0.4.5
-pkgrel=2
+pkgver=0.4.6
+pkgrel=1
 pkgdesc='Lightweight XMMS2 client'
 arch=('i686' 'x86_64')
 url="http://lxde.org/"
@@ -13,17 +13,9 @@
 groups=('lxde')
 depends=('gtk2' 'libnotify' 'xmms2')
 makedepends=('intltool')
-source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
-        libnotify-0.7.patch)
-md5sums=('9c3e5eb636f05e8c190d359cd0c8b679'
-         '770c63254a7369613daeb6d1260d123f')
+source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz)
+md5sums=('38fc31793b11c43b6a8fda70faedfd54')
 
-prepare() {
-  cd $pkgname-$pkgver
-  # Port to libnotify-0.7
-  patch -Np1 -i $srcdir/libnotify-0.7.patch
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr

Deleted: libnotify-0.7.patch
===================================================================
--- libnotify-0.7.patch	2014-09-23 12:51:09 UTC (rev 119466)
+++ libnotify-0.7.patch	2014-09-23 12:58:12 UTC (rev 119467)
@@ -1,27 +0,0 @@
-Upstream:
-https://sourceforge.net/tracker/?func=detail&aid=3529198&group_id=180858&atid=894869
-Index: lxmusic-0.4.5/src/lxmusic-notify.c
-===================================================================
---- lxmusic-0.4.5.orig/src/lxmusic-notify.c
-+++ lxmusic-0.4.5/src/lxmusic-notify.c
-@@ -84,9 +84,20 @@ LXMusicNotification lxmusic_do_notify_pr
-     else 			
- 	g_string_append( message, title );
-     struct _LXMusicNotification *lxn = g_new ( struct _LXMusicNotification, 1);
-+#ifdef NOTIFY_CHECK_VERSION
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+    lxn->notify = notify_notification_new (summary, message->str, NULL);
-+#else
-     lxn->notify = notify_notification_new (summary, message->str, NULL, NULL);
-+#endif
-+#else
-+    lxn->notify = notify_notification_new (summary, message->str, NULL, NULL);
-+#endif
-     notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL);
-+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
-+    notify_notification_attach_to_status_icon(notify, priv->statusIcon);
-     notify_notification_attach_to_status_icon( lxn->notify, status_icon );
-+#endif
-     notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT);
-     g_string_free( message, TRUE );
-     return lxn;




More information about the arch-commits mailing list