Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#3555 closed enhancement (fixed)

LibreOffice 3.6.2

Reported by: rt Owned by: Armin K
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (17)

comment:1 by Fernando de Oliveira, 12 years ago

Built in LFS7.1

If what I write below is not clear, please, ask me to clarify.

1. Package Information

Core Download (HTTP): http://download.documentfoundation.org/libreoffice/src/3.6.1/libreoffice-core-3.6.1.2.tar.xz
Core Download MD5 sum: 3ddcf145b74daa4361e48dafe97e7d21
Core Download size: 103 MB
Estimated disk space required: 7.1 GB (443 MB installed)
Estimated build time: 82 SBU (more reasonable than in my calculation in previous version)

2. Poppler patch still necessary

3. New Files

With repect to version 3.6.0, only following new files which have been downloaded:
380K 94e7f271e38c976462558b4278590178-libvisio-0.0.19.tar.bz2 (so I removed the older version)
4,0K libreoffice-core-3.6.1.2-poppler_fix-1.patch (actually, downloaded as *3.6.0.4*)
103M libreoffice-core-3.6.1.2.tar.xz
34M libreoffice-dictionaries-3.6.1.2.tar.xz
1,8M libreoffice-help-3.6.1.2.tar.xz
121M libreoffice-translations-3.6.1.2.tar.xz
259M total

4. Bandwidth used by .download script

$ du -sch src-3.6.1.2/
601M src-3.6.1.2/
601M total

Bellow, (src size minus core size ) = size of downloads by .download script needs modification from 470MB to 498MB, but I suggest writting 500MB, as the word "some" is used:
Command Explanations
...
./download: The build process runs the download script which downloads some 500 MB of tarballs. We run the download script to get it out of the way at the start so we can make a backup copy of the downloaded files.

in reply to:  1 ; comment:2 by Armin K, 12 years ago

Replying to fo:

2. Poppler patch still necessary

Is Boost patch still necessary?

./download: The build process runs the download script which downloads some 500 MB of tarballs. We run the download script to get it out of the way at the start so we can make a backup copy of the downloaded files.

I'd prefer "arround 500 MB of tarballs."

Also, I'd like to use "make distro-pack-install" when installing libreoffice. That way, it will already create libreoffice launchers in /usr/bin and also icons and desktop files in /usr/share. I do want to note that Andy said the target does not work when not installing libreoffice into /usr. But, as the book uses instructions to install it into /usr, and all major components are in /usr/lib/libreoffice iirc minus launchers and desktop related files, there is little need for it to be installed anywhere else.

What do you say?

in reply to:  2 comment:3 by Fernando de Oliveira, 12 years ago

Replying to Krejzi: Thanks for the reply.

Replying to fo:

2. Poppler patch still necessary

Is Boost patch still necessary?

I still use 1.49.0, but if you wish, can install newer and test the patch in LO.

./download: The build process runs the download script which downloads some 500 MB of tarballs. We run the download script to get it out of the way at the start so we can make a backup copy of the downloaded files.

I'd prefer "arround 500 MB of tarballs."

Also, I'd like to use "make distro-pack-install" when installing libreoffice. That way, it will already create libreoffice launchers in /usr/bin and also icons and desktop files in /usr/share. I do want to note that Andy said the target does not work when not installing libreoffice into /usr. But, as the book uses instructions to install it into /usr, and all major components are in /usr/lib/libreoffice iirc minus launchers and desktop related files, there is little need for it to be installed anywhere else.

What do you say?

I think this is fine. As I keep LO-source dir in some machines up to the next release, I am testing, in 6.8, "make distro-pack-install". Up to now, I can say that LO works in /opt if installed this way, but I have to redo this again, as in the last step, I had the error

# tail /home/fernando/Downloads/blfs/libreoffice-3.6.1.2-build-2012.09.11.log 
Install /opt/libreoffice-3.6.1.2/bin/unopkg
Install /opt/libreoffice-3.6.1.2/share/man/man1/unopkg.1.gz
Install /basis/program/java-set-classpath
/media/dados/home/fernando/tmp/paco-build-libreoffice-2012.09.07/libreoffice-core-3.6.1.2/bin/distro-install-sdk
/media/dados/home/fernando/tmp/paco-build-libreoffice-2012.09.07/libreoffice-core-3.6.1.2/bin/distro-install-file-lists
Error: Failed to generate package file lists
       Have you defined DESTDIR?
make[1]: ** [distro-pack-install] Erro 1
make[1]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-libreoffice-2012.09.07/libreoffice-core-3.6.1.2'
make: ** [distro-pack-install] Erro 2

