<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>46672</bug_id>
          
          <creation_ts>2023-06-27 17:12:09 +0300</creation_ts>
          <short_desc>Удаление zone.tab сломало многие программы</short_desc>
          <delta_ts>2024-09-12 18:14:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>tzdata</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>47375</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Владимир Диденко">vladimir.didenko</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>aris</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>sem</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>228449</commentid>
    <comment_count>0</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2023-06-27 17:12:09 +0300</bug_when>
    <thetext>Вешаю пока на gnome-control-center, так как времени разбираться в деталях сейчас нет.

Описание проблемы. 

В последней версии пакета tzdata ldv@ убрал упаковку файла zone.tab и это изменение поломало мне гном - gnome-calendar стал неправильно показывать время событий, а gnome-control-center просто падает при попытке зайти в настройки даты/времени. Пока ручками себе создал zone.tab, но нужно, видимо, переходить на zone1970.tab.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228450</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-06-27 17:40:11 +0300</bug_when>
    <thetext>Cломались все, -- icu, libical. Дешевле вернуть zone.tab.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228452</commentid>
    <comment_count>2</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2023-06-27 18:03:13 +0300</bug_when>
    <thetext>Тогда на tzdata перевешиваю</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228454</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2023-06-27 18:10:23 +0300</bug_when>
    <thetext>Попробуйте, пожалуйста, отрепортить в апстрим, что пора переходить на zone1970.tab - может быть, у них есть план.  Возможно, нам придётся отказаться от zone.tab в любом случае по нетехническим причинам.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228461</commentid>
    <comment_count>4</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-06-27 18:52:17 +0300</bug_when>
    <thetext>Обоснование перехода и технические подробности, чтоб что-то там репортить апстримам мне не ведомы.

А вот, g-c-c из этого задания

[#323803] TESTED srpm=gnome-control-center-44.2-alt2.src.rpm

прикидывается рабочим, после простой замены zone.tab -&gt; zone1970.tab

--- panels/datetime/tz.h~	2023-06-27 18:41:21.197260155 +0300
+++ panels/datetime/tz.h	2023-06-27 18:07:30.013533043 +0300
@@ -28,7 +28,7 @@
 G_BEGIN_DECLS
 
 #ifndef __sun
-#  define TZ_DATA_FILE &quot;/usr/share/zoneinfo/zone.tab&quot;
+#  define TZ_DATA_FILE &quot;/usr/share/zoneinfo/zone1970.tab&quot;
 #else
 #  define TZ_DATA_FILE &quot;/usr/share/lib/zoneinfo/tab/zone_sun.tab&quot;
 #endif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228462</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2023-06-27 19:07:06 +0300</bug_when>
    <thetext>(In reply to Yuri N. Sedunov from comment #4)
&gt; Обоснование перехода и технические подробности, чтоб что-то там репортить
&gt; апстримам мне не ведомы.

$ sed &apos;/^#country-/,$d&apos; zone.tab
# tzdb timezone descriptions (deprecated version)
#
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
#
# From Paul Eggert (2021-09-20):
# This file is intended as a backward-compatibility aid for older programs.
# New programs should use zone1970.tab.  This file is like zone1970.tab (see
# zone1970.tab&apos;s comments), but with the following additional restrictions:
#
# 1.  This file contains only ASCII characters.
# 2.  The first data column contains exactly one country code.
#
# Because of (2), each row stands for an area that is the intersection
# of a region identified by a country code and of a timezone where civil
# clocks have agreed since 1970; this is a narrower definition than
# that of zone1970.tab.
#
# Unlike zone1970.tab, a row&apos;s third column can be a Link from
# &apos;backward&apos; instead of a Zone.
#
# This table is intended as an aid for users, to help them select timezones
# appropriate for their practical needs.  It is not intended to take or
# endorse any position on legal or territorial claims.
#</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>