| mmadia ( @ 2008-03-15 16:32:00 |
Re-ordering *.so during build time
Earlier this month, there was a discussion on the [haiku-development] mailing list about repackaging Firefox to allow a more native feel.
I've been working on getting mozilla's build system to produce this at compile time.
... And significant progress has been made!
I found the sections of code in the various Makefile.in's, and rules.mk that are responsible for either :
directly copying the *.so into $(DIST)/bin
symlinknig *.so into $(DIST)/bin
and creating and copying *.so.stub for those *.so's
a quick and dirty test confirms that those *.so's can be placed into $(DIST)/bin/lib to allow direct launching of firefox-bin
There's still some more work to do:
find and remove support for the launching shell script, 'firefox'
find and renove '-bin' from the binary name
cleaning up code for patch submittal.
a few questions:
should the corresponding *.so.stub's be removed?
how important is it to have 'libxpistub.so' in ./add-ons instead of ./lib ?
('libfreebl3.so','libnssckbi.so' can easily be relocated to ./add-ons )
Earlier this month, there was a discussion on the [haiku-development] mailing list about repackaging Firefox to allow a more native feel.
I've been working on getting mozilla's build system to produce this at compile time.
... And significant progress has been made!
I found the sections of code in the various Makefile.in's, and rules.mk that are responsible for either :
directly copying the *.so into $(DIST)/bin
symlinknig *.so into $(DIST)/bin
and creating and copying *.so.stub for those *.so's
a quick and dirty test confirms that those *.so's can be placed into $(DIST)/bin/lib to allow direct launching of firefox-bin
There's still some more work to do:
find and remove support for the launching shell script, 'firefox'
find and renove '-bin' from the binary name
cleaning up code for patch submittal.
a few questions:
should the corresponding *.so.stub's be removed?
how important is it to have 'libxpistub.so' in ./add-ons instead of ./lib ?
('libfreebl3.so','libnssckbi.so' can easily be relocated to ./add-ons )