Version 4.3 is out http://donate.libreoffice.org/home/dl/src/4.3.0/all/libreoffice-4.3.0.4.tar.xz?idx=1
oops.
There are quite a few dependencies that need version bumps first, plus a new package (dev-libs/librevenge): --- libreoffice-9999-r2.ebuild 2014-05-18 11:31:06.000000000 +0200 +++ libreoffice-4.3.0.4.ebuild 2014-07-31 01:03:46.984736761 +0200 @@ -97,17 +97,17 @@ app-arch/unzip >=app-text/hunspell-1.3.2-r3 app-text/mythes - app-text/libabw + >=app-text/libabw-0.1.0 >=app-text/libexttextcat-3.2 - app-text/libebook - app-text/libetonyek + >=app-text/libebook-0.1.1 + >=app-text/libetonyek-0.1.1 app-text/liblangtag - app-text/libmspub - >=app-text/libmwaw-0.2 - >=app-text/libodfgen-0.0.3 - app-text/libwpd:0.9[tools] - app-text/libwpg:0.2 - >=app-text/libwps-0.2.2 + >=app-text/libmspub-0.1.0 + >=app-text/libmwaw-0.3.1 + >=app-text/libodfgen-0.1.0 + >=app-text/libwpd-0.10:0.9[tools] + >=app-text/libwpg-0.3.0:0.2 + >=app-text/libwps-0.3.0 >=app-text/poppler-0.16:=[xpdf-headers(+),cxx] >=dev-cpp/clucene-2.3.3.4-r2 dev-cpp/libcmis:0.4 @@ -118,6 +118,7 @@ >=dev-libs/icu-4.8.1.1:= >=dev-libs/libatomic_ops-7.2d >=dev-libs/liborcus-0.7.0:= + >=dev-libs/librevenge-0.0.1 >=dev-libs/nspr-4.8.8 >=dev-libs/nss-3.12.9 >=dev-lang/perl-5.0 @@ -130,9 +131,9 @@ >=media-libs/harfbuzz-0.9.18:=[icu(+)] media-libs/lcms:2 >=media-libs/libpng-1.4 - >=media-libs/libcdr-0.0.5 - media-libs/libfreehand - media-libs/libvisio + >=media-libs/libcdr-0.1.0 + >=media-libs/libfreehand-0.1.0 + >=media-libs/libvisio-0.1.0 >=net-misc/curl-7.21.4 net-nds/openldap sci-mathematics/lpsolve
Instead of filing version bumps for each and every dependency, here's my repo where you can find the ebuilds under app-text/ dev-libs/ and media-libs/ https://github.com/a17r/a17rgentoo
Created attachment 382110 [details, diff] libreoffice-4.3.0.4.ebuild.diff For the brave, an ebuild (patch against 9999-r2) that should get you started. I haven't had a chance to build it all through due to some stability problems with the test box.
Build succeeds, but suffers from the following regression: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1333073 It seems the problem is --enable-mergelibs
This: $ ldd /usr/lib64/libreoffice/program/libexpwraplo.so linux-vdso.so.1 (0x00007fff24bfd000) libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f83384e2000) libuno_cppu.so.3 => /usr/lib64/libreoffice/program/../ure-link/lib/libuno_cppu.so.3 (0x00007f83382a0000) libuno_cppuhelpergcc3.so.3 => /usr/lib64/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 (0x00007f8337fa9000) libuno_sal.so.3 => /usr/lib64/libreoffice/program/../ure-link/lib/libuno_sal.so.3 (0x00007f8337d53000) libuno_salhelpergcc3.so.3 => /usr/lib64/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3 (0x00007f8337b4a000) libsaxlo.so => not found libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6 (0x00007f8337841000) libm.so.6 => /lib64/libm.so.6 (0x00007f8337547000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1 (0x00007f8337330000) libc.so.6 => /lib64/libc.so.6 (0x00007f8336f88000) libreglo.so => /usr/lib64/libreoffice/program/../ure-link/lib/libreglo.so (0x00007f8336d67000) libunoidllo.so => /usr/lib64/libreoffice/program/../ure-link/lib/libunoidllo.so (0x00007f8336b0b000) libxmlreaderlo.so => /usr/lib64/libreoffice/program/../ure-link/lib/libxmlreaderlo.so (0x00007f8336900000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f83366e1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f83364dd000) librt.so.1 => /lib64/librt.so.1 (0x00007f83362d5000) /lib64/ld-linux-x86-64.so.2 (0x00007f833896c000) libstorelo.so => /usr/lib64/libreoffice/program/../ure-link/lib/libstorelo.so (0x00007f83360b4000) So, libsaxlo.so missing from install. Of course, somebody already knew before: https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg99330.html
Created attachment 382128 [details, diff] libreoffice-4.3.0.4.ebuild.diff with --disable-mergelibs workaround this works indeed (giving us /usr/lib64/libreoffice/program/libsaxlo.so)
Created attachment 383036 [details, diff] libreoffice-4.3.1.1.ebuild.diff new bump, still with --disable-mergelibs - makes coinmp and gltf optional
Created attachment 383974 [details, diff] libreoffice-4.3.1.2.ebuild.diff 4.3.1 final release, mergelibs still in trouble
Created attachment 384020 [details, diff] libreoffice-4.3.1.2-implement--with-system-gltf.patch
Created attachment 384022 [details, diff] libreoffice-4.3.1.2-handle-collada-libs-seperately.patch
Created attachment 384024 [details, diff] libreoffice-4.3.1.2-r1.ebuild.diff Upstream now has patches in git master enabling to build with system libgltf and use collada separately. Requires media-libs/libgltf Successfully built with USE="gltf" (and without collada) and made sure to work with the duck model from https://wiki.documentfoundation.org/ReleaseNotes/4.3#3D_models
Created attachment 384032 [details, diff] libreoffice-4.3.1.2-implement--with-system-coinmp.patch So I've found an --implement-system-coinmp patch in git master that is actually much older than the libgltf/collada but somehow didn't end up in 4.3 branch yet. Merged with a small change to make it work on top of the collada patch.
Created attachment 384034 [details, diff] libreoffice-4.3.1.2-r1.ebuild.diff Use the patch. Seems to work, built fine & functionality is there.
(In reply to Andreas Sturmlechner from comment #14) > Created attachment 384034 [details, diff] [details, diff] > libreoffice-4.3.1.2-r1.ebuild.diff > > Use the patch. Seems to work, built fine & functionality is there. Tried to do this & the patch worked fine, but after bumping assorted deps (app-text/*) I gave up on libwpg. At least 2 issues: the libwpg dependency needs to be on 0.3.0 (not 0.3) and it also seems to need one or multiple slot bumps in various places (no idea where), otherwise it blocks the whole build.
(In reply to Holger Hoffstätte from comment #15) > At least 2 issues: the libwpg dependency > needs to be on 0.3.0 (not 0.3) and it also seems to need one or multiple > slot bumps in various places (no idea where), otherwise it blocks the whole > build. I did bump a few slots where it felt right (e.g. libwpg which libreoffice depends on via :0.3, if you look at it - does seem fine to me), didn't in other places (libebook e.g. requires changes if we want to make it co-installable with 0.0.x) and raised the version dep instead.
Created attachment 384308 [details, diff] libreoffice-4.3.1.2-upgrade-to-libgltf-0.0.1.patch not going to package libgltf-0.0.0, upstream patch from http://cgit.freedesktop.org/libreoffice/core/commit/?id=a60cc580212e2770c3aef7decfa09b64d4a3e52f
Created attachment 384310 [details, diff] libreoffice-4.3.1.2-r1.ebuild.diff some fixes, one less hack, one more patch
(In reply to Andreas Sturmlechner from comment #18) > Created attachment 384310 [details, diff] [details, diff] > libreoffice-4.3.1.2-r1.ebuild.diff > [...] Could we please have it in portage as ~ for testing?
Created attachment 384690 [details, diff] libreoffice-4.3.1.2-r1.ebuild.diff fixed mergelibs as suggested by scarabeus
Created attachment 384836 [details] build.log Compilation fails with No package "'apr-util-1' found"
checking for SERF... no configure: error: Package requirements (serf-1 >= 1.1.0) were not met:
After installation of the missing packages it finally wfm: $ genlop -t app-office/libreoffice-4.3.1.2 * app-office/libreoffice Tue Sep 16 21:31:42 2014 >>> app-office/libreoffice-4.3.1.2 merge time: 5 hours, 3 minutes and 42 seconds.
And now it wonts to pull in net-libs/neon, as a hard dependency. Shouldn't it have that in a USE flag?
Bumped.