Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62916 - Mozilla-launcher doesn't implement Mozilla POS API
Summary: Mozilla-launcher doesn't implement Mozilla POS API
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-05 05:11 UTC by Martin Parm
Modified: 2005-03-16 05:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This patch implements POS (mozilla-launcher-1.16-enable-POS.patch,2.53 KB, patch)
2004-09-05 05:53 UTC, Martin Parm
Details | Diff
This patch implements POS (mozilla-launcher-1.16-enable-POS.patch,3.58 KB, patch)
2004-09-05 07:05 UTC, Martin Parm
Details | Diff
mozilla-launchre-1.26 fix some return values (mozilla-launcher.diff,520 bytes, patch)
2005-03-10 09:20 UTC, Pinky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Parm 2004-09-05 05:11:55 UTC
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.
Comment 1 Martin Parm 2004-09-05 05:53:20 UTC
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).
Comment 2 Martin Parm 2004-09-05 06:20:57 UTC
The patch was made with mozilla-launcher-1.16
Comment 3 Martin Parm 2004-09-05 07:05:37 UTC
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
Comment 4 Patrick Mail 2005-03-09 06:36:24 UTC
How do we use this? Should we still use this? mozilla-launcher-1.16 is no longer in portage.
Comment 5 Pinky 2005-03-10 09:20:11 UTC
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
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2005-03-15 15:43:36 UTC
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
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2005-03-16 05:36:38 UTC
Fixed in mozilla-launcher-1.26