[Bug 1751820] Re: Teach dh_translations how to deal with meson
Iain Lane
iain at orangesquash.org.uk
Fri Apr 6 18:01:48 UTC 2018
with this, I removed the dh_translations override from ubuntu-settings,
and:
dh_translations
check_buildsystem: got domain 'ubuntu-default-launchers', using intltool: 0
/usr/bin/ninja -C /home/laney/temp/ubuntu-settings-18.04.2/obj-x86_64-linux-gnu ubuntu-default-launchers-pot
ninja: Entering directory `/home/laney/temp/ubuntu-settings-18.04.2/obj-x86_64-linux-gnu'
[0/1] Running external command ubuntu-default-launchers-pot.
dh_langpack: processing files to add translation domain 'ubuntu-default-launchers'..
gnome-initial-setup.desktop
ubuntu-amazon-default.desktop
com.canonical.launcher.amazon.desktop
laney at raleigh> cat debian/ubuntu-settings/usr/share/ubuntu/applications/gnome-initial-setup.desktop
[Desktop Entry]
Name=Welcome to Ubuntu
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=ubuntu-logo-icon
TryExec=/usr/lib/gnome-initial-setup/gnome-initial-setup
Exec=/usr/lib/gnome-initial-setup/gnome-initial-setup
Terminal=false
Type=Application
StartupNotify=true
NoDisplay=true
X-Ubuntu-Gettext-Domain=ubuntu-default-launchers
laney at raleigh> ls po/ubuntu-default-launchers.pot
po/ubuntu-default-launchers.pot
but I guess the main thing to check is that it's not going to break
random other packages.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/1751820
Title:
Teach dh_translations how to deal with meson
Status in pkgbinarymangler package in Ubuntu:
Triaged
Bug description:
dh_translations is currently not capable to find the gettext domain
and generate the translation template on packages which use the meson
build system. It would be convenient if it was.
I started to think about code changes, but got stuck:
I suppose that we'd better use ninja instead of intltool-update for
such packages, and if so, we need to pass the build directory to the
ninja() call. How would we do that?
Or would we use intltool-update also for such packages?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/1751820/+subscriptions
More information about the foundations-bugs
mailing list