Libreoffice for Older Puppies

Word processors, spreadsheets, presentations, translation, etc.
Message
Author
Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

Libreoffice for Older Puppies

#1 Post by Robert123 »

Here is a version of Libreoffice that is more recent and a smaller .pet for older Puppies including AnitaOS and Wary etc: https://archive.org/details/libreoffice ... i586-1vl71



It includes the GCC from Carolina in /opt so as not to stuff up original system files :
http://murga-linux.com/puppy/viewtopic.php?t=93590

a patch for some systems like Wary libxcb to /opt/libreoffice5.0/program

https://archive.org/download/libreoffic ... bpatch.pet
Last edited by Robert123 on Sun 21 Aug 2016, 04:10, edited 1 time in total.
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

mostly_lurking
Posts: 328
Joined: Wed 25 Jun 2014, 20:31

#2 Post by mostly_lurking »

I tried it on Wary 5.1.2 (multisession CD), and it came up with this:

Code: Select all

/opt/libreoffice5.0/program/soffice.bin: symbol lookup error: /usr/X11R7/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io
I searched around the web and found that apparently the libxcb-xlib library has been deprecated and its content moved to the main libxcb. Wary still has the requested library, but it seems to be lacking some needed functionality. The libreoffice program folder contains libxcb.so.1, but it doesn't appear to provide all features, either.

Details below for anyone who might have the same trouble with this or another program:

I found this post on the Gentoo forum where someone solved the problem by symlinking libxcb-xlib.so.0 to libxcb.so.1.1.0 [*][/color][/b]. However, rather than removing libxcb-xlib, which might still be needed by other programs, I linked /opt/libreoffice5.0/program/libxcb.so.1 to /usr/X11R7/lib/libxcb.so.1.0.0. That fixed it - LibreOffice is running now, and as far as I can tell from some quick testing, it seems to be working okay, except for the database app, which I suspect requires SQL and a full Dbus install (it keeps complaining that it can't connect to data sources... whatever, I don't need it anyway). Apart from the database, LibreOffice requires only the dbus and dbus-glib libraries (libdbus-1.so.3 and libdbus-glib-1.so.2). Those did not come with my Wary version by default, but I had them already installed for running Firefox.

A word of caution for anyone who wants to use LibreOffice on a system with very little resources: the original post says this is a "smaller .pet", and it is indeed - for comparison, the LibreOffice 5.0.6 .pet from this thread (which works on Wary out of the box) is about 200 MB bigger than this one - but once installed, this is still over 400MB in size, and quite memory-hungry.

----------

[*][/color][/b] Replacing a system library with something else is probably not a good idea. If a program needs a different version of a library than the rest of the system, it may be better to keep that library out of the system folders and preload it as shown in step 2 below. So an alternative, safer method to replacing libxcb-xlib.so.0 with a symlink (if you don't happen to have a libxcb or libxcb-xlib in your program folder that you can (mis)use for this purpose, like I did) would be to create a link named "libxcb-xlib.so.0" to libxcb.so.1.x.x (whatever your version is) in some place where it won't interfere with any system libraries - for example, in the folder of the program you want to run - and then preload that library when you start the program. On my system, I could have done it like this:

1. create fake libxcb-xlib in program folder, which is actually a link to system's libxcb library

Code: Select all

ln -s /usr/X11R7/lib/libxcb.so.1.0.0 /opt/libreoffice5.0/program/libxcb-xlib.so.0
2. preload fake libxcb-xlib when starting up the program

Code: Select all

LD_PRELOAD=/opt/libreoffice5.0/program/libxcb-xlib.so.0 /opt/libreoffice5.0/program/soffice

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#3 Post by Robert123 »

Thanks for your post - useful for wary users.
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#4 Post by Robert123 »

Patch to fix the problem with some Puppies especially Wary
https://archive.org/download/libreoffic ... bpatch.pet
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#5 Post by tallboy »

For old puppies, a copy of the original OpenOffice would maybe run smoother than LibreOffice.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: Libreoffice for Older Puppies

#6 Post by greengeek »

Robert123 wrote:Here is a version of Libreoffice that is more recent and a smaller .pet for older Puppies including AnitaOS and Wary etc: https://archive.org/details/libreoffice ... i586-1vl71
Thanks Robert - thats working well in Slacko 5.6
What does the 1v|71 mean?

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#7 Post by Robert123 »

Hey Greengeek like the new avatar.

darry1966 likes vector linux packages so he built from that probably they always end their packages according to version eg. VL71 is Vector Linux 7.1.
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#8 Post by greengeek »

Robert123 wrote:Hey Greengeek like the new avatar.
Thanks - it's actually based on MochiMoppels avatar but I turned it upside down and made a couple of line changes. I'm not too flash at artwork :-)

Hope he doesn't mind my little bit of humour
:oops:

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#9 Post by foxpup »