Also, desktop integration has to be corrected for mimetipes and icons. I am just trying to do this, and will report soon.

Thus, if you do not mind, just give me some time untill I sort these things up?

Meanwhile, I am waiting for your reply about Boost.

comment:4 by Armin K, 12 years ago

I have no problems waiting.

Regarding Boost, I guess it would be sane if you check the instructions with the current packages in the book, and l-o build is broken with 1.50.0 and 1.51.0 as far as I know.

These are original fixes that I proposed back in June and most of them are now incorporated. You can check if anything is missing if you don't mind. I can give a test build for it and update instructions.

comment:5 by Armin K, 12 years ago

These are original fixes that I proposed: http://linuxfromscratch.org/pipermail/blfs-dev/2012-June/023574.html ... I forgot to put the link in previous reply. Sorry.

in reply to:  2 comment:6 by bdubbs@…, 12 years ago

Replying to Krejzi:

Replying to fo:

I'd prefer "arround 500 MB of tarballs."

We can host the tarballs on anduin without any problem. Let me know who needs an account.

comment:7 by Fernando de Oliveira, 12 years ago

Thanks.

Armin, I'll try to check Boost patch and follow your fixes, as soon as I reply a couple of messages/tickets.

comment:8 by Fernando de Oliveira, 12 years ago

Just finished. Installed in /opt/libreoffice-3.6.1.2

boost patch necessary

Used book's version boost-1.51.0

make distro-pack-install

When used

      make $DESTDIR distro-pack-install

there was no error.

However, actual installation failed, although installed everything for running.

Corrected and installed with:

      sed -i '/$(SRCDIR)\/bin\/distro-install-file-lists/ s/^/#/'  \
              Makefile.top                                        &&
      make distro-pack-install

icons

Depending on the icon theme used, the .desktop files cannot find them. Solved with:

# PREFDIR=<prefix used>
      PREFDIR=/opt/libreoffice-3.6.1.2 &&
      for i in base calc draw impress main math startcenter writer; do
          ln -sv -f \
            ${PREFDIR}/share/icons/hicolor/256x256/apps/libreoffice-${i}.png \
            /usr/share/pixmaps/libreoffice-${i}.png
      done &&
      unset i PREFDIR &&
      ln -sv -f \
        ${PREFDIR}/share/icons/hicolor/48x48/apps/libreoffice-printeradmin.png \
        /usr/share/pixmaps/libreoffice-printeradmin.png

in reply to:  8 ; comment:9 by bdubbs@…, 12 years ago

Replying to fo:

Just finished. Installed in /opt/libreoffice-3.6.1.2

make $DESTDIR distro-pack-install

However, actual installation failed, although installed everything for running.

What is the content of $DESTDIR? I generally use a construct like:

make DESTDIR=$DEST install

in reply to:  9 comment:10 by Fernando de Oliveira, 12 years ago

Replying to bdubbs@…:

Replying to fo:

What is the content of $DESTDIR? I generally use a construct like:

make DESTDIR=$DEST install

Sorry, you are right. In my case, I did similarly. Corrected code:

      make DESTDIR=$DESTINODIR distro-pack-install

comment:11 by bdubbs@…, 12 years ago

Armin, are you going to do this ticket? I can do it if you want.

comment:12 by Armin K, 12 years ago

Well, looking here [1], 3.6.2.1 is already released, so 3.6.2 release can't be that far off. I was looking forward to that one, but if you want you can take this one and upgrade it.

[1] http://cgit.freedesktop.org/libreoffice/core

comment:13 by Fernando de Oliveira, 12 years ago

I have installed the following ones:

libreoffice-3.3.2.2  libreoffice-3.4.4.2  libreoffice-3.5.3.2
libreoffice-3.3.3.1  libreoffice-3.4.5.2  libreoffice-3.5.4.2
libreoffice-3.4.1.3  libreoffice-3.5.0.3  libreoffice-3.5.5.3
libreoffice-3.4.2.3  libreoffice-3.5.1.2  libreoffice-3.6.1.2
libreoffice-3.4.3.2  libreoffice-3.5.2.2

It is rare a x.y.z.1 release.

in reply to:  12 comment:14 by bdubbs@…, 12 years ago

Replying to Krejzi:

Well, looking here [1], 3.6.2.1 is already released, so 3.6.2 release can't be that far off. I was looking forward to that one, but if you want you can take this one and upgrade it.

No, I'll hold off.

comment:15 by Armin K, 11 years ago

Owner: changed from blfs-book@… to Armin K
Status: newassigned
Summary: LibreOffice 3.6.1LibreOffice 3.6.2

comment:16 by Armin K, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r10717

comment:17 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.