[pacman-dev] implement .so dependencies?

Florian Pritz bluewind at server-speed.net
Fri Jan 22 15:19:00 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Regarding the current mass rebuilds because of libpng I'd like to
suggest implementing so dependencies again.

There will be no more cases where packages break because of library
updates and as a nice side effect AUR users see what they have to rebuild.
Pacman will treat those dependencies like others so if a user is sure he
wants to update he can use -Sd.
I've also tested if packages with sodeps would slow down pacman
operation, but that's not really the case.

The current patch adds "sodep-$arch-$soFileName" for every .so file
that's owned by a package in the depends array. Files from optdepends
are silently ignored and if no dependency owns the file there will be a
warning.

I've just rebased the old patch onto HEAD, fixed a little bit and tested
it with libjpeg, so it should be fine.

- -- 
Florian Pritz -- {flo,bluewind}@server-speed.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLWgg0AAoJEG0WVcFM4cE+xlYP/08Ec1K9gFz0g8Q/+ag4S8+S
U9mInCwJTe9xnu+H1J9JRsMwZ8DzP8WUlc99pqgz9n9Nxk8cpE1eUU9IIluHzjvR
bJglYvAKIIknEtc1OkLVicFW2OfvgNzSwx73W6J3fELlzABpxtEMwmmXAJMaVZKq
aIVgZ/zFP5b6XJT14FfQJbR7Mj4V5mCAhY0W+5SJL58RIHxPRz1PJKbzuZUcqLBo
ouBcBPH9YuiSKufJhbsowyE6Hfyg4btFVHktr7EBvHtB/nb8Kk09LduloaQ9ZtEl
hdSlbQL36AI2xJdN4XyuP4+UKmSh4hJKxfVBBCcDeWZd4ZbcC4WIersBY4Ia3hle
96Z8IZG8ydfC6+Ii5wdhdgzwzgaI2ZitgzO/XTLvBB1xpL+gQpupcSFSuypiU0K0
Yz3gybnj1XKb/8UEpNgjuKu6G1UChnmbenSS6lYFotXNWilQM9kAkYTDMV/KoQa0
CeyflEuUJuggMsKPz71NJnRCxcXSEdhVebeB9jKX8l2TIOgHwIYmmbO3yMaowzF+
39zEAgxYxaLlTXQ2mnL/OkPrFjNQ1exyWwD1nW1N8n7Sr0zT21P4XK8kOrCQlTp7
XswSeZBV+pfR2Uby5hU6tUW9UvWZOHq2YZB7SAWfI7IEzcQxyVcbwwjuxplVgUr+
whZlxxDSfR0k6Uc9jeGm
=/iDR
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-support-for-.so-dependencies.patch
Type: text/x-patch
Size: 3911 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100122/49962cb7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-support-for-.so-dependencies.patch.sig
Type: application/octet-stream
Size: 543 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100122/49962cb7/attachment.obj>


More information about the pacman-dev mailing list