On 2/8/09 16:30, Krzysztof KosiĆski wrote:
~suv-2 wrote:
The compilation took a really long time even compared to building inkscape itself and the installed libs have an overall size of 95 MB. Are _all_ of these libraries required to build inkscape?
No, in fact we currently use only Boost libraries that are header-only, so you don't need to compile Boost before compiling Inkscape (though your installation system might disagree). To be precise, we use boost::optional, boost::shared_ptr, boost/concept_check.hpp (used in 2geom) and a few other tidbits; I will probably use boost::ptr_list in the new node tool. On Debian, there are separate packages for the libraries that have runtime dependencies.
Pardon my naive follow-up question: if I put the required header files into the correct include-dirs, inkscape will build without linking to any libboost_*.a or libboost_*.dylib?
The files installed by MacPorts into ${prefix}include/boost/ aren't few either:
| LeWitt:mp suv$ du -sch include/boost/ | 56M include/boost/ | 56M total | LeWitt:mp suv$ ls -1 include/boost/ | wc -l | 193 | LeWitt:mp suv$
~suv