On Fri, Sep 05, 2003 at 09:43:15PM -0400, Jason 'vanRijn' Kasper wrote:
> Well, I'm not really all that familiar with pkgconfig, to be perfectly
> honest.  But from 30 seconds of looking at the man page, it looks like
> --libs will what's mostly needed for this xft problem.  Also, it looks
> like the command will be:
> 
> pkg-config --libs blackbox

actually, --libs is just supposed to print the '-L/usr/local/lib -lbt'
bit you need to compile against libbt.  do you want me to just make sure
the same stuff gets in there for xft?  (i'd basically just conditionally
make libbt depend on xft if we compiled against it, and pkgconfig would
take care of getting its flags for me)  i assumed you'd want something
more along the lines of the '-DXFT -D_XFT_NO_COMPAT' stored in $(XFT) in
blackbox's make system.

let me know exactly what information you want and i'll figure out the
pkgconfigish way to get it to you.

> And you're doing this so that blackbox will install .pc files, right?
> (From the pkg-config manpage....)
> 
>        pkg-config retrieves information about packages from  special  metadata
>        files. These files are named after the package, with the extension .pc.
>        By default, pkg-config looks in the directory prefix/lib/pkgconfig  for
>        these  files;
> 
> I'm hoping someone on this list (Brad?) knows a smidgen more than me on
> this??  

yup.  there's a templated blackbox.pc.in that gets passed through a mini
sed scipt right before it's installed (just like the menu and styles).

basically, we need to make a couple decisions:

1) is this a package description for blackbox or libbt?  or do we want
one for each?  (blackbox could depend on libbt)

2) if blackbox is compiled against xft, what info will tool developers
need to make sure their tools do the same?  should we just list blackbox
as depending on xft if we compile against it?

once i get a firm answer on these, i can get a patch made for you guys.
(of course, we'll still need to actually .so-ify the lib, and put it
where the package description says, but that's a task for another day)

-- 
david bonner
[EMAIL PROTECTED]

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to