Tiny Core Linux
Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: meo on October 02, 2013, 12:50:46 PM
-
Hi guys!
I think that an office extension is what is lacking most in the TC 5.X repository. I would love to have Libreoffice (one of the newer versions) in my setup of TC 5.X. I think a lot of users would agree. If I had the skills I would take it on myself but that's not an option. So please ...
Kind regards,
meo
-
Hi guys!
Is nobody up to making an office extension to this up to date version of TC?
Hope someone has both the skills and the willingness,
meo
-
I tried with v-4.0.3, or something like that, and it wouldn't compile - libreoffice's lists did not seem too surprised...
-
Hi meo. I think I have the skills. I do have the willingness, although TC users would then have the willingness to wait a bit (because I don't have much free time, nor do I have a powerfull PC for compiling).
Believe it or not, I have been thinking about doing exactly what you want for a week or so. However, I'm a bit lost on the way of doing this properly. If I understand correctly, I should first request the proper maintainer of LibreOffice to update their package, and then (one week after) do it myself if the official maintainer does nothing.
But I'm not sure where this request should be posted. Is there a thread somewhere dedicated to LibreOffice, or should I create a new topic in TCE News, of TCE xxx…
And then, who should I address the request to? I have no idea who is the current maintainer of LibreOffice.
[hint] More transparency in the area of packages management may speed up users involvement [/hint]
-
From:
http://repo.tinycorelinux.net/4.x/x86/tcz/libreoffice.tcz.info
Extension_by: Arslan S.
..so the idea is that you send a pm from this forum to Arslan S requesting an update.
-
Thank you Juanito! You rightfully deserve the title of Hero Member :)
I'll PM Arslan S, then.
-
https://code.google.com/p/tc-ext-tools/source/browse/packages/libreoffice
-
Hi the Yin Yeti!
Looking forward with anticipation!!!
Kind regards,
meo
-
Hi guys!
Is anybody working on an office extension? It would be a great addition to the repository.
Kind regards,
meo
-
Not me, yet, sorry. I had some work to do in real life :)
-
Just so you know, I have started working on making the Libreoffice extension. It's not easy at all. I did not expect such difficulties from such a mainstream program.
Anyway, I *think* I got everything to compile, but I'm not sure (the VM hanged…). I'll try again with more RAM.
However, to get to this point, I had to disable help, and disable any language other than en-US :(
Besides, I have a strange issue with java-installer, about "libjava.so" not being found, whereas a plain xzcat|tar -xf of the jdk is OK… And I don't see obvious abnormal differences in content between the tcz and the tar.xz extraction.
I'll keep you informed, but it's a slow work anyway :)
-
I had the same experience when I compiled libreoffice a long time back - a lot of difficulty, many options had to be disabled, etc.
When I tried the latest version on tc-5.x a while ago, it wouldn't compile at all - but, good luck :)
-
I'm sorry to inform you that I probably won't be able to create this extension after all. With 1.5 GB RAM, I simply don't have enough memory while compiling, or so it seems :(
I'll try one last time on my wife's laptop, which is slower but has more RAM (2GB RAM!). I'll let you know…
-
Try adding a swap device and disabling zswap.
-
Thanks gerald_clark, I'll try that!
-
I use this script to activate swapfile on a hd partition:
#!/bin/sh
case $1 in
on)
tce-load -i ntfs-3g &>/dev/null
sudo /usr/local/bin/ntfs-3g /dev/sda5 /mnt/sda5 &&
sudo swapon /mnt/sda5/tc.swp
;;
off)
#!/bin/sh
sudo swapoff /mnt/sda5/tc.swp &&
umount /mnt/sda5
;;
*)
echo -e "uso: _swap [ on ] attiva lo swap file
[ off ] disattiva lo swap file"
esac
exit 0
-
Thanks vinnie :)
Loading just the right extensions to still be able to compile, but *not* trigger X11 launch (bug with my wife's laptop's gfx chip) was tricky but I managed.
And indeed with 2GB RAM and real swap, although once I thought the laptop had hanged, compilation finally went further than it had before.
But the poor laptop was a bit overwhelmed by the whole process (console refresh at the rate of 3 text lines per second :D ), and it eventually switched itself off abruptly because of overheating! And would not restart :/
I think it will restart this evening, after having cooled for a full day, and I'm rather confident that I'll be able to finish compiling.
However, I wonder: The PC shut itself down abruptly; if I remember correctly, this laptop's FS is Ext3; can I just let "make" continue to do its job, or should I "make clean; make" again, in case a file got corrupted?
-
Usually you can continue make. But before doing anything, make fsck.ext3 on the partition to fix possible fs errors.
-
Thanks bmarkus, I'll do that. If I can do something at all, that is…
-
Be happy you're not compiling Firefox, that thing requires about 8gb RAM, last I checked (with LTO and other optimizations on) ;)
-
Chromium:
It takes about 8GB of swap file to link chromium and its tests. If you get an out-of-memory error during the final link, you will need to add swap space with swapon. It's recommended to have at least 4GB of memory available for building a statically linked debug build. Dynamic linking and/or building a release build lowers memory requirements. People with less than 8GB of memory may want to not build tests since they are quite large.
-
Virtual memory exhausted: cannot allocate memory :(
I should be able to borrow a better laptop in a couple of days… I'll tell you then how things went.
-
Virtual memory exhausted: cannot allocate memory :(
You might give it a try with much more swapspace available.
-
Hello tinypoodle :)
I thought about that, but my disk space was already so low, that I was fearing a shortage of disk space for the creation of the object files :/
Well, I warned straight from the start that I was not well equiped for such a compilation :D But I'll keep trying while I have ideas ;)
Do you know if it would be complicated to make one TinyCore computer the "master" of others computers on the LAN, thus borrowing their RAM and CPU?
-
Hello tinypoodle :)
I thought about that, but my disk space was already so low, that I was fearing a shortage of disk space for the creation of the object files :/
In that case there is a chance to squeeze out some more memory capacity by increasing size of zram disk while avoiding increasing swapspace on persistent storage.
Do you know if it would be complicated to make one TinyCore computer the "master" of others computers on the LAN, thus borrowing their RAM and CPU?
You could do a forum search for "cluster", but not sure if that's worth the effort only to compile BloatyOff... errr LibreOffice.
-
In that case there is a chance to squeeze out some more memory capacity by increasing size of zram disk while avoiding increasing swapspace on persistent storage.
Hmmmm... how about using a compressed disk-based swap - like zswap, only bigger - and slower. :)
(I was kidding.)
-
Hmmmm... how about using a compressed disk-based swap - like zswap, only bigger - and slower. :)
(I was kidding.)
I can recall having witnessed discussions about such more than once in the past; not sure if it was only in IRC channels or elsewhere as well.
My impression is that it would appear that the trade off of gaining storage space for CPU cycles is not worth it, as opposed to gaining RAM for CPU cycles (as is the case with e.g. zram). ("You can never have too much RAM")
-
Morning,
I got the laptop with 4GB RAM for one evening. It wouldn't boot the USB stick :(
So I installed VirtualBox on Windows (hey, 3GB RAM+10GB swap is still better than 2GB RAM+2GB swap…) and installed TC on a new virtual machine, using CorePlus iso.
The USB stick was inserted, so that I could later copy my files over to the fake hard disk. TC_install correctly listed sda1 (swap), sda2 (previously formatted as ext3) and sdb1 (usb), and I selected sda2 for installation. TC_install even displayed that it was setting the boot flag on sda2, but it failed to install nonetheless. Never did I select sdb1, nor did I mount it.
Long story short: TC_install made something to my USB stick in the process for no reason, rendering it unreadable, and I'm worse than back to square one, rather back to square zero :(
Time was running short (I had to give back the laptop in the morning, with all traces of my activity removed), so this marks the end of my efforts; I'm out of options. I'm going back to TC 4.7.7.
Good luck to the next one :)
-
darn!
-
libreoffice posted
Interesting that on the same machine, compiling the same version of libreoffice with the same ./configure switches I got:
time make build 3h 14m 16s [32-bit core]
time make build 1h 16m 15s [corepure64]
..which I guess shows the advantages of being able to use all 8gb of ram on the machine in question
-
great, as soon as I have some time I try to recreate a new tinycore
thanks Juanito