Closed Bug 520928 Opened 10 years ago Closed 10 years ago

Install Fennec & XULRunner to /opt

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Maemo
defect
Not set

Tracking

(status1.9.2 beta2-fixed)

VERIFIED FIXED
fennec1.0b5
Tracking Status
status1.9.2 --- beta2-fixed

People

(Reporter: mfinkle, Assigned: bcombee)

References

Details

Attachments

(2 files)

Duplicate of this bug: 484443
Ben - Are you working on this?
What I've done is in two parts:

1) modify local mozconfig to specify /opt as prefix instead of /usr/local
2) modify fennec build files to do correct substituion from configure variables instead of hardcoding /usr/local/fennec

I didn't have this correctly working on Friday, and have been doing patch review this week.
Assignee: nobody → combee
Status: NEW → ASSIGNED
Attachment #407999 - Flags: review?(mark.finkle)
Attachment #408000 - Flags: review?(mark.finkle)
These two patches fix some hardcoded directory patch depth assumptions that prevented using these lines in mozconfig

# locations for xulrunner/fennec for Maemo
ac_add_options --prefix=/opt
ac_add_options --libdir=/opt

The fennec patch also changes some hardcoded paths to instead be set from those variables.  There's also some dependencies that are updated for correctness.
Attachment #407999 - Flags: review?(mark.finkle) → review+
Attachment #408000 - Flags: review?(mark.finkle) → review+
Comment on attachment 407999 [details] [diff] [review]
xulrunner patch to allow using /opt as installdir

a192? needed for this XULRunner patch. It's Fennec/Maemo only.
pushed fennec:
https://hg.mozilla.org/mobile-browser/rev/16a176ddd28c

pushed m-c:
http://hg.mozilla.org/mozilla-central/rev/01f7f005522b

pushed m-192:
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/f74ea6fee719
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → B5
Needs mozconfig changes in bug 524751
I had to run fennec by going through terminal with the following command on the n900: /opt/xulrunner*/xulrunner /opt/fennec*/fennec/application.ini

...and I was able to run Fennec with no issue on trunk via the n810 as well.

So, it's working on builds:

Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2b2pre) Gecko/20091028 Namoroka/3.6b2pre Fennec/1.0b5pre

and

Mozilla/5.0 (X11; U; Linux armv6l; Nokia N8xx; en-US; rv:1.9.3a1pre) Gecko/20091028 Namoroka/3.7a1pre Fennec/1.0b5pre
Status: RESOLVED → VERIFIED
Component: Linux/Maemo → General
OS: Mac OS X → Linux (embedded)
QA Contact: maemo-linux → general
Hardware: x86 → ARM
You need to log in before you can comment on or make changes to this bug.