On Mon, Jun 3, 2019 at 01:19, Matthias Klumpp <matth...@tenstral.net>
wrote:
The problem is that these files are duplicates of the metainfo.its
files found in original AppStream:
https://github.com/ximion/appstream/tree/master/data/its
Those, at least currently, are even more up-to-date than the ones
shipped by appstream-glib, and I would like to keep the amount of
these files small. Ideally, Gettext would just ship the only canonical
version.
Indeed.
This could be solved by making appstream-util depend on the appstream
package, but that feels a bit excessive and would pull in more stuff
than necessary. Alternatively we could also split out the files into
their own package, which isn't ideal either. Or, of course, just
install the files appstream-glib ships (and then wonder why tools
translate files differently and which files are used when).
One advantage of shipping them with a -dev package that includes a
pkgconfig file is that it becomes trivial to ensure is provided by
requiring the package during build configuration, e.g. by requiring it
in meson.build. In this case it would be good, if isn't not just
shipped with gettext (either upstream or downstream), then the same
build dependency includes the same file.
tl;dr I need to think about it and maybe also test how Gettext
actually behaves if there are three ITS files providing the same thing
in multiple locations.
Sounds good, thanks!
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>