To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





------- Additional comments from [EMAIL PROTECTED] Mon Jun 16 10:37:03 +0000 
2008 -------
cmc->kendy: indeed, you either need the debian-esque rpath hack (which would
then need to be extended for the multilib /usr/lib64 on 64bit systems like
suse/redhat) in ooo-build, or you need the 

import sys
sys.path.append(/path/to/office/program)

hack at the top of uno.py like fedora, and the relocation into the "standard"
python locations, here's the dump from my own spec to do the relocation and 
fixup

%define instdir %{_libdir}
%define baseinstdir %{instdir}/openoffice.org
%define basisinstdir %{baseinstdir}/basis3.0

%define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import
get_python_lib; print get_python_lib(0)")

# move python bits into site-packages
mkdir -p $RPM_BUILD_ROOT/%{python_py_sitearch}
pushd $RPM_BUILD_ROOT/%{python_py_sitearch}
echo "import sys, os" > uno.py
echo "sys.path.append('%{basisinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP',
'vnd.sun.star.pathname:%{oooinstdir}/program/fundamentalrc')" >> uno.py
cat $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py >> uno.py
rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py*
mv -f $RPM_BUILD_ROOT/%{basisinstdir}/program/unohelper.py* .
popd


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to