Add patch to adapt to Debian's tzdata 2023c-8
authorJeremy Bícha <jeremy.bicha@canonical.com>
Tue, 8 Aug 2023 13:50:55 +0000 (09:50 -0400)
committerJeremy Bícha <jeremy.bicha@canonical.com>
Tue, 8 Aug 2023 19:44:30 +0000 (15:44 -0400)
debian/patches/series
debian/patches/test-calendar-Update-timezone-name.patch [new file with mode: 0644]

index 8fb140ac79685e5272d6ded245ffeec188f92a28..8e7f46fa01757c2881a20ed004962df4c46f4048 100644 (file)
@@ -1,6 +1,7 @@
 Revert-tests-Stop-copying-the-tool-tests.patch
 Revert-build-Drop-the-install-tests-option.patch
 print-Revert-Start-sorting-apart-includes-change-for-gtkp.patch
+test-calendar-Update-timezone-name.patch
 debian/reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
 debian/reftests-Allow-minor-differences-to-be-tolerated.patch
 debian/Disable-inscription-markup.ui-reftest.patch
diff --git a/debian/patches/test-calendar-Update-timezone-name.patch b/debian/patches/test-calendar-Update-timezone-name.patch
new file mode 100644 (file)
index 0000000..9343483
--- /dev/null
@@ -0,0 +1,25 @@
+From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
+Date: Tue, 8 Aug 2023 09:47:14 -0400
+Subject: test-calendar: Update timezone name
+
+Debian no longer provides the MET timezone
+but instead provides geographical region and city name
+
+Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6258
+---
+ testsuite/gtk/calendar.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/testsuite/gtk/calendar.c b/testsuite/gtk/calendar.c
+index 4e76c71..809260d 100644
+--- a/testsuite/gtk/calendar.c
++++ b/testsuite/gtk/calendar.c
+@@ -10,7 +10,7 @@ test_calendar_set_day (void)
+   cal = gtk_calendar_new ();
+-  tz = g_time_zone_new_identifier ("MET");
++  tz = g_time_zone_new_identifier ("Europe/Brussels");
+   g_assert_nonnull (tz);
+   dt = g_date_time_new (tz, 1970, 3, 1, 0, 0, 0);
+   g_assert_nonnull (dt);