diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/patches/disable_Werror.patch | 31 | ||||
-rw-r--r-- | debian/patches/gtk_box_api.patch | 41 | ||||
-rw-r--r-- | debian/patches/lp_802384.patch | 18 | ||||
-rw-r--r-- | debian/patches/lp_844741.patch | 12 | ||||
-rw-r--r-- | debian/patches/series | 4 |
6 files changed, 2 insertions, 107 deletions
diff --git a/debian/changelog b/debian/changelog index 28866b4..fbf084b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,8 +12,9 @@ indicator-datetime (0.3.90-0ubuntu1~ppa1) UNRELEASED; urgency=low * debian/control: * Bumping libdbusmenu requirement to 0.5.90 * Added dependency on libtimezonemap + * debian/patches: Removed, all upstream. - -- Ted Gould <ted@ubuntu.com> Fri, 17 Feb 2012 16:21:42 -0600 + -- Ted Gould <ted@ubuntu.com> Fri, 17 Feb 2012 16:22:25 -0600 indicator-datetime (0.3.1-0ubuntu5) precise; urgency=low diff --git a/debian/patches/disable_Werror.patch b/debian/patches/disable_Werror.patch deleted file mode 100644 index fc267ca..0000000 --- a/debian/patches/disable_Werror.patch +++ /dev/null @@ -1,31 +0,0 @@ -Description: Disable -Werror, causes build failures due to deprecated symbols. -Author: Martin Pitt <martin.pitt@ubuntu.com> - -Index: indicator-datetime/src/Makefile.am -=================================================================== ---- indicator-datetime.orig/src/Makefile.am 2011-10-06 06:50:07.814203000 +0200 -+++ indicator-datetime/src/Makefile.am 2012-01-23 13:04:31.541545936 +0100 -@@ -15,7 +15,6 @@ - settings-shared.h - indicator_datetime_service_CFLAGS = \ - -Wall \ -- -Werror \ - $(SERVICE_CFLAGS) \ - -DTIMEZONE_FILE="\"/etc/timezone\"" \ - -DG_LOG_DOMAIN=\"Indicator-Datetime\" -@@ -33,7 +32,6 @@ - indicator-datetime.c - libdatetime_la_CFLAGS = \ - $(INDICATOR_CFLAGS) \ -- -Wall -Werror \ - -DTIMEZONE_FILE="\"/etc/timezone\"" \ - -DG_LOG_DOMAIN=\"Indicator-Datetime\" - libdatetime_la_LIBADD = \ -@@ -53,7 +51,6 @@ - settings-shared.h - libindicator_datetime_la_CFLAGS = \ - -Wall \ -- -Werror \ - -I$(top_srcdir)/libmap \ - $(PREF_CFLAGS) \ - -DTIMEZONE_FILE="\"/etc/timezone\"" \ diff --git a/debian/patches/gtk_box_api.patch b/debian/patches/gtk_box_api.patch deleted file mode 100644 index 0dd28f0..0000000 --- a/debian/patches/gtk_box_api.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> -Subject: Port to the new gtk_box_new() instead of gtk_hbox_new(). - -Index: indicator-datetime/src/indicator-datetime.c -=================================================================== ---- indicator-datetime.orig/src/indicator-datetime.c 2012-01-12 23:59:50.815675283 +0100 -+++ indicator-datetime/src/indicator-datetime.c 2012-01-13 00:02:24.083668449 +0100 -@@ -34,6 +34,7 @@ - #include <glib-object.h> - #include <glib/gi18n-lib.h> - #include <gio/gio.h> -+#include <gtk/gtk.h> - - /* Indicator Stuff */ - #include <libindicator/indicator.h> -@@ -1261,7 +1262,12 @@ - - mi_data->gmi = gtk_menu_item_new(); - -+#if GTK_CHECK_VERSION(3, 2, 0) -+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4); -+ gtk_box_set_homogeneous (GTK_BOX(hbox), FALSE); -+#else - GtkWidget * hbox = gtk_hbox_new(FALSE, 4); -+#endif - - /* Icon, probably someone's face or avatar on an IM */ - mi_data->icon = gtk_image_new(); -@@ -1472,7 +1478,12 @@ - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(mi_data->gmi), - dbusmenu_menuitem_property_get_bool(newitem, TIMEZONE_MENUITEM_PROP_RADIO)); - -+#if GTK_CHECK_VERSION(3, 2, 0) -+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4); -+ gtk_box_set_homogeneous (GTK_BOX(hbox), FALSE); -+#else - GtkWidget * hbox = gtk_hbox_new(FALSE, 4); -+#endif - - /* Label, probably a username, chat room or mailbox name */ - mi_data->label = gtk_label_new(""); diff --git a/debian/patches/lp_802384.patch b/debian/patches/lp_802384.patch deleted file mode 100644 index 2c30c9f..0000000 --- a/debian/patches/lp_802384.patch +++ /dev/null @@ -1,18 +0,0 @@ -=== modified file 'src/datetime-service.c' ---- a/src/datetime-service.c 2011-10-13 04:30:40 +0000 -+++ b/src/datetime-service.c 2011-10-23 21:54:15 +0000 -@@ -1404,7 +1404,12 @@ - - geo_master = client; - -- if (geo_master != NULL) { -+ if (error != NULL) { -+ g_warning("Unable to get a GeoClue client! '%s' Geolocation based timezone support will not be available.", error->message); -+ return; -+ } -+ -+ if (geo_master == NULL) { - g_warning(_("Unable to get a GeoClue client! Geolocation based timezone support will not be available.")); - return; - } - diff --git a/debian/patches/lp_844741.patch b/debian/patches/lp_844741.patch deleted file mode 100644 index 459779d..0000000 --- a/debian/patches/lp_844741.patch +++ /dev/null @@ -1,12 +0,0 @@ -=== modified file 'src/timezone-completion.c' ---- a/src/timezone-completion.c 2011-09-06 12:47:37 +0000 -+++ b/src/timezone-completion.c 2011-10-05 15:47:06 +0000 -@@ -355,7 +355,6 @@ - gchar * locale = get_locale (); - gchar * url = g_strdup_printf (GEONAME_URL, escaped, version, locale); - g_free (locale); -- g_free (version); - g_free (escaped); - - GFile * file = g_file_new_for_uri (url); - diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index ab309a3..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,4 +0,0 @@ -disable_Werror.patch -lp_844741.patch -lp_802384.patch -gtk_box_api.patch |