Closed
Bug 445128
Opened 16 years ago
Closed 6 years ago
Shouldn't install in /usr/lib/$appname-$version
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(2 files, 1 obsolete file)
I'm okay with major versions having their own directory, but having each minor version install in a different directory is just silly. Are there variables somewhere already to know the application major version (Gecko 1.9/1.9.1, Ffx 3.0/3.1) ?
Assignee | ||
Comment 1•16 years ago
|
||
/etc/gre.d files have the same problem
Comment 2•16 years ago
|
||
I don't think we have this anywhere. MOZILLA_VERSION is populated from milestone.txt: http://mxr.mozilla.org/mozilla/source/config/milestone.txt The Firefox version is populated from version.txt: http://mxr.mozilla.org/mozilla/source/browser/config/version.txt These both have minor versions in them. I don't think you can automatically divine the major version from those.
Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > These both have minor versions in them. I don't think you can automatically > divine the major version from those. Unfortunately, there is no possible automatic way to do that. The best would probably to add a new variable for that... what do you think its name should be ?
Assignee | ||
Comment 4•14 years ago
|
||
This is what I've been using for 2 years on Debian. Obviously, the version setting hunk is inappropriate if that ever needs to be checked-in. It would be nice to have a programmatical way to get the "base version" from the milestone, but it is kind of tricky, as 3.6 and 3.6.x would have a base version of 3.6, 1.9 and 1.9.0.x would have a base version of 1.9 and 1.9.1 and 1.9.1.x would have a base version of 1.9.1.
Assignee | ||
Updated•13 years ago
|
Version: 1.9.0 Branch → Trunk
Assignee | ||
Comment 5•13 years ago
|
||
Now we have pretty straightforward version numbers, we can just restrict to the first 2 digits safely (which takes care of chemspills)
Attachment #545859 -
Flags: review?(khuey)
Assignee | ||
Updated•13 years ago
|
Attachment #435859 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 6•13 years ago
|
||
Note that 7.0a2 type of versions will stay that way, and I'm not sure this is really helpful...
Comment on attachment 545859 [details] [diff] [review] Use the first two digits of the version number for the install directory Roping in Callek to take a look at this from Seamonkey's perspective.
Attachment #545859 -
Flags: feedback?(bugspam.Callek)
Comment on attachment 545859 [details] [diff] [review] Use the first two digits of the version number for the install directory This looks fine, although I'd do +MOZ_APP_EXPLODED_VERSION = $(subst ., ,$(MOZ_APP_VERSION)) +MOZ_APP_BASE_VERSION = $(word 1,$(MOZ_APP_EXPLODED_VERSION).$(word 2,$(MOZ_APP_EXPLODED_VERSION))
Attachment #545859 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 9•13 years ago
|
||
Note that, thinking of it, now that firefox version numbers supposedly are only an internal thing, does a /usr/lib/$app-$ver path still make sense at all by default?
Excellent question.
Comment 11•13 years ago
|
||
Comment on attachment 545859 [details] [diff] [review] Use the first two digits of the version number for the install directory As a seamonkey person I have no problems with this as long as the first two digits of the ver are still useful here. (I'm not certain if dropping the version here by default would be usable for us though -- as was just suggested) But I'm also not a linux user, and only am exposed to its details from MozBuild, and the build machines for SeaMonkey, so punting to the c-c build system owner and an actual Linux user (KaiRo) for the feedback.
Attachment #545859 -
Flags: feedback?(bugspam.Callek) → feedback?(kairo)
Comment 12•13 years ago
|
||
Comment on attachment 545859 [details] [diff] [review] Use the first two digits of the version number for the install directory I *think* this should work out. In the end, this is really only important for "make install", right? In that case, it doesn't influence the builds we are packaging and providing ourselves.
Attachment #545859 -
Flags: feedback?(kairo) → feedback+
Comment hidden (mozreview-request) |
Updated•6 years ago
|
Attachment #8939193 -
Flags: review?(core-build-config-reviews) → review?(nalexander)
Comment 14•6 years ago
|
||
mozreview-review |
Comment on attachment 8939193 [details] Bug 445128 - Stop putting the version number in the target directory for make install. https://reviewboard.mozilla.org/r/209598/#review215436 This is more policy than technology, but I can't think of a better person to make that policy call than yourself. Roll on.
Attachment #8939193 -
Flags: review?(nalexander) → review+
Comment 15•6 years ago
|
||
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/8f74ddd39f61 Stop putting the version number in the target directory for make install. r=nalexander
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8f74ddd39f61
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment 17•6 years ago
|
||
wow. a 10 years old bug fixed!
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•