Re: demoting a dependency

2009-03-31 Thread Marco d'Itri
On Mar 31, Steve Langasek wrote: > libkrb5 is also Priority: standard these days, so is it really necessary to > try that hard, anyway? Thanks to symbol dependencies this removed the need for backports. -- ciao, Marco signature.asc Description: Digital signature

Re: demoting a dependency

2009-03-31 Thread Russ Allbery
Mike Hommey writes: > On Tue, Mar 31, 2009 at 03:21:02PM +0200, Marco d'Itri wrote: >> Is there a more elegant way to do this? > > You just don't do it like that, because: > $ ldd /usr/lib/news/bin/auth/passwd/auth_krb5 | grep com_err > libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7f2f000

Re: demoting a dependency

2009-03-31 Thread Steve Langasek
Sorry for the replying everywhere, forgot that I also meant to comment on this. On Tue, Mar 31, 2009 at 03:21:02PM +0200, Marco d'Itri wrote: > Is there a more elegant way to do this? > install: > ... > # try hard to not depend on libkrb5* since usually it's not needed libkrb5 is

Re: demoting a dependency

2009-03-31 Thread Steve Langasek
On Tue, Mar 31, 2009 at 03:36:21PM +0200, Mike Hommey wrote: > On Tue, Mar 31, 2009 at 03:21:02PM +0200, Marco d'Itri wrote: > > Is there a more elegant way to do this? > You just don't do it like that, because: > $ ldd /usr/lib/news/bin/auth/passwd/auth_krb5 | grep com_err > libcom_err.s

Re: demoting a dependency

2009-03-31 Thread Steve Langasek
On Tue, Mar 31, 2009 at 10:17:47PM +0200, Marco d'Itri wrote: > On Mar 31, Mike Hommey wrote: > > If you don't want to depend on libcomerr2, don't depend on it. It's not > > because libkrb5-3 already depends on it that it's a proper thing to > > remove the dependency that way. What happens when l

Re: demoting a dependency

2009-03-31 Thread Marco d'Itri
On Mar 31, Mike Hommey wrote: > If you don't want to depend on libcomerr2, don't depend on it. It's not > because libkrb5-3 already depends on it that it's a proper thing to > remove the dependency that way. What happens when libkrb5-3 depends > on libcomerr3 ? Plenty of segfaults because both wo

Re: demoting a dependency

2009-03-31 Thread Adeodato Simó
* Paul Wise [Tue, 31 Mar 2009 22:42:32 +0800]: > On Tue, Mar 31, 2009 at 9:21 PM, Marco d'Itri wrote: > > Is there a more elegant way to do this? > Not sure if it would work with your case, but xchat used this to > demote plugin dependencies to recommends: > dh_shlibdeps -a -u'-dDepends debian/

Re: demoting a dependency

2009-03-31 Thread Paul Wise
On Tue, Mar 31, 2009 at 9:21 PM, Marco d'Itri wrote: > Is there a more elegant way to do this? Not sure if it would work with your case, but xchat used this to demote plugin dependencies to recommends: dh_shlibdeps -a -u'-dDepends debian/xchat/usr/bin/xchat -dRecommends' -- bye, pabs http://w

Re: demoting a dependency

2009-03-31 Thread Mike Hommey
On Tue, Mar 31, 2009 at 03:21:02PM +0200, Marco d'Itri wrote: > Is there a more elegant way to do this? You just don't do it like that, because: $ ldd /usr/lib/news/bin/auth/passwd/auth_krb5 | grep com_err libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7f2f000) If you don't want to depend o

demoting a dependency

2009-03-31 Thread Marco d'Itri
Is there a more elegant way to do this? install: ... # try hard to not depend on libkrb5* since usually it's not needed dh_shlibdeps --exclude=/usr/lib/news/bin/auth/passwd/auth_krb5 dpkg-shlibdeps -Tdebian/tmp.substvars -dSuggests \ $D/usr/lib/news/