Closed Bug 191159 Opened 22 years ago Closed 21 years ago

Use xpt_link on .xpt files in dist/Embed/components

Categories

(Core Graveyard :: Embedding: Packaging, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ccarlen, Assigned: ccarlen)

Details

Attachments

(2 files)

There is a large number of .xpt files in the embedding package. For embedding
apps that need to package up the contents of the embedding package (Chimera,
PPEmbed), it's a pain. Using the following command (leaving as note to self):

conrad% ../../dist/bin/xpt_link ../../dist/Embed/components/linked.xpt
../../dist/Embed/components/*.xpt

the merged file is only 180K. Since it's so small, why don't we just do the
merge by default and make it easier for embeddors?
Moving to new bugzilla component.
Component: Embedding: GRE Core → Embedding: Packaging
QA Contact: ashishbhatt → carosendahl
Using this, an embedding app like Camino could just:
cd embedding/config
make && make merge_xpt
Attachment #125116 - Flags: superreview?(bryner)
Attachment #125116 - Flags: review?(dougt)
Comment on attachment 125116 [details] [diff] [review]
patch to add make merge target

this looks fine.
Attachment #125116 - Flags: review?(dougt) → review+
All references to ../dist/Embed/components/*.xpt were replaced with one to the
merged file.
Comment on attachment 125116 [details] [diff] [review]
patch to add make merge target

r=bryner; maybe merge should happen by default as well?
Attachment #125116 - Flags: superreview?(bryner) → superreview+
attachment 125116 [details] [diff] [review] checked in. Bryner, it would be nice to have this for Camino.
Move that patch to a separate bug?

The reason the merge doesn't happen by default is that we don't want the merged
file in the same dir as the individual files. Removing them would break any
number of embeddors building apps from this. That should be done, but I'll give
notice on n.p.m.embedding first.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: