[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017304: libmateweather: FTBFS: Invalid timezones in ./Locations.xml.in: Europe/Kiev



user debian-release@lists.debian.org
usertags -1 + bsp-2022-10-de-karlsruhe
tags -1 + patch
thank you

Hi,

the build fails because the script check-timezones.sh checks
for locations/timezones that are not availabe in the tzdata database.
tzdata 2022b-1 renamed Kiev to Kyiv, which causes the check to fail now.

The attached patch updates the Locations.xml.in file to match
tzdata again.

Kind regards,
  Reiner
From 785d1fc604e4ccb918ad527b2ec5f804485257f9 Mon Sep 17 00:00:00 2001
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Sat, 15 Oct 2022 12:52:20 +0200
Subject: [PATCH] Update spelling of Kiev/Kyiv to match tzdata

Closes: #1017304
---
 debian/patches/series          |  1 +
 debian/patches/timezones.patch | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 debian/patches/series
 create mode 100644 debian/patches/timezones.patch

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ab7d170
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+timezones.patch
diff --git a/debian/patches/timezones.patch b/debian/patches/timezones.patch
new file mode 100644
index 0000000..b5cf901
--- /dev/null
+++ b/debian/patches/timezones.patch
@@ -0,0 +1,32 @@
+Author: Reiner Herrmann <reiner@reiner-h.de>
+Bug-Debian: https://bugs.debian.org/1017304
+Description: Update spelling of Kiev/Kyiv to match tzdata
+ tzdata 2022b-1 changed it from Kiev to Kyiv.
+
+--- a/data/Locations.xml.in
++++ b/data/Locations.xml.in
+@@ -20618,13 +20618,13 @@
+       <iso-code>UA</iso-code>
+       <fips-code>UP</fips-code>
+       <timezones>
+-        <timezone id="Europe/Kiev">
++        <timezone id="Europe/Kyiv">
+           <obsoletes>Europe/Simferopol</obsoletes>
+           <obsoletes>Europe/Uzhgorod</obsoletes>
+           <obsoletes>Europe/Zaporozhye</obsoletes>
+         </timezone>
+       </timezones>
+-      <tz-hint>Europe/Kiev</tz-hint>
++      <tz-hint>Europe/Kyiv</tz-hint>
+       <city>
+         <!-- A city in Ukraine -->
+         <name>Boryspil'</name>
+@@ -20700,7 +20700,7 @@
+              "Kiev" is the traditional English name.
+              The local name in Ukrainian is "Kyyiv".
+           -->
+-        <name>Kiev</name>
++        <name>Kyiv</name>
+         <coordinates>50.433333 30.516667</coordinates>
+         <location>
+           <name>Kyiv</name>
-- 
2.37.2


Reply to: