SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd kill for an UI better designed for widescreen monitors, for example.
Seriously, it's not hard to fit two pages side by side on a 24" LCD but both get cut somewhere near the bottom/top because there are 2-4 toolbars, a menu bar and the window border.
Last edited by maxmiorim; 10-23-2010 at 07:09 AM.
Reason: rabble rabble rabble
Has anyone installed a language package?
How would I go about it? Download the 20 MB tar ball with a dozen RPM files in it, then rpm2tgz and installpkg?
LibreOffice language packs
Yes the language packs work just fine but you have to play around with the default install directories. The RPM's install to /opt/libreoffice3 and Alien Bob's package installs to /usr/lib/libreoffice
I did it like this
Code:
mkdir ~/pkg
mkdir ~/tmp
# download the language tar.gz to ~/tmp
cd ~/tmp
tar -xvzf LibO-xxx-xx.tgz
cd en_GB/RPMS
rpm2tgz *.rpm
rm *.rpm
installpkg --root ~/pkg *.tgz
rm ~/pkg/var/log/packages/*
cd ~/pkg
mkdir usr
mkdir usr/lib
cd opt/
mv libreoffice3 ../usr/lib
cd ..
rmdir opt/
cd usr/lib
mv libreoffice3 libreoffice
cd ~/pkg
makepkg ../libreoffice-en_GB-samac-i486-1.tgz
Do all this as root and substitute your own language and name into the package that you have made and install your package as normal. Once you start libreoffice you will have to change your language settings in options.
@samac: I did something very similar, just letting it install in /opt, as I use the binaries from TDF with my SlackBuild.
I might (if time allows) write a simple SlackBuild that uses one variable for the language and another for choosing the destination of the files (like /opt for the binary version, /lib for Eric's version).
FWIW, (and I know this is a beta), I'm getting crashes with Libreoffice's writer every time I try to dock the navigator panel.
uhm, I haven't had a single crash yet (but I'm not really a heavy "Writer" user, I use Calc a lot more).
Can you reproduce this with a few simple steps?
Any error messages? (If you can reproduce it, start Writer from the command line to see possible output when crashing)
Yes the language packs work just fine but you have to play around with the default install directories. The RPM's install to /opt/libreoffice3 and Alien Bob's package installs to /usr/lib/libreoffice
I did it like this
Code:
mkdir ~/pkg
mkdir ~/tmp
# download the language tar.gz to ~/tmp
cd ~/tmp
tar -xvzf LibO-xxx-xx.tgz
cd en_GB/RPMS
rpm2tgz *.rpm
rm *.rpm
installpkg --root ~/pkg *.tgz
cd ~/pkg
mkdir usr
mkdir usr/lib
cd opt/
mv libreoffice3 ../usr/lib
cd ..
rmdir opt/
cd usr/lib
mv libreoffice3 libreoffice
cd ~/pkg
makepkg ../libreoffice-en_GB-samac-i486-1.tgz
Do all this as root and substitute your own language and name into the package that you have made and install your package as normal. Once you start libreoffice you will have to change your language settings in options.
samac
Thanks a lot, however, I get:
Code:
# rpm2tgz *.rpm
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-base-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-binfilter-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-calc-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-draw-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-help-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-impress-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-math-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-res-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libobasis3.3-de-writer-3.3.0-1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libreoffice3-de-3.3.0-1.x86_64.rpm is not an RPM?)
But with src2pkg I was able to create .tgz files. In the end it worked, and I have LibO with a UI in my language. Thanks a lot!
I built a SlackBuild script for the language packs. It's currently in the pending queue at SBo, but if you want to try it before it gets approval, feel free to download it from here.
Get your language packs from here (for 32-bits) or here (for 64-bits).
It takes two variables:
- LOLANG as the "locale" (default = en_GB)
- ALIEN to choose "/usr/lib" as the base directory instead of "/opt" (default = no)
So, simply run it as:
Code:
# LOLANG=pt-BR ./libreoffice-langpack.SlackBuild
for the Brazilian Portuguese language pack that will install in /opt
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.