Re: Aging Dependencies?

Kevin Cosgrove <[email protected]> Sun, 06 May 2012 01:11:25 -0700
Newsgroups gmane.mail.exmh.devel,gmane.mail.exmh.user
Message-ID <[email protected]>
I've built a CVS version of exmh.  I pulled down the source on
May 2, 2012.  The most recent tarball is 2.8.0, and I think the
CVS is slightly newer.  This built fine on Fedora 16.  I'm using
the Fedora supplied nmh, version 1.4.

So far everything seems to work.  But, I haven't tested much.
Here are some observations:

- I haven't been able to get a fixed width font to work.
- My custom buttons seem to be intact just fine.
- Sending & receiving messages works.
- Moving messages between folders works.
- Changing folders works.
- Pick works.
- Attaching files works.
- MIME preview works.

I included two patches, which I've been dragging around since maybe 
2.7.[0|2].  I'm not sure if they're needed anymore.  But, they're not 
applied.  Maybe I got them from this list?  See the attachments for 
those.  Any ideas as to whether I should keep dragging them around?

Thanks....
 
--
Kevin

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
exmh-2.8.0-textpgp.patch (application/x-patch, 2 KB)
diff -uNr exmh-2.8.0-cvs-2012-05-02-cosgroves/lib/app-defaults exmh-2.8.0-cvs-2012-05-02/lib/app-defaults
--- exmh-2.8.0-cvs-2012-05-02-cosgroves/lib/app-defaults	2011-04-23 20:44:48.000000000 -0700
+++ exmh-2.8.0-cvs-2012-05-02/lib/app-defaults	2012-05-06 00:03:04.874935368 -0700
@@ -947,7 +947,7 @@
 *Sedit.Menubar.pgp.m.format.t_plain:	radio
 *Sedit.Menubar.pgp.m.format.v_plain:	pgp(format,$id)
 *Sedit.Menubar.pgp.m.format.x_plain:	plain
-*Sedit.Menubar.pgp.m.format.l_app:	Application/PGP
+*Sedit.Menubar.pgp.m.format.l_app:	Text/PGP
 *Sedit.Menubar.pgp.m.format.t_app:	radio
 *Sedit.Menubar.pgp.m.format.v_app:	pgp(format,$id)
 *Sedit.Menubar.pgp.m.format.x_app:	app
@@ -1177,7 +1177,7 @@
 *WhatNow.more.m.encrypt.format.t_plain:	radio
 *WhatNow.more.m.encrypt.format.v_plain:	pgp(format,$id)
 *WhatNow.more.m.encrypt.format.x_plain:	plain
-*WhatNow.more.m.encrypt.format.l_app:	Application/PGP
+*WhatNow.more.m.encrypt.format.l_app:	Text/PGP
 *WhatNow.more.m.encrypt.format.t_app:	radio
 *WhatNow.more.m.encrypt.format.v_app:	pgp(format,$id)
 *WhatNow.more.m.encrypt.format.x_app:	app
diff -uNr exmh-2.8.0-cvs-2012-05-02-cosgroves/lib/pgpMain.tcl exmh-2.8.0-cvs-2012-05-02/lib/pgpMain.tcl
--- exmh-2.8.0-cvs-2012-05-02-cosgroves/lib/pgpMain.tcl	2011-12-06 18:08:42.000000000 -0800
+++ exmh-2.8.0-cvs-2012-05-02/lib/pgpMain.tcl	2012-05-06 00:06:27.693201246 -0700
@@ -476,7 +476,7 @@
 	ExmhLog "<Pgp_Process> Encrypting with public key(s): [join $ids ", "]"
 
 	if {$pgp(format,$id) == "app"} {
-	    append typeparams ";\n\tx-recipients=\"[join [Pgp_Misc_Map key {string range [lindex $key 0] 2 end} $ids] ", "]\""
+	    append typeparams "\n\tx-recipients=\"[join [Pgp_Misc_Map key {string range [lindex $key 0] 2 end} $ids] ", "]\""
 	}
     }
       
@@ -580,7 +580,7 @@
 
     lappend mailheaders \
                 "mime-version: 1.0" \
-                "content-type: application/pgp; format=mime$typeparams" \
+                "content-type: application/x-pgp; format=mime$typeparams" \
                 "content-transfer-encoding: 7bit"
 
     # write out the new mail file
exmh-2.8.0-mangle.patch (application/x-patch, 1.2 KB)
diff -uNr exmh-2.8.0-cvs-2012-05-02-textpgp/lib/pgpMain.tcl exmh-2.8.0-cvs-2012-05-02/lib/pgpMain.tcl
--- exmh-2.8.0-cvs-2012-05-02-textpgp/lib/pgpMain.tcl	2012-05-06 00:07:51.905802022 -0700
+++ exmh-2.8.0-cvs-2012-05-02/lib/pgpMain.tcl	2012-05-06 00:13:05.313483567 -0700
@@ -712,7 +712,7 @@
 	    # -----BEGIN PGP SIGNED MESSAGE-----
 	    # Hash: SHA1
 	    #####
-	    set a [regsub "^(-----BEGIN.+MESSAGE-----\n)(\[^ \n\t:\]+: \[^\n\]+\n)?((\[^ :\t\n]+\[ \t]*)+\n)" $pgptext "\\1\\2\n\\3" pgptext]
+	    set a [regsub "^(-----BEGIN\[^\n]+MESSAGE-----\n)(\[^ \n\t:\]+: \[^\n\]+\n)?((\[^ :\t\n]+\[ \t]*)+\n)" $pgptext "\\1\\2\n\\3" pgptext]
 	    #####
 	    # Blank line after
 	    # -----BEGIN PGP SIGNATURE-----
@@ -720,7 +720,7 @@
 	    # Charset: noconv
 	    # ...    : ...
 	    #####
-	    set b [regsub "(-----BEGIN.+SIGNATURE-----\n)((\[^ \n\t:\]+: \[^\n\]+\n)+)((\[^ :\t\n]+\[ \t]*)+\n)" $pgptext "\\1\\2\n\\4" pgptext]
+	    set b [regsub "^(-----BEGIN\[^\n]+SIGNATURE-----\n)((\[^ \n\t:\]+: \[^\n\]+\n)+)((\[^ :\t\n]+\[ \t]*)+\n)" $pgptext "\\1\\2\n\\4" pgptext]
 	    Exmh_Debug "<Pgp_CheckBlankLines> Number of blank lines added: $a-$b"
 	    }
 	{BEGIN PGP MESSAGE} {