${pkgconfig:Depends}

Bug #30635 reported by j^
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

for libs and the coresponding -dev packages it would be
nice to be able to add ${pkgconfig:Depends} to the Depends: stanca in debian/controll to get all packages that are listed in
the pkgconfig file libname.pc, like
Requires: glib-2.0
would resulit in libglib2.0-dev

the biggest problem is to get a mapping from the pkg-config
filename to the package that contains that .pc file.

Revision history for this message
Ian Jackson (ijackson) wrote :

Aren't the dependencies computed by dpkg-shlibdeps sufficient ?
For example, if you have a .pc which says Requires: glib-2.0 then your .so's or executables will, when scanned by dpkg-shlibdeps, produce appropriate dependencies on the relevant .deb.

Changed in dpkg:
assignee: nobody → ijackson
Revision history for this message
Colin Watson (cjwatson) wrote :

Ian, j^ appears to be talking about -dev packages, not library runtime packages.

This feels like it should be handled at a higher level than dpkg, though.

Ian Jackson (ijackson)
Changed in dpkg:
assignee: ijackson → nobody
Revision history for this message
Colin Watson (cjwatson) wrote :

debhelper seems like the most likely place for this sort of thing.

Changed in debhelper (Ubuntu):
status: New → Confirmed
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.