Closed Bug 870306 Opened 11 years ago Closed 11 years ago

Includes should go under /usr/include/mozjs-x.y

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

MODULE is not really useful per se, but it is used to determine, for example, the pkg-config file name and such. Which means that with the current value, its name is either js.pc or js-x.y.pc.

IMHO js a too generic name to claim for pkg-config, /usr/include, etc. It should be smjs or mozjs.
Mmm so in fact, the pkg-config file *is* named mozjs-x.y.pc, which is even more inconsistent with js-config and /usr/include/js-x.y. These are the ones that need to change.
Let's already take care of /usr/include. js-config should probably die.
Summary: MODULE in js/src/moz.build should be mozjs instead of js → Includes should go under /usr/include/mozjs-x.y
Assignee: nobody → mh+mozilla
In fact, with this change we don't even need to alter MODULE anymore.
Attachment #747354 - Flags: review?(jwalden+bmo)
Attachment #747347 - Attachment is obsolete: true
Attachment #747347 - Flags: review?(jwalden+bmo)
Comment on attachment 747354 [details] [diff] [review]
Put includes under /usr/include/mozjs-x.y instead of /usr/include/js-x.y on make install

Forget it, this is missing some things.
Attachment #747354 - Flags: review?(jwalden+bmo)
Attachment #747354 - Attachment is obsolete: true
Comment on attachment 747389 [details] [diff] [review]
Put includes under /usr/include/mozjs-x.y instead of /usr/include/js-x.y on make install

Review of attachment 747389 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, but forwarding to Sean mostly so more people are aware of the state of affairs on this...
Attachment #747389 - Flags: review?(sstangl)
Attachment #747389 - Flags: review?(jwalden+bmo)
Attachment #747389 - Flags: review+
Attachment #747389 - Flags: review?(sstangl) → review+
https://hg.mozilla.org/mozilla-central/rev/668d1525ef29
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: