Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388647

Summary: mozextension.eclass: Add new function for installing extensions in new standard install location
Product: Gentoo Linux Reporter: Shubhadeep Chaudhuri <shubhadeepc>
Component: EclassesAssignee: Mozilla Gentoo Team <mozilla>
Status: UNCONFIRMED ---    
Severity: enhancement Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: mozextension.eclass.patch

Description Shubhadeep Chaudhuri 2011-10-27 09:02:48 UTC
Created attachment 290989 [details, diff]

The mozextenions eclass hasn't been updated since 2007. The xpi_install function must be changed or a new install function must be added to the eclass to utilize the new standard install location for extensions which is /usr/lib/mozilla/extensions/<appid>. 

This feature has been implemented a long time back and is documented here:

Mozilla bug entry requesting the feature:

Attached a patch which modifies xpi_install to do just this.
Comment 1 Shubhadeep Chaudhuri 2011-10-27 10:56:37 UTC
Created attachment 291003 [details, diff]

Corrected patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-27 17:52:21 UTC
eclass lacks a maintainer tag.
Comment 3 Jory A. Pratt gentoo-dev 2011-10-31 12:29:38 UTC
Actually the patch is incorrect, appid does not need to be included it is the emid that is used to install. I will have to double check this to make sure we do not break enigmail before I am comfortable committing this to the tree.