After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769073 - build: Say good-bye to intltool
build: Say good-bye to intltool
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on: 769066
Blocks:
 
 
Reported: 2016-07-22 09:49 UTC by Florian Müllner
Modified: 2016-09-07 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Say good-bye to intltool (28.46 KB, patch)
2016-07-22 09:49 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2016-07-22 09:49:00 UTC
Inspired by https://blogs.gnome.org/mclasen/2016/07/21/using-modern-gettext/, see patch.
Comment 1 Florian Müllner 2016-07-22 09:49:04 UTC
Created attachment 331971 [details] [review]
build: Say good-bye to intltool

intltool is unmaintained nowadays while upstream gettext gained
support for formats like GSettings schemas and .desktop files,
and offers a mechanism to teach it about other XML formats not
yet supported out of the box which we can use for the rest.
So there's nothing stopping us, just make the switch ...
Comment 2 Florian Müllner 2016-08-19 20:41:19 UTC
Attachment 331971 [details] pushed as 3248c68 - build: Say good-bye to intltool
Comment 3 Piotr Drąg 2016-08-19 21:07:15 UTC
The three XML files in mutter are no longer extracted, as you can see at https://l10n.gnome.org/module/mutter/#master
Comment 4 Florian Müllner 2016-08-19 22:13:25 UTC
(In reply to Piotr Drąg from comment #3)
> The three XML files in mutter are no longer extracted, as you can see at
> https://l10n.gnome.org/module/mutter/#master

Do you have https://git.gnome.org/browse/gnome-control-center/commit/?id=f7fad92?
Comment 5 Piotr Drąg 2016-08-20 07:32:17 UTC
I can install those locally and generate .pot file for myself, but damned-lies is grossly outdated and doesn't even have a gettext with ITS support - https://bugzilla.gnome.org/show_bug.cgi?id=761992

Most translators use damned-lies exclusively to get translation files and would have a serious problem going through the hassle of setting up git, copying its/loc files, generating .pot file (and all the automake that goes with it) etc.

I think this change is a bit premature, and should depend on #761992 and the future bug mentioned in 755466#c17.
Comment 6 Piotr Drąg 2016-09-07 14:07:25 UTC
This is now fixed in damned-lies thanks to great work by Andrea and Claude.