Hi,

On Tue, Aug 24, 2010 at 12:02:55PM +0200, Rene Engelhard wrote:
> On Mon, Aug 23, 2010 at 08:53:26PM +0200, rony wrote:
> > So there is at least a problem in the Ubuntu distribution with the setup
> > somewhere.
> 
> As we already found out in this thread.
> It's a problem in Debian and Ubuntu because we move the Java libs to
> a standardized path with symlinks and OOo cannot handle the symlink...
> 
> Now I am waiting for Stephan to tell me whether my proposed solution works.

Fixed (for 1:3.2.1-7) with adding /usr/lib/ure/lib to Class-Path:

+       # fix up Class-Path of jurt.jar to be able to find libjpipe.so.         
+       # See http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=27765   
+       t=`mktemp -q -d`; \                                                     
+       mkdir -p $$t && cd $$t && \                                             
+       unzip $(CURDIR)/debian/ure/usr/share/java/$(OODIRNAME)/jurt.jar \       
+               META-INF/MANIFEST.MF && \                                       
+       perl -pi -e 's#../../lib/#../../lib/ /$(OOUREDIR)/lib/#g' \             
+               META-INF/MANIFEST.MF && \                                       
+       zip -r $(CURDIR)/debian/ure/usr/share/java/$(OODIRNAME)/jurt.jar \      
+               META-INF/MANIFEST.MF && \                                       
+       cd $(CURDIR) && rm -rf $$t

No idea whether I'll still be allowed to have the fix in squeezes 3.2.1
(we're in freeze in Debian) but already merged that into 3.3, too, so
it surely will be fixed there.

Grüße/Regards,

René

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to