Bug#885019: reconsider placement of glib-compile-resources

Simon McVittie smcv at debian.org
Fri Dec 29 17:36:50 UTC 2017


On Sun, 24 Dec 2017 at 12:39:03 +0000, Simon McVittie wrote:
> As I said, I suspect we don't actually need the triplet-location after
> the .pc file has been updated, although I'd have to check in codesearch
> to be sure.

Here are the mentions of glib-compile-resources in packages.

All of them:

https://codesearch.debian.net/search?q=glib-compile-resources
curl -s https://codesearch.debian.net/results/30e4eb821ceedd07/packages.json | jq -r '.Packages[]'|LC_ALL=C sort -u > ~/tmp/glib-compile-resources/all.txt

pkg-config query (glib-2.0.m4 or otherwise):

https://codesearch.debian.net/search?q=variable[+%3D]glib_compile_resources
curl -s https://codesearch.debian.net/results/d3d180719676ef8e/packages.json | jq -r '.Packages[]'|LC_ALL=C sort -u > ~/tmp/glib-compile-resources/pkg-config.txt

Finding it some other way, mostly via PATH search:

combine all.txt not pkg-config.txt > not-pkg-config.txt

Path might be hard-coded:

https://codesearch.debian.net/search?q=%5B%2F%5Dglib-compile-resources
- glib2.0 (builds glib-compile-resources itself)
- msitools (false positive, hard-codes a Windows path)
- ruby-gnome2 (false positive, refers to GLib docs and contains an old
  GLib patch)

So I think it's OK to omit the formerly Debian-specific triplet-location.

The only packages whose build could be broken by moving
glib-compile-resources to -dev-bin are those that find it in PATH (not
via pkg-config), but do not build-depend on -dev or on -dev-bin, or on
one of an assortment of GTK libraries which themselves depend on
libglib2.0-dev (and for which it's reasonable to assume they will
always do so IMO):

