LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 12-31-2007, 03:41 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
Slackbuild for OpenOffice


Slackbuilds.org has a script for Slackware 11 for OpenOffice 2.2.1 and for Slackware 12 for OpenOffice 2.3.1

Would it be ok to use the Slackware 11 script for 2.3.1? Apart from editing the version number are there any other gotchas?

TIA
 
Old 12-31-2007, 04:09 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,112

Rep: Reputation: Disabled
You can even take the SlackBuild script that says "Slackware 12.0" and use it on your Slackware 11.0 system. It will produce a Slackware package that you can install on Slackware 11.0.

Remember, the SlackBuild does not compile any OOo source code. It merely extracts files from the official binary RPM archives and re-packages them into a Slackware package.

Eric
 
Old 12-31-2007, 04:31 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
I did that by accident and the package installed fine. But I seemed to have lost the Open Office icons and thinking that this might be a sign of other things wrong I uninstalled it and went back to the previous package.
 
Old 12-31-2007, 07:08 AM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
You could use Zenwalk's OpenOffice packages (all locales are available too) without problems in Slackware 12 and Current.

Fluxx.

ftp://ftp.sh.cvut.cz/MIRRORS/zenwalk/i486/zenwalk-4.8/
ftp://ftp.sh.cvut.cz/MIRRORS/zenwalk/i486/current

Last edited by Fluxx; 12-31-2007 at 07:09 AM.
 
Old 01-02-2008, 05:28 PM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
I would simply download both SlackBuild scripts and compare them. Is there anything important that is different? More than likely they will be close to the same thing. In that case it should be fine to simply change the version numbers in the slackware 11 version (or 12 version). I think that Slackware 11 and 12 handle .desktop files a little differently so that might be something to watch out for...
 
Old 01-03-2008, 02:10 AM   #6
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
Actually I tried that last night. I tried the resulting package and it ssemed OK but appeared unable to see the openoffice icons.
 
Old 01-04-2008, 02:19 AM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
As I said previously I'd expect some funny business to be going on with the desktop icons. The diff (patch) used for the desktop icons is different for the 11.0 and 12.0 SlackBuild scripts. Obviously the patch used for OOo 2.2 won't work for OOo 2.3.

Did you change all the instances of the version? In addition to the VERSION var you have to make sure you change all instances of openoffice.org2.2 with openoffice.org2.3.

You may need to make your own diff file to make proper desktop icons. The 11.0 script adds a section that links icons to /usr/share/pixmaps. You should check that this is working as intended. Walk through the icons part of the script and see if it makes sense.

There are a couple of other minor differences between the scripts such as "rm -rf desktop-integration" and "rm -f unopkg_gui" in the 11.0 version. Are these necessary in 2.3?

Again, I suggest walking through the script. Actually manually run the commands if you need to and see where things are incorrect.
 
Old 01-04-2008, 02:56 AM   #8
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
Thanks but I have decided to move over to Slackware 12. There are a few things that are niggling me about my present installation of 11 that I just cannot seem to get right so it seems it is time for a fresh start.
 
Old 01-04-2008, 12:27 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
I think you will like Slackware 12 better. All the recent slackBuilds should work for you now as well.
 
Old 01-05-2008, 01:27 AM   #10
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
The reason the icons weren't showing up is indeed a change from 11.0 to 12.0.
In pre-12.0, a combination of KDE's install location and some freedesktop.org stuff made it so that full paths to icons were necessary in lots of .desktop files. This is why you see in the 11.0 OOo patch that the full path to /usr/share/pixmaps/<icon>.png is added. In 12.0 and later, this is no longer needed. Other than that, the package *should* work fine on 11.0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackbuild VMware gr-martins Linux - Software 1 11-24-2007 04:24 AM
xmame slackbuild Harp00 Slackware 17 04-27-2006 05:51 PM
Slackbuild and Patches stormtracknole Slackware 4 03-30-2006 08:12 PM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM
SlackBuild system thegeekster Slackware 7 06-01-2004 06:59 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration