Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61855 - pgpinline (latest cvs) works with gtk2 branch of sylpheed-claws
Summary: pgpinline (latest cvs) works with gtk2 branch of sylpheed-claws
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 14:10 UTC by Andrej Kacian (RETIRED)
Modified: 2005-02-20 19:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2004-08-26 14:10:41 UTC
If you fetch cvs sources of pgpinline plugin with -r gtk2 tag, it works with gtk2 version of claws. Unfortunately, only this plugin works like this. :/
Comment 1 Colin Leroy 2004-09-22 05:34:45 UTC
in the very latest CVS, maildir and mailmbox have a gtk2 branch too.
In addition to this, there's a new vCalendar plugin that has both branches, but that may not be the correct bug to talk about it :)
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-09-22 05:36:34 UTC
I'll take a look at it when I'm back (two weeks or so)
Comment 3 Peter Fein 2004-10-08 15:42:52 UTC
Compilation fails on x86 for 0.9.12b (w/o gtk2, see below).

[ebuild     U ] mail-client/sylpheed-claws-0.9.12b [0.9.11] -calendar -clamav +c
rypt +dillo +gnome +imlib -ipv6 +ldap +maildir -mbox +nls +pda +pdflib +spell +s
sl -xface  677 kB 

<big snip>

sgpgme.c: In function `sgpgme_init':
sgpgme.c:285: error: `ALERT_WARNING' undeclared (first use in this function)
sgpgme.c:285: error: (Each undeclared identifier is reported only once
sgpgme.c:285: error: for each function it appears in.)
sgpgme.c:285: error: too many arguments to function `alertpanel_message_with_dis
able'
distcc[13415] ERROR: compile sgpgme.c on localhost failed
make[2]: *** [sgpgme.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12b/work/sylphee
d-claws-0.9.12b/src/plugins/pgpinline-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12b/work/sylphee
d-claws-0.9.12b/src/plugins/pgpinline-0.2'
make: *** [all] Error 2

!!! ERROR: mail-client/sylpheed-claws-0.9.12b failed.
!!! Function plugin_compile, Line 98, Exitcode 2
!!! plugin compile failed: pgpinline-0.2
Comment 4 Peter Fein 2004-10-08 23:05:21 UTC
The relevant code snippet from sgpgme.c

			val = alertpanel_message_with_disable
				(_("Warning"),
				 _("GnuPG is not installed properly, or needs "
				   "to be upgraded.\n"
				   "OpenPGP support disabled."), ALERT_WARNING);

This appears to match with alertpanel.h in the SC src, but there's no other place it gets used...

Sorry I can't be more helpful the - I've never seen the _("somestring") syntax before.
Comment 5 Peter Fein 2004-10-08 23:24:14 UTC
The ebuild is picking up version 0.9.11 in usr/include/sylpheed-claws/alertpanel.h

Should have included more output.  This is about as far as I'm gonna get...

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/include/gpgme3 -I/
usr/include/sylpheed-claws -I/usr/include/sylpheed-claws/common -I/usr/include/s
ylpheed-claws/gtk -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -
I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11
R6/include -I/usr/include/gpgme3 -I/var/tmp/portage/sylpheed-claws-0.9.12b/work/
sylpheed-claws-0.9.12b -I/var/tmp/portage/sylpheed-claws-0.9.12b/work/sylpheed-c
laws-0.9.12b/src -I/var/tmp/portage/sylpheed-claws-0.9.12b/work/sylpheed-claws-0
.9.12b/src/common -I/var/tmp/portage/sylpheed-claws-0.9.12b/work/sylpheed-claws-
0.9.12b/src/gtk -O2 -pipe -fomit-frame-pointer -march=pentium3 -mfpmath=sse -mmm
x -msse -MT pgpinline.lo -MD -MP -MF .deps/pgpinline.Tpo -c pgpinline.c -o pgpin
line.o >/dev/null 2>&1
sgpgme.c: In function `sgpgme_init':
Comment 6 Peter Fein 2004-10-13 11:55:42 UTC
Workaround: I unmerged the old version first & things built fine.  <shrug>
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2005-02-20 19:41:40 UTC
should all be fixed by now