Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 26 Sep 2016, 22:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Libreoffice for Older Puppies
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
Robert123

Joined: 20 May 2016
Posts: 175
Location: Pacific

PostPosted: Fri 05 Aug 2016, 23:16    Post subject:  Libreoffice for Older Puppies  

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-5.0.0-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/libreoffice-5.0.0-i586-1vl71/libreoffice5.0libxcbpatch.pet

_________________
Runs Slacko 533retro Barebones, AnitaOS 431 version and LinuxBBQ
AnitaOS for retro hardware based on 4.31 but heavily updated:http://sourceforge.net/projects/anitaos/

Last edited by Robert123 on Sun 21 Aug 2016, 00:10; edited 1 time in total
Back to top
View user's profile Send private message 
mostly_lurking

Joined: 25 Jun 2014
Posts: 103

PostPosted: Sun 07 Aug 2016, 07:11    Post subject:  

I tried it on Wary 5.1.2 (multisession CD), and it came up with this:
Code:
/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 [*]. 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.

----------

[*] 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:
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:
LD_PRELOAD=/opt/libreoffice5.0/program/libxcb-xlib.so.0 /opt/libreoffice5.0/program/soffice
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 175
Location: Pacific

PostPosted: Mon 08 Aug 2016, 04:26    Post subject:  

Thanks for your post - useful for wary users.
_________________
Runs Slacko 533retro Barebones, AnitaOS 431 version and LinuxBBQ
AnitaOS for retro hardware based on 4.31 but heavily updated:http://sourceforge.net/projects/anitaos/
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 175
Location: Pacific

PostPosted: Sat 20 Aug 2016, 22:23    Post subject:  

Patch to fix the problem with some Puppies especially Wary
https://archive.org/download/libreoffice-5.0.0-i586-1vl71/libreoffice5.0libxcbpatch.pet

_________________
Runs Slacko 533retro Barebones, AnitaOS 431 version and LinuxBBQ
AnitaOS for retro hardware based on 4.31 but heavily updated:http://sourceforge.net/projects/anitaos/
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 578
Location: Oslo, Norway

PostPosted: Tue 23 Aug 2016, 00:11    Post subject:  

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.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 4146
Location: New Zealand

PostPosted: Tue 23 Aug 2016, 01:59    Post subject: Re: Libreoffice for Older Puppies  

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-5.0.0-i586-1vl71
Thanks Robert - thats working well in Slacko 5.6
What does the 1v|71 mean?
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 175
Location: Pacific

PostPosted: Tue 23 Aug 2016, 03:41    Post subject:  

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.

_________________
Runs Slacko 533retro Barebones, AnitaOS 431 version and LinuxBBQ
AnitaOS for retro hardware based on 4.31 but heavily updated:http://sourceforge.net/projects/anitaos/
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 4146
Location: New Zealand

PostPosted: Tue 23 Aug 2016, 04:25    Post subject:  

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 Smile

Hope he doesn't mind my little bit of humour
Embarassed
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 66
Location: europa

PostPosted: Tue 23 Aug 2016, 05:23    Post subject:  

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, 02:44; edited 1 time in total
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1385
Location: nyc

PostPosted: Fri 26 Aug 2016, 00:06    Post subject:  

mirror for 5.0 LO for wary, etc
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 66
Location: europa

PostPosted: Wed 31 Aug 2016, 04:39    Post subject: smaller pet  

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.
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 175
Location: Pacific

PostPosted: Wed 31 Aug 2016, 05:38    Post subject:  

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.

_________________
Runs Slacko 533retro Barebones, AnitaOS 431 version and LinuxBBQ
AnitaOS for retro hardware based on 4.31 but heavily updated:http://sourceforge.net/projects/anitaos/
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 4146
Location: New Zealand

PostPosted: Wed 31 Aug 2016, 16:09    Post subject:  

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.
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 66
Location: europa

PostPosted: Thu 01 Sep 2016, 16:26    Post subject:  

at Robert123 and greengeek

Thanks for the tip on the search functions.
Like that I found a lot of posts from darry1966. Surprised
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.php?p=751433&search_id=1418090653#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?
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1128
Location: The other Mr. 305

PostPosted: Thu 01 Sep 2016, 20:52    Post subject:  

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...
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1567s ][ Queries: 11 (0.0151s) ][ GZIP on ]