Author: megabajt Date: Sat Apr 9 20:28:06 2011 GMT Module: packages Tag: HEAD ---- Log message: - fixed build with libnotify 0.7 - release 4
---- Files affected: packages/padevchooser: padevchooser.spec (1.10 -> 1.11) , padevchooser-libnotify.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/padevchooser/padevchooser.spec diff -u packages/padevchooser/padevchooser.spec:1.10 packages/padevchooser/padevchooser.spec:1.11 --- packages/padevchooser/padevchooser.spec:1.10 Wed May 12 15:03:28 2010 +++ packages/padevchooser/padevchooser.spec Sat Apr 9 22:28:00 2011 @@ -3,12 +3,13 @@ Summary(pl.UTF-8): PulseAudio Device Chooser - narzędzie do wyboru urządzeń Name: padevchooser Version: 0.9.3 -Release: 3 +Release: 4 License: GPL v2+ Group: X11/Applications/Sound Source0: http://0pointer.de/lennart/projects/padevchooser/%{name}-%{version}.tar.gz # Source0-md5: 6a9b52ad349f3fb3d5a3ccdf85958710 Patch0: %{name}-desktop.patch +Patch1: %{name}-libnotify.patch URL: http://0pointer.de/lennart/projects/padevchooser/ BuildRequires: GConf2-devel >= 2.0 BuildRequires: gtk+2-devel >= 1:2.0 @@ -45,6 +46,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure \ @@ -73,6 +75,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.11 2011/04/09 20:28:00 megabajt +- fixed build with libnotify 0.7 +- release 4 + Revision 1.10 2010/05/12 13:03:28 baggins - rel 3 - fixed desktop categories ================================================================ Index: packages/padevchooser/padevchooser-libnotify.patch diff -u /dev/null packages/padevchooser/padevchooser-libnotify.patch:1.1 --- /dev/null Sat Apr 9 22:28:06 2011 +++ packages/padevchooser/padevchooser-libnotify.patch Sat Apr 9 22:28:00 2011 @@ -0,0 +1,15 @@ +diff -urN padevchooser-0.9.3/src/padevchooser.c padevchooser-0.9.3.new//src/padevchooser.c +--- padevchooser-0.9.3/src/padevchooser.c 2006-07-27 20:27:12.000000000 +0200 ++++ padevchooser-0.9.3.new//src/padevchooser.c 2011-04-09 22:25:35.012378517 +0200 +@@ -162,7 +162,11 @@ + + if (!notification) { + s = g_strdup_printf("<i>%s</i>\n%s", title, text); ++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) + notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon)); ++#else ++ notification = notify_notification_new(title, s, "audio-card"); ++#endif + notify_notification_set_category(notification, "device.added"); + notify_notification_set_urgency(notification, NOTIFY_URGENCY_LOW); + g_signal_connect_swapped(G_OBJECT(notification), "closed", G_CALLBACK(notification_closed), NULL); ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/padevchooser/padevchooser.spec?r1=1.10&r2=1.11&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
