Skip to content

control: make -dev depend on -data

-data contains the ITS files needed to tell xgettext how to extract strings from keybinding & sound XML files. Other packages, like gnome-shell, distribute such files, and extract translatable string from them. Without a (transitive) dependency on gnome-control-center-data, the obvious way to regenerate gnome-shell's .pot file in a minimal build environment:

cd /path/to/gnome-shell/package
apt build-dep -y .
meson build
ninja -C build gnome-shell-pot

issues a warning:

xgettext: warning: file 'data/50-gnome-shell-system.xml' extension 'xml' is unknown; will try C

and the resulting .pot file is missing these strings.

Packages like gnome-shell already build-depend on gnome-control-center-dev; make that package depend on -data.

Alternative approach to gnome-shell!28 (closed) based on gnome-shell!28 (comment 111956).

Merge request reports

Loading