[Gpg4win-commits] r588 - in trunk: . packages patches patches/claws-mail-3.0.2 src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Nov 15 20:45:36 CET 2007
Author: marcus
Date: 2007-11-15 20:45:35 +0100 (Thu, 15 Nov 2007)
New Revision: 588
Added:
trunk/patches/claws-mail-3.0.2/
trunk/patches/claws-mail-3.0.2/01-w32-logo.patch
trunk/patches/claws-mail-3.0.2/02-w32-icon.patch
trunk/patches/claws-mail-3.0.2/03-smime-plugin.patch
trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch
trunk/patches/claws-mail-3.0.2/99-auto.patch
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/packages/packages.current
trunk/src/Makefile.am
trunk/src/inst-regex.nsi
Log:
2007-11-15 Marcus Brinkmann <marcus at g10code.de>
* Makefile.am (EXTRA_DIST): Add these patches.
* packages/packages.current: Update claws mail. Download
regex-bin package.
* patches/claws-mail-3.0.2/01-w32-logo.patch,
patches/claws-mail-3.0.2/02-w32-icon.patch,
patches/claws-mail-3.0.2/03-smime-plugin.patch,
patches/claws-mail-3.0.2/04-gettimeofday.patch,
patches/claws-mail-3.0.2/99-auto.patch: New files.
* configure.ac: Make regex a GNUWIN32 package.
* src/inst-regex.nsi: Install regex.dll.
* src/Makefile.am: Do not delete regex shared library.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/ChangeLog 2007-11-15 19:45:35 UTC (rev 588)
@@ -1,3 +1,17 @@
+2007-11-15 Marcus Brinkmann <marcus at g10code.de>
+
+ * Makefile.am (EXTRA_DIST): Add these patches.
+ * packages/packages.current: Update claws mail. Download
+ regex-bin package.
+ * patches/claws-mail-3.0.2/01-w32-logo.patch,
+ patches/claws-mail-3.0.2/02-w32-icon.patch,
+ patches/claws-mail-3.0.2/03-smime-plugin.patch,
+ patches/claws-mail-3.0.2/04-gettimeofday.patch,
+ patches/claws-mail-3.0.2/99-auto.patch: New files.
+ * configure.ac: Make regex a GNUWIN32 package.
+ * src/inst-regex.nsi: Install regex.dll.
+ * src/Makefile.am: Do not delete regex shared library.
+
2007-11-14 Marcus Brinkmann <marcus at g10code.de>
* src/inst-kleopatra.nsi: Prefix kleopatra.bat by $BUILD_DIR.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/configure.ac 2007-11-15 19:45:35 UTC (rev 588)
@@ -169,7 +169,7 @@
GPG4WIN_BPKG_GNUWIN32([zlib])
GPG4WIN_BPKG_GNUWIN32_LIB([crypt])
-GPG4WIN_BPKG_GNUWIN32_LIB([regex])
+GPG4WIN_BPKG_GNUWIN32([regex])
GPG4WIN_BPKG_GNUWIN32([libpng], [pkgconfig])
GPG4WIN_BPKG_GNUWIN32([jpeg])
Modified: trunk/packages/packages.current
===================================================================
--- trunk/packages/packages.current 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/packages/packages.current 2007-11-15 19:45:35 UTC (rev 588)
@@ -29,8 +29,7 @@
# Gnuwin32 packages orginally hosted at sf.net but mirrored at g10code
-# for easier download. The regex-0.12 package has even disappeared
-# from Sourceforge.
+# for easier download.
server ftp://ftp.g10code.com/mirrors/gnuwin32
file zlib-1.2.3-bin.zip
@@ -59,6 +58,8 @@
file crypt-2.2.5-src.zip
chk 91c4c5e2790bc19909b03d6eaaf5d6c205b65f07
+file regex-0.12-bin.zip
+chk 13000b102f2e0ce5142ce0b5081820337c24da7d
file regex-0.12-lib.zip
chk 37e5aa61bdf26cd182ebc6169528c86f165c7e09
file regex-0.12-src.zip
@@ -86,8 +87,8 @@
#file claws-mail-2.10.0.tar.bz2
#chk 0ee38ec2dd0c37941b0bcc4af7ab441ec432c63c
-file claws-mail-3.0.0-rc2.tar.bz2
-chk 4fa89b8c2abefccd3f70e27de3e73e4d3319e83e
+file claws-mail-3.0.2.tar.bz2
+chk a607aca53a349f3a0a8d8f7a51f4754705e12350
#
# Pthreads for Windows.
Added: trunk/patches/claws-mail-3.0.2/01-w32-logo.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/01-w32-logo.patch 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/patches/claws-mail-3.0.2/01-w32-logo.patch 2007-11-15 19:45:35 UTC (rev 588)
@@ -0,0 +1,346 @@
+#! /bin/sh
+(cd src && uudecode < $0)
+exit $?
+
+Need to put logo in uuencoded format here, as diff can not represent
+binary files.
+
+begin 644 w32-logo.ico
+M```!``,`$!````$`(`!H!```-@```"`@```!`"``J!```)X$```P,````0`@
+M`*@E``!&%0``*````!`````@`````0`@````````!```````````````````
+M`````````````````````````````````````````!<````@````(````"``
+M```@````(````"`````@````'0`````````````````````````)&AH:7@``
+M`"914E)BZ^WO_^7FZ?_>W^/_U]G=_]#2U__*R]#_P\3*_Z*BJ.H`````````
+M````````````````&O+S]/_=WN'_R\W/_ZFKKO^BI*3_O+V__]?9VO_=W^'_
+MWN#C_]C9W?^UMKKJ``````````````````````("`C?\_O[_]OCX_^3FY__9
+MVMW_SL_3_\+$R?^PLK?_DI.7__/U]O_L[O#_RLK,Z@``````````````````
+M``- at 8&!\_/[^__S^_O_GZ.C_J:JJ_]_AX__5U]G_T-+6_[R]P__\_O[_:77+
+M_\[4V.H````````````````````2V-?2_NGKZ_^7EY?_S\_/_\3$Q/]_?W__
+MZ>OM_[_!P_^%AHC_T=/3_[G#[O_:WM_J````````````````%Q$(/\&]LO^*
+MBXO_?[#)_X:<IO]<@I;_8)BS_WEZ>_^!F:/_9H*,_UAQ<O^[GEO^````"0``
+M`````````````'-8*+3&H%'_ at J*M_Q02#?]B0R+_N;2I_RQ41_\WA&O_^?O[
+M_S(\+/]#453_S[)L_P```",```````````````!V2Q7Q:#4`_RU at 1_\@:E/_
+M+#8E_VQ)(O^-BES_)Y]Z_Z"0:O\I7$O_-IQ]_]&V<O\A'!),````````````
+M````5RT`Y&<T`/]]H*__."0-_S"7>/\D.BK_3DDT_S2B@?]!/S+_,J6#_].Y
+M??_2N';_!@8$-P```````````````#,>"'F)8CO_?Y"8_QF'9O\C037_.J:&
+M_R1N5_\?FW3_*IY[_]?`B/_9OX'_W<F:_P````X````````````````````<
+MJX]S_ZR0=/^/<$__:$XD_UY1,O\:=%C_%9=P_Q,9%/_BU*[_Z=NX_\VYB.\`
+M```!`````````````````````CTE#8_%L9[_Q;&>_\>THO^FEXG_=FUE_R\M
+M*_^3BWW_V\Z[_^O?P_\````3```````````````````````````````#1#`6
+M?=O0Q?_=TL?_WM3*_]K1Q__AU\W_X=C._^38O_X5$@P@````````````````
+M``````````````````````````$#`0`6 at G-.G.+0I_[NX\?_T\&6]658.F,`
+M```$````````````````````````````````````````````````````````
+M``````````````````````````````````````````````````#\`0``\`$`
+M`.`!``#@`0``X`$``,`!``#``P``P`$``,`!``#``0``P`,``,`#``#@`P``
+M\`<``/@?``#__P``*````"````!``````0`@````````$```````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M```#````%P```"`````@````(````"`````@````(````"`````@````(```
+M`"`````@````(````"`````@````(````!T````1````````````````````
+M```````````````````````````$````#````!D````1````!@````E/3U!A
+MO\'"ZN7GZ?_CY>?_WN#C_]S>X?_8V=W_UM?;_]'2U__.T-7_RLS1_\C)S__#
+MQ<O_P<+)_[R^Q/^ZO,+_FYRBZAP<'6@`````````````````````````````
+M``````````````````D````>&AH:7@,#`T0````F````'%%24F+&R,GJZ^WO
+M_^KK[?_EYNG_X^7G_][?X__<WN'_U]G=_]77V__0TM?_S]#5_\K+T/_(R<[_
+MP\3*_\'#R/^BHJCJ(2$B:```````````````````````````````````````
+M````````$P```#CK[>__Y.7G_\K+S?ZSM+;T at H*$SY>8F?;"Q,3_V-G9_^?I
+MZO_K[>[_[.[P_^KL[O_FY^K_Y.7H_]_AX__=W^'_V-K=_];8W/_1T]?_S]'5
+M_ZZPM>HJ*BMH``````````````````````````````````````````$````:
+M`P,#0O+S]/_L[O#_W=[A_]K<WO_+S<__OL##_JFKKO^9FIS_HJ2D_ZFJJO^\
+MO;__TM/5_]?9VO_0TM/_W=_A_^/EZ/_>X./_W=[A_]C9W?_6V-O_M;:ZZB\O
+M,&@``````````````````````````````````````````P```"M=7EZ&_/[^
+M__K\_/_M[N__YNCI_][@X?_;W-__T]77_]#1U?_'R<[_Q,7+_ZVNL_^:FZ#_
+MCH^1_XZ/D?^KK:W_Q,;'_^WO\/_K[.[_YNCJ_^3FZ/_#Q,?J.#@X:```````
+M```````````````````````````````````%`@("-XR-C:/\_O[__/[^__;X
+M^/_M[_#_Y.;G_^#BY/_9VMW_U=?:_\[/T__*R]#_PL3)_[[`Q?^PLK?_I*:L
+M_Y*3E_^`@8/_\_7V__'S]/_L[O#_Z^WN_\K*S.H\/#QH````````````````
+M`````````````````````0````M`0$!GS<[.W?S^_O_\_O[__/[^__O]_?_P
+M\O+_ZNSL_]W?X/_=WN#_VMS>_]?8V__/T-3_R\W1_\?(S?_&Q\S_OL#&_Z&B
+MIO_\_O[__/[^_[_%W_^ZP>;_TM36ZD5&1F@`````````````````````````
+M```````````#````$&!@8'S at XN+W_/[^__S^_O_\_O[__/[^_^?HZ/_=W=[_
+MJ:JJ_\G+S/_?X>/_W-[@_]77V?_4UMG_T-+6_\W/U/^\O</_K*VP__S^_O_\
+M_O[_:77+_VIST/_.U-CJ2DI*:```````````````````````````````````
+M``H````=KZREZOS^_O_\_O[_\?/S_YJ;F_^,C(S_MK:V_^;FYO^YN;G_JZNK
+M_Z"@H?^XNKO_Z>OM_^7FZ/^KK:__GZ"B_XF+C?^7F)C_]??W__S^_O]_B=[_
+M;';:_]+8VNI145%H````````````````````````````````````$@```"O8
+MU]+^_/[^_^GKZ_^?GY__EY>7_[R\O/_/S\__S,S,_\3$Q/_BXN+_?W]__Z:H
+MJ/_IZ^W_W=_ at _[_!P__(R<O_A8:(_Z*BHO_1T]/_^/KZ_[G#[O^KMNW_VM[?
+MZE565F<```````````````````````````````0````G3T$BC^3EY?_,S<W_
+MHJ*B_Y66EO^`H*[_?*.T_X>GM?^RO\7_38"8_VB0I?^*N]+_@)RI_[2UMO_;
+MW=[_<Y>H_V"+G_]RH+;_:HV9_VU?.O^8 at DK_I8Q/]VM;,Z,````6````"0``
+M````````````````````````````"!<1"#^!:3:^P;VR_\7$P_^*BXO_;X")
+M_W^PR?]KAI/_AIRF_V1\B/]<@I;_L;>[_V"8L_^HS=[_>7I[_[2UM?^!F:/_
+MKKO"_V:"C/^IT.+_6'%R_Y!\2O^[GEO^F(!*TP````D````"````````````
+M```````````````````17$DDC+^;3_O.JUK_F6\M_VR!@O^QT^/_/C8I_U%&
+M._^DH)O_Q<7$_]/3T__7U]?_*R at H_R@V0?\?,C;_465?__S^_O_[_?W_>&E#
+M_TE64?^BQ]G_=8)T_\NM9__)JV3_````%P````0`````````````````````
+M`````````!5S6"BTR*-3_\:@4?][2Q'_ at J*M_[W=Z_\4$@W_)3<K_V)#(O^7
+M?%;_N;2I_[^_O?\L5$?_(EQ*_S>$:_]*@G'_^?O[_^[P\/\R/"S_)$P__T-1
+M5/]F;U;_S[)L_\VO:/\````C````!0``````````````````````````````
+M&F8["^BRB4#_?DX3_V<S`/\M4U+_)$%%_R510O\A2SW_,S4?_V5%'?_&I&#_
+MW+QS_SQ=1_\E:%/_)YAU_S^*<_^EHIS_AX-X_QU/0?\@74G_-95W_V.+:__1
+MM7#_T+%L_PP+!T(````(```````````````````````````````<=DL5\:R$
+M//]H-0#_9#,`_RU at 1_\RB6W_(&I3_R1<2?\L-B7_4"\._VQ)(O^,;#S_C8I<
+M_R%50O\GGWK_0)A^_Z"0:O^1 at U[_*5Q+_R-Q6?\VG'W_;Y!L_]&V<O_0LV[_
+M(1P23`````D``````````````````````````````!IE.0?M9S4`_V at T`/]E
+M,P#_9X:3_T,W*?\Z:E+_,(YP_R%Z7?\E95'_4347_U4Y&O^">U/_+E=$_R:6
+M<_],M97_CX%<_T1-._\E?V/_+))R_Y"19__+LW?_TK=U_]&U<?\6$PY&````
+M"```````````````````````````````&%<M`.1F-`'_9S0`_V4S`/]]H*__
+M/R0(_S at D#?\M0"W_,)=X_R-[8/\D.BK_*C<I_TY)-/\T5T3_-**!_T:GB?]!
+M/S+_'%`]_S*E at _]`GX'_T[E]_]>]??_2N';_T;5Q_P8&!#<````'````````
+M```````````````````````/1"<*I7Y4*?YN/0S_9C0`_\[L^O]CB)S_(UI)
+M_R)*._\I+A__,71=_SF$;?\J=V#_)$M`_QQ'.O\NFWK_/YI__R%]8?\TAVW_
+MD9ER_]*Z at __9OX+_UKU^_]:^@O_7P(;_````%P````,`````````````````
+M``````````````LS'@AY>E,J](EB._]V2!K_?Y"8_V1YBO\9AV;_&7Y at _R-!
+M-?\G2S[_.J:&_R*(:?\D;E?_(%9%_Q^;=/\[FW[_*IY[_S.%;/_7P(C_W,2)
+M_]F_@?_8OH'_W<F:_];`BOT````.`````@``````````````````````````
+M`````P<#`#!-+ at ZJI(9G_Z2&9_^<>EC_?F$]_U!H1O]&;U+_/H!F_SR#:O\J
+M<%O_+&=5_S*4=?\DB6O_'XAH_QIS5_\5*A__6U1!_]2^BO_ at RYC_YM:O_^;6
+ML/_=R9S\GXQ at N`````,````````````````````````````````````!````
+M'"L7`G"KCW/_K)!T_ZR0=/^KCG+_CW!/_WM>-_]H3B3_:54L_UY1,O\S,R;_
+M&G18_QRH??\5EW#_#X!=_Q,9%/^3B'#_XM2N_^C8M?_IV[C_Z-BV_\VYB.]L
+M7CUT`````0`````````````````````````````````````````&````&752
+M+^:QEW[_O*:1_[VFD?^]II'_O:>2_\"JEO^]J)3_/38P_Q\<&?\_.C;_!Q00
+M_P`+"/\``@'_H9F'_\B^I__2PZ__R[NI_^S at P__HVKG_+R0540````L`````
+M``````````````````````````````````````````(````,/24-CXEH1_+%
+ML9[_Q;&>_\6QGO_%L9[_Q[2B_\:SHO^FEXG_3$4__W9M9?\.#0S_+RTK_P<&
+M!O^3BWW_W="\_]O.N__.O[#_Z]_#_\NVC_<````3`````@``````````````
+M```````````````````````````````````````````-!@,`+8UQ4NG#KYK_
+MU<BZ_]7(NO_5R;O_ULF\_]'%N/^[L*7_M:RA_XB!>O_8S,'_T,6Z_]3(O?_:
+MS\3_VL[#_]7'M?]N6#JB)!D.-0``````````````````````````````````
+M``````````````````````````````````,````-1#`6?9V"6N+;T,7_W=+'
+M_]W2Q__=T\C_WM3*_][4R?_:T<?_U,O!_^'7S?_AU\[_X=C._^3;T?_DV+_^
+MP*Z$Z!42#"`````'````````````````````````````````````````````
+M```````````````````````````````````%````#T at S%WZ&;DR_Y-6X_NKA
+MT/_PZ^3_]?'I__7QZ__X].S_]O+H__/KW?_3Q*'MKIYVQ!`."B0````)````
+M````````````````````````````````````````````````````````````
+M``````````````````````````$````#`P$`%B`6"#6"<TZ<K)EMS>+0I_[J
+MW+O_[N/'_^O?P/_3P9;UMZ5[UV58.F,_-R(T````!`````$`````````````
+M````````````````````````````````````````````````````````````
+M`````````````````````````````````````````````````@````,````$
+M`````P````$`````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``````````#_______```_\P``/^```#_````_P```/\```#_````_P```/X
+M```#^````_````/P```'\```#^````?@```'X```!^````?@```'X```!_``
+M``?P```/\```#_````_X```?_```'_X``#__``!__\`!___``___________
+M_R@````P````8`````$`(````````"0`````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M`````````````````````````````````````````````````````````P``
+M``P````7````(````"`````@````(````"`````@````(````"`````@````
+M(````"`````@````(````"`````@````(````"`````@````(````"`````@
+M````(````"`````=````$0``````````````````````````````````````
+M```````````````````````````````````!`````P````0````$`````@``
+M``$````!````!0```!,L+"Q'<'%QJH6&AK^"@X2_@(&"OWU^@+][>WV_>7I[
+MOW9W>;]T=':_<7)TOV]P<;]L;7"_:VMMOVAI:[]E9FB_8V1GOV)B9;]>7V*_
+M7%Q at OUI:7;]76%N_5598OU)35[]$1$BK"@H*1@````$`````````````````
+M``````````````````````````````````````````````$````$````#```
+M`!<````9````$0````H````&````"0```!=/3U!AO\'"ZNCIZ__EY^G_X^7G
+M_^'CY?_>X./_W-[A_]K<W__8V=W_UM?;_]/5V?_1TM?_SM#5_\S.T__*S-'_
+MR,G/_\;'S?_#Q<O_P<+)_[_`Q_^\OL3_NKS"_[BZP/^;G*+J'!P=:`````(`
+M````````````````````````````````````````````````````````````
+M``(````)````'@```$`:&AI>`P,#1````#8````F````'````"!14E)BQLC)
+MZN[P\?_K[>__ZNOM_^?IZ__EYNG_X^7G_^#BY?_>W^/_W-[A_]K;W__7V=W_
+MU=?;_]/5V?_0TM?_S]#5_\S.TO_*R]#_R,G._\7'S/_#Q,K_P</(_[[`QO^B
+MHJCJ(2$B:`````(`````````````````````````````````````````````
+M``````````````````,````-````+3$Q,7G"P\7^J*FK[82%ALA at 8&"71D9'
+M=R8F)V0^/CY^N;N[[>GKZ__N[_#_[O#Q_^[P\?_M[O#_ZNSN_^GJ[/_FZ.K_
+MY.7H_^+DYO_?X>3_W=[B_]O=X/_8VM[_UMC<_]36VO_2T]C_S]'6_\W/U/_+
+MS-+_R<K0_\?(SO^HJJ[J)B8G:`````(`````````````````````````````
+M``````````````````````````````````4````3````.&IJ:J3K[>__Y.7G
+M_]S>X/_*R\W^L[2V])Z?HMN"@H3/EYB9]JVNK__"Q,3_V-G9_^#AXO_GZ>K_
+MZ^WN_^WO\/_L[O#_ZNSN_^CJ[/_FY^K_Y.7H_^'CYO_?X>/_W=_A_]O<X/_8
+MVMW_UMC<_]35V?_1T]?_S]'5_\W/T_^NL+7J*BHK:`````(`````````````
+M`````````````````````````````````````````````0````@````:`P,#
+M0I^@H,KR\_3_[.[P_^/EY__=WN'_VMS>_];8V__+S<__OL##_KR]P?^IJZ[_
+MF9J<_Y67F/^BI*3_J:JJ_ZFKK/^\O;__TM/5_][?X/_7V=K_T-+3_\W.T/_=
+MW^'_X^7H_^'CYO_>X./_W=[A_]K<W__8V=W_UMC;_]35V?^UMKKJ+R\P:```
+M``(`````````````````````````````````````````````````````````
+M`@````L````A+2TM9=#1T>+X^OK_]??X_^_Q\O_DYN?_X.+D_]W>X/_8VMS_
+MUM?:_]+4U__.S]+_RLS0_\;(S/^KK;'_D9*6_XR-C_^9FIO_IJBI_Z*DI/^C
+MI*7_N+FZ_\?)RO_3U=;_XN3F_^GJ[/_FZ.O_Y.;I_^+DY__ at X>7_W=_B_]S=
+MX/^\OL'J,S,T:`````(`````````````````````````````````````````
+M`````````````````P````X````K75Y>AN7EY>[\_O[_^OS\__?Y^?_M[N__
+MYNCI_^+DYO_>X.'_V]S?_]?9V__3U=?_T-'5_\S.TO_'R<[_Q,7+_\'"Q_^M
+MKK/_FIN at _Y25F/^.CY'_CH^1_Y&2D_^KK:W_Q,;'_^#AX__M[_#_Z^SN_^GJ
+M[?_FZ.K_Y.;H_^+DYO_#Q,?J.#@X:`````(`````````````````````````
+M````````````````````````````````!0```!,"`@(WC(V-H^[O[_K\_O[_
+M_/[^__O]_?_V^/C_[>_P_^CJ[/_DYN?_X.+D_]W>X?_9VMW_U=?:_]+4V/_.
+MS]/_RLO0_\;(S/_"Q,G_OL#%_[R]PO^PLK?_I*:L_Z&CJ?^2DY?_@(&#_\W.
+MS__S]?;_\?/T_^_Q\O_L[O#_Z^WN_^CJ[/_*RLSJ/#P\:`````(`````````
+M```````````````````````````````````````````!````"````!@>'AY0
+MM+6UPOCZ^O_\_O[__/[^__S^_O_\_O[_]_GY_^_Q\O_J[.W_Y^GJ_^/EY__>
+MX.+_W-W at _]G:W?_4UMG_T=/6_\W/T__)R\[_Q<?,_\+#R/^^O\7_O+W"_[F[
+MP?^XNL#_EYB<_]/4U?_Z_/S_^?O[__?Y^O_T]O;_\O3U__#R\__0TM/J04)"
+M:`````(````````````````````````````````````````````````````!
+M````"P```!]`0$!GS<[.W?S^_O_\_O[__/[^__S^_O_\_O[_^_W]__;X^/_P
+M\O+_ZNSL_^+DY?_=W^#_W=[@_]W?X?_:W-[_U]C;_]/5V/_/T-3_R\W1_\C*
+MSO_'R,W_QL?,_\/%RO^^P,;_H:*F_]_ at X?_\_O[__/[^__O]_?^_Q=__NL'F
+M_\C1[/_2U-;J149&:`````(`````````````````````````````````````
+M```````````````#````$````"A at 8&!\X.+B]_S^_O_\_O[__/[^__S^_O_\
+M_O[__/[^__K\_/_GZ.C_W=W>_[Z_P/^IJJK_R<O,_]O<WO_?X>/_W-[@_]G:
+MW/_5U]G_U-;9_]/5V?_0TM;_S<_4_\K+T/^\O</_K*VP_^[P\/_\_O[__/[^
+M__/U]?]I=<O_:G/0_V)PWO_.U-CJ2DI*:`````(`````````````````````
+M``````````````````````````$````%````%@```#>&A8*U]??W__S^_O_\
+M_O[__/[^__K\_/_M[^__W-W=_\/$Q/^[O+S_M[>W_]O;V__"PL+_B(F)_Y:6
+MEO^ZN[S_U]G:_^+DYO_CY.?_X.+D_]O=X?_.T-/_Q,;)_[V_PO^LK;#_K[&R
+M__?Y^?_\_O[__/[^__G[^_^2F<__P\/4_W-^W?_0U]KJ3DY.:`````(`````
+M``````````````````````````````````````````(````*````'0```$RO
+MK*7J_/[^__S^_O_\_O[_\?/S_\C)R?^:FYO_C(R,_YB8F/^VMK;_YN;F_^[N
+M[O^YN;G_JZNK_X2$A?^@H*'_N+J[_]S>W__IZ^W_Y>;H_\W.T?^KK:__GZ"B
+M_YF;G?^)BXW_EYB8_]/5U?_U]_?__/[^__S^_O]_B=[_;';:_TA8U/_2V-KJ
+M45%1:`````(```````````````````````````````````````````````4`
+M```2````*R`;#H#8U]+^_/[^__S^_O_IZ^O_GY^?_X&!@?^7EY?_O+R\_]/3
+MT__/S\__S,S,_^/CX__$Q,3_XN+B_ZZNKO]_?W__IJBH_[N]O?_IZ^W_W=_@
+M_[BZN_^_P</_R,G+_[[`P_^%AHC_HJ*B_[6WM__1T]/_^/KZ__S^_O^YP^[_
+MJ[;M_["[ZO_:WM_J55969P````(`````````````````````````````````
+M`````````@````H````:%!$)47YO3=[R]/3_\?/S_]?9V?^2DY/_E965_ZRL
+MK/_"Q<;_VN#C_]OAY/_DY^C_^/CX__KZ^O^(G*7_8I*H_VR=M?]H at H[_<'9Y
+M_Z*CH__)RLO_ZNSM_^SM[__1UMG_O,;-_["]Q/]T?'[_<')G_W)M7_]^=F;_
+MF)%\_Z>=A_^>EX7TCHZ+QI.4E+*&AX><-S<W.P````$`````````````````
+M````````````````````````!````!`````G3T$BCZ68>/CDY>7_S,W-_\'!
+MP?^BHJ+_E9:6_WV*D/^`H*[_?*.T_W^EN/^'I[7_LK_%_^3DY/]-@)C_:)"E
+M_VN<LO^*N]+_@)RI_VYU>?^TM;;_V]W>_\+(R_]SEZC_8(N?_VB7K/]RH+;_
+M:HV9_UEN:_]M7SK_F()*_ZZ35/^EC$_W:ULSHP@&`R\````6````"0``````
+M````````````````````````````````````````"````!<7$0 at _@6DVOK.A
+M<O[!O;+_Q<3#_\+"PO^*BXO_;X")_X^SP_]_L,G_:X:3_X24G/^&G*;_9'R(
+M_[&TMO]<@I;_L;>[_WR)CO]@F+/_J,W>_WZ=K?]Y>GO_M+6U_VZ$CO^!F:/_
+MKKO"_Y&=H_]F at HS_J=#B_X^ZT/]8<7+_D'Q*_[R?7?^[GEO^F(!*TSLR'$<`
+M```)`````@``````````````````````````````````````````````#```
+M`!T^,!5IIXA%Z,NJ6O_)J%K_NIM6_Y9^5?]E;FG_G+W+_YK(WO]?<'G_BXJ*
+M_Y:6EO_-S<W_V=G9_]S<W/^LK['_X>'A_[:UM?]&5V#_:I^W_\WM_/]!7&O_
+MA(6%_^#BXO_\_O[_^?O[_YN:EO]];TO_:(*&_]7K]/]UI;S_=7ED_[ZC8?_#
+MIV'_N9U;]V%2+WP````.`````@``````````````````````````````````
+M````````````$0```"-<222,OYM/^]*P7O_.JUK_F6\M_W)*%?]L at 8+_L=/C
+M_XB]U?\^-BG_448[_VMB6O^DH)O_Q<7$_\[.SO_3T]/_U]?7_X.$@_\K*"C_
+M*#9!_V%VB/\?,C;_465?_\7(Q__\_O[_^_W]_Y2-??]X:4/_2591_YZUP?^B
+MQ]G_=8)T_\"E9?_+K6?_R:MD_X-P0:X````7````!```````````````````
+M````````````````````````````%0```"ES6"BTR*-3_]>T8/_&H%'_>TL1
+M_WU4&_^"HJW_O=WK_WRUT/\4$@W_)3<K_R<I%_]B0R+_EWQ6_[BIBO^YM*G_
+MO[^]_V=Y<_\L5$?_(EQ*_R%C4?\WA&O_2H)Q_Y*8EO_Y^_O_[O#P_Y6);O\R
+M/"S_)$P__RQ!/_]#453_9F]6_\6J:/_/LFS_S:]H_Z:-4]4````C````!0``
+M````````````````````````````````````````````&````#%S3QS5Q9]0
+M_]BU8?^NA#S_:#4!_U\Q`/]VDZ'_GKW._T!C=_\5'1C_'$(V_R)'//]!+Q/_
+MFGM"_]*R:/_=O7+_TK9S_WY[6_\E44+_(6A2_R5Y7O\UB&__/H%M_X68DO_`
+MP<'_OKVZ_V1<1O\:23K_'DT^_R-Z7_\WJ(3_8(]M_[VG:O_0LV[_S[!J_[RA
+M7_`````Q````!P``````````````````````````````````````````````
+M&@```#AF.POHLHE`_\RG5O]^3A/_9S,`_T at H!/\M4U+_)$%%_QHX,?\E44+_
+M(4L]_Q]00/\S-1__944=_XEI-O_&I&#_W+QS_\RR;_\\74?_)6A3_QJ%9/\G
+MF'7_/XIS_VEY:_^EHIS_AX-X_V%:0_\=3T'_(%U)_QYW6_\UE7?_8XMK_\"J
+M;?_1M7#_T+%L_\BK9_L,"P="````"```````````````````````````````
+M````````````````'````#]V2Q7QK(0\_X=9'/]H-0#_9#,`_THG`O\M8$?_
+M,HEM_R>"9?\@:E/_)%Q)_R5I5/\L-B7_4"\._U at W$_]L22+_C&P\_\^R;O^-
+MBES_(55"_QQ[7O\GGWK_0)A^_W=_7O^@D&K_D8->_VYD1O\I7$O_(W%9_R"-
+M;/\VG'W_;Y!L_\6M;__1MG+_T+-N_\VP:OXA'!),````"0``````````````
+M````````````````````````````````'````#]Y3ACR<4`)_V<T`/]G-`#_
+M8S(`_TXG`/]#.BC_-UI._SJ*</\PF7G_*8)F_RIX8?\?6TG_)C<G_T8T&?]9
+M.1G_6SL;_WQ=-/^ADV'_,5A$_R-S6_\DCV[_1*:(_VV#8?^>C&+_?W-2_SI`
+M-_\A;%3_)8%D_S:B@?]&?V?_E)-E_].W=__2MW3_T;1P_\^R;?XH(A91````
+M"0``````````````````````````````````````````````&@```#QE.0?M
+M9S4`_V<T`/]H-`#_93,`_T<O%/]GAI/_0S<I_S at L$O\Z:E+_,(YP_R2/;?\A
+M>EW_)651_RP^,/]1-1?_53D:_UY!(O^">U/_+E=$_R%L5/\FEG/_3+65_VF"
+M8O^/@5S_1$T[_Q--._\E?V/_+))R_SJ7>?^0D6?_R[-W_]6Y>O_2MW7_T;5Q
+M_\RO;/T6$PY&````"```````````````````````````````````````````
+M````&````#97+0#D9C0!_V<T`/]G-`#_93,`_U]F7_]]H*__/R0(_T at D`/\X
+M)`W_+4`M_S2$:O\PEWC_(WM at _RIE4O\D.BK_*C<I_RHD%_].233_-%=$_R=D
+M4O\THH'_1J>)_SI.//]!/S+_'%`]_QMR5_\RI8/_0)^!_WR+9__3N7W_U[U]
+M_]6Z>O_2N';_T;5Q_\2I9_8&!@0W````!P``````````````````````````
+M````````````````````%0```"Y3+ at G,<T06_VLY!_]G-`#_8C(`_X20C_^@
+MQ-/_14E&_QX;$O\6,2G_(B@;_S$J%O\_CG'_/9R`_S"<>_\E=5[_(6-._QU'
+M-O\-$A#_'3 at L_Q1F3/\XF'K_.HAP_QU`,_\A8D[_)75<_T&QC_].FW[_E99M
+M_]6\@O_9OX+_U[U^_]6Z>__2N'?_TK=V_[.;8>$````F````!0``````````
+M````````````````````````````````````#P```"5$)PJE?E0I_G]5*_]N
+M/0S_9C0`_UM62/_.[/K_8XB<_RD].O\C6DG_(DH[_RDH&?\I+A__,71=_T2I
+MBO\YA&W_*G=@_R%T6_\D2T#_'$<Z_Q=M4_\NFWK_/YI__REV7?\A?6'_-(=M
+M_TB<@?^1F7+_TKJ#_]O"AO_9OX+_UKU^_]6[?/_6OH+_U\"&_YV)6L`````7
+M`````P``````````````````````````````````````````````"P```!PS
+M'@AY>E,J])!M2/^)8CO_=D@:_UTU"O]_D)C_9'F*_R911O\9AV;_&7Y at _QI<
+M2/\C037_)TL^_SB";/\ZIH;_(HAI_R2':?\D;E?_(%9%_QAN4_\?FW3_.YM^
+M_R^#:/\JGGO_,X5L_W%^7__7P(C_W,2)_]O!A?_9OX'_V+Z!_]K$C/_=R9K_
+MUL"*_7QL2)(````.`````@``````````````````````````````````````
+M````````!P```!8>#P%19D,?U99T4/^<?%K_FGE6_XQF/_]A.A/_/TDR_SV7
+M=O\WJH7_+:-__S&@??\LBFW_*&Q6_RAA3_\D9E+_*(!D_Q^0;O\FCV[_&WE<
+M_QI^7_\;E7#_*X)G_RES7/\N:%/_BHEH_ZR9;/_9P8?_W,.(_]O"B/_=QY+_
+MX<ZA_^+1I__ at S:+_OJEYY%Q1-%8````&`````0``````````````````````
+M`````````````````````````P````\'`P`P32X.JI!N2_JDAF?_I(9G_Z2&
+M9_^<>EC_?F$]_UI-+/]0:$;_1F]2_SMW6O\^@&;_/(-J_SI]9O\J<%O_+&=5
+M_R1S6_\RE'7_)(EK_R"$9?\?B&C_&G-7_Q)3/O\5*A__6U1!_TY'-?_4OHK_
+MX,N8_^/0I/_FUJ__YM:P_^35KO_=R9S\GXQ at N#$J'"D````#````````````
+M`````````````````````````````````````````0````D````<*Q<"<'M7
+M,^JKCW/_K)!T_ZR0=/^LD'3_JXYR_Z6&:/^/<$__>UXW_VM/)O]H3B3_:54L
+M_V=8,O]>43+_,S,F_PP9%/\:=%C_'*A]_QB5;_\5EW#_#X!=_P(U)?\3&13_
+MDXAP_[6HB?_BU*[_Z-BU_^G;N/_IV[C_Z-BV_^;7M/_-N8CO;%X]=`````T`
+M```!````````````````````````````````````````````````````````
+M``0````0````,$8F"*J??V#^M)N#_[2<A/^UG(3_M9R$_[:<A/^VG(3_MIV%
+M_[6<@_^LD'3_G7Y at _WYA1?\O(Q?_!`,"_P8%!/\((!C_$(%>_P^)9/\+8T?_
+M!2\C_P,%`_\P+2?_=G!A_\K`IO_8R;'_S+JF_^77NO_IW+W_Z=V\_^+0J?^#
+M:T2X!P8&)0````0`````````````````````````````````````````````
+M``````````````````$````&````&1()`$]U4B_FL9=^_[RFD?^\II'_O::1
+M_[VFD?^]II'_O:>2_[^HE/_`JI;_O:B4_XI\;?\]-C#_'QP9_S\Z-/\_.C;_
+M!Q00_P,>%?\`"PC_``(!_QD8%?^AF8?_R+ZG_^;:P/_2PZ__R[NI_^78OO_L
+MX,/_Z-JY_[RE>NPO)!51````"P````$`````````````````````````````
+M```````````````````````````````````````"````#````!\])0V/B6A'
+M\KRED/_%L9[_Q;&>_\6QGO_%L9[_Q;&>_\:RH/_'M*+_QK.B_[NJFO^FEXG_
+M3$4__W!F7O]V;67_#@T,_Q`0$/\O+2O_!P8&_Q44$O^3BWW_W="\_][1O?_;
+MSKO_SK^P_]_3OO_KW\/_R[:/]W!=/Y,````3`````@``````````````````
+M````````````````````````````````````````````````````````````
+M!`````T#`0`H.2`&B8=H2.O$L9[_S;VL_\Z^K?_.OJW_SKVM_\Z^K?_/P*__
+MT,&P_]'"LO^WJIS_8EM5_W-K8_^9D(7_+BPJ_XR&@?^MI)K_9F!:_W9O9_^:
+MD8?_R;VQ_]3'N__6R+O_T\:Y_\R]KO^\IX?U<5P\H!`+!R0````$````````
+M````````````````````````````````````````````````````````````
+M``````````````````````0````-!@,`+3TD"8V-<5+IPZ^:_]3'N/_5R+K_
+MU<BZ_]7(NO_5R;O_ULF\_]?*O?_1Q;C_N["E_ZF at EO^UK*'_B(%Z_]'(O?_8
+MS,'_T,6Z_[RQJ/_4R+W_VL_$_]K/Q/_:SL/_U<>U_[.??O-N6#JB)!D.-0``
+M``4`````````````````````````````````````````````````````````
+M``````````````````````````````````````$````#````#00"`"1$,!9]
+MG8):XLNWGO_;T,7_W=+'_]W2Q__=TL?_W=/(_][3R?_>U,K_WM3)_]O1Q__:
+MT<?_U,O!_]_6S/_AU\W_X=?._^'7SO_AV,[_Y-O1_^KBUO_DV+_^P*Z$Z'1E
+M1(H5$@P@````!P````$`````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M`````P````D````:(!@*3G=?,ZN^J(7OV\VY_>3;S__EW=;_Y=[6_^7>UO_F
+MX-C_Z.'9_^CAVO_HXMK_Z>/<_^OFWO_JX]S_ZN3;_^[GW__QZ][_[N7/_MK*
+MI_*>BEVY0CHE4````!$````#````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``````````````````````````$````%````#P,!`"I(,Q=^AFY,O\&OB^?D
+MU;C^ZN'0_^WGWO_PZ^3_]?'I__7QZO_U\>O_^/3L__GU[?_V\NC_\^O=_^[C
+MR?_3Q*'MKIYVQ'UM2($0#@HD````"0````$`````````````````````````
+M````````````````````````````````````````````````````````````
+M```````````````````````````````````````````````!`````P````@#
+M`0`6(!8(-51'*5Z"<TZ<K)EMS<RXBN_BT*?^ZMR[_^[AQ?_NX\?_Z]_`_^?7
+ML?[3P9;UMZ5[UY*#7ZAE6#IC/S<B-`````\````$`````0``````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``````````````$````#````!0````H````3````(````#,G(!%23D$C:V!1
+M+'ED5#![5TDI;S,K&%<#`@$S````'P```!`````'`````P````$`````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``$````"`````P````0````$`````P````(````!````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``````````````````````````````````````````#_______\``/______
+M_P``___````/``#__X````\``/_C@```#P``_\`````/``#_P`````\``/^`
+M````#P``_X`````/``#_@`````\``/^`````#P``_P`````/``#_``````\`
+M`/\`````#P``_@`````/``#^``````\``/X`````#P``_``````/``#\````
+M``\``/@`````'P``^``````_``#X`````#\``/``````'P``\``````?``#P
+M`````!\``/``````'P``\``````?``#P`````!\``/``````'P``\``````?
+M``#P`````!\``/@`````'P``^``````_``#X`````#\``/P`````/P``_```
+M``!_``#\`````'\``/X`````_P``_P````#_``#_@````?\``/_````#_P``
+M_^````?_``#_\```#_\``/_\```__P``__X``/__``#__\`#__\``/______
++_P``________````
+`
+end
Property changes on: trunk/patches/claws-mail-3.0.2/01-w32-logo.patch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/patches/claws-mail-3.0.2/02-w32-icon.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/02-w32-icon.patch 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/patches/claws-mail-3.0.2/02-w32-icon.patch 2007-11-15 19:45:35 UTC (rev 588)
@@ -0,0 +1,66 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+For the logo, see actually 01-w32-logo.patch.
+
+2007-07-02 Marcus Brinkmann <mb at g10code.com>
+
+ * w32-resource.rc: New file.
+ * w32-logo.ico: New file.
+ * src/Makefile.am: Define rules to compile resource files.
+ (claws_mail_LDFLAGS): Add $(claws_mail_res_ldflag).
+ (claws_mail_DEPENDENCIES): Add $(claws_mail_deps).
+ (EXTRA_DIST): Add w32-logo.ico and w32-resource.rc.
+
+diff -rupN claws-mail-3.0.0-rc2-after-01/src/Makefile.am claws-mail-3.0.0-rc2/src/Makefile.am
+--- claws-mail-3.0.0-rc2-after-01/src/Makefile.am 2007-08-10 12:58:31.000000000 +0200
++++ claws-mail-3.0.0-rc2/src/Makefile.am 2007-08-10 16:31:35.000000000 +0200
+@@ -14,6 +14,21 @@ install-exec-hook:
+ @rm -f $(DESTDIR)$(bindir)/sylpheed-claws
+ @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws
+
++if PLATFORM_WIN32
++LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \
++ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
++ sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
++
++%.o : %.rc
++ $(LTRCCOMPILE) -i $< -o $@
++
++claws_mail_res_ldflag = -Wl,w32-resource.o
++claws_mail_deps = w32-resource.o
++else
++claws_mail_res_ldflag =
++claws_mail_deps =
++endif
++
+ claws_mail_SOURCES = \
+ account.c \
+ action.c \
+@@ -305,6 +320,7 @@ BUILT_SOURCES = \
+ quote_fmt_parse.h
+
+ EXTRA_DIST = \
++ w32-logo.ico w32-resource.rc \
+ pixmaps/addr_one.xpm \
+ pixmaps/addr_two.xpm \
+ pixmaps/address_book.xpm \
+@@ -464,7 +480,11 @@ arch_ldflags :=
+ endif
+
+ claws_mail_LDFLAGS = \
+- $(arch_ldflags) -export-dynamic
++ $(arch_ldflags) -export-dynamic $(claws_mail_res_ldflag)
++
++claws_mail_DEPENDENCIES = $(claws_mail_deps) \
++ $(etpan_library) \
++ gtk/libclawsgtk.la
+
+ claws_mail_LDADD = \
+ $(etpan_library) \
+diff -rupN claws-mail-3.0.0-rc2-after-01/src/w32-resource.rc claws-mail-3.0.0-rc2/src/w32-resource.rc
+--- claws-mail-3.0.0-rc2-after-01/src/w32-resource.rc 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/w32-resource.rc 2007-08-10 16:31:35.000000000 +0200
+@@ -0,0 +1 @@
++1 ICON "w32-logo.ico"
Property changes on: trunk/patches/claws-mail-3.0.2/02-w32-icon.patch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/patches/claws-mail-3.0.2/03-smime-plugin.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/03-smime-plugin.patch 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/patches/claws-mail-3.0.2/03-smime-plugin.patch 2007-11-15 19:45:35 UTC (rev 588)
@@ -0,0 +1,1238 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+2007-06-30 Marcus Brinkmann <marcus at g10code.de>
+
+ * Add the S/MIME 0.7.1 plugin from claws-mail-extra-plugins-2.10.0
+ straight to the source. This makes building it so much simpler.
+
+2007-08-14 Marcus Brinkmann <marcus at g10code.de>
+
+ * We need to bump the license string to "GPL3+" to make it load.
+
+diff -rupN claws-mail-3.0.0-rc2-after-02/configure.ac claws-mail-3.0.0-rc2/configure.ac
+--- claws-mail-3.0.0-rc2-after-02/configure.ac 2007-08-10 12:59:16.000000000 +0200
++++ claws-mail-3.0.0-rc2/configure.ac 2007-08-10 16:34:59.000000000 +0200
+@@ -907,6 +907,7 @@ src/plugins/clamav/Makefile
+ src/plugins/pgpcore/Makefile
+ src/plugins/pgpmime/Makefile
+ src/plugins/pgpinline/Makefile
++src/plugins/smime/Makefile
+ doc/Makefile
+ doc/man/Makefile
+ tools/Makefile
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/Makefile.am claws-mail-3.0.0-rc2/src/plugins/Makefile.am
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/Makefile.am 2007-08-10 12:58:34.000000000 +0200
++++ claws-mail-3.0.0-rc2/src/plugins/Makefile.am 2007-08-10 16:34:59.000000000 +0200
+@@ -40,4 +40,5 @@ SUBDIRS = $(demo_dir) \
+ $(clamav_dir) \
+ $(pgpcore_dir) \
+ $(pgpmime_dir) \
+- $(pgpinline_dir)
++ $(pgpinline_dir) \
++ smime
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/claws.def claws-mail-3.0.0-rc2/src/plugins/smime/claws.def
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/claws.def 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/claws.def 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,28 @@
++LIBRARY CLAWS-MAIL.EXE
++EXPORTS
++alertpanel_error
++canonicalize_file_replace
++canonicalize_str
++check_plugin_version
++debug_print_real
++debug_srcname
++file_read_stream_to_str
++file_read_to_str
++generate_mime_boundary
++get_mime_tmp_dir
++get_tmp_file
++my_tmpfile
++privacy_register_system
++privacy_set_error
++privacy_unregister_system
++procmime_decode_content
++procmime_encode_content
++procmime_get_part
++procmime_mimeinfo_free_all
++procmime_mimeinfo_get_parameter
++procmime_mimeinfo_new
++procmime_mimeinfo_parent
++procmime_scan_file
++procmime_write_mime_header
++procmime_write_mimeinfo
++str_write_to_file
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/Makefile.am claws-mail-3.0.0-rc2/src/plugins/smime/Makefile.am
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/Makefile.am 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,82 @@
++EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def smime.deps
++
++if OS_WIN32
++
++LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \
++ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
++ sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
++
++%.lo : %.rc
++ $(LTRCCOMPILE) -i $< -o $@
++
++plugin_res = version.lo
++plugin_res_ldflag = -Wl,.libs/version.o
++
++export_symbols = -export-symbols $(srcdir)/plugin.def
++
++plugin_deps = libclaws.a libmypgpcore.a $(plugin_res) plugin.def
++
++libclaws.a: claws.def
++ $(DLLTOOL) --output-lib $@ --def $<
++
++libmypgpcore.a: mypgpcore.def
++ $(DLLTOOL) --output-lib $@ --def $<
++
++plugin_ldadd = -L . -lclaws -lmypgpcore
++
++else
++plugin_res =
++plugin_res_ldflag =
++export_symbols =
++plugin_deps =
++plugin_ldadd =
++endif
++
++if PLATFORM_WIN32
++no_undefined = -no-undefined
++else
++no_undefined =
++endif
++
++if CYGWIN
++cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
++else
++cygwin_export_lib =
++endif
++
++plugindir = $(pkglibdir)/plugins
++plugin_DATA = smime.deps
++
++plugin_LTLIBRARIES = smime.la
++
++smime_la_SOURCES = \
++ plugin.c \
++ smime.c
++
++pluginincludedir = $(pkgincludedir)/plugins/smime
++plugininclude_HEADERS = \
++ smime.h
++
++smime_la_LDFLAGS = \
++ $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
++ -avoid-version -module
++smime_la_DEPENDENCIES = $(plugin_deps)
++smime_la_LIBADD = $(cygwin_export_lib) $(plugin_ldadd) $(pgpcore_lib) \
++ $(GTK_LIBS) \
++ $(GPGME_LIBS)
++
++INCLUDES = \
++ -I$(top_srcdir)/src \
++ -I$(top_srcdir)/src/common \
++ -I$(top_builddir)/src/common \
++ -I$(top_srcdir)/src/gtk
++
++AM_CPPFLAGS = \
++ $(GLIB_CFLAGS) \
++ $(GTK_CFLAGS) \
++ $(GPGME_CFLAGS) \
++ -Wno-deprecated-declarations
++
++clean-local:
++ rm -f libclaws.a
++ rm -f libmypgpcore.a
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/mypgpcore.def claws-mail-3.0.0-rc2/src/plugins/smime/mypgpcore.def
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/mypgpcore.def 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/mypgpcore.def 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,16 @@
++LIBRARY PGPCORE.DLL
++EXPORTS
++prefs_gpg_add_skip_encryption_warning
++prefs_gpg_enable_agent
++prefs_gpg_get_config
++prefs_gpg_remove_skip_encryption_warning
++prefs_gpg_should_skip_encryption_warning
++sgpgme_data_from_mimeinfo
++sgpgme_data_release_and_get_mem
++sgpgme_decrypt_verify
++sgpgme_get_encrypt_data
++sgpgme_setup_signers
++sgpgme_sigstat_gpgme_to_privacy
++sgpgme_sigstat_info_full
++sgpgme_sigstat_info_short
++sgpgme_verify_signature
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/plugin.c claws-mail-3.0.0-rc2/src/plugins/smime/plugin.c
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/plugin.c 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/plugin.c 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,90 @@
++/*
++ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
++ * Copyright (C) 1999-2007 Colin Leroy <colin at colino.net> and
++ * the Claws Mail team
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++ */
++
++#ifdef HAVE_CONFIG_H
++# include "config.h"
++#endif
++
++#include <stddef.h>
++#include <glib.h>
++#include <glib/gi18n.h>
++
++#include "version.h"
++#include "common/claws.h"
++#include "smime.h"
++#include "plugin.h"
++
++gint plugin_init(gchar **error)
++{
++ if (!check_plugin_version(MAKE_NUMERIC_VERSION(2,9,2,72),
++ VERSION_NUMERIC, _("S/MIME"), error))
++ return -1;
++
++ smime_init();
++
++ return 0;
++}
++
++gboolean plugin_done(void)
++{
++ smime_done();
++ return TRUE;
++}
++
++const gchar *plugin_name(void)
++{
++ return _("S/MIME");
++}
++
++const gchar *plugin_desc(void)
++{
++ return _("This plugin handles S/MIME signed and/or encrypted "
++ "mails. You can decrypt mails, verify signatures or "
++ "sign and encrypt your own mails.\n"
++ "\n"
++ "It can be selected as the Default Privacy System in "
++ "/Configuration/[Account Preferences]/Privacy and when "
++ "composing a message from /Options/Privacy System\n"
++ "\n"
++ "This plugin uses the GPGME library as a wrapper for GnuPG.\n"
++ "This plugin also needs gpgsm, gnupg-agent and dirmngr "
++ "installed and configured.\n"
++ "\n"
++ "Information about how to get S/MIME certificates working "
++ "with GPGSM can be found at:\n"
++ "http://www.claws-mail.org/faq/index.php/S/MIME_howto\n"
++ "\n"
++ "GPGME is copyright 2001 by Werner Koch <dd9jn at gnu.org>");
++}
++
++const gchar *plugin_type(void)
++{
++ return "GTK2";
++}
++
++const gchar *plugin_licence(void)
++{
++ return "GPL3+";
++}
++
++const gchar *plugin_version(void)
++{
++ return VERSION;
++}
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/plugin.def claws-mail-3.0.0-rc2/src/plugins/smime/plugin.def
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/plugin.def 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/plugin.def 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,9 @@
++EXPORTS
++ plugin_desc
++ plugin_done
++ plugin_init
++ plugin_licence
++ plugin_name
++ plugin_type
++ plugin_provides
++ plugin_version
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.c claws-mail-3.0.0-rc2/src/plugins/smime/smime.c
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.c 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/smime.c 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,879 @@
++/*
++ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
++ * Copyright (C) 1999-2007 Colin Leroy <colin at colino.net> and
++ * the Claws Mail team
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++ */
++
++#ifdef HAVE_CONFIG_H
++# include "config.h"
++#endif
++
++#ifdef USE_GPGME
++
++#include "defs.h"
++#include <glib.h>
++#include <gpgme.h>
++#include <ctype.h>
++#include <glib/gi18n.h>
++
++#include "utils.h"
++#include "privacy.h"
++#include "procmime.h"
++
++#include "smime.h"
++#include <plugins/pgpcore/sgpgme.h>
++#include <plugins/pgpcore/prefs_gpg.h>
++#include <plugins/pgpcore/passphrase.h>
++
++#include "alertpanel.h"
++#include "prefs_common.h"
++#include "procmime.h"
++#include "plugin.h"
++
++typedef struct _PrivacyDataPGP PrivacyDataPGP;
++
++struct _PrivacyDataPGP
++{
++ PrivacyData data;
++
++ gboolean done_sigtest;
++ gboolean is_signed;
++ gpgme_verify_result_t sigstatus;
++ gpgme_ctx_t ctx;
++};
++
++static PrivacySystem smime_system;
++
++static gint smime_check_signature(MimeInfo *mimeinfo);
++
++static PrivacyDataPGP *smime_new_privacydata()
++{
++ PrivacyDataPGP *data;
++
++ data = g_new0(PrivacyDataPGP, 1);
++ data->data.system = &smime_system;
++ data->done_sigtest = FALSE;
++ data->is_signed = FALSE;
++ data->sigstatus = NULL;
++ gpgme_new(&data->ctx);
++
++ return data;
++}
++
++static void smime_free_privacydata(PrivacyData *_data)
++{
++ PrivacyDataPGP *data = (PrivacyDataPGP *) _data;
++ gpgme_release(data->ctx);
++ g_free(data);
++}
++
++static gboolean smime_is_signed(MimeInfo *mimeinfo)
++{
++ MimeInfo *parent;
++ MimeInfo *signature;
++ const gchar *protocol, *tmpstr;
++ PrivacyDataPGP *data = NULL;
++
++ g_return_val_if_fail(mimeinfo != NULL, FALSE);
++ if (mimeinfo->privacy != NULL) {
++ data = (PrivacyDataPGP *) mimeinfo->privacy;
++ if (data->done_sigtest)
++ return data->is_signed;
++ }
++
++ if (!g_ascii_strcasecmp(mimeinfo->subtype, "pkcs7-mime") ||
++ !g_ascii_strcasecmp(mimeinfo->subtype, "x-pkcs7-mime")) {
++ tmpstr = procmime_mimeinfo_get_parameter(mimeinfo, "smime-type");
++ if (tmpstr && !g_ascii_strcasecmp(tmpstr, "signed-data")) {
++ if (data == NULL) {
++ data = smime_new_privacydata();
++ mimeinfo->privacy = (PrivacyData *) data;
++ }
++
++ data->done_sigtest = TRUE;
++ data->is_signed = TRUE;
++ smime_check_signature(mimeinfo);
++ return TRUE;
++ }
++ }
++
++ /* check parent */
++ parent = procmime_mimeinfo_parent(mimeinfo);
++ if (parent == NULL)
++ return FALSE;
++
++ if ((parent->type != MIMETYPE_MULTIPART) ||
++ g_ascii_strcasecmp(parent->subtype, "signed"))
++ return FALSE;
++ protocol = procmime_mimeinfo_get_parameter(parent, "protocol");
++ if ((protocol == NULL) ||
++ (g_ascii_strcasecmp(protocol, "application/pkcs7-signature") &&
++ g_ascii_strcasecmp(protocol, "application/x-pkcs7-signature")))
++ return FALSE;
++
++ /* check if mimeinfo is the first child */
++ if (parent->node->children->data != mimeinfo)
++ return FALSE;
++
++
++ /* check signature */
++ signature = parent->node->children->next != NULL ?
++ (MimeInfo *) parent->node->children->next->data : NULL;
++ if (signature == NULL)
++ return FALSE;
++ if ((signature->type != MIMETYPE_APPLICATION) ||
++ (g_ascii_strcasecmp(signature->subtype, "pkcs7-signature") &&
++ g_ascii_strcasecmp(signature->subtype, "x-pkcs7-signature")))
++ return FALSE;
++
++is_signed:
++ if (data == NULL) {
++ data = smime_new_privacydata();
++ mimeinfo->privacy = (PrivacyData *) data;
++ }
++
++ data->done_sigtest = TRUE;
++ data->is_signed = TRUE;
++
++ return TRUE;
++}
++
++static gchar *get_canonical_content(FILE *fp, const gchar *boundary)
++{
++ gchar *ret;
++ GString *textbuffer;
++ guint boundary_len = 0;
++ gchar buf[BUFFSIZE];
++
++ if (boundary) {
++ boundary_len = strlen(boundary);
++ while (fgets(buf, sizeof(buf), fp) != NULL)
++ if (IS_BOUNDARY(buf, boundary, boundary_len))
++ break;
++ }
++
++ textbuffer = g_string_new("");
++ while (fgets(buf, sizeof(buf), fp) != NULL) {
++ gchar *buf2;
++
++ if (boundary && IS_BOUNDARY(buf, boundary, boundary_len))
++ break;
++
++ buf2 = canonicalize_str(buf);
++ g_string_append(textbuffer, buf2);
++ g_free(buf2);
++ }
++ g_string_truncate(textbuffer, textbuffer->len - 2);
++
++ ret = textbuffer->str;
++ g_string_free(textbuffer, FALSE);
++
++ return ret;
++}
++
++static gint smime_check_signature(MimeInfo *mimeinfo)
++{
++ PrivacyDataPGP *data;
++ MimeInfo *parent, *signature;
++ FILE *fp;
++ gchar *boundary;
++ gchar *textstr;
++ const gchar *tmpstr;
++ gpgme_data_t sigdata = NULL, textdata = NULL;
++ gpgme_error_t err;
++ g_return_val_if_fail(mimeinfo != NULL, -1);
++ g_return_val_if_fail(mimeinfo->privacy != NULL, -1);
++ data = (PrivacyDataPGP *) mimeinfo->privacy;
++ gpgme_new(&data->ctx);
++ EncodingType oldenc = ENC_BINARY;
++
++ debug_print("Checking S/MIME signature\n");
++
++ err = gpgme_set_protocol(data->ctx, GPGME_PROTOCOL_CMS);
++
++ if (err) {
++ debug_print ("gpgme_set_protocol failed: %s\n",
++ gpgme_strerror (err));
++ }
++ parent = procmime_mimeinfo_parent(mimeinfo);
++
++ fp = g_fopen(parent->data.filename, "rb");
++ g_return_val_if_fail(fp != NULL, SIGNATURE_INVALID);
++
++ boundary = g_hash_table_lookup(parent->typeparameters, "boundary");
++ if (!boundary) {
++ gchar *tmpfile = get_tmp_file();
++ debug_print("no boundary\n");
++ if (tmpfile) {
++ if (mimeinfo->encoding_type != ENC_BASE64) {
++ procmime_encode_content(mimeinfo, ENC_BASE64);
++ }
++ oldenc = mimeinfo->encoding_type;
++ if (mimeinfo->encoding_type == ENC_BASE64)
++ mimeinfo->encoding_type = ENC_BINARY;
++ if (procmime_get_part(tmpfile, mimeinfo) == 0) {
++ textstr = file_read_to_str(tmpfile);
++ } else {
++ textstr = NULL;
++ }
++ if (mimeinfo->encoding_type != oldenc)
++ mimeinfo->encoding_type = oldenc;
++ }
++ g_free(tmpfile);
++ } else {
++ textstr = get_canonical_content(fp, boundary);
++ }
++ err = gpgme_data_new_from_mem(&textdata, textstr, strlen(textstr), 0);
++
++ if (err) {
++ debug_print ("gpgme_data_new_from_mem failed: %s\n",
++ gpgme_strerror (err));
++ }
++
++ if (!g_ascii_strcasecmp(mimeinfo->subtype, "pkcs7-mime") ||
++ !g_ascii_strcasecmp(mimeinfo->subtype, "x-pkcs7-mime")) {
++ tmpstr = procmime_mimeinfo_get_parameter(mimeinfo, "smime-type");
++ if (tmpstr && !g_ascii_strcasecmp(tmpstr, "signed-data")) {
++ gpgme_data_t cipher, plain;
++ int len;
++ if (oldenc == ENC_BASE64)
++ gpgme_data_set_encoding (textdata, GPGME_DATA_ENCODING_BASE64);
++ gpgme_data_new(&cipher);
++ data->sigstatus =
++ sgpgme_verify_signature (data->ctx, textdata, NULL, cipher);
++ gpgme_data_release(textdata);
++ g_free(textstr);
++ gpgme_data_rewind(cipher);
++ textstr = sgpgme_data_release_and_get_mem(cipher, &len);
++ fclose(fp);
++ if (textstr && len > 0)
++ textstr[len-1]='\0';
++
++ if (textstr && len) {
++ gchar *tmp_file = get_tmp_file();
++ MimeInfo *newinfo = NULL, *decinfo = NULL, *parentinfo = NULL;
++ gint childnumber = 0;
++
++ str_write_to_file(textstr, tmp_file);
++ newinfo = procmime_scan_file(tmp_file);
++ decinfo = g_node_first_child(newinfo->node) != NULL ?
++ g_node_first_child(newinfo->node)->data : NULL;
++ g_node_unlink(decinfo->node);
++ procmime_mimeinfo_free_all(newinfo);
++ decinfo->tmp = TRUE;
++ parentinfo = procmime_mimeinfo_parent(mimeinfo);
++ childnumber = g_node_child_index(parentinfo->node, mimeinfo);
++ if (parentinfo->type == MIMETYPE_MESSAGE &&
++ !strcmp(parentinfo->subtype, "rfc822")) {
++ procmime_decode_content(parentinfo);
++ procmime_encode_content(parentinfo, ENC_BASE64);
++ procmime_encode_content(parentinfo, ENC_8BIT);
++ if (parentinfo->content == MIMECONTENT_MEM) {
++ gint newlen =
++ (gint)(strstr(parentinfo->data.mem, "\n\n") - parentinfo->data.mem);
++ if (newlen > 0)
++ parentinfo->length = newlen;
++ }
++ }
++ g_node_prepend(parentinfo->node, decinfo->node);
++ return 0;
++ } else {
++ return -1;
++ }
++ }
++ }
++
++ signature = (MimeInfo *) mimeinfo->node->next->data;
++ sigdata = sgpgme_data_from_mimeinfo(signature);
++
++ err = 0;
++ if (signature->encoding_type == ENC_BASE64) {
++ err = gpgme_data_set_encoding (sigdata, GPGME_DATA_ENCODING_BASE64);
++ }
++
++ if (err) {
++ debug_print ("gpgme_data_set_encoding failed: %s\n",
++ gpgme_strerror (err));
++ }
++
++ data->sigstatus =
++ sgpgme_verify_signature (data->ctx, sigdata, textdata, NULL);
++
++ gpgme_data_release(sigdata);
++ gpgme_data_release(textdata);
++ g_free(textstr);
++ fclose(fp);
++
++ return 0;
++}
++
++static SignatureStatus smime_get_sig_status(MimeInfo *mimeinfo)
++{
++ PrivacyDataPGP *data = (PrivacyDataPGP *) mimeinfo->privacy;
++
++ g_return_val_if_fail(data != NULL, SIGNATURE_INVALID);
++
++ if (data->sigstatus == NULL &&
++ prefs_gpg_get_config()->auto_check_signatures)
++ smime_check_signature(mimeinfo);
++
++ return sgpgme_sigstat_gpgme_to_privacy(data->ctx, data->sigstatus);
++}
++
++static gchar *smime_get_sig_info_short(MimeInfo *mimeinfo)
++{
++ PrivacyDataPGP *data = (PrivacyDataPGP *) mimeinfo->privacy;
++
++ g_return_val_if_fail(data != NULL, g_strdup("Error"));
++
++ if (data->sigstatus == NULL &&
++ prefs_gpg_get_config()->auto_check_signatures)
++ smime_check_signature(mimeinfo);
++
++ return sgpgme_sigstat_info_short(data->ctx, data->sigstatus);
++}
++
++static gchar *smime_get_sig_info_full(MimeInfo *mimeinfo)
++{
++ PrivacyDataPGP *data = (PrivacyDataPGP *) mimeinfo->privacy;
++
++ g_return_val_if_fail(data != NULL, g_strdup("Error"));
++
++ if (data->sigstatus == NULL &&
++ prefs_gpg_get_config()->auto_check_signatures)
++ smime_check_signature(mimeinfo);
++
++ return sgpgme_sigstat_info_full(data->ctx, data->sigstatus);
++}
++
++static gboolean smime_is_encrypted(MimeInfo *mimeinfo)
++{
++ MimeInfo *tmpinfo;
++ const gchar *tmpstr;
++
++ if (mimeinfo->type != MIMETYPE_APPLICATION)
++ return FALSE;
++ if (!g_ascii_strcasecmp(mimeinfo->subtype, "pkcs7-mime")) {
++ tmpstr = procmime_mimeinfo_get_parameter(mimeinfo, "smime-type");
++ if (tmpstr && g_ascii_strcasecmp(tmpstr, "enveloped-data"))
++ return FALSE;
++ else
++ return TRUE;
++
++ } else if (!g_ascii_strcasecmp(mimeinfo->subtype, "x-pkcs7-mime")) {
++ tmpstr = procmime_mimeinfo_get_parameter(mimeinfo, "smime-type");
++ if (tmpstr && g_ascii_strcasecmp(tmpstr, "enveloped-data"))
++ return FALSE;
++ else
++ return TRUE;
++ }
++ return FALSE;
++}
++
++static MimeInfo *smime_decrypt(MimeInfo *mimeinfo)
++{
++ MimeInfo *encinfo, *decinfo, *parseinfo;
++ gpgme_data_t cipher = NULL, plain = NULL;
++ static gint id = 0;
++ FILE *dstfp;
++ gchar *fname;
++ gpgme_verify_result_t sigstat = NULL;
++ PrivacyDataPGP *data = NULL;
++ gpgme_ctx_t ctx;
++ gpgme_error_t err;
++ gchar *chars;
++ size_t len;
++
++ g_return_val_if_fail(smime_is_encrypted(mimeinfo), NULL);
++
++ if ((err = gpgme_new(&ctx)) != GPG_ERR_NO_ERROR) {
++ privacy_set_error(_("Couldn't initialize GPG context, %s"), gpgme_strerror(err));
++ return NULL;
++ }
++
++ err = gpgme_set_protocol(ctx, GPGME_PROTOCOL_CMS);
++ if (err) {
++ debug_print ("gpgme_set_protocol failed: %s\n",
++ gpgme_strerror (err));
++ privacy_set_error(_("Couldn't set GPG protocol, %s"), gpgme_strerror(err));
++ gpgme_release(ctx);
++ return NULL;
++ }
++ gpgme_set_armor(ctx, TRUE);
++
++ encinfo = mimeinfo;
++
++ cipher = sgpgme_data_from_mimeinfo(encinfo);
++ gpgme_data_set_encoding(cipher, GPGME_DATA_ENCODING_BASE64);
++ plain = sgpgme_decrypt_verify(cipher, &sigstat, ctx);
++
++ gpgme_data_release(cipher);
++ if (plain == NULL) {
++ debug_print("plain is null!\n");
++ gpgme_release(ctx);
++ return NULL;
++ }
++
++ fname = g_strdup_printf("%s%cplaintext.%08x",
++ get_mime_tmp_dir(), G_DIR_SEPARATOR, ++id);
++
++ if ((dstfp = g_fopen(fname, "wb")) == NULL) {
++ FILE_OP_ERROR(fname, "fopen");
++ g_free(fname);
++ gpgme_data_release(plain);
++ gpgme_release(ctx);
++ debug_print("can't open!\n");
++ privacy_set_error(_("Couldn't open temporary file"));
++ return NULL;
++ }
++
++ fprintf(dstfp, "MIME-Version: 1.0\n");
++
++ chars = sgpgme_data_release_and_get_mem(plain, &len);
++
++ if (len > 0) {
++ fwrite(chars, len, 1, dstfp);
++ }
++ fclose(dstfp);
++ g_free(chars);
++
++ parseinfo = procmime_scan_file(fname);
++ g_free(fname);
++ if (parseinfo == NULL) {
++ privacy_set_error(_("Couldn't parse decrypted file."));
++ gpgme_release(ctx);
++ return NULL;
++ }
++ decinfo = g_node_first_child(parseinfo->node) != NULL ?
++ g_node_first_child(parseinfo->node)->data : NULL;
++ if (decinfo == NULL) {
++ privacy_set_error(_("Couldn't parse decrypted file parts."));
++ gpgme_release(ctx);
++ return NULL;
++ }
++
++ g_node_unlink(decinfo->node);
++ procmime_mimeinfo_free_all(parseinfo);
++
++ decinfo->tmp = TRUE;
++
++ if (sigstat != NULL && sigstat->signatures != NULL) {
++ if (decinfo->privacy != NULL) {
++ data = (PrivacyDataPGP *) decinfo->privacy;
++ } else {
++ data = smime_new_privacydata();
++ decinfo->privacy = (PrivacyData *) data;
++ }
++ data->done_sigtest = TRUE;
++ data->is_signed = TRUE;
++ data->sigstatus = sigstat;
++ if (data->ctx)
++ gpgme_release(data->ctx);
++ data->ctx = ctx;
++ } else
++ gpgme_release(ctx);
++
++
++
++ return decinfo;
++}
++
++gboolean smime_sign(MimeInfo *mimeinfo, PrefsAccount *account)
++{
++ MimeInfo *msgcontent, *sigmultipart, *newinfo;
++ gchar *textstr, *micalg;
++ FILE *fp;
++ gchar *boundary = NULL;
++ gchar *sigcontent;
++ gpgme_ctx_t ctx;
++ gpgme_data_t gpgtext, gpgsig;
++ gpgme_error_t err;
++ size_t len;
++ struct passphrase_cb_info_s info;
++ gpgme_sign_result_t result = NULL;
++ gchar *test_msg;
++ gchar *real_content = NULL;
++
++ fp = my_tmpfile();
++ if (fp == NULL) {
++ perror("my_tmpfile");
++ return FALSE;
++ }
++ procmime_write_mimeinfo(mimeinfo, fp);
++ rewind(fp);
++
++ /* read temporary file into memory */
++ test_msg = file_read_stream_to_str(fp);
++ fclose(fp);
++
++ memset (&info, 0, sizeof info);
++
++ /* remove content node from message */
++ msgcontent = (MimeInfo *) mimeinfo->node->children->data;
++ g_node_unlink(msgcontent->node);
++
++ /* create temporary multipart for content */
++ sigmultipart = procmime_mimeinfo_new();
++ sigmultipart->type = MIMETYPE_MULTIPART;
++ sigmultipart->subtype = g_strdup("signed");
++
++ do {
++ if (boundary)
++ g_free(boundary);
++ boundary = generate_mime_boundary("Sig");
++ } while (strstr(test_msg, boundary) != NULL);
++
++ g_free(test_msg);
++
++ g_hash_table_insert(sigmultipart->typeparameters, g_strdup("boundary"),
++ g_strdup(boundary));
++ g_hash_table_insert(sigmultipart->typeparameters, g_strdup("protocol"),
++ g_strdup("application/pkcs7-signature"));
++ g_node_append(sigmultipart->node, msgcontent->node);
++ g_node_append(mimeinfo->node, sigmultipart->node);
++
++ /* write message content to temporary file */
++ fp = my_tmpfile();
++ if (fp == NULL) {
++ perror("my_tmpfile");
++ return FALSE;
++ }
++ procmime_write_mimeinfo(sigmultipart, fp);
++ rewind(fp);
++
++ /* read temporary file into memory */
++ textstr = get_canonical_content(fp, boundary);
++
++ g_free(boundary);
++
++ fclose(fp);
++
++ gpgme_data_new_from_mem(&gpgtext, textstr, strlen(textstr), 0);
++ gpgme_data_new(&gpgsig);
++ gpgme_new(&ctx);
++ gpgme_set_armor(ctx, TRUE);
++ gpgme_signers_clear (ctx);
++
++ err = gpgme_set_protocol(ctx, GPGME_PROTOCOL_CMS);
++
++ if (err) {
++ debug_print ("gpgme_set_protocol failed: %s\n",
++ gpgme_strerror (err));
++ gpgme_data_release(gpgtext);
++ gpgme_release(ctx);
++ return FALSE;
++ }
++
++ if (!sgpgme_setup_signers(ctx, account)) {
++ debug_print("setup_signers failed\n");
++ gpgme_data_release(gpgtext);
++ gpgme_release(ctx);
++ return FALSE;
++ }
++
++ info.c = ctx;
++ prefs_gpg_enable_agent(TRUE);
++ gpgme_set_passphrase_cb (ctx, NULL, &info);
++
++ err = gpgme_op_sign(ctx, gpgtext, gpgsig, GPGME_SIG_MODE_DETACH);
++ if (err != GPG_ERR_NO_ERROR) {
++ alertpanel_error("S/MIME : Cannot sign, %s (%d)", gpg_strerror(err), gpg_err_code(err));
++ gpgme_data_release(gpgtext);
++ gpgme_release(ctx);
++ return FALSE;
++ }
++ result = gpgme_op_sign_result(ctx);
++ if (result && result->signatures) {
++ if (gpgme_get_protocol(ctx) == GPGME_PROTOCOL_OpenPGP) {
++ micalg = g_strdup_printf("PGP-%s", gpgme_hash_algo_name(
++ result->signatures->hash_algo));
++ } else {
++ micalg = g_strdup(gpgme_hash_algo_name(
++ result->signatures->hash_algo));
++ }
++ } else {
++ /* can't get result (maybe no signing key?) */
++ debug_print("gpgme_op_sign_result error\n");
++ return FALSE;
++ }
++
++ gpgme_release(ctx);
++ sigcontent = sgpgme_data_release_and_get_mem(gpgsig, &len);
++ gpgme_data_release(gpgtext);
++ g_free(textstr);
++
++ if (!sigcontent) {
++ gpgme_release(ctx);
++ return FALSE;
++ }
++ real_content = sigcontent+strlen("-----BEGIN SIGNED MESSAGE-----\n");
++ if (!strstr(real_content, "-----END SIGNED MESSAGE-----")) {
++ debug_print("missing end\n");
++ gpgme_release(ctx);
++ return FALSE;
++ }
++ *strstr(real_content, "-----END SIGNED MESSAGE-----") = '\0';
++ /* add signature */
++ g_hash_table_insert(sigmultipart->typeparameters, g_strdup("micalg"),
++ micalg);
++
++ newinfo = procmime_mimeinfo_new();
++ newinfo->type = MIMETYPE_APPLICATION;
++ newinfo->subtype = g_strdup("pkcs7-signature");
++ g_hash_table_insert(newinfo->typeparameters, g_strdup("name"),
++ g_strdup("smime.p7s"));
++ newinfo->content = MIMECONTENT_MEM;
++ newinfo->disposition = DISPOSITIONTYPE_ATTACHMENT;
++ g_hash_table_insert(newinfo->dispositionparameters, g_strdup("filename"),
++ g_strdup("smime.p7s"));
++ newinfo->data.mem = g_malloc(len + 1);
++ g_memmove(newinfo->data.mem, real_content, len);
++ newinfo->data.mem[len] = '\0';
++ newinfo->encoding_type = ENC_BASE64;
++ g_node_append(sigmultipart->node, newinfo->node);
++
++ g_free(sigcontent);
++
++ return TRUE;
++}
++gchar *smime_get_encrypt_data(GSList *recp_names)
++{
++ return sgpgme_get_encrypt_data(recp_names, GPGME_PROTOCOL_CMS);
++}
++
++static const gchar *smime_get_encrypt_warning(void)
++{
++ if (prefs_gpg_should_skip_encryption_warning(smime_system.id))
++ return NULL;
++ else
++ return _("Please note that email headers, like Subject, "
++ "are not encrypted by the S/MIME system.");
++}
++
++static void smime_inhibit_encrypt_warning(gboolean inhibit)
++{
++ if (inhibit)
++ prefs_gpg_add_skip_encryption_warning(smime_system.id);
++ else
++ prefs_gpg_remove_skip_encryption_warning(smime_system.id);
++}
++
++static gchar *fp_read_noconv(FILE *fp)
++{
++ GByteArray *array;
++ guchar buf[BUFSIZ];
++ gint n_read;
++ gchar *result = NULL;
++
++ if (!fp)
++ return NULL;
++ array = g_byte_array_new();
++
++ while ((n_read = fread(buf, sizeof(gchar), sizeof(buf), fp)) > 0) {
++ if (n_read < sizeof(buf) && ferror(fp))
++ break;
++ g_byte_array_append(array, buf, n_read);
++ }
++
++ if (ferror(fp)) {
++ FILE_OP_ERROR("file stream", "fread");
++ g_byte_array_free(array, TRUE);
++ return NULL;
++ }
++
++ buf[0] = '\0';
++ g_byte_array_append(array, buf, 1);
++ result = (gchar *)array->data;
++ g_byte_array_free(array, FALSE);
++
++ return result;
++}
++
++gboolean smime_encrypt(MimeInfo *mimeinfo, const gchar *encrypt_data)
++{
++ MimeInfo *msgcontent, *encmultipart;
++ FILE *fp;
++ gchar *enccontent;
++ size_t len;
++ gchar *textstr = NULL;
++ gpgme_data_t gpgtext = NULL, gpgenc = NULL;
++ gpgme_ctx_t ctx = NULL;
++ gpgme_key_t *kset = NULL;
++ gchar **fprs = g_strsplit(encrypt_data, " ", -1);
++ gint i = 0;
++ gpgme_error_t err;
++ gchar *tmpfile = NULL;
++
++ while (fprs[i] && strlen(fprs[i])) {
++ i++;
++ }
++
++ gpgme_new(&ctx);
++
++ err = gpgme_set_protocol(ctx, GPGME_PROTOCOL_CMS);
++
++ if (err) {
++ debug_print ("gpgme_set_protocol failed: %s\n",
++ gpgme_strerror (err));
++ return FALSE;
++ }
++
++ kset = g_malloc(sizeof(gpgme_key_t)*(i+1));
++ memset(kset, 0, sizeof(gpgme_key_t)*(i+1));
++ i = 0;
++
++ while (fprs[i] && strlen(fprs[i])) {
++ gpgme_key_t key;
++ gpgme_error_t err;
++ err = gpgme_get_key(ctx, fprs[i], &key, 0);
++ if (err) {
++ debug_print("can't add key '%s'[%d] (%s)\n", fprs[i],i, gpgme_strerror(err));
++ break;
++ }
++ debug_print("found %s at %d\n", fprs[i], i);
++ kset[i] = key;
++ i++;
++ }
++
++ debug_print("Encrypting message content\n");
++
++ /* remove content node from message */
++ msgcontent = (MimeInfo *) mimeinfo->node->children->data;
++ g_node_unlink(msgcontent->node);
++
++
++ /* create temporary multipart for content */
++ encmultipart = procmime_mimeinfo_new();
++ encmultipart->type = MIMETYPE_APPLICATION;
++ encmultipart->subtype = g_strdup("x-pkcs7-mime");
++ g_hash_table_insert(encmultipart->typeparameters, g_strdup("name"),
++ g_strdup("smime.p7m"));
++
++ encmultipart->disposition = DISPOSITIONTYPE_ATTACHMENT;
++ g_hash_table_insert(encmultipart->dispositionparameters, g_strdup("filename"),
++ g_strdup("smime.p7m"));
++
++ g_node_append(encmultipart->node, msgcontent->node);
++
++ /* write message content to temporary file */
++ tmpfile = get_tmp_file();
++ fp = fopen(tmpfile, "wb");
++ if (fp == NULL) {
++ perror("get_tmp_file");
++ return FALSE;
++ }
++ procmime_decode_content(msgcontent);
++ procmime_write_mime_header(msgcontent, fp);
++ procmime_write_mimeinfo(msgcontent, fp);
++ fclose(fp);
++ canonicalize_file_replace(tmpfile);
++ fp = fopen(tmpfile, "rb");
++ if (fp == NULL) {
++ perror("get_tmp_file");
++ return FALSE;
++ }
++ g_free(tmpfile);
++
++ /* read temporary file into memory */
++ textstr = fp_read_noconv(fp);
++
++ fclose(fp);
++
++ /* encrypt data */
++ gpgme_data_new_from_mem(&gpgtext, textstr, strlen(textstr), 0);
++ gpgme_data_new(&gpgenc);
++ gpgme_data_rewind(gpgtext);
++
++ gpgme_data_set_encoding(gpgenc, GPGME_DATA_ENCODING_BASE64);
++ gpgme_op_encrypt(ctx, kset, GPGME_ENCRYPT_ALWAYS_TRUST, gpgtext, gpgenc);
++
++ gpgme_release(ctx);
++ enccontent = sgpgme_data_release_and_get_mem(gpgenc, &len);
++
++ if (!enccontent) {
++ g_warning("no enccontent\n");
++ return FALSE;
++ }
++
++ tmpfile = get_tmp_file();
++ fp = fopen(tmpfile, "wb");
++ if (fp) {
++ fwrite(enccontent, 1, len, fp);
++ fclose(fp);
++ } else {
++ perror("get_tmp_file");
++ return FALSE;
++ }
++ gpgme_data_release(gpgtext);
++ g_free(textstr);
++
++ /* create encrypted multipart */
++ procmime_mimeinfo_free_all(msgcontent);
++ g_node_append(mimeinfo->node, encmultipart->node);
++
++ encmultipart->content = MIMECONTENT_FILE;
++ encmultipart->data.filename = tmpfile;
++ procmime_encode_content(encmultipart, ENC_BASE64);
++
++ g_free(enccontent);
++
++ return TRUE;
++}
++
++static PrivacySystem smime_system = {
++ "smime", /* id */
++ "S-MIME", /* name */
++
++ smime_free_privacydata, /* free_privacydata */
++
++ smime_is_signed, /* is_signed(MimeInfo *) */
++ smime_check_signature, /* check_signature(MimeInfo *) */
++ smime_get_sig_status, /* get_sig_status(MimeInfo *) */
++ smime_get_sig_info_short, /* get_sig_info_short(MimeInfo *) */
++ smime_get_sig_info_full, /* get_sig_info_full(MimeInfo *) */
++
++ smime_is_encrypted, /* is_encrypted(MimeInfo *) */
++ smime_decrypt, /* decrypt(MimeInfo *) */
++
++ TRUE,
++ smime_sign,
++
++ TRUE,
++ smime_get_encrypt_data,
++ smime_encrypt,
++ smime_get_encrypt_warning,
++ smime_inhibit_encrypt_warning,
++};
++
++void smime_init()
++{
++ privacy_register_system(&smime_system);
++}
++
++void smime_done()
++{
++ privacy_unregister_system(&smime_system);
++}
++
++struct PluginFeature *plugin_provides(void)
++{
++ static struct PluginFeature features[] =
++ { {PLUGIN_PRIVACY, N_("S/MIME")},
++ {PLUGIN_NOTHING, NULL}};
++ return features;
++}
++#endif /* USE_GPGME */
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.deps claws-mail-3.0.0-rc2/src/plugins/smime/smime.deps
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.deps 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/smime.deps 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1 @@
++pgpcore
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.h claws-mail-3.0.0-rc2/src/plugins/smime/smime.h
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/smime.h 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/smime.h 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,27 @@
++/*
++ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
++ * Copyright (C) 1999-2007 Colin Leroy <colin at colino.net> and
++ * the Claws Mail team
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++ */
++
++#ifndef PGPMIME_H
++#define PGPMIME_H 1
++
++void smime_init(void);
++void smime_done(void);
++
++#endif /* PGPMIME_H */
+diff -rupN claws-mail-3.0.0-rc2-after-02/src/plugins/smime/version.rc claws-mail-3.0.0-rc2/src/plugins/smime/version.rc
+--- claws-mail-3.0.0-rc2-after-02/src/plugins/smime/version.rc 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.0-rc2/src/plugins/smime/version.rc 2007-08-10 16:34:59.000000000 +0200
+@@ -0,0 +1,36 @@
++1 VERSIONINFO
++ FILEVERSION 0, 0, 0, 0
++ PRODUCTVERSION 0, 0, 0, 0
++ FILEFLAGSMASK 0x3fL
++#ifdef _DEBUG
++ FILEFLAGS 0x1L
++#else
++ FILEFLAGS 0x0L
++#endif
++ FILEOS 0x40004L
++ FILETYPE 0x2L
++ FILESUBTYPE 0x0L
++BEGIN
++ BLOCK "StringFileInfo"
++ BEGIN
++ BLOCK "000004b0"
++ BEGIN
++ VALUE "FileDescription", "smime Plugin\0"
++ VALUE "FileVersion", "0.0.0.0\0"
++ VALUE "ProductVersion", "0.0.0.0 Win32\0"
++ VALUE "LegalCopyright", "GPL / © 1999-2007 Colin Leroy <colin at colino.net>\0"
++ VALUE "CompanyName", "GNU / Free Software Foundation\0"
++ VALUE "ProductName", "Claws Mail\0"
++// VALUE "Comments", "\0"
++// VALUE "InternalName", "\0"
++// VALUE "LegalTrademarks", "\0"
++// VALUE "OriginalFilename", "\0"
++// VALUE "PrivateBuild", "\0"
++// VALUE "SpecialBuild", "\0"
++ END
++ END
++ BLOCK "VarFileInfo"
++ BEGIN
++ VALUE "Translation", 0x0, 1200
++ END
++END
Property changes on: trunk/patches/claws-mail-3.0.2/03-smime-plugin.patch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch 2007-11-15 19:45:35 UTC (rev 588)
@@ -0,0 +1,54 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+2007-11-15 Marcus Brinkmann <mb at g10code.com>
+
+ * Just a quick work around to make it build.
+
+diff -rup claws-mail-3.0.2/src/common/w32lib.h claws-mail-3.0.2-fixed/src/common/w32lib.h
+--- claws-mail-3.0.2/src/common/w32lib.h 2007-07-11 18:35:57.000000000 +0200
++++ claws-mail-3.0.2-fixed/src/common/w32lib.h 2007-11-15 15:33:31.000000000 +0100
+@@ -78,6 +78,7 @@
+ #ifdef __MINGW32__
+ #include <wchar.h>
+ #include <dirent.h>
++#include <sys/time.h>
+ #endif
+
+ /* Mingw32 3.4.4 defines interface to struct and thus breaks our own
+@@ -162,7 +163,7 @@ DIR *opendir( const char *name );
+ int closedir( DIR *dir );
+ struct dirent *readdir( DIR *dir );
+
+-#ifdef __MINGW32__
++#ifndef __MINGW32__
+ struct timezone {
+ int tz_minuteswest;
+ int tz_dsttime;
+@@ -176,7 +177,9 @@ int lstat( const char *file_name, struct
+ pid_t waitpid( pid_t pid, int *status, int options );
+
+ /*** sys/time ***/
++#ifndef __MINGW32__
+ int gettimeofday( struct timeval *tv, struct timezone *tz );
++#endif
+
+ /*** unistd ***/
+ uid_t getuid( void );
+diff -rup claws-mail-3.0.2/src/common/w32_time.c claws-mail-3.0.2-fixed/src/common/w32_time.c
+--- claws-mail-3.0.2/src/common/w32_time.c 2007-07-11 18:35:56.000000000 +0200
++++ claws-mail-3.0.2-fixed/src/common/w32_time.c 2007-11-15 15:33:07.000000000 +0100
+@@ -24,6 +24,7 @@
+
+ #include "w32lib.h"
+
++#ifndef __MINGW32__
+ int gettimeofday( struct timeval *tv, struct timezone *tz ){
+ struct _timeb tstruct;
+ _ftime( &tstruct );
+@@ -31,3 +32,4 @@ int gettimeofday( struct timeval *tv, st
+ tv->tv_usec = tstruct.millitm;
+ return 1;
+ }
++#endif
Property changes on: trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/patches/claws-mail-3.0.2/99-auto.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/99-auto.patch 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/patches/claws-mail-3.0.2/99-auto.patch 2007-11-15 19:45:35 UTC (rev 588)
@@ -0,0 +1,876 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+2007-06-30 Marcus Brinkmann <marcus at g10code.de>
+
+ * Regenerate all autotool files with
+
+$ aclocal -I m4 && libtoolize --force --copy && autoheader && automake --add-missing --foreign --copy && autoconf
+
+ but removing autom4te.cache before creating the diff.
+
+
+diff -rupN claws-mail-3.0.2-orig/aclocal.m4 claws-mail-3.0.2/aclocal.m4
+--- claws-mail-3.0.2-orig/aclocal.m4 2007-10-02 09:47:32.000000000 +0200
++++ claws-mail-3.0.2/aclocal.m4 2007-11-15 15:50:39.000000000 +0100
+@@ -1482,7 +1482,7 @@ AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
+
+ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+
+-# serial 51 Debian 1.5.24-1 AC_PROG_LIBTOOL
++# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL
+
+
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+diff -rupN claws-mail-3.0.2-orig/config/config.guess claws-mail-3.0.2/config/config.guess
+--- claws-mail-3.0.2-orig/config/config.guess 2007-08-17 05:14:13.000000000 +0200
++++ claws-mail-3.0.2/config/config.guess 2007-04-27 20:13:54.000000000 +0200
+@@ -4,7 +4,7 @@
+ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+ # Inc.
+
+-timestamp='2007-07-22'
++timestamp='2007-03-06'
+
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -330,7 +330,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+- i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
++ i86pc:SunOS:5.*:*)
+ echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+@@ -793,7 +793,7 @@ EOF
+ exit ;;
+ *:Interix*:[3456]*)
+ case ${UNAME_MACHINE} in
+- x86)
++ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ EM64T | authenticamd)
+diff -rupN claws-mail-3.0.2-orig/config/config.sub claws-mail-3.0.2/config/config.sub
+--- claws-mail-3.0.2-orig/config/config.sub 2007-08-17 05:14:13.000000000 +0200
++++ claws-mail-3.0.2/config/config.sub 2007-04-27 20:13:54.000000000 +0200
+@@ -4,7 +4,7 @@
+ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+ # Inc.
+
+-timestamp='2007-06-28'
++timestamp='2007-01-18'
+
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -475,8 +475,8 @@ case $basic_machine in
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+- cr16)
+- basic_machine=cr16-unknown
++ cr16c)
++ basic_machine=cr16c-unknown
+ os=-elf
+ ;;
+ crds | unos)
+@@ -683,10 +683,6 @@ case $basic_machine in
+ basic_machine=i386-pc
+ os=-mingw32
+ ;;
+- mingw32ce)
+- basic_machine=arm-unknown
+- os=-mingw32ce
+- ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+diff -rupN claws-mail-3.0.2-orig/config/ltmain.sh claws-mail-3.0.2/config/ltmain.sh
+--- claws-mail-3.0.2-orig/config/ltmain.sh 2007-07-11 23:11:42.000000000 +0200
++++ claws-mail-3.0.2/config/ltmain.sh 2007-08-14 19:43:36.000000000 +0200
+@@ -43,7 +43,7 @@ EXIT_FAILURE=1
+
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION="1.5.24 Debian 1.5.24-1"
++VERSION="1.5.24 Debian 1.5.24-1ubuntu1"
+ TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"
+
+ # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
+diff -rupN claws-mail-3.0.2-orig/configure claws-mail-3.0.2/configure
+--- claws-mail-3.0.2-orig/configure 2007-10-02 09:47:45.000000000 +0200
++++ claws-mail-3.0.2/configure 2007-11-15 15:51:01.000000000 +0100
+@@ -31741,7 +31741,7 @@ fi
+
+
+
+-ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in src/common/version.h src/Makefile src/common/Makefile src/common/passcrypt.h src/gtk/Makefile src/etpan/Makefile src/plugins/Makefile src/plugins/demo/Makefile src/plugins/bogofilter/Makefile src/plugins/spamassassin/Makefile src/plugins/dillo_viewer/Makefile src/plugins/trayicon/Makefile src/plugins/trayicon/libeggtrayicon/Makefile src/plugins/clamav/Makefile src/plugins/pgpcore/Makefile src/plugins/pgpmime/Makefile src/plugins/pgpinline/Makefile doc/Makefile doc/man/Makefile tools/Makefile config/Makefile manual/Makefile manual/dtd/Makefile manual/dist/Makefile manual/dist/pdf/Makefile manual/dist/ps/Makefile manual/dist/html/Makefile manual/dist/txt/Makefile manual/fr/Makefile manual/fr/dist/Makefile manual/fr/dist/pdf/Makefile manual/fr/dist/ps/Makefile manual/fr/dist/html/Makefile manual/fr/dist/txt/Makefile manual/pl/Makefile manual/pl/dist/Makefile manual/pl/dist/pdf/Makefile manual/pl/dist/ps/Makefile manual/pl/dist/html/Makefile manual/pl/dist/txt/Makefile manual/es/Makefile manual/es/dist/Makefile manual/es/dist/pdf/Makefile manual/es/dist/ps/Makefile manual/es/dist/html/Makefile manual/es/dist/txt/Makefile claws-mail.pc"
++ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in src/common/version.h src/Makefile src/common/Makefile src/common/passcrypt.h src/gtk/Makefile src/etpan/Makefile src/plugins/Makefile src/plugins/demo/Makefile src/plugins/bogofilter/Makefile src/plugins/spamassassin/Makefile src/plugins/dillo_viewer/Makefile src/plugins/trayicon/Makefile src/plugins/trayicon/libeggtrayicon/Makefile src/plugins/clamav/Makefile src/plugins/pgpcore/Makefile src/plugins/pgpmime/Makefile src/plugins/pgpinline/Makefile src/plugins/smime/Makefile doc/Makefile doc/man/Makefile tools/Makefile config/Makefile manual/Makefile manual/dtd/Makefile manual/dist/Makefile manual/dist/pdf/Makefile manual/dist/ps/Makefile manual/dist/html/Makefile manual/dist/txt/Makefile manual/fr/Makefile manual/fr/dist/Makefile manual/fr/dist/pdf/Makefile manual/fr/dist/ps/Makefile manual/fr/dist/html/Makefile manual/fr/dist/txt/Makefile manual/pl/Makefile manual/pl/dist/Makefile manual/pl/dist/pdf/Makefile manual/pl/dist/ps/Makefile manual/pl/dist/html/Makefile manual/pl/dist/txt/Makefile manual/es/Makefile manual/es/dist/Makefile manual/es/dist/pdf/Makefile manual/es/dist/ps/Makefile manual/es/dist/html/Makefile manual/es/dist/txt/Makefile claws-mail.pc"
+
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+@@ -32490,6 +32490,7 @@ do
+ "src/plugins/pgpcore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpcore/Makefile" ;;
+ "src/plugins/pgpmime/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpmime/Makefile" ;;
+ "src/plugins/pgpinline/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpinline/Makefile" ;;
++ "src/plugins/smime/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/smime/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
+ "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+diff -rupN claws-mail-3.0.2-orig/src/Makefile.in claws-mail-3.0.2/src/Makefile.in
+--- claws-mail-3.0.2-orig/src/Makefile.in 2007-10-02 09:47:41.000000000 +0200
++++ claws-mail-3.0.2/src/Makefile.in 2007-11-15 15:50:52.000000000 +0100
+@@ -116,15 +116,6 @@ am_claws_mail_OBJECTS = account.$(OBJEXT
+ claws_mail_OBJECTS = $(am_claws_mail_OBJECTS)
+ @CLAWS_LIBETPAN_TRUE at am__DEPENDENCIES_1 = etpan/libclawsetpan.la
+ am__DEPENDENCIES_2 =
+-claws_mail_DEPENDENCIES = $(am__DEPENDENCIES_1) gtk/libclawsgtk.la \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2)
+ claws_mail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(claws_mail_LDFLAGS) $(LDFLAGS) -o $@
+@@ -366,6 +357,14 @@ top_srcdir = @top_srcdir@
+ @CLAWS_LIBETPAN_FALSE at etpan_library =
+ @CLAWS_LIBETPAN_TRUE at etpan_library = etpan/libclawsetpan.la
+ SUBDIRS = common gtk $(etpan_dir) . plugins
++ at PLATFORM_WIN32_TRUE@LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \
++ at PLATFORM_WIN32_TRUE@ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
++ at PLATFORM_WIN32_TRUE@ sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
++
++ at PLATFORM_WIN32_FALSE@claws_mail_res_ldflag =
++ at PLATFORM_WIN32_TRUE@claws_mail_res_ldflag = -Wl,w32-resource.o
++ at PLATFORM_WIN32_FALSE@claws_mail_deps =
++ at PLATFORM_WIN32_TRUE@claws_mail_deps = w32-resource.o
+ claws_mail_SOURCES = \
+ account.c \
+ action.c \
+@@ -657,6 +656,7 @@ BUILT_SOURCES = \
+ quote_fmt_parse.h
+
+ EXTRA_DIST = \
++ w32-logo.ico w32-resource.rc \
+ pixmaps/addr_one.xpm \
+ pixmaps/addr_two.xpm \
+ pixmaps/address_book.xpm \
+@@ -812,7 +812,11 @@ INCLUDES = \
+ @PLATFORM_WIN32_FALSE at arch_ldflags :=
+ @PLATFORM_WIN32_TRUE at arch_ldflags := -export-all-symbols
+ claws_mail_LDFLAGS = \
+- $(arch_ldflags) -export-dynamic
++ $(arch_ldflags) -export-dynamic $(claws_mail_res_ldflag)
++
++claws_mail_DEPENDENCIES = $(claws_mail_deps) \
++ $(etpan_library) \
++ gtk/libclawsgtk.la
+
+ claws_mail_LDADD = \
+ $(etpan_library) \
+@@ -1429,6 +1433,9 @@ install-exec-hook:
+ @rm -f $(DESTDIR)$(bindir)/sylpheed-claws
+ @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws
+
++ at PLATFORM_WIN32_TRUE@%.o : %.rc
++ at PLATFORM_WIN32_TRUE@ $(LTRCCOMPILE) -i $< -o $@
++
+ @CYGWIN_TRUE at claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
+ @CYGWIN_TRUE@ @rm -f claws-mail$(EXEEXT)
+ @CYGWIN_TRUE@ @rm -f claws-mail.def claws-mail.base claws-mail.exp libclaws-mail.a .libs/libclaws-mail.a
+diff -rupN claws-mail-3.0.2-orig/src/plugins/Makefile.in claws-mail-3.0.2/src/plugins/Makefile.in
+--- claws-mail-3.0.2-orig/src/plugins/Makefile.in 2007-10-02 09:47:42.000000000 +0200
++++ claws-mail-3.0.2/src/plugins/Makefile.in 2007-11-15 15:50:53.000000000 +0100
+@@ -60,7 +60,7 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-re
+ ETAGS = etags
+ CTAGS = ctags
+ DIST_SUBDIRS = demo spamassassin bogofilter dillo_viewer trayicon \
+- clamav pgpcore pgpmime pgpinline
++ clamav pgpcore pgpmime pgpinline smime
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ ALLOCA = @ALLOCA@
+@@ -268,7 +268,8 @@ SUBDIRS = $(demo_dir) \
+ $(clamav_dir) \
+ $(pgpcore_dir) \
+ $(pgpmime_dir) \
+- $(pgpinline_dir)
++ $(pgpinline_dir) \
++ smime
+
+ all: all-recursive
+
+diff -rupN claws-mail-3.0.2-orig/src/plugins/smime/Makefile.in claws-mail-3.0.2/src/plugins/smime/Makefile.in
+--- claws-mail-3.0.2-orig/src/plugins/smime/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ claws-mail-3.0.2/src/plugins/smime/Makefile.in 2007-11-15 15:50:56.000000000 +0100
+@@ -0,0 +1,664 @@
++# Makefile.in generated by automake 1.10 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++ at SET_MAKE@
++
++
++
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++target_triplet = @target@
++subdir = src/plugins/smime
++DIST_COMMON = $(plugininclude_HEADERS) $(srcdir)/Makefile.am \
++ $(srcdir)/Makefile.in
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/m4/aclocal-include.m4 \
++ $(top_srcdir)/m4/aspell.m4 $(top_srcdir)/m4/check-type.m4 \
++ $(top_srcdir)/m4/gnupg-check-typedef.m4 \
++ $(top_srcdir)/m4/gnupg.m4 $(top_srcdir)/m4/gpgme.m4 \
++ $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/spamassassin.m4 \
++ $(top_srcdir)/configure.ac
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/config.h
++CONFIG_CLEAN_FILES =
++am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
++am__vpath_adj = case $$p in \
++ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
++ *) f=$$p;; \
++ esac;
++am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
++am__installdirs = "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" \
++ "$(DESTDIR)$(pluginincludedir)"
++pluginLTLIBRARIES_INSTALL = $(INSTALL)
++LTLIBRARIES = $(plugin_LTLIBRARIES)
++am__DEPENDENCIES_1 =
++ at OS_WIN32_TRUE@am__DEPENDENCIES_2 = .
++am_smime_la_OBJECTS = plugin.lo smime.lo
++smime_la_OBJECTS = $(am_smime_la_OBJECTS)
++smime_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(smime_la_LDFLAGS) \
++ $(LDFLAGS) -o $@
++DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
++depcomp = $(SHELL) $(top_srcdir)/config/depcomp
++am__depfiles_maybe = depfiles
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
++ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
++ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
++ $(LDFLAGS) -o $@
++SOURCES = $(smime_la_SOURCES)
++DIST_SOURCES = $(smime_la_SOURCES)
++pluginDATA_INSTALL = $(INSTALL_DATA)
++DATA = $(plugin_DATA)
++pluginincludeHEADERS_INSTALL = $(INSTALL_HEADER)
++HEADERS = $(plugininclude_HEADERS)
++ETAGS = etags
++CTAGS = ctags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++ACLOCAL = @ACLOCAL@
++ALLOCA = @ALLOCA@
++AMTAR = @AMTAR@
++AR = @AR@
++AS = @AS@
++ASPELL = @ASPELL@
++ASPELL_CFLAGS = @ASPELL_CFLAGS@
++ASPELL_LIBS = @ASPELL_LIBS@
++ASPELL_PATH = @ASPELL_PATH@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCDEPMODE = @CCDEPMODE@
++CFLAGS = @CFLAGS@
++CLAMAV_CFLAGS = @CLAMAV_CFLAGS@
++CLAMAV_LIBS = @CLAMAV_LIBS@
++COMPFACE_LIBS = @COMPFACE_LIBS@
++CONIC_CFLAGS = @CONIC_CFLAGS@
++CONIC_LIBS = @CONIC_LIBS@
++CPP = @CPP@
++CPPFLAGS = @CPPFLAGS@
++CRYPT_LIBS = @CRYPT_LIBS@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
++CXXDEPMODE = @CXXDEPMODE@
++CXXFLAGS = @CXXFLAGS@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++EGREP = @EGREP@
++EXEEXT = @EXEEXT@
++EXTRA_VERSION = @EXTRA_VERSION@
++F77 = @F77@
++FFLAGS = @FFLAGS@
++GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
++GLIB_CFLAGS = @GLIB_CFLAGS@
++GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
++GLIB_LIBS = @GLIB_LIBS@
++GMSGFMT = @GMSGFMT@
++GMSGFMT_015 = @GMSGFMT_015@
++GNOME2_CFLAGS = @GNOME2_CFLAGS@
++GNOME2_LIBS = @GNOME2_LIBS@
++GNOMEPRINT_CFLAGS = @GNOMEPRINT_CFLAGS@
++GNOMEPRINT_LIBS = @GNOMEPRINT_LIBS@
++GNOME_CONFIG = @GNOME_CONFIG@
++GPGME_CFLAGS = @GPGME_CFLAGS@
++GPGME_CONFIG = @GPGME_CONFIG@
++GPGME_LIBS = @GPGME_LIBS@
++GREP = @GREP@
++GTK_CFLAGS = @GTK_CFLAGS@
++GTK_LIBS = @GTK_LIBS@
++INSTALL = @INSTALL@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++INTLLIBS = @INTLLIBS@
++INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
++JPILOT_LIBS = @JPILOT_LIBS@
++LDAP_LIBS = @LDAP_LIBS@
++LDFLAGS = @LDFLAGS@
++LEX = @LEX@
++LEXLIB = @LEXLIB@
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++LIBETPAN_FLAGS = @LIBETPAN_FLAGS@
++LIBETPAN_LIBS = @LIBETPAN_LIBS@
++LIBICONV = @LIBICONV@
++LIBINTL = @LIBINTL@
++LIBOBJS = @LIBOBJS@
++LIBRESOLV = @LIBRESOLV@
++LIBS = @LIBS@
++LIBTOOL = @LIBTOOL@
++LN_S = @LN_S@
++LTLIBICONV = @LTLIBICONV@
++LTLIBINTL = @LTLIBINTL@
++LTLIBOBJS = @LTLIBOBJS@
++LT_AGE = @LT_AGE@
++LT_CURRENT = @LT_CURRENT@
++LT_RELEASE = @LT_RELEASE@
++LT_REVISION = @LT_REVISION@
++MAEMO_CFLAGS = @MAEMO_CFLAGS@
++MAEMO_LIBS = @MAEMO_LIBS@
++MAINT = @MAINT@
++MAJOR_VERSION = @MAJOR_VERSION@
++MAKEINFO = @MAKEINFO@
++MICRO_VERSION = @MICRO_VERSION@
++MINOR_VERSION = @MINOR_VERSION@
++MKDIR_P = @MKDIR_P@
++MSGFMT = @MSGFMT@
++MSGFMT_015 = @MSGFMT_015@
++MSGMERGE = @MSGMERGE@
++OBJDUMP = @OBJDUMP@
++OBJEXT = @OBJEXT@
++OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
++OPENSSL_LIBS = @OPENSSL_LIBS@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PASSCRYPT_KEY = @PASSCRYPT_KEY@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++PKG_CONFIG = @PKG_CONFIG@
++POSUB = @POSUB@
++PTHREAD_LIBS = @PTHREAD_LIBS@
++RANLIB = @RANLIB@
++RC = @RC@
++SED = @SED@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++SM_LIBS = @SM_LIBS@
++STARTUP_NOTIFICATION_CFLAGS = @STARTUP_NOTIFICATION_CFLAGS@
++STARTUP_NOTIFICATION_LIBS = @STARTUP_NOTIFICATION_LIBS@
++STRIP = @STRIP@
++USE_NLS = @USE_NLS@
++VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
++VALGRIND_LIBS = @VALGRIND_LIBS@
++VERSION = @VERSION@
++XGETTEXT = @XGETTEXT@
++XGETTEXT_015 = @XGETTEXT_015@
++YACC = @YACC@
++YFLAGS = @YFLAGS@
++abs_builddir = @abs_builddir@
++abs_srcdir = @abs_srcdir@
++abs_top_builddir = @abs_top_builddir@
++abs_top_srcdir = @abs_top_srcdir@
++ac_ct_CC = @ac_ct_CC@
++ac_ct_CXX = @ac_ct_CXX@
++ac_ct_F77 = @ac_ct_F77@
++ac_cv_enable_crash_dialog = @ac_cv_enable_crash_dialog@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++builddir = @builddir@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++gnomedatadir = @gnomedatadir@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libetpanconfig = @libetpanconfig@
++libexecdir = @libexecdir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++mandir = @mandir@
++manualdir = @manualdir@
++mkdir_p = @mkdir_p@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++srcdir = @srcdir@
++sysconfdir = @sysconfdir@
++target = @target@
++target_alias = @target_alias@
++target_cpu = @target_cpu@
++target_os = @target_os@
++target_vendor = @target_vendor@
++top_builddir = @top_builddir@
++top_srcdir = @top_srcdir@
++EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def smime.deps
++ at OS_WIN32_TRUE@LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \
++ at OS_WIN32_TRUE@ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
++ at OS_WIN32_TRUE@ sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
++
++ at OS_WIN32_FALSE@plugin_res =
++ at OS_WIN32_TRUE@plugin_res = version.lo
++ at OS_WIN32_FALSE@plugin_res_ldflag =
++ at OS_WIN32_TRUE@plugin_res_ldflag = -Wl,.libs/version.o
++ at OS_WIN32_FALSE@export_symbols =
++ at OS_WIN32_TRUE@export_symbols = -export-symbols $(srcdir)/plugin.def
++ at OS_WIN32_FALSE@plugin_deps =
++ at OS_WIN32_TRUE@plugin_deps = libclaws.a libmypgpcore.a $(plugin_res) plugin.def
++ at OS_WIN32_FALSE@plugin_ldadd =
++ at OS_WIN32_TRUE@plugin_ldadd = -L . -lclaws -lmypgpcore
++ at PLATFORM_WIN32_FALSE@no_undefined =
++ at PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
++ at CYGWIN_FALSE@cygwin_export_lib =
++ at CYGWIN_TRUE@cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
++plugindir = $(pkglibdir)/plugins
++plugin_DATA = smime.deps
++plugin_LTLIBRARIES = smime.la
++smime_la_SOURCES = \
++ plugin.c \
++ smime.c
++
++pluginincludedir = $(pkgincludedir)/plugins/smime
++plugininclude_HEADERS = \
++ smime.h
++
++smime_la_LDFLAGS = \
++ $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
++ -avoid-version -module
++
++smime_la_DEPENDENCIES = $(plugin_deps)
++smime_la_LIBADD = $(cygwin_export_lib) $(plugin_ldadd) $(pgpcore_lib) \
++ $(GTK_LIBS) \
++ $(GPGME_LIBS)
++
++INCLUDES = \
++ -I$(top_srcdir)/src \
++ -I$(top_srcdir)/src/common \
++ -I$(top_builddir)/src/common \
++ -I$(top_srcdir)/src/gtk
++
++AM_CPPFLAGS = \
++ $(GLIB_CFLAGS) \
++ $(GTK_CFLAGS) \
++ $(GPGME_CFLAGS) \
++ -Wno-deprecated-declarations
++
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .c .lo .o .obj
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/plugins/smime/Makefile'; \
++ cd $(top_srcdir) && \
++ $(AUTOMAKE) --foreign src/plugins/smime/Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++
++$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
++ @$(NORMAL_INSTALL)
++ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
++ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
++ if test -f $$p; then \
++ f=$(am__strip_dir) \
++ echo " $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
++ $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(plugindir)/$$f"; \
++ else :; fi; \
++ done
++
++uninstall-pluginLTLIBRARIES:
++ @$(NORMAL_UNINSTALL)
++ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
++ p=$(am__strip_dir) \
++ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$p'"; \
++ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$p"; \
++ done
++
++clean-pluginLTLIBRARIES:
++ -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
++ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
++ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++ test "$$dir" != "$$p" || dir=.; \
++ echo "rm -f \"$${dir}/so_locations\""; \
++ rm -f "$${dir}/so_locations"; \
++ done
++smime.la: $(smime_la_OBJECTS) $(smime_la_DEPENDENCIES)
++ $(smime_la_LINK) -rpath $(plugindir) $(smime_la_OBJECTS) $(smime_la_LIBADD) $(LIBS)
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/plugin.Plo at am__quote@
++ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/smime.Plo at am__quote@
++
++.c.o:
++ at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
++ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++ at am__fastdepCC_FALSE@ $(COMPILE) -c $<
++
++.c.obj:
++ at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
++ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++ at am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
++
++.c.lo:
++ at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
++ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
++ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++ at am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
++
++mostlyclean-libtool:
++ -rm -f *.lo
++
++clean-libtool:
++ -rm -rf .libs _libs
++install-pluginDATA: $(plugin_DATA)
++ @$(NORMAL_INSTALL)
++ test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
++ @list='$(plugin_DATA)'; for p in $$list; do \
++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++ f=$(am__strip_dir) \
++ echo " $(pluginDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(plugindir)/$$f'"; \
++ $(pluginDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(plugindir)/$$f"; \
++ done
++
++uninstall-pluginDATA:
++ @$(NORMAL_UNINSTALL)
++ @list='$(plugin_DATA)'; for p in $$list; do \
++ f=$(am__strip_dir) \
++ echo " rm -f '$(DESTDIR)$(plugindir)/$$f'"; \
++ rm -f "$(DESTDIR)$(plugindir)/$$f"; \
++ done
++install-pluginincludeHEADERS: $(plugininclude_HEADERS)
++ @$(NORMAL_INSTALL)
++ test -z "$(pluginincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pluginincludedir)"
++ @list='$(plugininclude_HEADERS)'; for p in $$list; do \
++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++ f=$(am__strip_dir) \
++ echo " $(pluginincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pluginincludedir)/$$f'"; \
++ $(pluginincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pluginincludedir)/$$f"; \
++ done
++
++uninstall-pluginincludeHEADERS:
++ @$(NORMAL_UNINSTALL)
++ @list='$(plugininclude_HEADERS)'; for p in $$list; do \
++ f=$(am__strip_dir) \
++ echo " rm -f '$(DESTDIR)$(pluginincludedir)/$$f'"; \
++ rm -f "$(DESTDIR)$(pluginincludedir)/$$f"; \
++ done
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ tags=; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$tags $$unique; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ tags=; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ test -z "$(CTAGS_ARGS)$$tags$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$tags $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && cd $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) $$here
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++
++distdir: $(DISTFILES)
++ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
++ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
++ list='$(DISTFILES)'; \
++ dist_files=`for file in $$list; do echo $$file; done | \
++ sed -e "s|^$$srcdirstrip/||;t" \
++ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
++ case $$dist_files in \
++ */*) $(MKDIR_P) `echo "$$dist_files" | \
++ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
++ sort -u` ;; \
++ esac; \
++ for file in $$dist_files; do \
++ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
++ if test -d $$d/$$file; then \
++ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
++ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
++ fi; \
++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
++ else \
++ test -f $(distdir)/$$file \
++ || cp -p $$d/$$file $(distdir)/$$file \
++ || exit 1; \
++ fi; \
++ done
++check-am: all-am
++check: check-am
++all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
++installdirs:
++ for dir in "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(pluginincludedir)"; do \
++ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
++ done
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-generic clean-libtool clean-local \
++ clean-pluginLTLIBRARIES mostlyclean-am
++
++distclean: distclean-am
++ -rm -rf ./$(DEPDIR)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++info: info-am
++
++info-am:
++
++install-data-am: install-pluginDATA install-pluginLTLIBRARIES \
++ install-pluginincludeHEADERS
++
++install-dvi: install-dvi-am
++
++install-exec-am:
++
++install-html: install-html-am
++
++install-info: install-info-am
++
++install-man:
++
++install-pdf: install-pdf-am
++
++install-ps: install-ps-am
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -rf ./$(DEPDIR)
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++ mostlyclean-libtool
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am: uninstall-pluginDATA uninstall-pluginLTLIBRARIES \
++ uninstall-pluginincludeHEADERS
++
++.MAKE: install-am install-strip
++
++.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
++ clean-libtool clean-local clean-pluginLTLIBRARIES ctags \
++ distclean distclean-compile distclean-generic \
++ distclean-libtool distclean-tags distdir dvi dvi-am html \
++ html-am info info-am install install-am install-data \
++ install-data-am install-dvi install-dvi-am install-exec \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-pdf install-pdf-am \
++ install-pluginDATA install-pluginLTLIBRARIES \
++ install-pluginincludeHEADERS install-ps install-ps-am \
++ install-strip installcheck installcheck-am installdirs \
++ maintainer-clean maintainer-clean-generic mostlyclean \
++ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++ pdf pdf-am ps ps-am tags uninstall uninstall-am \
++ uninstall-pluginDATA uninstall-pluginLTLIBRARIES \
++ uninstall-pluginincludeHEADERS
++
++
++ at OS_WIN32_TRUE@%.lo : %.rc
++ at OS_WIN32_TRUE@ $(LTRCCOMPILE) -i $< -o $@
++
++ at OS_WIN32_TRUE@libclaws.a: claws.def
++ at OS_WIN32_TRUE@ $(DLLTOOL) --output-lib $@ --def $<
++
++ at OS_WIN32_TRUE@libmypgpcore.a: mypgpcore.def
++ at OS_WIN32_TRUE@ $(DLLTOOL) --output-lib $@ --def $<
++
++clean-local:
++ rm -f libclaws.a
++ rm -f libmypgpcore.a
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
Property changes on: trunk/patches/claws-mail-3.0.2/99-auto.patch
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/src/Makefile.am 2007-11-15 19:45:35 UTC (rev 588)
@@ -280,9 +280,11 @@
# To make shure that we link against the static versions we need
# remove the import libs from regex
-define gpg4win_pkg_regex_post_install
-(cd $$$${pkgidir}/lib && rm libregex.dll.a libregex.lib)
-endef
+# FIXME: We need to shared version or libtool refuses to build the
+# claws plugin.
+#define gpg4win_pkg_regex_post_install
+#(cd $$$${pkgidir}/lib && rm libregex.dll.a libregex.lib)
+#endef
# We need to fix the prefix in the various packages using pkgconfig,
# or we can't substitute it properly in our pkg-config wrapper.
Modified: trunk/src/inst-regex.nsi
===================================================================
--- trunk/src/inst-regex.nsi 2007-11-15 11:37:46 UTC (rev 587)
+++ trunk/src/inst-regex.nsi 2007-11-15 19:45:35 UTC (rev 588)
@@ -32,6 +32,6 @@
!ifdef SOURCES
File "${gpg4win_pkg_regex_src}"
!else
- # Nothing to install as we link statically.
+ File ${prefix}/bin/regex.dll
!endif
SectionEnd
More information about the Gpg4win-commits
mailing list