gdk-pixbuf-query-loaders binary path not included in pkgconfig file

Bug #1982355 reported by Alberto Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdk-pixbuf (Ubuntu)
Fix Released
Low
Sebastien Bacher

Bug Description

The gdk-pixbuf-query-loaders binary path is supposed to be reported in the .pc file variable gdk_pixbuf_query_loaders so that it can be queried:

$ pkg-config --variable=gdk_pixbuf_query_loaders gdk-pixbuf-2.0
/usr/bin/gdk-pixbuf-query-loaders

However in Ubuntu the binary is in /usr/lib/`gcc -dumpmachine`/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders

This poses a challenge to build scripts for pixbuf loaders as they need to adapt to this distro-specific paths.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, indeed Debian moves that file to a versioned location to avoid conflict between api versions but the .pc should be updated to reflect that, I proposed a fix for it on https://salsa.debian.org/gnome-team/gdk-pixbuf/-/merge_requests/3 now

Changed in gdk-pixbuf (Ubuntu):
importance: Undecided → Low
assignee: nobody → Sebastien Bacher (seb128)
status: New → In Progress
Revision history for this message
Alberto Ruiz (alberto.ruiz) wrote :

Awesome! Thanks seb!

Revision history for this message
Sebastien Bacher (seb128) wrote :

the fix has been uploaded to Debian now https://tracker.debian.org/news/1349533/accepted-gdk-pixbuf-2428dfsg-2-source-into-unstable/ and will autosync to Ubuntu later today

Changed in gdk-pixbuf (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Alberto Ruiz (alberto.ruiz) wrote :

Thanks Seb!

Any chance this will land on Jammy at some point?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Yes, I think that's an ok candidate to cherry pick as a stable update

Revision history for this message
Alberto Ruiz (alberto.ruiz) wrote :

Great stuff, that'll allow me to fix my meson scripts upstream and run my Github Actions pipeline.

Again, thanks a lot for taking care of this Seb, always a pleasure!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.