debian-de...@liska.ath.cx (Olе Streicher) writes: > Gergely Nagy <alger...@balabit.hu> writes: >> debian-de...@liska.ath.cx (Olе Streicher) writes: >>> For example "saods9" would use slalib as a shared library, and I want to >>> git the user a choide to run it either with the free, or with the >>> non-free version. > >> Are the two libraries actually ABI compatible? Somehow I doubt that, but >> I might just be too sceptic when it comes to non-free software. > > They come from the same author, so I would assume (and test :-) ) that > they are compatible.
Aha, I see. In this case... well, I don't think there's a solution that's entirely satisfactory. The closest thing I can think of, is that one is called libfooN, while the other libfooN-nonfree, they conflict & replace each other, and both provide the same filenames. So far, it's easy. The hard part is making sure that dpkg-shlibdeps does the right thing, and produces dependencies like libfooN (>= blah) | libfooN-nonfree (>= blah). I'll leave this part as an excercise for the reader. >;) -- |8] -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87liod8pey.fsf@algernon.balabit