for source in $(<not-pkg-config.txt); do grep-dctrl -FPackage -X "$source" /var/lib/apt/lists/*_Sources | grep-dctrl -n -sPackage --not -FBuild-Depends -FBuild-Depends-Indep -FBuild-Depends-Arch -w 'libglib2\.0-dev|libglib2\.0-dev-bin|libgtk-3-dev|libgtkmm-3\.0-dev|libglibmm-2\.0-dev|libgdk-pixbuf2\.0-dev|libgtk2\.0-dev' - | uniq; done

which produces this list:

aubio - false positive, contains waf which mentions g-c-r
jackd2 - same as aubio
lilv - same as aubio
lv2 - same as aubio
mpv - same as aubio
msitools - false positive as mentioned above
netsurf - transitive dependency via librsvg2-dev
norm - same as aubio
ns3 - same as aubio
revolt - will be broken by this change
ruby-gnome2 - false positive as mentioned above
serd - same as aubio
showq - same as aubio
sord - same as aubio
sratom - same as aubio
tilix - transitive dependency via libgtkd-3-dev
traildb - same as aubio

So I think I'll only need to report a bug against revolt, asking for
it to build-depend on
libglib2.0-dev-bin (>= next version) | libglib2.0-bin (<< next version),
or on libglib2.0-dev. Because it's Architecture: all (so won't hurt porters)
and has a popcon of 20 installations (so won't hurt many users), that
doesn't seem problematic to do.

    smcv
-------------- next part --------------
aghermann
aisleriot
anjuta
appstream
appstream-glib
aubio
baobab
bijiben
cardpeek
cinnamon-control-center
cinnamon-settings-daemon
cjs
cockpit
colord
colorhug-client
corebird
d-conf
dconf-editor
devhelp
engrampa
eog
eog-plugins
epiphany-browser
evince
evolution
evolution-data-server
evolution-ews
fcitx-configtool
file-roller
gdk-pixbuf
geary
gedit
gedit-plugins
gettext
ghex
gimagereader
girara
gitg
gjs
glade
glib2.0
glibmm2.4
gnome-applets
gnome-autoar
gnome-boxes
gnome-builder
gnome-calculator
gnome-chess
gnome-contacts
gnome-control-center
gnome-flashback
gnome-games-app
gnome-initial-setup
gnome-klotski
gnome-mines
gnome-music
gnome-nibbles
gnome-packagekit
gnome-panel
gnome-recipes
gnome-robots
gnome-settings-daemon
gnome-shell-pomodoro
gnome-sudoku
gnome-system-log
gnome-system-monitor
gnome-taquin
gnome-terminal
gnome-tetravex
gnome-themes-standard
gnubg
gobby
gobject-introspection
goobox
greybird-gtk-theme
gspell
gthumb
gtk-d
gtk-sharp3
gtkhash
gtkimageview
gtkmm-documentation
gtkmm3.0
gtksourceview3
gtkterm
gtranslator
gucharmap
guitarix
gxtuner
handbrake
hexchat
hitori
iagno
ibus-kkc
iio-sensor-proxy
jackd2
jalv
latexila
libgda5
libgtkada
libinfinity
libpeas
libwnck3
lightsoff
lilv
lv2
meson
metacity
mpv
msitools
nautilus
nemo
netsurf
network-manager
network-manager-applet
norm
ns3
numix-gtk-theme
nuntius-linux
openjfx
packagekit
parlatype
plank
pspp
qtwebkit-opensource-src
retro-gtk
revolt
rhythmbox
ring
rmlint
ruby-gnome2
seed-webkit2
serd
showq
sord
sound-juicer
sratom
suil
sushi
switcheroo-control
sysprof
tali
terminatorx
tilda
tilix
traildb
transmission
vim
virt-viewer
vte2.91
webkit2gtk
webkitgtk
wireshark
xfce4-dict
zathura
-------------- next part --------------
aghermann
aisleriot
anjuta
appstream
appstream-glib
aubio
baobab
bijiben
cardpeek
cinnamon-control-center
cinnamon-settings-daemon
cjs
cockpit
colord
colorhug-client
corebird
d-conf
dconf-editor
devhelp
engrampa
eog
eog-plugins
epiphany-browser
evince
evolution
evolution-data-server
evolution-ews
fcitx-configtool
file-roller
gdk-pixbuf
geary
gedit
gedit-plugins
gettext
ghex
gimagereader
girara
gitg
gjs
glade
glibmm2.4
gnome-applets
gnome-autoar
gnome-boxes
gnome-builder
gnome-calculator
gnome-chess
gnome-control-center
gnome-flashback
gnome-games-app
gnome-initial-setup
gnome-klotski
gnome-mines
gnome-nibbles
gnome-packagekit
gnome-panel
gnome-recipes
gnome-robots
gnome-settings-daemon
gnome-shell-pomodoro
gnome-sudoku
gnome-system-log
gnome-system-monitor
gnome-taquin
gnome-terminal
gnome-tetravex
gnubg
gobby
gobject-introspection
goobox
greybird-gtk-theme
gspell
gthumb
gtk-d
gtk-sharp3
gtkhash
gtkimageview
gtksourceview3
gtkterm
gtranslator
gucharmap
guitarix
gxtuner
handbrake
hitori
iagno
iio-sensor-proxy
jackd2
jalv
latexila
libgda5
libgtkada
libinfinity
libpeas
libwnck3
lightsoff
lilv
lv2
meson
metacity
mpv
msitools
nautilus
nemo
netsurf
network-manager
network-manager-applet
norm
ns3
numix-gtk-theme
nuntius-linux
openjfx
packagekit
parlatype
plank
pspp
retro-gtk
revolt
rhythmbox
ring
rmlint
ruby-gnome2
seed-webkit2
serd
showq
sord
sratom
suil
sushi
switcheroo-control
sysprof
tali
terminatorx
tilda
tilix
traildb
vim
virt-viewer
vte2.91
webkit2gtk
wireshark
xfce4-dict
zathura
-------------- next part --------------
anyremote
atk1.0
cheese
easytag
empathy
flatpak
font-manager
glib2.0
gnome-2048
gnome-characters
gnome-contacts
gnome-documents
gnome-logs
gnome-mahjongg
gnome-maps
gnome-music
gnome-online-accounts
gnome-photos
gnome-sound-recorder
gnome-sushi
gnome-themes-standard
gnome-weather
gnumeric
grilo-plugins
gtkmm-documentation
gtkmm3.0
gupnp-tools
hexchat
ibus-kkc
kbtin
krb5-auth-dialog
libgweather
mcabber
megatools
mutter
pan
pkg-config
polari
pygobject
qtwebkit
qtwebkit-opensource-src
roger-router
rygel
seahorse
shotwell
sigrok-cli
sound-juicer
telegnome
tlf
tracker
tracker-miners
transmission
webkitgtk
xdg-desktop-portal
xdg-desktop-portal-gtk


More information about the pkg-gnome-maintainers mailing list