LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-08-2005, 05:45 PM   #76
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45

Sound's good. I was just checking =)

Quote:
I'm not certain if adding an 'if' statement there instead is overkill?
I doubt adding 1 more would be overkill, even there. But if you ask me, i do think you could section the code into functions... It'll make debuggin, upgrading, easier, and reduce the code.

Also, it's a bit irritating downloading 10 files... Could there be a possibility that you can stick all the text files into the bottom of the script, which will be called in the beginning, creating them with something like
Code:
base = <the text>
calc = <the text>
...

for loop
    cat base >> EOF
        $base
    EOF
or to make it even more insane.. a matrix array[][]
Its insane, but fun.. i admit
 
Old 05-08-2005, 05:55 PM   #77
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
As far as I can tell, you can't have 2D arrays/matrices in Bash, that's why I split it into separate files.

When I get some more spare time, I'll look into adding functions in where possible.
 
Old 05-18-2005, 12:05 PM   #78
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
OOo 1.9m104 (1.9.104)

Latest OOo is out now...

Minor update to the SlackBuild script (s/mandrake/mandr/ - to account for the renaming of mandrake to mandriva, but maintain backwards compatibility).

http://slackbuild.strangeworlds.co.uk/ooo (If you have the 1.9.100 version, you only need to update ooo.SlackBuild. Otherwise, download all files and read the top of ooo.SlackBuild if you're not sure what to do. The tar.gz is just an empty file - you need to get the real one of the same name from OOo).

Reasons to be cheerful?

1) OOo load up time has improved greatly.
2) Probably some bug fixes
3) Need for speed - See 1!
 
Old 05-18-2005, 12:18 PM   #79
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Out of curiosity, how did you make that link to the OO tar file?

On a side note to anyone who'se still on 1.1.4, there's a very important patch that should be used to fix a security hole,
http://download.openoffice.org/1.1.4...ity_patch.html
 
Old 05-18-2005, 12:37 PM   #80
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Code:
touch OOo_1.9.104_LinuxIntel_install.tar.gz
Then I uploaded the empty file created (with shell access, you could just run the command directly on the server) - it doesn't do much, but does provide a useful placeholder to the file I expect to be there.

Last edited by cathectic; 05-18-2005 at 12:39 PM.
 
Old 05-23-2005, 10:10 AM   #81
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
deleted post

Last edited by sporks; 05-23-2005 at 10:18 AM.
 
Old 06-18-2005, 09:12 AM   #82
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Just to note,

The script runs fine with the latest m109 build
http://ftp.belnet.be/pub/mirror/ftp....oper/680_m109/

Just change the 2 lines to update the m104 to m109
 
Old 07-05-2005, 05:00 PM   #83
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Hmm... Apparently the script doesn't work with the latest m113 version, because they changed the directory tree for some of the files.

I'd show you a dump, but its too long and we already know where the problem is....
 
Old 07-22-2005, 01:28 PM   #84
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
I updated the original post (see beginning of thread) to reflect the simplied installation for current snapshots of OO2. I've been installing and testing most of the previews since 1.9.65, and the process has gotten more straightforward since then (I'm now at 1.9.120.)

Xushi's script (see above) makes OO2 installation even easier.
 
Old 07-22-2005, 05:40 PM   #85
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
1.9.m118

dhave,

Whilst Xushi contributes, provides CVS, kick in backside where needed, etc, I'm the maintainer of the ooo.SlackBuild you're referring to.

Also, where is 1.9.120 available? The latest release I can find is 1.9.118.

ooo.SlackBuild users:

Sorry about not getting a 113 SlackBuild out on time, but I was on holiday when it came out. And since 118 is now out, I've fixed the script for that instead (the extra directory from 113 has now been dropped, though a slight renaming of the input file has occurred). It should also be slightly more space efficient in converting the RPMs to TGZs (i.e. it will now convert then delete each RPM individually, rather than convert all of them and then delete them).

http://slackbuild.strangeworlds.co.uk/ooo - SlackBuild and slack-desc's
http://slackbuild.strangeworlds.co.uk/ooo/ooo.tar.gz - The above rolled into one handy, easy to download tar file.

