[Libreoffice] [PATCH] Gentoo patches from old build repository for master

Caolán McNamara caolanm at redhat.com
Mon Mar 7 12:44:04 PST 2011

On Mon, 2011-03-07 at 19:03 +0100, Hanno Meyer-Thurow wrote:
> 1. Do not add compiler default include and library path: potentially build
>    against different version of system library than requested by the user
>    (i.e., /usr/local/lib vs /usr/lib).
> 	Report:	http://qa.openoffice.org/issues/show_bug.cgi?id=65976
> 	Fix:		http://code.google.com/p/gekis-playground/source/browse/#svn/trunk/app-office/libreoffice/files/pre/config_office-XINC-XLIB-defaults.diff

Remove XLIB=`$PKG_CONFIG --variable=libdir x11` and hardcoding
XLIB="/usr/lib" will break the 64bit multilib archs, e.g. Fedora x86_64
which place 64bit libs into /usr/lib64 not /usr/lib

> 2. Add a configure option to disable Python2 (PyUNO) bindings. Python3 is
>    available for more than two years.

This just allows disabling it right ?, not actually provides a Python3
port ?

> 3. Fix sandbox violation in officecfg module: rm /bin/<language>.zip
> 	Report:	https://bugs.gentoo.org/show_bug.cgi?id=251932
> 	Fix:		http://code.google.com/p/gekis-playground/source/browse/#svn/trunk/app-office/libreoffice/files/pre/gentoo-sandbox.diff

Personally would prefer that code falls back to some allowed location,
e.g. getTempDir or something, rather than hacking it out.


More information about the LibreOffice mailing list