|
Boost Interest : |
Subject: Re: [Boost-cmake] Configuration for sonames for the boost dynamic libraries on Unix
From: Sean Chittenden (sean_at_[hidden])
Date: 2009-10-28 16:26:16
>> gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1
>
> I'm fairly sure you can --disable-nls to get rid of gettext &
> libiconv.
>
>> pkgconfig has a tendency to suck in other gnome projects due to its
>> gnome lineage. Ugh.
>
> If you're referring to its limited use of glib, you can disable this
> too, and it'll use an embedded copy of the few things it uses from
> glib.
> Not ideal, but workable.
It's not that it's not possible, but package system maintainers tend
_not_ to have a "deny or disable by default" attitude towards
dependencies. Consequently, you end up with the kitchen sink (largely
because getting gnome and kde to work with all the various bells and
whistles requires a Herculean effort). My comment stems from the
point of view that "let's not put the users at risk of ending up with
the kitchen sink if we can avoid it, especially for something so
simple."
Troy, all you have to do is generate a text file like:
> prefix=/usr/local
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: FreeType 2
> Description: A free, high-quality, and portable font engine.
> Version: 9.12.3
> Requires:
> Libs: -L${libdir} -lfreetype -lz -Wl,-framework,CoreServices,-
> framework,ApplicationServices
> Cflags: -I${includedir}/freetype2 -I${includedir}
and dump it in a directory. All of those bits of info should be
available from cmake. If a user has pkg-config, they win. If not, no
loss. -sc
-- Sean Chittenden sean_at_[hidden]