On Mon, Dec 12, 2011 at 12:52:54PM +0100, Per Olofsson wrote: > Package: libenchant-dev > Version: 1.6.0-6 > Severity: minor > > When I build lyx, dpkg-shlibdeps complains about it unnecessarily > linking against libgmodule, libglib, and librt. > > It turns out that lyx depends on these libraries because it uses > enchant. Indeed: > > $ pkg-config --libs enchant > -pthread -lenchant -lgmodule-2.0 -lrt -lglib-2.0
Hi, Per Those libs seem to come from Requires: glib-2.0 gmodule-no-export-2.0 entry in upstream enchant.pc.in > It appears that enchant can be used without explicitly depending on > the extra libraries. Please consider moving them to Libs.private in > enchant.pc. I guess you mean that lyx can use enchant without explicitly depending on above libraries, enchant itself seems to heavily rely on glib-2.0. I am not familiar with pkg-config and friends. Should something like Requires.private help here? Or is better Libs.private as you suggest? PS: I am not enchant maintainer, just have it under my radar because I uploaded last QA. enchant itself is orphaned. Regards, -- Agustin -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111220121538.ga21...@agmartin.aq.upm.es