Control: tags 707350 + patch pending Dear maintainer,
I've prepared an NMU for indicator-messages (versioned as 0.6.0-1.1) and uploaded it to DELAYED/1. Please feel free to tell me if I should delay it longer. Regards -- Sebastian Ramacher
diff -Nru indicator-messages-0.6.0/debian/changelog indicator-messages-0.6.0/debian/changelog --- indicator-messages-0.6.0/debian/changelog 2012-05-21 11:41:25.000000000 +0200 +++ indicator-messages-0.6.0/debian/changelog 2013-06-01 12:09:31.000000000 +0200 @@ -1,3 +1,15 @@ +indicator-messages (0.6.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches: + - glib-deprecated.patch: Remove calls to deprecated glib functions. + (Closes: #707350) + - gtk3.0-deprecated.patch: Remove calls to deprecated GTK+ 3 functions. + * debian/control: Add libglib2.0-dev (>= 2.36) to Build-Depends to get high + enough dependencies on libglib2.0-0. + + -- Sebastian Ramacher <sramac...@debian.org> Sat, 01 Jun 2013 12:09:30 +0200 + indicator-messages (0.6.0-1) unstable; urgency=low * Merge new upstream release from Ubuntu. diff -Nru indicator-messages-0.6.0/debian/control indicator-messages-0.6.0/debian/control --- indicator-messages-0.6.0/debian/control 2012-05-21 11:41:20.000000000 +0200 +++ indicator-messages-0.6.0/debian/control 2013-06-01 11:54:56.000000000 +0200 @@ -6,6 +6,7 @@ Build-Depends: debhelper (>= 5.0), cdbs (>= 0.4.41), dh-autoreconf, + libglib2.0-dev (>= 2.36), libgtk2.0-dev (>= 2.12.0), libgtk-3-dev, libdbus-glib-1-dev, diff -Nru indicator-messages-0.6.0/debian/patches/glib-deprecated.patch indicator-messages-0.6.0/debian/patches/glib-deprecated.patch --- indicator-messages-0.6.0/debian/patches/glib-deprecated.patch 1970-01-01 01:00:00.000000000 +0100 +++ indicator-messages-0.6.0/debian/patches/glib-deprecated.patch 2013-06-01 12:02:47.000000000 +0200 @@ -0,0 +1,18 @@ +Description: Remove calls of deprecated glib functions +Author: Sebastian Ramacher <sramac...@debian.org> +Bug-Debian: http://bugs.debian.org/707350 +Last-Update: 2013-05-21 + +--- indicator-messages-0.6.0.orig/src/messages-service.c ++++ indicator-messages-0.6.0/src/messages-service.c +@@ -1520,8 +1520,10 @@ clear_attention_handler (MessageServiceD + int + main (int argc, char ** argv) + { ++#if !GLIB_CHECK_VERSION(2,35,0) + /* Glib init */ + g_type_init(); ++#endif + + /* Create the Indicator Service interface */ + service = indicator_service_new_version(INDICATOR_MESSAGES_DBUS_NAME, 1); diff -Nru indicator-messages-0.6.0/debian/patches/gtk3.0-deprecated.patch indicator-messages-0.6.0/debian/patches/gtk3.0-deprecated.patch --- indicator-messages-0.6.0/debian/patches/gtk3.0-deprecated.patch 1970-01-01 01:00:00.000000000 +0100 +++ indicator-messages-0.6.0/debian/patches/gtk3.0-deprecated.patch 2013-06-01 12:08:44.000000000 +0200 @@ -0,0 +1,18 @@ +Description: Remove calls to deprecated GTK+ 3 functions +Author: Sebastian Ramacher <sramac...@debian.org> +Last-Update: 2013-06-01 + +--- indicator-messages-0.6.0.orig/src/indicator-messages.c ++++ indicator-messages-0.6.0/src/indicator-messages.c +@@ -482,8 +482,9 @@ gtk_widget_get_font_size (GtkWidget *wid + #if GTK_CHECK_VERSION(3, 0, 0) + const PangoFontDescription *font; + +- font = gtk_style_context_get_font (gtk_widget_get_style_context (widget), +- gtk_widget_get_state_flags (widget)); ++ gtk_style_context_get (gtk_widget_get_style_context (widget), ++ gtk_widget_get_state_flags (widget), ++ "font", &font, NULL); + + return pango_font_description_get_size (font) / PANGO_SCALE; + #else diff -Nru indicator-messages-0.6.0/debian/patches/series indicator-messages-0.6.0/debian/patches/series --- indicator-messages-0.6.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ indicator-messages-0.6.0/debian/patches/series 2013-06-01 12:08:14.000000000 +0200 @@ -0,0 +1,2 @@ +glib-deprecated.patch +gtk3.0-deprecated.patch
signature.asc
Description: Digital signature