remove xpinstall/packager from cvs

RESOLVED FIXED

Status

defect
RESOLVED FIXED
12 years ago
11 years ago

People

(Reporter: kairo, Assigned: kairo)

Tracking

Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

12 years ago
SeaMonkey is now using NSIS installer for Windows, and while it would be nice to have a system for making some modules optional for a Linux install, the old xpinstall way is probably not the way to do it.

As bsmedberg mentioned on IRC one time, xpinstall/packager should probably just be removed.

Comment 1

12 years ago
Note that there still are some files in there used during toolkit packaging, notably:

xptlink.pl (see http://mxr.mozilla.org/mozilla/source/toolkit/mozapps/installer/packager.mk#311)
Packager.pm (see http://mxr.mozilla.org/mozilla/source/toolkit/mozapps/installer/packager.mk#285)

But all the rest should go, good riddance and all that.
Assignee

Comment 2

12 years ago
So all other hits from http://mxr.mozilla.org/mozilla/search?string=xpinstall%2Fpackager can be safely ignored?
Assignee

Comment 3

12 years ago
OK, this patch removes the Makefiles from allmakefiles.sh
Additionally, the review should include cvs removing everything from xpinstall/packager, with the exception of the following files:
xpinstall/packager/Packager.pm
xpinstall/packager/xptlink.pl

I'm not completely sure about those files, please include a review comment if they should stay or can be cvs removed:
xpinstall/packager/pkgcp.pl (referenced from embedding/config/Makefile.in and extensions/java/xpcom/package/Makefile.in)
xpinstall/packager/common/share.t (referenced from toolkit/mozapps/installer/makejs.pl)
Assignee: nobody → kairo
Status: NEW → ASSIGNED
Attachment #271529 - Flags: review?(benjamin)

Comment 4

12 years ago
pkgcp.pl should stay... Camino still uses embedding/config, pox on it
I don't know what extensions/java/xpcom needs it for, cc'ing Javier

share.t can go

AFAIK toolkit/mozapps/installer/makejs.pl is not used, and in fact we should remove it along with a bunch of other cruft there:

makeall.pl
makexpi.pl
parseandmakejs.pl

Updated

12 years ago
Attachment #271529 - Flags: review?(benjamin) → review+
Assignee

Comment 5

12 years ago
Thanks. This has been checked in, per IRC I also did remove the files mentioned in comment #4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED

Comment 7

12 years ago
OS/2 was still happily using the stuff you removed. But this forces us to think about other installer options sooner rather than later.

Is there a similar bug about removing xpinstall/wizard/?
Assignee

Comment 8

12 years ago
Peter:
I'm somewhat sorry for catching you without specific warnings, but it's been the plan to get rid of XPI-based installers for some time now.

xpinstall/wizard is bug 387450 - should I leave the os2 dirs around (as I missed the one here anyways) or are you happy to get anything you need from older states of CVS?

Comment 9

12 years ago
kairo: please remove them, without packages-os2 they useless now anyway, and I think that's the (only?) file we would have to start from for a new installer.
Assignee

Comment 10

12 years ago
OK, I removed the three remaining dirs as well now.

Peter:
It might be a good idea to start over from the windows packaging lists in the product dirs anyways, like suite/installer/windows/packages

Comment 11

12 years ago
http://mxr.mozilla.org/seamonkey/source/xpinstall/Makefile.in
is still referring to packager and packager/unix

BTW: How do we generate .tar.bz2 on unix now?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Comment 12

12 years ago
(In reply to comment #11)
> BTW: How do we generate .tar.bz2 on unix now?
> 

I see.

browser/installer
mail/installer
Assignee

Comment 13

12 years ago
(In reply to comment #11)
> http://mxr.mozilla.org/seamonkey/source/xpinstall/Makefile.in
> is still referring to packager and packager/unix

Thanks. Let's leave this bug FIXED, I'll remove that in bug 387450 along with wizard/

> BTW: How do we generate .tar.bz2 on unix now?

Even better than what you found out yourself, use "make package" from the top-level (in the objdir). For installers (Windows-only), use "make installer" from there.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED

Comment 14

12 years ago
> Even better than what you found out yourself, use "make package" from the
> top-level (in the objdir). For installers (Windows-only), use "make installer"
> from there.
Really? Where is the code for that? You might want to add that to http://developer.mozilla.org/en/docs/Build_and_Install#Installing_Your_Build

And you should update http://developer.mozilla.org/en/docs/Building_a_SeaMonkey_package as well.
 

Comment 15

12 years ago
> Really? Where is the code for that?
To answer my own question: this was added (fairly recently) by bug 377409.

Updated

12 years ago
Flags: in-testsuite-
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.