Package: claws-mail Version: 3.10.1-2~bpo70+1 installing claws-mail 3.10+ on Debian (jessie and wheezy-backports) results to the installation of libgpgme and thus all the gnupg2 stuff, nearly doubling the required disk space (20.2MB vs 11.9MB on a minimal setup with openbox and iceweasel)
the claws-mail binary of the 3.10+ versions is linked to libgpgme, but it was not the case for the 3.8 version (Debian wheezy), anyway the binary does not use any of the exported symbols of gpgme I see no related changes in the sources, as gpgpme is only used by the pgp plugins, in both 3.8 and 3.10+, so why the resulting binary links to libgpgme? it may be related to the configure scripts, libtool or something else, but a simple way to fix it should be to remove the GPGME_LIBS from the claws_mail_LDADD variable in src/Makefile.am further research with the aid of 'ldd -r -u' and 'objdump -dpr' led me to figure out that libarchive is used only by a plugin, but it is linked with the claws-mail binary and with all the other plugins! (removing libarchive saves 0.9MB of additional space) the correct way should be to link only the pgp plugins with the GPGME_LIBS and only the archiver plugin with the ARCHIVE_LIBS, but I'm not really sure how to do it thanks to patchelf I tested claws-mail with libarchive, libassuan, libgpgme and libgpg-error removed and it runs fine (plugins not tested) ciao -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org