Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=a6834a2bd1bd4dd1a953ea09dcfdd1a105e4eb85
commit a6834a2bd1bd4dd1a953ea09dcfdd1a105e4eb85 Author: bouleetbil <bouleet...@frogdev.info> Date: Wed Jan 26 22:44:48 2011 +0100 transmission-2.13-4-x86_64 *rebuild with libnotify 0.7 diff --git a/source/xapps-extra/transmission/FrugalBuild b/source/xapps-extra/transmission/FrugalBuild index 3bab864..a9940a4 100644 --- a/source/xapps-extra/transmission/FrugalBuild +++ b/source/xapps-extra/transmission/FrugalBuild @@ -3,10 +3,10 @@ pkgname=transmission pkgver=2.13 -pkgrel=3 +pkgrel=4 pkgdesc="A free, lightweight BitTorrent Client." url="http://www.transmissionbt.com/" -depends=('curl>=7.19.0' 'libevent' 'libnotify' 'openssl>=1.0.0' 'gtk+2>=2.20.0-2') +depends=('curl>=7.19.0' 'libevent' 'libnotify>0.7' 'openssl>=1.0.0' 'gtk+2>=2.20.0-2') makedepends=('intltool') groups=('xapps-extra') archs=('i686' 'x86_64') @@ -14,8 +14,9 @@ _F_gnome_desktop="y" _F_gnome_iconcache="y" Finclude gnome-scriptlet up2date="Flasttarbz2 $url/download.php" -source=(http://download.transmissionbt.com/files/$pkgname-$pkgver.tar.bz2) -sha1sums=('2b2fa73d1d02d9617ec9f589053901d09d4d0ba4') +source=(http://download.transmissionbt.com/files/$pkgname-$pkgver.tar.bz2 libnotify07.diff) +sha1sums=('2b2fa73d1d02d9617ec9f589053901d09d4d0ba4' \ + '5843852c55a6060bc1a2d71c29271a607c601672') build() { diff --git a/source/xapps-extra/transmission/libnotify07.diff b/source/xapps-extra/transmission/libnotify07.diff new file mode 100644 index 0000000..49e839a --- /dev/null +++ b/source/xapps-extra/transmission/libnotify07.diff @@ -0,0 +1,17 @@ +diff -ur ../transmission-2.13.orig/gtk/notify.c ./gtk/notify.c +--- ../transmission-2.13.orig/gtk/notify.c 2010-12-10 01:23:21.000000000 +0530 ++++ ./gtk/notify.c 2010-12-28 21:32:41.073397263 +0530 +@@ -160,7 +160,12 @@ + if( pref_flag_get( PREF_KEY_SHOW_DESKTOP_NOTIFICATION ) ) + { + NotifyNotification * n = notify_notification_new( +- _( "Torrent Added" ), name, NULL, NULL ); ++ _( "Torrent Added" ), name, NULL ++/* the fourth argument was removed in libnotify 0.7.0 */ ++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) ++ , NULL ++#endif ++ ); + addIcon( n ); + notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT ); + notify_notification_show( n, NULL ); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git