Closed Bug 61626 Opened 25 years ago Closed 25 years ago

Need to make langxxxx.xpi platform neutral

Categories

(SeaMonkey :: Installer, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: tao, Assigned: tao)

References

()

Details

(Keywords: intl)

Attachments

(3 files)

As of now, there are a few platform-specific files in langpack as listed in the page pointed in URL field. The consequence is that we need to create langpacks for each platform. This really defeat the advantage of sharing script files across platform. One possible solution might be to put all platform files in the langpack and let "XPInstall" to smartly install only the propriate platform-files. However, now that we put all chrome files in jar, this proposal might become invalid.
Tao, What you're asking for requires some browser restructuring first before install folks can make any sense of it so I'm reassigning to you to find a better home for this bug. Off the top of my head, all the platform files can be moved into their own top-level package of "platform" instead of scattering it amongst other packages like mail or navigator. Then these files could either be moved into platform-specific additional .jar files, *OR* could perhaps be moved into different directories and then only one of the contents.rdf files registered. Either way the installer could then easily put the right chrome file or give correct arguments to registerChrome() based on platform. But only after this structural change has been made by someone else.
Assignee: ssu → tao
*** Bug 61863 has been marked as a duplicate of this bug. ***
As you might see when you're looking into 61863 (I know tao read it but I'm not sure about others), you might see that I supposed a different approach there. If we could place all platform specific entities in one XP .dtd file, we only need different XUL files to access them. (I think we have different XUL already now, don't we?) So we could use the same Language Packs for all platforms, having all relevant strings in them (As this is affecting only 5 .dtd files, the packs wouldn't grow too much containing some "useless" strings for every platform :> )
Blocks: 60900
Blocks: 62177
as i see XPI "cross-palatfor installer" isn't cross platform. XPI must be cross-platform
XPInstall is only as "cross-platform" as what it is trying to install. What if you use XPInstall to install binary libraries? Obviously you'd need a different zippy (.xpi) package for each platform but that is not due to some fault with XPInstall.
Adding intl and nsbeta1 keyword. Nominating for nsbeta1.
Keywords: intl, nsbeta1
Hmm, what's status on this issue? As I'm developing on Linux, testers on Windows can't use my "Nightly XPI Packs" for satisfying work, e.g. Windows-Integration is wiped out by the pack which "only" includes translations of files/strings from Linux en-US.jar!
The patch is ready for testing and review. I tested it on Windows and Linux and am testing it on Mac. The later took longs than I thought; haven't got a good Mac build. Hope that I could wrap up the testing on Mac and submit the patch for review this afternoon.
Status: NEW → ASSIGNED
Whiteboard: patch ready
Target Milestone: --- → mozilla0.9
http://bugscape.netscape.com/show_bug.cgi?id=3779 holds the patch for the commercial tree.
r=ssu,sr=dveditz
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: patch ready
verify code fixes
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: Installer: XPI Packages → Installer
QA Contact: agracebush → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: