On Mon, 14 Feb 2011 12:37:27 -0300 Alexis Ballier <aball...@gentoo.org> wrote:
> Have you thought about doing something like what was done for wxwidgets ? > > - an eselect module for out of portage builds > - an eclass creating symlinks for libpng.pc/.so in $T and setting the correct > -L flag for the linker and PKG_CONFIG_PATH for the .pc ? > > Not sure if this would work that easily but that's certainly better than > updating the version scans in every single package when a new libpng comes > out. I wouldn't recommend the wxwidgets method for something like libpng. The biggest wart is that every wxwidgets-using package has to use the framework or things will go haywire. The only thing that makes it maintainable is the relatively small number of these packages. wxwidgets was also designed for parallel installs from the beginning (that's what they claim anyways, we have to do a fair bit of hacking on it), so it has a well-established interface for choosing versions that every package already uses. We just sort of sit in the middle of that and translate. -- fonts, gcc-porting, it makes no sense how it makes no sense toolchain, wxwidgets but i'll take it free anytime @ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
signature.asc
Description: PGP signature