[pacman-dev] [PATCH] makepkg: rework libprovides

Florian Pritz bluewind at xinu.at
Sun Dec 25 12:02:42 EST 2011


On 25.12.2011 11:38, Allan McRae wrote:
> This reworks the implmentation of libprovides for the following
> benefits:
>  - Moves functionality from write_pkginfo() to find_libprovides()
>  - Only calculates the version for libraries specifically requested
>    and not all libraries. This has the disadvantage of running find
>    over the $pkgdir for as many libraries as needed, but is unlikely
>    to be an issue due to caching.
>  - The order of the provides array in the PKGBUILD is kept in the
>    package
>  - There are more warning messages when things fail and those that
>    were there are no longer errors (as I do not think failure of
>    libprovides should result in complete packaging failure)
>  - It is now modular so can be easy extended to other library types
>    other than ELF *.so.
> 
> Signed-off-by: Allan McRae <allan at archlinux.org>

Signed-off-by: Florian Pritz <bluewind at xinu.at>

> ---
> 
> Fixed version.
> 
>  scripts/makepkg.sh.in |   89 +++++++++++++++++++++++++++---------------------
>  1 files changed, 50 insertions(+), 39 deletions(-)
> 
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 64b33c6..8c6984d 100644


-- 
Florian Pritz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20111225/30aea0d2/attachment-0001.asc>


More information about the pacman-dev mailing list