Tags: patch
The problem is that the pgpinline plugin depends on libgpgme to be
loaded, but the in the .so this isn't enforced (there is no NEEDED entry
for libgpgme in pgpinline.so).
So when the plugin is gets loaded while libgpgme isn't loaded, you get
an unresolved symbols error. It's gone when you load the pgpmime plugin
before, because that one forces libgpgme to be loaded.
This has another side-effect that dh_shlibdeps doesn't recognize
libgpgme as dependency for the binary package.
I've attatched the proper fix for this problem.
Cheers,
Greek0
diff -Nur sylpheed-claws-pgpinline-plugin-0.5.orig/src/Makefile.am
sylpheed-claws-pgpinline-plugin-0.5/src/Makefile.am
--- sylpheed-claws-pgpinline-plugin-0.5.orig/src/Makefile.am 2004-11-10
07:09:06.000000000 +0100
+++ sylpheed-claws-pgpinline-plugin-0.5/src/Makefile.am 2005-02-19
12:21:10.000000000 +0100
@@ -8,7 +8,8 @@
pgpinline_la_LDFLAGS = \
-avoid-version -module \
- $(GTK_LIBS)
+ $(GTK_LIBS) \
+ $(GPGME_LIBS)
AM_CPPFLAGS = \
$(SYLPHEED_CLAWS_CFLAGS) \
diff -Nur sylpheed-claws-pgpinline-plugin-0.5.orig/src/Makefile.in
sylpheed-claws-pgpinline-plugin-0.5/src/Makefile.in
--- sylpheed-claws-pgpinline-plugin-0.5.orig/src/Makefile.in 2004-12-07
19:42:14.000000000 +0100
+++ sylpheed-claws-pgpinline-plugin-0.5/src/Makefile.in 2005-02-19
12:21:22.000000000 +0100
@@ -195,7 +195,8 @@
pgpinline_la_LDFLAGS = \
-avoid-version -module \
- $(GTK_LIBS)
+ $(GTK_LIBS) \
+ $(GPGME_LIBS)
AM_CPPFLAGS = \
$(SYLPHEED_CLAWS_CFLAGS) \