Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 751784

Summary: dev-libs/glib with sys-libs/timezone-data[zic-slim]: improper DST switch
Product: Gentoo Linux Reporter: Maciej S. Szmigiero <mail>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 749591    

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(+)