=======================================================================
This is a follow on from a post I did over at https://portableapps.com/node/16702 , where I said I'll do an experiment to try & trim down OOo3
Don't know if EVERYTHING still works OK but each program (Writer/Impress etc) does start up with no errors
But I thought I'll stick it in a different thread as it's a little long winded & I don't know anything about making a portable package for this
Based on MarkoMLM 'Option pack BETA 2 for OOoP 2.3.1 REV2' @ https://portableapps.com/node/10588
- I've compared to what this removes from OOo v2.3.1 & done the same thing [manually] with OOo 3 portable
(the 'Option pack' is NOT compatible with other versions)
[& Boy did I have fun trying to find a v2.3.1 copy of OOoP to try it out on]
Note that filenames & folders are different between versions, what's shown below are the v3 versions
====================================================================================
* Installed OOo 3 portable from https://portableapps.com/node/16395
* Started 'OpenOfficePortable.exe'
* In 'Tools' > 'Extension manager' > removed all languages EXCEPT English
* In 'Tools' > 'Options' > 'Java' > Disabled JAVA
[don't know why but JAVA keeps getting enabled each time I start OOo 3 up]
* Closed OOo 3 portable
----------------------------------
* Deleted folder '\App\openoffice\Basis\Program\Python-core-2.3.4' [8.27Mb]
* Deleted '\app\openoffice\Basis\Program\mailmerge.py'
* Deleted '\app\openoffice\Basis\Program\officehelper.py'
* Deleted '\app\openoffice\Basis\Program\pythonloader.py'
* Deleted '\app\openoffice\Basis\Program\pythonscript.py'
* Deleted '\app\openoffice\Basis\Program\uno.py'
* Deleted '\app\openoffice\Basis\Program\unohelper.py'
* Deleted '\app\openoffice\Basis\Program\python23.dll'
* Deleted '\app\openoffice\Basis\Program\pythonloader.uno.dll'
* Deleted '\app\openoffice\Basis\Program\pyuno.dll'
* Deleted '\app\openoffice\Basis\Program\pythonloader.uno.ini'
* Deleted '\app\openoffice\Basis\Share\Registry\modules\org\openoffice\office\scripting\scripting-python.xcu'
* Deleted '\app\openoffice\Basis\Share\Registry\modules\org\openoffice\office\scripting\writer\writer-javamail.xcu'
* Deleted '\app\openoffice\Basis\Share\Scripts\python\Capitalise.py'
* Deleted '\app\openoffice\Basis\Share\Scripts\python\Helloworld.py'
* Deleted '\app\openoffice\Basis\Share\Scripts\python\pythonsamples\tablesample.py'
* Replaced all fonts in '\Apps\Openoffice\Share\Fonts\Truetype\' with those from OOo 2.3.1 [6.99Mb to 680Kb]
- I actually think we can get rid of all but the 'open__.ttf' fonts
* Deleted all in '\app\openoffice\share\uno_packages\cache\'
[note this is recreated on OOo restart but size reduced from 46.7Mb to 48Kb]
Other possible deletions
========================
* Delete all '*.otp' from '\App\openoffice\Basis\share\template\en-US\layout\' [saves ~7.06Mb]
* Delete all BUT 'en-GB' and 'en-US' in '\Apps\Openoffice\Basis\Share\templates\wizard\letter\' [saves ~5.69Mb]
* Delete all sounds from '\App\openoffice\Basis\share\gallery\' [saves ~2.85Mb]
* Delete all graphics from '\App\openoffice\Basis\share\gallery\' [saves 63Kb]
* Delete all graphics from '\App\openoffice\Basis\share\gallery\bullets\'
* Delete all graphics from '\App\openoffice\Basis\share\gallery\htmlexpo\'
* Delete all graphics from '\App\openoffice\Basis\share\gallery\rulers\'
* Delete all graphics from '\App\openoffice\Basis\share\gallery\www-back\'
* Delete all graphics from '\App\openoffice\Basis\share\gallery\www-graf\'
[all deleted Saves ~1Mb - boy am I getting desperate now !!]
If you're VERY desperate for space
[note: DO NOT DISTRIBUTE WITHOUT LICENCES - this is for personnel preference only]
============================================================================
* Delete '\others\' folder & Help.html [~250Kb]
* Delete '\App\openoffice\licence.*'
* Delete '\App\openoffice\readme.*'
* Delete '\App\openoffice\thirdpartylicensereadme.html' [all deleted ~488Kb]
* Delete '\App\Openoffice\licenses\' [~87Kb]
* Delete '\App\Openoffice\readmes\' [~25Kb]
* Delete '\App\Openoffice\share\readme\' [~112Kb]
* Delete '\App\openoffice\Basis\help' [~26Mb]
=============================
Then I did a comparison between OOoP v2.4.1 'full' version & 'light' version (see the other post for links to these)
for differences to see if there was anything else that could be got rid of safely.
The only major difference I found I considered 'safe' was reduced 'help' files
Reduction info
==============
OOoPortable 2.3.1 > Full= 218Mb / 'Trimmed'= 144Mb (after 'Optionpack') / Difference= 74Mb
OOoPortable 2.4.1 > Full= 240Mb / 'Trimmed'= 109Mb ('Light' version) / Difference= 131Mb
OOoPortable 3 > Full= 236Mb / 'Trimmed'= 163Mb (Manually with 'HELP' files) / Difference= 73Mb
OOoPortable 3 > Full= 236Mb / 'Trimmed'= 136Mb (Manually w/o 'HELP' files)/ Difference= 100Mb
I hope this info helps anyone with limited drive space & wishes to reduce OOoP3
also for a time with cheaper and cheaper prices for flashdrives
Some comments:
* Java is enabled because some of the functions in OpenOffice.org eg. all wizards and some of the functions in Base will not work without it. If You don't need/want it its up to You to disable it. It will not save space cause Java is not part of the OpenOffice.org Portable package (a local JRE or if present a porrtable Java is used)
* 'do not distribute...' thats not the only problem... If You'll distribut a modified version of a (L)GPLed software (whatever You'll change) You have to deliver the license files, the sources and You have to add the description about You modifications and last but not least You have to remove all copyrighted stuff from the package.
Thats only to make it clear (cause to write a to do list for interessted people is a good job, but prevent them to get in trouble caused by license issues).
* Keep in mind that there is no garanty that all extensions or files with macros will work with the modified version
Paid for Software more or less?
What You need is OSS!
Some comments on your comments >;->
* Time to buy a new flashdrive: - yep that's one way out of it although some people may want to use portable apps on a netbook with limited Flash HHD space (e.g. Eeepc). This hopefully will allow just that little more space (OK ~100Mb saved isn't much but it's a start)
* Java:- I knew Java was not installed with OOoP - just wondered why it kept 're-enabling' after I deselected it. Now I know it's needed by OOoP
* 'do not distribute':- hence the reason I added this. It's fine to do this if you need the space & you're keeping OOoP for personnal use - but not to repackage & distribute to other people
* 'No Guarantee on extensions/macros':- I totally agree with you, but some people don't use/never used macros - so why have it?
I am happy to see that we understand each other
Paid for Software more or less?
What You need is OSS!
I've got version3 beta 2 down to 103Mb & with the PDF & cad plugins, everything still works fine for my use.
To steve_qutry....
How did you get it down further ??
It's OK for people to say 'I've shrunk it down to......' but detail..details..details please.
What files did you keep to keep the CAD and PDF 'options' ?
Which files were removed etc ??
What function have now 'disappeared' from OOoP ???
- I started this thread so that by letting people KNOW what files were deleted etc then they can decide IF they need/want the feature that's removed
[In my case it was mainly 'Python','Gallery' and SOME 'templates' - all based on the 'original' v2.1.3 'option pack']
I'm sure some people (myself included) would like to 'remove' certain import/export file formats (Lotus/Quattro etc) which they never use
So as a favour to me (& anyone else that wants to try this) can you Edit/Add the details required please - Maybe in a similar way to how I've done it (The exact directory/filename/path etc)
Who knows - maybe one of the developers may use this info to (re)create a stand-alone 'Option pack' for OOoP v3
Thank you in advance
Edited same day
I've been looking into OOoP v3 & the only places I can see where you've managed to reduce by an extra ~30Mb is in either deleting the '/app/openoffice/basis/share/' folder OR deleting a LOT of DLL's in 'app/openoffice/basis/program/' folder
If the case is the 'DLL's deletion' - how did you know WHICH DLL did what ??
Doing so MAY make OOoP unstable