On Tue, Nov 11, 2008 at 01:17:31AM -0600, DJ Lucas wrote:
> I had completely forgotten about gtk1 and made a typo, but I find this 
> to be very sloppy:
> 
> [EMAIL PROTECTED] gtk+-2.14.4]# pkg-config --libs gtk+
> sh: gtk-config: command not found
> sh: gtk-config: command not found
> sh: gtk-config: command not found
>  
> [EMAIL PROTECTED] gtk+-2.14.4]# pkg-config --libs gtk+-2.0
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz 
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
> [EMAIL PROTECTED] gtk+-2.14.4]#
> 
> Same thing for glib.  Should this be fixed at this point?
> 
 Funnily enough, I came near the glib-1 part of this yesterday, as
part of investigating things which ship their own copies of other
libraries.  In the end, I concluded that did no harm: it only uses
its copy of glib-1 to provide a static lib for itself, which is
perfctly acceptable.  The "workaround" for missing .pc files using
these long-obsolete -config files is just part of the program's
history.

 The main use of pkg-config is from within a configure script.  I
agree that it looks odd, but changing it risks damaging working
builds for people who still use the obsolete versions.  To me, it's
not worth spending time on.  YMMV.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to