Bug 113763 - mail/enigmail-seamonkey: Script error when installing seamonkey-enigmail-0.95.1
Summary: mail/enigmail-seamonkey: Script error when installing seamonkey-enigmail-0.95.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 18:30 UTC by Bob Melson
Modified: 2007-06-22 06:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Melson 2007-06-16 18:30:04 UTC
seamonkey-enigmail compiles and installs from ports with no evident problems.  However, following "final" installation instructions (open seamonkey as root, then
File->Open File (/usr/local/share/enigmail/enigmail-0.95.1-seamonkey-freebsd-i386.xpi) and clicking on "Install" in the resulting javascript panel, results in a "script error" message appearing in the javascript panel.  This behavior is true whether installing a locally compiled version or the packaged version and has occurred since the introduction of the 0.95.1 update to the ports tree.

Should probably be a separate PR, but the installation/activation instructions displayed as part of the ports process needs changing as it does NOT reflect the proper method, which is as outlined above.

How-To-Repeat: Follow the instructions as outlined in the description.
Comment 1 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2007-06-16 20:11:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Add CATEGORY/PORTNAME to Synonsis and assign to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2007-06-20 07:10:52 UTC
State Changed
From-To: open->feedback

Fill a bug report at http://enigmail.mozdev.org/bugs.html
Comment 3 Bob Melson 2007-06-20 16:24:48 UTC
Does this mean I should file a bug report with Mozilla or that you've
already done so?  Don't mean to be dense or uncooperative.

-- 
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
"People unfit for freedom---who cannot do much with it---are
hungry for power." ---Eric Hoffer
Comment 4 Bob Melson 2007-06-20 16:26:07 UTC
Does this mean I should file a bug report with Mozilla or that you've
already done so?  Don't mean to be dense or uncooperative.

-- 
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
"People unfit for freedom---who cannot do much with it---are
hungry for power." ---Eric Hoffer
Comment 5 Bob Melson 2007-06-22 06:01:36 UTC
Following was received from Mozilla.org.  I haven't the least idea what
to do with it as it doesn't seem to fit with any of the files in the
"exploded" XPI file.  Maybe you folks can do something with it.

====================
http://bugzilla.mozdev.org/show_bug.cgi?id=17239


patrick.brunschwig@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from patrick.brunschwig@gmx.net  2007-06-20 23:43 -------
The problem is known and has been fixed on the trunk. Here is the patch:

===================================================================
RCS file: /cvs/enigmail/src/genxpi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- enigmail/genxpi      7 Jun 2007 14:50:59 -0000       1.10
+++ enigmail/genxpi      9 Jun 2007 16:52:57 -0000       1.11
@@ -68,7 +68,7 @@
 // Install script for Enigmail

 var err;
-const APP_VERSION=${xpiVersion}.0";
+const APP_VERSION="${xpiVersion}.0";


 const ABI_PLATFORM_LINUX="Linux_x86-gcc3";



-- 
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
"People unfit for freedom---who cannot do much with it---are
hungry for power." ---Eric Hoffer
Comment 6 Bob Melson 2007-06-22 06:15:39 UTC
OK, I panicked.  Simple answer:  unzip the enigmail XPI file and add a
double quote immediately after the "=" on line 3 of the install.js file.
Do a zip -f of the original XPI file, which should refresh the changed
install.js and things _should_ be OK to go from that point.  Hope this
helps somebody else.

-- 
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
"People unfit for freedom---who cannot do much with it---are
hungry for power." ---Eric Hoffer
Comment 7 dfilter service freebsd_committer freebsd_triage 2007-06-22 06:49:20 UTC
ale         2007-06-22 05:49:10 UTC

  FreeBSD ports repository

  Added files:
    mail/enigmail-thunderbird/files 
                                    patch-mailnews_extensions_enigmail_genxpi 
  Log:
  Fix installation on SeaMonkey.
  
  PR:             ports/113763
  Submitted by:   Robert Melson <melsonr@earthlink.net>
  
  Revision  Changes    Path
  1.1       +11 -0     ports/mail/enigmail-thunderbird/files/patch-mailnews_extensions_enigmail_genxpi (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Alex Dupre freebsd_committer freebsd_triage 2007-06-22 06:49:25 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!