FS#6861 - pkg-config --list-all fails if avahi is installed, but not qt

Attached to Project: Arch Linux
Opened by Alessio Bolognino (mOLOk) - Tuesday, 10 April 2007, 01:32 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 18 November 2007, 13:42 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If you run:
$ pkg-config
when avahi is installed, but not qt, here is what you get:
----------8<----------------------------8<-----------------------------
blkid blkid - Block device id library
taglib TagLib - Audio meta-data library
libberyldecoration libberyldecoration - Port of compiz Window decoration library for Beryl (Heliodor and Aquamarine)
flac FLAC - Free Lossless Audio Codec Library
fontsproto FontsProto - Fonts extension headers
libdecoration libdecoration - Window decoration library
com_err com_err - Common error description library
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'qt-mt', required by 'avahi-qt3', not found
----------8<----------------------------8<-----------------------------

I'm not sure how to fix this, but it's a problem :)
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 18 November 2007, 13:42 GMT
Reason for closing:  Won't implement
Comment by Roman Kyrylych (Romashka) - Tuesday, 10 April 2007, 11:20 GMT
offtopic: http://www.archlinux.org/packages/4303/ still says and points to System category while pkgconfig is in Base now.
Comment by Alessio Bolognino (mOLOk) - Tuesday, 10 April 2007, 11:42 GMT Comment by Jan de Groot (JGC) - Saturday, 14 April 2007, 12:06 GMT
Though this is broken, I wonder what broken developer would use pkg-config --list-all | grep somepkg" or something like that to find out about the existance of a certain package. This would be fixable in 3 ways:
- split avahi-qt as a standalone pkg (extra work for every update)
- remove avahi-qt from the qt package (disabled features)
- patch up the .pc file for avahi-qt to list qt-mt in requires.private

I think option 3 is the best, but I'm not sure if it still builds everything that would build before the patch.
Comment by Jan de Groot (JGC) - Sunday, 22 April 2007, 21:16 GMT
Scratch option 3, requires.private is for static linking only. I think option 1 will be the case then.

Loading...