Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751784 - dev-libs/glib with sys-libs/timezone-data[zic-slim]: improper DST switch
Summary: dev-libs/glib with sys-libs/timezone-data[zic-slim]: improper DST switch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: zic-slim
  Show dependency tree
 
Reported: 2020-10-29 17:32 UTC by Maciej S. Szmigiero
Modified: 2020-12-05 18:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2020-10-29 17:32:09 UTC
dev-libs/glib with sys-libs/timezone-data[zic-slim] does not switch from DST correctly for some time zones, at least for CE(S)T.

The upstream fix is here:
https://gitlab.gnome.org/GNOME/glib/-/commit/f5b4a6b9cc246928c5d52d0000c65777f90008dd

In addition to the above, its good to also include
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1683/diffs?commit_id=f79ab8b0e9e4cd2eb7ccd8015ac5de974907d5c6

The second fix alone, as suggested in some other bugs, is NOT sufficient.

These two above apply cleanly to glib and make the DST parsing work properly again, so they should be included in dev-libs/glib ebuild.

Tested with xfce4 panel clock applet, which otherwise displays DST time even though it has already ended for this year.
Comment 1 Matt Turner gentoo-dev 2020-12-05 17:42:22 UTC
Thanks. Looks like both of these commits are in v2.66.3.
Comment 2 Larry the Git Cow gentoo-dev 2020-12-05 18:49:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c535e168fb7b161aa8166ef5e157fe214edba8ba

commit c535e168fb7b161aa8166ef5e157fe214edba8ba
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-12-05 16:12:30 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-12-05 18:48:10 +0000

    dev-libs/glib: Version bump to 2.66.3
    
    Closes: https://bugs.gentoo.org/751784
    Closes: https://bugs.gentoo.org/754372
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/glib/Manifest           |   1 +
 dev-libs/glib/glib-2.66.3.ebuild | 291 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 292 insertions(+)