(Bonus Points: From 113, user information is now saved to ~/.openoffice.org2 instead of a build specific directory in ~. This means you will no longer need to keep reimporting settings/moving directories, etc between builds.)
 
Old 07-22-2005, 06:14 PM   #86
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
Oops. Very sorry, cathetic. I misread one of xushi's recent posts and got the idea that he was maintaining the excellent OO build script. I knew that you had originated it and I should have double-checked before posting.

I found m120 here, though note that it might be a custom build (and hence might pose probs for your script):

ftp://ftp.linux.cz/pub/localization/...org/devel/680/

Since I believe your script is version specific (yes?), and since these early builds don't seem to be available on most mirrors, you may not even want to tailor your script for these builds (though I'm sure some eager beavers out there would be very happy if you did).

These people nearly always have a later snapshot than the official OO.org site. I don't know exactly what that means; maybe you do.

I can say that haven't seen any differences in the stability of the ftp.linux.cz OO builds and the official ones, and I've been using the English OO packages from here for a good while now (maybe six weeks).

I hope posting this link doesn't overtax their server(s).

Last edited by dhave; 07-22-2005 at 06:19 PM.
 
Old 07-23-2005, 03:50 AM   #87
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Hehe.. to clarify again, i only contribute with support and bugfixes sometimes.. All credit should go to cathectic who made the script
 
Old 07-23-2005, 01:23 PM   #88
deleric
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 10.1 || Debian Sarge
Posts: 10

Rep: Reputation: 0
I downloaded OOo 2.0 beta form Linuxpakages.net ;-)

installed it with no hassle.
 
Old 07-24-2005, 06:24 AM   #89
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
The LinuxPackages package is an old build, and they don't keep up with the releases of the latest builds. Hence the SlackBuilds so we can roll our own packages quickly.
 
Old 07-26-2005, 05:39 PM   #90
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
OOo 1.9.m118 Language Pack SlackBuild

For OOo language pack users, I've put together a SlackBuild (based on some earlier work I did in another thread somewhere) that will get the language packages out of the shell-script-&-tar.gz-rolled-into-one-monstrosity that OOo provide, and convert them into nice-ish Slackware packages (no slack-desc's with the files yet though).

The SlackBuild is available here:

http://slackbuild.strangeworlds.co.uk/ooo-langpack

To run it:

1) Download ooo-langpack.SlackBuild
2) Put your language pack file in the same directory
3) Edit ooo-langpack.SlackBuild, and ensure the 'LANGUAGE' variable is correct ('es' for Spanish (Spain), 'pt-BR' for Portugeuse (Brazilian), etc).
4) Run as root/ using su.

I've tested it with the Spanish packages, and it appears to work fine. You should be left with three files in /tmp

openofficeorg-${LANGUAGE}-1.9.118-i586-1.tgz - Translations for wizards, some images, and dictionaries
openofficeorg-${LANGUAGE}-help-1.9.118-i586-1.tgz - Exactly what it says on the tin, I think. Translated help files?
openofficeorg-${LANGUAGE}-res-1.9.118-i586-1.tgz - Don't know. More translated stuff?

Install them all with 'installpkg'. To change language, load up an OOo 2 program (e.g. Writer), then Tools --> Options --> Language Settings --> Languages. Adjust 'User Inteface' as necessary, click 'Ok' then restart OOo. Same procedure to return OOo to English, just select 'English USA' (no en_GB yet...).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenOffice 2 beta in Slack objorkum Slackware 5 05-06-2005 06:46 AM
grub runs then: Kernel Panic: unable to mount 03:00, slack 10.0 chrisidaho Slackware 8 02-09-2005 02:47 PM
Openoffice Impress preview sidebar saravkrish Linux - Software 0 01-09-2005 01:35 PM
OpenOffice package for Slack 9.1 dazzlehank Slackware 6 01-12-2004 07:56 AM
OpenOffice and PAM in Slack 9 Cerbere Slackware 1 08-08-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration