Created attachment 463404 [details, diff] libreoffice-9999.ebuild.patch diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index e0e9d615e0..6a16886204 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -60,6 +60,7 @@ ADDONS_SRC=( "${ADDONS_URI}/86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz" # modifies source code "collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" "java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" + "${ADDONS_URI}/9ac66c71463f9440e3ccc996c5e66556-pdfium-3004.tar.bz2" # no release for 8 years, should we package it? "libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # Does not build with 1.6 rhino at all @@ -78,7 +79,7 @@ unset ADDONS_SRC LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome googledrive -gstreamer +gtk gtk3 jemalloc kde libressl mysql odk pdfimport postgres quickstarter telepathy test vlc +gstreamer +gtk gtk3 jemalloc kde libressl mysql odk pdfimport pdfium postgres quickstarter telepathy test vlc $(printf 'libreoffice_extensions_%s ' ${LO_EXTS})" LICENSE="|| ( LGPL-3 MPL-1.1 )" @@ -492,6 +493,7 @@ src_configure() { $(use_enable quickstarter systray) \ $(use_enable telepathy) \ $(use_enable vlc) \ + $(use_enable pdfium) \ $(use_with coinmp system-coinmp) \ $(use_with collada system-opencollada) \ $(use_with gltf system-libgltf) \
with USE=-pdfium I get problems in install phase: : SUCCESS: INSTDIR Source for libpdffilterlo.so: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/instdir/./program/libpdffilterlo.so : ERROR: Source for libpdfiumlo.so not found! : SUCCESS: INSTDIR Source for libprotocolhandlerlo.so: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/instdir/./program/libprotocolhandlerlo.so ... : SUCCESS: INSTDIR Source for services.rdb: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/instdir/./program/services/services.rdb : : ERROR: Removing file libpdfiumlo.so from file list. : : : Removing directory /var/tmp/portage/app-office/libreoffice-9999/temp/ooopackagingNO2PMr/i_74731486778893 ... : Setting Root Module: gid_Module_Root : Using spellchecker file: /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/setup_native/source/packinfo/spellchecker_selection.txt : Collected spellchecker languages for spellchecker: en,es,fr : : ***************************************************************** : ERROR: ERROR: Missing files at /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/bin/modules/installer/scriptitems.pm line 1197. : ***************************************************************** Sat Feb 11 03:08:16 2017 (00:03 min.) Failed to install: No such file or directory at /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/bin/ooinstall line 92. make: *** [Makefile:303: install] Error 2 * ERROR: app-office/libreoffice-9999::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 8307: Called die * The specific snippet of code: * make DESTDIR="${D}" distro-pack-install -o build -o check || die;
Compiles with pdfium enabled. It is enabled by default.
Thanks for your report, added --disable-pdfium for now, build with it disabled was supposedly fixed upstream.
for enabled pdfium now cfcb6b4f3b5b6097edc5df7903ef00ea-pdfium-3021.tar.bz2 is needed.
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4e943da402ea5a7b450a9251ff75a6a3969dba74 external: upgrade to pdfium-3050 and stop using bundled zlib
libreoffice-9999 needs now xmlsec1-1.2.24.tar.gz
See also: https://plus.google.com/+PeterKasting/posts/5EjSyVPY2be