LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackbuild for OpenOffice (https://www.linuxquestions.org/questions/slackware-14/slackbuild-for-openoffice-610089/)

arubin 12-31-2007 03:41 AM

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

Alien Bob 12-31-2007 04:09 AM

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

arubin 12-31-2007 04:31 AM

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.

Fluxx 12-31-2007 07:08 AM

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

shadowsnipes 01-02-2008 05:28 PM

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...

arubin 01-03-2008 02:10 AM

Actually I tried that last night. I tried the resulting package and it ssemed OK but appeared unable to see the openoffice icons.

shadowsnipes 01-04-2008 02:19 AM

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.

arubin 01-04-2008 02:56 AM

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.

shadowsnipes 01-04-2008 12:27 PM

I think you will like Slackware 12 better. All the recent slackBuilds should work for you now as well.

rworkman 01-05-2008 01:27 AM

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.


All times are GMT -5. The time now is 06:01 AM.