Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=e2e753c3ec4cdba55cdd686736a429ba410f3b70
commit e2e753c3ec4cdba55cdd686736a429ba410f3b70 Author: bouleetbil <[email protected]> Date: Wed Apr 20 15:58:00 2011 +0200 alarm-clock-1.4.3-2-x86_64 *fix libnotify support diff --git a/source/xapps-extra/alarm-clock/FrugalBuild b/source/xapps-extra/alarm-clock/FrugalBuild index f335871..614ea07 100644 --- a/source/xapps-extra/alarm-clock/FrugalBuild +++ b/source/xapps-extra/alarm-clock/FrugalBuild @@ -3,19 +3,19 @@ pkgname=alarm-clock pkgver=1.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="Alarm-clock is a light alarm program for GTK." url="http://www.alarm-clock.pl/" url2="http://linux.softpedia.com/get/Office/Scheduling/Alarm-Clock-31341.shtml" makedepends=('intltool>=0.35.0') -depends=('gstreamer' 'libnotify>=0.4.5-3' 'unique') +depends=('gstreamer' 'libnotify>=0.7' 'unique1') groups=('xapps-extra') archs=('i686' 'x86_64') #up2date="Flasttar '$url/index.php?option=com_content&view=article&id=1&Itemid=2'" up2date="lynx -dump $url2 | grep Alarm | head -1 | cut -d ' ' -f 3" -source=($url/files/$pkgname-$pkgver.tar.bz2) -sha1sums=('2f3135fa87e6a859faabe8d039a0d09ab745d3a6') - - +source=(http://ftp.frugalware.org/pub/frugalware/frugalware-current/source/xapps-extra/$pkgname/$pkgname-$pkgver.tar.bz2 \ + libnotify07.diff) +sha1sums=('2f3135fa87e6a859faabe8d039a0d09ab745d3a6' \ + '6d46ad8f19e61dc5d34acd9ed8717e4e242cb62a') # optimization OK diff --git a/source/xapps-extra/alarm-clock/libnotify07.diff b/source/xapps-extra/alarm-clock/libnotify07.diff new file mode 100644 index 0000000..975f2d3 --- /dev/null +++ b/source/xapps-extra/alarm-clock/libnotify07.diff @@ -0,0 +1,16 @@ +--- alarm-clock-1.4.3/src/alarm_runner.c.old 2010-11-04 18:24:49.000000000 +0100 ++++ alarm-clock-1.4.3/src/alarm_runner.c 2011-04-20 15:55:48.000000000 +0200 +@@ -212,12 +212,7 @@ + text = g_key_file_get_string(loaded_alarms, name, "PassivePopupText", NULL); + + if (notify != NULL) notify_notification_close(notify, NULL); +-#ifndef APPINDICATOR +- notify = notify_notification_new_with_status_icon(title, text, NULL, status_icon); +-#endif +-#ifdef APPINDICATOR +- notify = notify_notification_new(title, text, NULL, NULL); +-#endif ++ notify = notify_notification_new(title, text, NULL); + if (notify == NULL) g_print("BAD"); + notify_notification_set_urgency(notify, type); + notify_notification_set_timeout(notify, timeout * 1000); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
