Bug#879044: gobject-introspection: mini-policy: clarify where language overrides should be shipped

Emilio Pozuelo Monfort pochu at debian.org
Wed Oct 18 17:25:18 UTC 2017


Package: gobject-introspection
Version: 1.54.1-1
Severity: normal

Hi,

Some packages need to ship language override files. Some packages do that
in python*-foo binaries, whereas others do it in the gir* binaries. The
problem with the former is that rdeps need to depend on the python*-foo
package rather than / in addition to the gir1.2-foo-* package. Examples:

gedit: /usr/lib/python3/dist-packages/gi/overrides/Gedit.py

gir1.2-accounts-1.0: /usr/lib/python2.7/dist-packages/gi/overrides/Accounts.py
gir1.2-accounts-1.0: /usr/lib/python3/dist-packages/gi/overrides/Accounts.py
gir1.2-dee-1.0: /usr/lib/python2.7/dist-packages/gi/overrides/Dee.py
gir1.2-gexiv2-0.10: /usr/lib/python2.7/dist-packages/gi/overrides/GExiv2.py
gir1.2-gexiv2-0.10: /usr/lib/python3/dist-packages/gi/overrides/GExiv2.py

python-blockdev: /usr/lib/python2.7/dist-packages/gi/overrides/BlockDev.py
python-gst-1.0: /usr/lib/python2.7/dist-packages/gi/overrides/Gst.py
python-gst-1.0: /usr/lib/python2.7/dist-packages/gi/overrides/GstPbutils.py
python-gst-1.0: /usr/lib/python2.7/dist-packages/gi/overrides/_gi_gst.x86_64-linux-gnu.so
python-gst-1.0-dbg: /usr/lib/python2.7/dist-packages/gi/overrides/_gi_gst.x86_64-linux-gnu_d.so
python-v-sim: /usr/lib/python2.7/dist-packages/gi/overrides/v_sim.py
python-vipscc: /usr/lib/python2.7/dist-packages/gi/overrides/Vips.py
python3-blockdev: /usr/lib/python3/dist-packages/gi/overrides/BlockDev.py

python is probably ok, as it's an app and doesn't export the typelib, it's
shipped in /usr/lib/x86_64-linux-gnu/gedit/girepository-1.0/.

As for the rest: python*-gst may be special as it builds a library, but
for the others it may be best to just ship the overrides in the gir packages.

Thoughts?

Cheers,
Emilio

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gobject-introspection depends on:
ii  build-essential        12.4
ii  libc6                  2.24-17
ii  libffi6                3.2.1-6
ii  libgirepository-1.0-1  1.54.1-1
ii  libglib2.0-0           2.54.1-1
ii  python3                3.5.3-3
ii  python3-mako           1.0.7+ds1-1

gobject-introspection recommends no packages.

gobject-introspection suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list