How to build an OpenOffice.org2.3.sfs file in your langauge

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
Matu
Posts: 48
Joined: Thu 08 Feb 2007, 11:42
Location: Europe, Hungary

How to build an OpenOffice.org2.3.sfs file in your langauge

#1 Post by Matu »

Edited (file extension of Slackware package was wrong).

Hi All,

Here I describe my success of building a localized OpenOffice sfs file.

Steps:

1. Download an official .tgz (Slackware) packaged and localized OpenOffice file.

2. Place the file into a new folder in your root folder and unpack it. I did that into a directory named "ooo". The best way is to open a terminal window in the "ooo" directory and run the "gunzip -c <here comes the file name> | tar -xvf-" command.

3. Now you should see a directory called "install" in /root/ooo.

4. In this directory there is a script called doinst.sh which creates symlinks to various places. I modified it to create symlinks to the unpacked files in /root/ooo. I attached the modified script:
Run it in terminal.

5. Now the almost last step left to do. Open a terminal window in /root and run the "mksquashfs ooo /mnt/home/OpenOfficeOrg2_3.sfs" command to create your new sfs file in /mnt/home (I packaged also the "install" directory, maybe it can be excluded).

6. When it's done open the "bootmanager" utility and choose the new sfs file.

7.Reboot

Good luck,

Matu
Attachments
ooo_for_squasfs.tar.gz
(4.99 KiB) Downloaded 717 times
Last edited by Matu on Tue 26 Feb 2008, 15:16, edited 1 time in total.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#2 Post by Dingo »

I think this may be vey useful for me to making sfs fle from next OpenOffice version:

2 questions:

- first question =I must put the OpenOffice slacware package (tbz or tgz?) in root on linux filesystem? I cant put this file on a fat partition?

- second question = I must replace doinst.sh with your script attached?
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Matu
Posts: 48
Joined: Thu 08 Feb 2007, 11:42
Location: Europe, Hungary

#3 Post by Matu »

Hi Dingo,

I did all the above described things in the /root (not /mnt/home) of my mounted pup_save.2fs (I think it is ext2). First I tried on fat32 (because I had more space there to do) too, but the unpacking and the symlink creation were failed on it (permission problems). So I suggest to do that on an ext2 partition. You can modify the script to create symlinks to the appropriate libraries and places.

About the package. I used the .tgz packaged OpenOffice. I never even tried with the other one.

Finally you can use the modified script without replacing the original one. I just described, where I found it.

Best,
Matu
Last edited by Matu on Tue 26 Feb 2008, 15:17, edited 1 time in total.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#4 Post by Dingo »

thanks, finally just a question. having not a ext2 partition, i would try creating a fresh pupsave file to unpacking openoffice and then repacking. how many space is enough? 512 MB or more?
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Matu
Posts: 48
Joined: Thu 08 Feb 2007, 11:42
Location: Europe, Hungary

#5 Post by Matu »

I just checked the sizes again.The unpacked archive is about 370Mb, while the compressed one (hungarian version) is 142Mb. So a bit larger pup_save file would be better. Mine is 1Gb.

Matu

Some notes I forgot to mention:

1. Of course you can remove the OpenOffice tgz archive from "ooo" after unpacking.
2. Maybe you should manually create (or edit the script) symlinks to swriter, scalc and simpress to /root/ooo/usr/bin from /root/ooo/opt/openoffice.org2.3/program (I didn't do that, because I had them before).
Last edited by Matu on Tue 26 Feb 2008, 15:18, edited 1 time in total.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#6 Post by disciple »

Dingo - in case you aren't still watching the thread at http://murga-linux.com/puppy/viewtopic. ... 440#177440 - you might want to read my last post before you go and make a huge pup_save file.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#7 Post by Dingo »

disciple wrote:Dingo - in case you aren't still watching the thread at http://murga-linux.com/puppy/viewtopic. ... 440#177440 - you might want to read my last post before you go and make a huge pup_save file.
thanks, i stills watching your answers in this topic 8) , next days i begin my experiments with openoffice sfs making
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#8 Post by Dingo »

Matu wrote:About the package. I used the .tbz packaged OpenOffice. I never even tried with the other one.
you must excuse me for my question, but I have not found .tbz packages for openOffice, only tgz. where you have downloded tbz packages?
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Matu
Posts: 48
Joined: Thu 08 Feb 2007, 11:42
Location: Europe, Hungary

#9 Post by Matu »

Thanks Dingo, I did a mistake with the extension. It's TGZ. Sorry :oops: ,

Matu

I downloaded it from here:

http://hu.openoffice.org/about-downloads.html

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#10 Post by Dingo »

thanks, when OpenOffice 2.4 will out, i will make my sfsexperimentations
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

bsprakash
Posts: 3
Joined: Thu 18 Oct 2012, 11:21

This looks Simple..

#11 Post by bsprakash »

When i browse through I found this...
mksquashfs command can make SFS file easily..

Will this work fine?

Post Reply