wok-current rev 17623

consonance: no more notify_notification_new_with_status_icon in libnotify 0.7+
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 13 10:41:31 2015 +0100 (2015-02-13)
parents 3439d7f01c8c
children 8896b3613b85
files alarm-clock/receipt consonance/receipt
line diff
     1.1 --- a/alarm-clock/receipt	Fri Feb 13 10:21:16 2015 +0100
     1.2 +++ b/alarm-clock/receipt	Fri Feb 13 10:41:31 2015 +0100
     1.3 @@ -20,7 +20,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	sed -i 's/notify_notification_new_with_status_icon.*/status_icon;/' \
     1.8 +	sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' \
     1.9  		src/alarm_runner.c
    1.10  	chmod +x install-sh
    1.11  	./configure && make && make install
     2.1 --- a/consonance/receipt	Fri Feb 13 10:21:16 2015 +0100
     2.2 +++ b/consonance/receipt	Fri Feb 13 10:41:31 2015 +0100
     2.3 @@ -21,7 +21,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 +	sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' src/statusicon.c
     2.9  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.10  	make &&
    2.11  	make DESTDIR=$DESTDIR install