tags 630301 + pending thanks Dear maintainer,
I've prepared an NMU for sensors-applet (versioned as 2.2.7-3.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Cheers, -- Jérémy Bobbio .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru sensors-applet-2.2.7/debian/changelog sensors-applet-2.2.7/debian/changelog --- sensors-applet-2.2.7/debian/changelog 2011-03-26 15:26:19.000000000 +0100 +++ sensors-applet-2.2.7/debian/changelog 2011-08-03 14:16:59.000000000 +0200 @@ -1,3 +1,11 @@ +sensors-applet (2.2.7-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix compatibility with libnotify0.7. Patch courtesy of Steve Langasek. + (Closes: #630301) + + -- Jérémy Bobbio <lu...@debian.org> Wed, 03 Aug 2011 14:16:58 +0200 + sensors-applet (2.2.7-3) unstable; urgency=low * Use dh-autoreconf to regenerate build system at build time. diff -Nru sensors-applet-2.2.7/debian/patches/libnotify_0.7_api_change sensors-applet-2.2.7/debian/patches/libnotify_0.7_api_change --- sensors-applet-2.2.7/debian/patches/libnotify_0.7_api_change 1970-01-01 01:00:00.000000000 +0100 +++ sensors-applet-2.2.7/debian/patches/libnotify_0.7_api_change 2011-08-03 14:16:12.000000000 +0200 @@ -0,0 +1,40 @@ +Description: Port sensors-applet to the new libnotify 0.7 API + Version 0.7 of libnotify drops an argument from the notify_notification_new() + call; fix up our invocation accordingly. +Author: Steve Langasek <steve.langa...@canonical.com> +Bug-Debian: http://bugs.debian.org/630301 + +Index: sensors-applet-2.2.7/sensors-applet/sensors-applet.c +=================================================================== +--- sensors-applet-2.2.7.orig/sensors-applet/sensors-applet.c ++++ sensors-applet-2.2.7/sensors-applet/sensors-applet.c +@@ -306,8 +306,7 @@ + + sensors_applet->notification = notify_notification_new(summary, + message, +- GTK_STOCK_DIALOG_WARNING, +- GTK_WIDGET(sensors_applet->applet)); ++ GTK_STOCK_DIALOG_WARNING); + g_free(summary); + g_free(message); + +Index: sensors-applet-2.2.7/sensors-applet/active-sensor-libnotify.c +=================================================================== +--- sensors-applet-2.2.7.orig/sensors-applet/active-sensor-libnotify.c ++++ sensors-applet-2.2.7/sensors-applet/active-sensor-libnotify.c +@@ -86,8 +86,7 @@ + g_debug("Creating new notification"); + active_sensor->notification[notif_type] = notify_notification_new(summary, + message, +- icon_filename, +- attach); ++ icon_filename); + g_signal_connect(active_sensor->notification[notif_type], "closed", + G_CALLBACK(notif_closed_cb), + active_sensor); +--- sensors-applet-2.2.7.orig/po/POTFILES.skip ++++ sensors-applet-2.2.7/po/POTFILES.skip +@@ -1 +1,3 @@ + SensorsApplet.server.in ++.pc/libnotify_0.7_api_change/sensors-applet/sensors-applet.c ++ diff -Nru sensors-applet-2.2.7/debian/patches/series sensors-applet-2.2.7/debian/patches/series --- sensors-applet-2.2.7/debian/patches/series 2011-03-26 15:51:05.000000000 +0100 +++ sensors-applet-2.2.7/debian/patches/series 2011-08-03 14:16:12.000000000 +0200 @@ -1 +1,2 @@ link-to-libdl.patch +libnotify_0.7_api_change
signature.asc
Description: Digital signature