Thanks, I needed that for LibreOffice in my Wary.
Otherwise I was considering a little remastering of my Wary.
Last edited by foxpup on Fri 26 Aug 2016, 06:44, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#10 Post by Puppus Dogfellow »


foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

smaller pet

#11 Post by foxpup »

Just an idea.

To install a pet that large for wary is not so nice.
I use the get-libreoffice utility to make an sfs with latest libreoffice.
Would it be possible to make a pet with only the patches and libs and so that are needed by wary, anitaOS or other Older Puppies to run recent Libreoffice? It would make something like an update for wary.

I wanted to make the little pet myself by comparing this big pet with an sfs of LO, but I think you would know and understand better what has to go into the little pet.

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#12 Post by Robert123 »

Not really darry1966 packaged it and he doesn't seem post in here anymore.

Only the GCC and the patch for wary as darry1966 based on old postings about how he got libre to run on Puppy 4 systems. As for the patch he must have seen the comments regarding the package having problems working as posted by Mostly Lurking.
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#13 Post by greengeek »

Robert123 wrote:Not really darry1966 packaged it and he doesn't seem post in here anymore.
Yeah, I can't even find his name in the memberlist. I didn't think a user could delete their account - I thought it just got archived. If their name can't be found in the memberlist I wonder how one can track down their posts/threads?

EDIT : I just realised how to improve the search function of the forum - if I tick the "display results as posts" checkbox (instead of "threads") it gives me a much more focused view of what I am looking for. Hah, all these years I have been stumbling with a search function that does not work and that one checkbox makes such a difference.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#14 Post by foxpup »

at Robert123 and greengeek

Thanks for the tip on the search functions.
Like that I found a lot of posts from darry1966. :o
Perhaps you used l (letter) instead of 1 (number)? It is the year 1966, the year England won the Wold Cup.

For the gcc patch you have to search ac2011, as mentionned in a thread about workhorseOS. On the last post on p4 of this thread
http://murga-linux.com/puppy/viewtopic. ... 653#751433
you find the patch. You should continue reading the next page of the thread.
The explanation is simular to the explanation of mostly_lurking in this thread here about placing the lib out of the way as to not to break anything. That is indeed an issue when updating libs.
I will try if these 2 patches fix wary for use of recent LibreOffice.

ps:
1. Do I understand correctly that the pet in the first post of this thread is from darry and not from Robert, and that it has the gcc patch from ac2011?
2. Am I right then assuming that the pet does not have the patch for libxcb which is from mostly_lurking?

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#15 Post by slavvo67 »

There's an Open Office package that seems quite a bit lighter than Libre... This might be a better option for one seeking to free up some resources...

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#16 Post by Robert123 »

@foxpup the libxcb patch in the first post contains libxcb.so.1 from Wary's /usr/X11R7/lib/libxcb.so.1.0.0 to unzip the .pet using this tool.
https://sourceforge.net/projects/anitao ... t/download

Then place it in opt so in other words /opt/loibreoffice5.0/program as well as Gcc patch and this should be enough to solve your problem. Had time to think about this and fiddled around a bit it should be your answer.

Also you can try this update which I have tried and works with wary.

http://www.murga-linux.com/puppy/viewtopic.php?p=806989
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#17 Post by Robert123 »

@Foxpup got off my lazy arse and found direct link to GCC from Carolina
http://www.murga-linux.com/puppy/viewto ... 5&start=45

http://www.murga-linux.com/puppy/viewto ... h&id=73959
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

libstdc++.so.6 ; glibc2.20 upgrade

#18 Post by foxpup »

I tried LibreOffice 5.1.2. It asks for a newer version of libstdc++.so.6.
I took it from squeeze - a suggestion from watchdog in the thread in the quote just below - but that breaks my locales.
I am still puzzling.

I find it strange that the pet for LO 5.0.0 in the first post of this thread works and it has not a newer libstdc++ in it. Or am I wrong? Or did this requirement change from version 5.0 to 5.1?
Robert123 wrote:Also you can try this update which I have tried and works with wary.

http://www.murga-linux.com/puppy/viewtopic.php?p=806989
This could be what I need to get newer glibc (and newer libstdc++) without breaking anything. I will try it and report.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#19 Post by rufwoof »

Try the Libre 3.3 version from this portable apps web page. https://sourceforge.net/projects/portable/files/

Old but stable/good IMO. And you can store it outside of puppy space so it doesn't load your savefile.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#20 Post by foxpup »

Hi rufwoof

Does it handle doc and docx well?
That is the main reason I want LO5. It is for a group project and the document is written by at least 5 people of which most use windows/msOffice.

Besides that, I like pushing the borders of Wary. It is perfect for my hardware, but not that perfect for modern software. That's a challenge.

Btw, I looked briefly at your underdog debian jessie thread. Kirk, what a bold voyage, again!!
I will have to read it again to understand. What a wonderfull forum this is! Thanks.

Post Reply