[Dev] Fwd: Re: [arch-dev-public] libdeps (was: ffmpeg 0.8 and x264)
fauno at kiwwwi.com.ar
Mon Oct 31 15:48:59 GMT 2011
----- Forwarded message from Florian Pritz <bluewind at xinu.at> -----
> Date: Mon, 31 Oct 2011 15:52:02 +0100
> From: Florian Pritz <bluewind at xinu.at>
> To: arch-dev-public at archlinux.org
> Subject: Re: [arch-dev-public] libdeps (was: ffmpeg 0.8 and x264)
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001
> On 31.10.2011 15:04, Ionut Biru wrote:
> > Hi,
> > we didn't had a large rebuild for a long time now.
> > i the same time i pushed a new x264 as well.
> > happy compiling.
> If you want to, you can try libdeps (previously called sodeps) with this
> Since pacman 4, makepkg will automatically add the library version to
> provide/depends entries ending in .so when writing .PKGINFO.
> A quick example for readline:
> - In the readline PKGBUILD one would add "provides=(libreadline.so)".
> When building makepkg expands that to "libreadline.so=6-64". 6 is the
> library version (from the soname) and 64 is the architecture (64-bit).
> - Then one could add "depends=(libreadline.so)" in the bash PKGBUILD
> and makepkg would check all binaries in the final package, extract the
> version numbers of the needed libraries and create "libreadline.so=6-64".
> - When upgrading now, pacman will ensure that the libreadline.so
> dependency for bash is always met and it will complain if the library
> gets updated and bash hasn't yet been rebuilt.
> This can also be handy to spot aur packages that will break when
> upgrading. (The warnings can be ignored by using the -d option in pacman)
> It will not break the PKGBUILD for older makepkg versions and it's also
> completely transparent to pacman. All the magic is done in makepkg.
> If you want to see which libraries a package links to or provides, you
> can use my scripts  .
> In case something is unclear, just ask :)
> : http://git.server-speed.net/bin/plain/find-libdeps.sh
> : http://git.server-speed.net/bin/plain/find-libprovides.sh
> Florian Pritz
----- End forwarded message -----
xmpp:fauno at kiwwwi.com.ar
OTR: C0CB1F0F 01DB5E18 2D634C2A A4626858 E7C7C3A2
"Freedom [...] is messy" ~ Eben Moglen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the Dev