Page 2 of 2

Re: LibreOffice-4.1.1.2-x64

Posted: 02 Oct 2013, 03:51
by cttan
Hi PaulBy,

Thanks for the package.
No worry about the script. I was asking it from brokenman.

BTW I am having LO Basic macro problem using LO 4.1.1 and LO 4.1.0 available from Porteus 2.1 download.
I encounter problem when the macro trying to create new sheet.
It was working perfectly in LO 4.0.3.

Re: LibreOffice-4.1.1.2-x64

Posted: 03 Oct 2013, 01:29
by brokenman
Download libre-office builder here

If the slackbuild doesn't download the sourc file please open the script and read it a little to find the download link and download it manually.

Step 1) Unpack the tarball
tar xf /path/to/libreoffice-slackbuild.tar.xz
Run the libreoffice.SlackBuild script
Step 2)
Unpack the slackware package that it created to a temp folder
mkdir /tmp/libre
installpkg -root /tmp/libre /path/to/libre-office-4.1.1-x86_64-1.txz

Step 3) Copy the libre-launch-before-go.sh script into the temp folder
Step 4) Change into the temp folder and run the script
sh libre-launch-before-go.sh
Step 5) Delete the script and then create a module from the temp folder.
Activate the module and test. You will require cups and GConf

I could create a fully automated script in little time but it is just as fast for me to follow these steps.

Re: LibreOffice-4.1.1.2-x64

Posted: 04 Oct 2013, 05:33
by cttan
Thanks brokenman for the script.

Re: LibreOffice-4.1.1.2-x64

Posted: 04 Oct 2013, 20:40
by brokenman
No problem. Keep in mind this creates a stripped version of libreoffice. The slackbuild uses a debian package and shuffles things around then the other script strips whats left. You'll find it is significantly smaller than most other versions of LO.

Re: LibreOffice-4.1.1.2-x64

Posted: 07 Oct 2013, 16:09
by cttan
Hi brokenman

Thank you very much for the script. It is working except for the # sign at the txz2xzm line.
I just uncomment and the xzm module is made.

I have tried to package 4.1.2 and it works. It kind of solve my macro script problem as well.
I just have to do minor changes to make my old macro works as oppose to the 4.1.1 module downloaded. Seems like new LO 4.1.2 have some macro bugs fixed.

Re: LibreOffice-4.1.1.2-x64

Posted: 10 Oct 2013, 01:23
by brokenman
Excellent. I'll modify the script as new versions come out that require tweaks. I'll probably upload a single script eventually so anybody can update at their leisure.

Re: LibreOffice-4.1.3.2-x64

Posted: 09 Nov 2013, 23:33
by PaulBy
Hello :)

While the Brokenman's script is not correctly working, I modified my package to the latest version LibreOffice v.4.1.3.2 on the basis of the repository Alien with dic english and russian and mozilla plugin - http://yadi.sk/d/neB3DCvACRLuB

Enjoy 8)

Re: LibreOffice-4.1.3.2-x64

Posted: 05 Jun 2014, 09:54
by cttan
@brokenman,
I have created xzm for LO 4.2.5.1 and 4.3.0.0 beta using your script successfully. Thanks again! :good:
But I noticed that there is a character which has became a square box when I open a .doc file which contain the character.
I have tried freestyler 4.2.4 version and it has the same problem as well.

I have to go back to the 4.2.1.1 version which is downloaded directly from Porteus website and the problem is not there.
Do you know what could have cause it?
What is the difference between the downloaded version and the version I made using the script?

Character loaded correctly using LO 4.2.1.1 Writer
Image

Character not loaded using LO 4.2.5.1 Writer
Image

Re: LibreOffice-4.1.3.2-x64

Posted: 05 Jun 2014, 18:14
by brokenman
I havn't reviewed the script against the latest LO version so I am not exactly sure but it looks like the cleanup script removed a little too much in the font department.

Re: LibreOffice-4.1.3.2-x64

Posted: 06 Jun 2014, 04:38
by cttan
@brokenman
I found the problem and solution.
I insert a line in the font replacement table and the symbol is shown without problem. Pls see attached.

Image

Now I need to know how I make this permanent in the xzm as I am using copy2ram mode.

Re: LibreOffice-4.1.3.2-x64

Posted: 06 Jun 2014, 20:33
by brokenman
I guess you will need to find which file is modified when you insert the line. Perhaps the /opt/porteus-scripts/changes-time script can help. It will collect any files modified within a given time frame.

Re: LibreOffice-4.1.3.2-x64

Posted: 11 Jun 2014, 16:06
by cttan
It seems like the 06-libreoffice module not using font replacement.

I managed to solved the problem using font alias file
/etc/fonts/conf.d/51-local.conf

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <!-- Load local system customization file -->
        <include ignore_missing="yes">local.conf</include>
<!--
  Replacing 'Symbol' with 'OpenSymbol'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>Symbol</string>
                </test>
                <edit name="family" mode="assign" binding="same">
                        <string>OpenSymbol</string>
                </edit>
        </match>
</fontconfig>
and run fc-cache