LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   OpenOffice 2.0beta, running well but need install a Native Language Module (https://www.linuxquestions.org/questions/slackware-14/openoffice-2-0beta-running-well-but-need-install-a-native-language-module-336770/)

Yaguarundi 06-24-2005 10:20 AM

OpenOffice 2.0beta, running well but need install a Native Language Module
 
Hi.

Recently I installed OO 2.0beta using
rpm2tgz *.rpm
pkgtool (saying yes to almost all the packages)

I´m using KDE and OO runs well on it. Now I need to install my native language module, but the OOo_1.9.109_LinuxIntel_langpack_*.sh package it seems to install only RPMs.

Somebody knows how to extract the RPMs that come with the *.sh packages?

Thanks.

cathectic 06-24-2005 11:35 AM

1) I wrote a SlackBuild script for properly rebuilding the OOo 2.0 Beta packages into proper Slackware format. It can be found here:

http://slackbuild.strangeworlds.co.uk/ooo/ooo.tar.gz

(Unzip & untar the file to get the SlackBuild script + the various slack-desc files also required, put the OOo 2.0 Beta *.tar.gz file in the same directory and run the script as root, and proper Slackware packages will be left in /tmp for you.)

2) Assuming the Spanish language pack works the same as the others:
Code:

FILE=OOo_1.9.109_LinuxIntel_langpack_es.sh
mkdir /tmp/ooo-langpack
tail -n +`cat $FILE | egrep --binary-files=text "linenum=" | sed s/linenum=//` $FILE | gunzip | (cd /tmp/ooo-langpack; tar xvf -)
cd /tmp/ooo-langpack

#This line is optional
rename -1.i586 -i586-1 *



All times are GMT -5. The time now is 03:42 PM.