cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

needless dependencies? #31

Closed anarcat closed 11 years ago

anarcat commented 11 years ago

I am trying to figure out why the Debian package (#26) is giving me this warning:

dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/irssi-plugin-otr/usr/lib/irssi/modules/libotr.so was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/irssi-plugin-otr/usr/lib/irssi/modules/libotr.so was not linked against librt.so.1 (it uses none of the library's symbols)

We don't specify any extra -lib to link against in our side of the build process, could there be too many depends in configure.ac?

dgoulet commented 11 years ago

These are for irssi headers. Without gmodule, the irssi header configure check and compilation fail.

However, the gmodule libs are not needed at linking time (only the cflags) so I'll push a fix for that later on. Thanks for the report!

dgoulet commented 11 years ago

Tell me if this fixes it and we'll close after that.

anarcat commented 11 years ago

It does, the only thing the Debian police finds now is this:

dpkg-shlibdeps: warning: debian/irssi-plugin-otr/usr/lib/irssi/modules/libotr.so contains an unresolvable reference to symbol servers: it's probably a plugin
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to see them all)

But I think that's fine, thanks!