Re: RFS: xinput-calibrator, too many gtkmm dependencies
To follow up, when building I get following warnings:
dpkg-shlibdeps: warning: dependency on libglib-2.0.so.0 could be avoided
if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided
if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if
"debian/xinput-calibrator/usr/bin/xinput_calibrator" were not uselessly
linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libXext.so.6 could be avoided if
"debian/xinput-calibrator/usr/bin/xinput_calibrator" were not uselessly
linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangomm-1.4.so.1 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgio-2.0.so.0 could be avoided
if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgobject-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgdk_pixbuf-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpango-1.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libcairo.so.2 could be avoided if
"debian/xinput-calibrator/usr/bin/xinput_calibrator" were not uselessly
linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgiomm-2.4.so.1 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgthread-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgtk-x11-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangocairo-1.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be avoided
if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgdk-x11-2.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangoft2-1.0.so.0 could be
avoided if "debian/xinput-calibrator/usr/bin/xinput_calibrator" were not
uselessly linked against it (they use none of its symbols).
The GUI used in the package is written in gtkmm, and I effectively don't
use any of the other libraries mentioned above.
I would be happy not to link to them, but I don't know how ?
My configure.ac reads:
PKG_CHECK_MODULES(GTKMM, [gtkmm-2.4], with_gui="gtkmm", ...)
and in debian/control, I simply have:
Depends: ${shlibs:Depends}, ${misc:Depends}
How can I link only to libgtkmm-2.4, and not to all of the others ?
Thanks in advance,
Tias
Reply to: