Debian Bug report logs -
#875272
gnome-clocks: Interface localisation does not work
Reported by: Vladimir Isaev <vvisaev@gmail.com>
Date: Sun, 10 Sep 2017 07:36:01 UTC
Severity: important
Tags: confirmed, fixed-upstream, l10n, patch
Found in version gnome-clocks/3.25.90-1
Done: Jeremy Bicha <jbicha@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#875272; Package gnome-clocks.
(Sun, 10 Sep 2017 07:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vladimir Isaev <vvisaev@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 10 Sep 2017 07:36:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gnome-clocks
Version: 3.25.90-1
Severity: normal
Tags: l10n
Dear Maintainer,
strace gnome-clocks for gtk30.mo:
open("/usr/share/locale/ru_RU.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru_RU.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru_RU/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru/LC_MESSAGES/libc.mo", O_RDONLY) = 4
strace gnome-clocks for gnome-clocks.mo:
open("/locale/ru_RU.UTF-8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/locale/ru_RU.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/locale/ru_RU/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/locale/ru.UTF-8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/locale/ru.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/locale/ru/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
So, for whatever reason gnome-clocks does not search for interface localisation at /usr/share/locale.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnome-clocks depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1
ii geoclue-2.0 2.4.7-1
ii libc6 2.24-17
ii libcairo2 1.14.10-1
ii libgdk-pixbuf2.0-0 2.36.5-2
ii libgeoclue-2-0 2.4.7-1
ii libgeocode-glib0 3.25.4.1-2
ii libglib2.0-0 2.53.6-1
ii libgnome-desktop-3-12 3.25.91.1-1
ii libgsound0 1.0.2-1+b1
ii libgtk-3-0 3.22.19-1
ii libgweather-3-6 3.25.92-1
gnome-clocks recommends no packages.
gnome-clocks suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#875272; Package gnome-clocks.
(Sun, 10 Sep 2017 09:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 10 Sep 2017 09:48:03 GMT) (full text, mbox, link).
Message #10 received at 875272@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 + confirmed patch
Am 10.09.2017 um 09:32 schrieb Vladimir Isaev:
> strace gnome-clocks for gnome-clocks.mo:
> open("/locale/ru_RU.UTF-8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/locale/ru_RU.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/locale/ru_RU/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/locale/ru.UTF-8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/locale/ru.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/locale/ru/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No
> such file or directory)
>
> So, for whatever reason gnome-clocks does not search for interface localisation at /usr/share/locale.
Thanks for your bug report.
This is indeed broken. It's a result of the switch to the meson build
system. The broken code is this:
> conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('datadir'), '/locale'))
The API doc says this about join_paths [1]:
Joins the given strings into a file system path segment. For example
join_paths('foo', 'bar') results in foo/bar. If any one of the
individual segments is an absolute path, all segments before it are
dropped. That means that join_paths('foo', '/bar') returns /bar.
So the trivial fix is as simple as the attached patch.
That said, it's unfortunate that gnome-photos redefines localedir when
meson already provides the localedir variable, see meson --help →
--localedir
[1] http://mesonbuild.com/Reference-manual.html#join_paths
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[meson.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Added tag(s) confirmed and patch.
Request was from Michael Biebl <biebl@debian.org>
to 875272-submit@bugs.debian.org.
(Sun, 10 Sep 2017 09:48:03 GMT) (full text, mbox, link).
Severity set to 'important' from 'normal'
Request was from Michael Biebl <biebl@debian.org>
to control@bugs.debian.org.
(Sun, 10 Sep 2017 09:51:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#875272; Package gnome-clocks.
(Sun, 10 Sep 2017 09:57:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 10 Sep 2017 09:57:02 GMT) (full text, mbox, link).
Message #19 received at 875272@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Am 10.09.2017 um 11:45 schrieb Michael Biebl:
> So the trivial fix is as simple as the attached patch.
> That said, it's unfortunate that gnome-photos redefines localedir when
> meson already provides the localedir variable, see meson --help →
> --localedir
Just in case it wasn't obvious, I think a better solution is to use
localedir like this
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[meson2.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#875272; Package gnome-clocks.
(Sun, 10 Sep 2017 11:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Paolo Borelli <paolo.borelli@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 10 Sep 2017 11:45:03 GMT) (full text, mbox, link).
Message #24 received at 875272@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Thanks Michael, feel free to push the best patch upstream.
Paolo
Il 10 Set 2017 11:53, "Michael Biebl" <biebl@debian.org> ha scritto:
> Am 10.09.2017 um 11:45 schrieb Michael Biebl:
> > So the trivial fix is as simple as the attached patch.
> > That said, it's unfortunate that gnome-photos redefines localedir when
> > meson already provides the localedir variable, see meson --help →
> > --localedir
>
> Just in case it wasn't obvious, I think a better solution is to use
> localedir like this
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#875272; Package gnome-clocks.
(Sun, 10 Sep 2017 12:09:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 10 Sep 2017 12:09:11 GMT) (full text, mbox, link).
Message #29 received at 875272@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 + fixed-upstream
Am 10.09.2017 um 13:40 schrieb Paolo Borelli:
> Thanks Michael, feel free to push the best patch upstream.
Pushed to master as 4f7366b
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Added tag(s) fixed-upstream.
Request was from Michael Biebl <biebl@debian.org>
to 875272-submit@bugs.debian.org.
(Sun, 10 Sep 2017 12:09:11 GMT) (full text, mbox, link).
Reply sent
to Jeremy Bicha <jbicha@debian.org>:
You have taken responsibility.
(Mon, 11 Sep 2017 19:33:12 GMT) (full text, mbox, link).
Notification sent
to Vladimir Isaev <vvisaev@gmail.com>:
Bug acknowledged by developer.
(Mon, 11 Sep 2017 19:33:12 GMT) (full text, mbox, link).
Message #36 received at 875272-done@bugs.debian.org (full text, mbox, reply):
I apologize for not mentioning this bug in the changelog but this
issue should be fixed in 3.26.0-1 which will build for unstable in a
few hours. Because it's a regular upload, it should migrate to testing
in about 5-6 days unless there's some other issue.
Thanks,
Jeremy Bicha
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 10 Oct 2017 07:30:38 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:58:16 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.