Hi,
With the recent release of pacman-g2/pacman-tools in -current a new
feature is added to your Frugalbuild, the asneeded/noasneeded options.
This option tweak the LDFLAGS to auto-magically accordingly before calling
build.
If you don't know what this option do, the idea behind this option is to
remove all the unnecessary .so, this will be a great help for example to
reduce the libpng/libjpeg propagation nightmare in glib/gtk projects.
So I propose that every developer try to add the following line between
the header and the first lines of definition of the FrugalBuild when
bumping/creating a script:
options+=('asneeded')
If the asneeded is a no go for some package simply use the line:
options+=('noasneeded')
There should be a very few of them (most likely based on the libtool ld
loader).
PLEASE USE THE EXACT LINES I WROTE AS MUCH AS POSSIBLE, so we can do some
seding for removal in case it will be a default in a future date.
This organization will help us to decide if a massive adoption is to be
adopted (which I suspect to be true), but it will be probably be done in
the next major if we reach a major consensus.
An IMPORTANT NOTICE: this option should affect the number of package
reported by "makepkg -a" invocation. PLEASE AVOID to take this as an
opportunity to reduce the dependency list of your package, you might break
packages without knowing. As such if you really want to reduce your
dependency list really think twice.
Cheers,
Michel
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel