[pacman-dev] [PATCH] makepkg: Implement 'autolibprovides' option
ce.mohammad.alsaleh at gmail.com
Mon Oct 19 23:26:39 UTC 2015
On Tue, Oct 20, 2015 at 06:56:26AM +1000, Allan McRae wrote:
> On 20/10/15 06:05, Mohammad Alsaleh wrote:
> > The option tries to find all real (no symlinks) library names
> > in the paths a compiler/linker search for by default. And add
> > those libraries to libprovides.
> > The option is disabled by default.
> > Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh at gmail.com>
> > ---
> > Side notes:
> > 1- I wasn't sure where to define the option. Since all options
> > were moved to libmakepkg/tidy.
> > 2- A side benefit of this approach is that the developer does not
> > have to guess what to put exactly in provides. A discussion from
> > 2.5 years ago:
> > https://lists.archlinux.org/pipermail/pacman-dev/2013-May/017147.html
> > https://lists.archlinux.org/pipermail/pacman-dev/2013-May/017152.html
> As I said in reply to those two years ago and previously when
> libprovides first appeared, I will not approve any automatic additions
> to the provides or depends array.
If anyone is interested. This patch is broken as it causes the original
provides to be deleted. A fixed version along with another patch that
implements 'autolibdepends' are available here:
More information about the pacman-dev