[systemd-bugs] [Bug 79692] intltool and gettext required to build systemd from archive

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 20 05:54:58 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79692

Filipe Brandenburger <filbranden at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|systemd-bugs at lists.freedesk |filbranden at google.com
                   |top.org                     |

--- Comment #1 from Filipe Brandenburger <filbranden at google.com> ---
My plan is to get rid of the build time dependency on intltool and replace the
cases where intltool-merge is used (namely *.policy.in -> *.policy) with a
Python script (using lxml and Python's built-in gettext module) to achieve the
same conversion. I have a prototype of a ~60 lines Python script that does that
already.

intltool would only be used to generate the po/*.po translation templates when
a new *.policy.in is generated or when one of the existing ones is modified
(i.e. only needs to be used by developers who want to modify them.)

The gettext package would be used to compile the po/*.po into po/*.mo binaries
during build time but I'm planning to support --disable-nls in which case valid
*.policy files would be generated but without any translations in them. I also
think the right approach is to include the *.policy files into the
distribution, so typically a build from the tarball would not really require
gettext either.

Any comments on this approach?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140620/c5ba6b9e/attachment.html>


More information about the systemd-bugs mailing list