The original startup scripts for Mozilla, Firefox, Thunderbird, etc. implements "Mozilla Pluggable Init Script API", which allow both the user and the systems administrator to plug in start and stop shell scripts. However Mozilla-laucher, which is suppose to replace the original startup scripts, doesn't implement POS at all. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 38981 [details, diff] This patch implements POS This patch implements POS. As a side-effect it also fixes a minor bug in mozilla-launchers handling of exit codes (see bug 62921).
The patch was made with mozilla-launcher-1.16
Created attachment 38990 [details, diff] This patch implements POS Same patch but with a better implementation of MOZ_USER_DIR. The patch was made with mozilla-launcher-1.16
How do we use this? Should we still use this? mozilla-launcher-1.16 is no longer in portage.
Created attachment 53087 [details, diff] mozilla-launchre-1.26 fix some return values This is patch that solve problem with return value usign extra args (eg. -remote), please check that does not do anny other broke. is for mozilla-launcher-1.23
I've added support for Mozilla PIS in mozilla-launcher-1.26 (in CVS). Thanks for the patch; it was very helpful. Regarding the second patch in this bug, I don't think it has any effect since a failure in the mozargs stage will always cause try_start to be executed, which overwrites retval. See the following link for my changes: http://www.gentoo.org/cgi-bin/viewcvs.cgi/mozilla-launcher/mozilla-launcher?rev=1.26&root=gentoo-src&content-type=text/vnd.viewcvs-markup
Fixed in mozilla-launcher-1.26