Closed
Bug 195953
Opened 22 years ago
Closed 22 years ago
Need configure flag for building camino
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcafee, Assigned: bryner)
References
Details
Attachments
(1 file, 2 obsolete files)
We need a configure flag for building camino, this will
let us ifdef through client.mk and Makefile.in to build
in the right directories. Up until now we got away w/o this
because we were sitting on a branch. On to the big leagues!
--enable-camino .. sets MOZ_BUILD_CAMINO=1 ?
| Reporter | ||
Comment 1•22 years ago
|
||
phoenix has MOZ_PHOENIX, maybe we should be MOZ_CAMINO.
Phoenix uses env var? Makes more sense to me to use a configure flag.
Comment 2•22 years ago
|
||
Too many issues here:
1) setting a configure flag has absolutely no effect on client.mk, so
2) you have to set an env variable to pull the non-SeaMonkey portion of the source
3) I'm not really keen on configure options that do not work with our default
pull. They lead to bogus bugreports and excessive hand-holding.
4) I don't think camino or phoenix should be incorporated into the Mozilla/gecko
build tree. They should be clients of gecko, not a part of gecko itself. We
should be adding ifdefs to turn off certain feature sets, not adding ifdefs for
the embedding client of the month that we're concerned about building.
Comment 3•22 years ago
|
||
seconding what cls said, esp. 4)
| Reporter | ||
Comment 4•22 years ago
|
||
ok granrose & seawood, what's the suggested route here?
mozilla/camino.mk ?
Comment 5•22 years ago
|
||
camino/camino.mk . I see no need for these bits to reside underneath mozilla/
in the tree. Let's take a page from the photon guys and incorporate gecko into
the camino build process rather than incorporating camino into the gecko build
process.
| Assignee | ||
Comment 6•22 years ago
|
||
Just to clarify, you're suggesting making camino a toplevel directory that sits
alongside mozilla, instead of the current mozilla/camino directory?
Comment 7•22 years ago
|
||
That is correct.
Comment 8•22 years ago
|
||
I take back what I wrote to the camino list. I completely agree with comment 5.
Comment 9•22 years ago
|
||
New top-top-levels need to be run past staff@mozilla.org. Please mail them with
this proposal.
Notice that mozilla/ hosts many apps, not just "Mozilla the app-suite [plus
phoenix, plus camino till now, which moved just the other week from chimera]".
We have not yet populated mozilla/ beyond other-licenses, right?
What's photon? ;-)
/be
Comment 10•22 years ago
|
||
i'm not sure about we
http://bonsai.mozilla.org/rview.cgi?&cvsroot=/cvsroot&dir=/
Attic <- some content thanks to glazou
CVSROOT <- required, locked
README <- interesting historical documents
atwork <- amusing accidental checkin from kevin%perldap.org
buildtools <- windows/os2 build tools (useful) and tar (no idea)
l10nkits <- rick ellicot [netscape.com] 13 Apr 1998 First release of universal
localization program kits
macbuild <- is empty
mozilla <- ...
www <- contains home/ which is empty
certainly if we means people coordinating through staff@mozilla.org, then there
has been no use of / beyond /mozilla
i'm not sure i'd want to work on getting lxr to handle parent of mozilla, there
are currently some bounds checking problems (webtools-security) with it, i
suppose it might actually make things cleaner if we nested the mozilla directory
deeper, but ...
note, other-licenses is a child of mozilla, not a sibling:
http://bonsai.mozilla.org/rview.cgi?dir=mozilla%2Fother-licenses&rev=&module=default&cvsroot=%2Fcvsroot
otoh i can actually see some benefits in sticking projects outside of /mozilla.
photon is obviously not the qnx people who checked into cvs.mozilla.org
startling cls ;-)
Comment 11•22 years ago
|
||
> Notice that mozilla/ hosts many apps, not just "Mozilla the app-suite [plus
> phoenix, plus camino till now, which moved just the other week from chimera]".
There are other modules that can be pulled from mozilla/ , sure. It's always
woe to those who think that 'cvs co mozilla' is a good idea. However, most (if
not all?) of those modules have been there since 'The Beginning(tm)', are
usually related to the app-suite in some way (like a replacement for an existing
module) and/or not actively used (didn't timeless attempt to remove most of
mozilla/lib recently). Those points do not apply to camino and our other recent
embedding/standalone efforts. Btw, I rsync the cvs tree a couple of times a day
and I rarely see many changes outside of our extended app-suite world.
> i'm not sure i'd want to work on getting lxr to handle parent of mozilla, there
> are currently some bounds checking problems (webtools-security) with it, i
> suppose it might actually make things cleaner if we nested the mozilla directory
> deeper, but ...
I've hacked our copy of lxr to handle source trees from / before. It's not that
hard. I may have even sent the changes Dawn's way but that was easily 2 years
ago. I've always thought that assuming mozilla/ was the root of everything in
our world was just silly.
| Assignee | ||
Comment 12•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #117278 -
Flags: review?(seawood)
Comment 13•22 years ago
|
||
Comment on attachment 117278 [details]
first cut at mozilla/camino.mk
The proposed build procedure is:
cvs co mozilla/client.mk
cvs co mozilla/camino.mk
make -f mozilla/camino.mk
? Why the extra explicit cvs co ?
MOZ_CO_TAG should be propagated to client.mk on checkout, as should
MOZ_CO_FLAGS & MOZ_CO_DATE.
The makefile isn't objdir ready. Didn't Conrad fix camino to make it build
from objdirs? Maybe that was just the plugin?
Attachment #117278 -
Flags: review?(seawood) → review-
| Assignee | ||
Comment 14•22 years ago
|
||
Nope, Camino doesn't build in an objdir, though we don't think that would be too
hard to fix.
Comment 15•22 years ago
|
||
> Maybe that was just the plugin?
That was PPEmbed & Cocoa embedding samples. After doing that, I spoke with
bryner friday about doing the same for Camino. The only additional hurdle is
that the part in allmakefiles.sh which refers mozilla/camino/Makefile would have
to be conditionalized. We decided that the camino makefile could set a variable
which could be used in allmakefiles.sh. Once we have that, making it work with
objdir builds is simple - using the pattern I've been using elsewhere.
Comment 16•22 years ago
|
||
camino uses allmakefiles.sh ? I didn't think that was the case (at least on the
trunk).
| Assignee | ||
Comment 17•22 years ago
|
||
Also, MOZ_CO_DATE/TAG/FLAGS shouldn't need to be explicitly passed to client.mk;
they'll be present in the environment.
| Assignee | ||
Comment 18•22 years ago
|
||
don't require explicit checkout of client.mk
Attachment #117278 -
Attachment is obsolete: true
Comment 19•22 years ago
|
||
That's lame. If I'm going to use those variables, they are set on the make
commandline, never in the enviornment. IIRC, unless you export the variables
inside the makefile, setting them on the camino.mk commandline will not set them
for the client.mk environment.
| Assignee | ||
Comment 20•22 years ago
|
||
Attachment #119747 -
Attachment is obsolete: true
| Assignee | ||
Comment 21•22 years ago
|
||
Comment on attachment 119902 [details]
camino.mk
this one exports the MOZ_CO_ variables.
Attachment #119902 -
Flags: review?(seawood)
Updated•22 years ago
|
Attachment #119902 -
Flags: review?(seawood) → review+
| Assignee | ||
Comment 22•22 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 23•22 years ago
|
||
How does this play in an objdir build? And is this the recommended way to build
now? Should we update the build instructions, and tinderboxes?
OS: Linux → All
Hardware: PC → Macintosh
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•