Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi,

The LO jars generally need to be located at specific places within a LO
installation tree. I am not sure that is compatible with the Maven
concepts.

Is is. After some nudging I from Sebastian I did this in Debian:

libreoffice (1:4.1.5-1) unstable; urgency=low

  * new upstream release

  * debian/patches/kde-yield-fix.diff: backport patch from LO 4.2.0 which
    rewrites Qt4 based nested yield mutex locking (closes: #728987, #723087)

  * debian/control.ure.in:
    - add missing second a in "additional" (closes: #734512) 
  * debian/pom.*.xml.in, debian/*.poms, debian/rules:
    - install maven stuff for juh,jurt,ridl and unoil (based on the poms from
      http://bertfrees.github.io/snapshots/org/libreoffice/), thanks Sebastian
      Humenda
 * debian/tests/junit-subsequentcheck:
    - temporarily disable the report builder here; Depends: generation for
      -subsequentcheckbase somehow misses the needed build-deps now...?!

 -- Rene Engelhard <rene@debian.org>  Tue, 11 Feb 2014 15:36:06 +0100

See

https://packages.debian.org/sid/ure
https://packages.debian.org/sid/libreoffice-common

$ dpkg --contents ure_4.1.5-2_amd64.deb 
drwxr-xr-x root/root         0 2014-03-02 03:37 ./
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/lib/
drwxr-xr-x root/root         0 2014-03-02 03:23 ./usr/lib/ure/
drwxr-xr-x root/root         0 2014-03-02 03:42 ./usr/lib/ure/lib/
-rw-r--r-- root/root     10440 2014-03-02 03:42 ./usr/lib/ure/lib/libunsafe_uno_uno.so
-rw-r--r-- root/root     35584 2014-03-02 03:42 ./usr/lib/ure/lib/libtextinstreamlo.so
-rw-r--r-- root/root    105560 2014-03-02 03:42 ./usr/lib/ure/lib/libjvmfwklo.so
-rw-r--r-- root/root     14656 2014-03-02 03:42 ./usr/lib/ure/lib/libaffine_uno_uno.so
-rw-r--r-- root/root     43800 2014-03-02 03:42 ./usr/lib/ure/lib/libjavaloaderlo.so
-rw-r--r-- root/root     10248 2014-03-02 03:42 ./usr/lib/ure/lib/libjpipe.so
-rw-r--r-- root/root     27280 2014-03-02 03:42 ./usr/lib/ure/lib/libnamingservicelo.so
-rw-r--r-- root/root     52040 2014-03-02 03:42 ./usr/lib/ure/lib/libinvocadaptlo.so
-rw-r--r-- root/root    170704 2014-03-02 03:42 ./usr/lib/ure/lib/libunoidllo.so
-rw-r--r-- root/root     27032 2014-03-02 03:42 ./usr/lib/ure/lib/libjvmaccesslo.so
-rw-r--r-- root/root    146816 2014-03-02 03:42 ./usr/lib/ure/lib/libjavavmlo.so
-rw-r--r-- root/root     64744 2014-03-02 03:42 ./usr/lib/ure/lib/libacceptorlo.so
-rw-r--r-- root/root     60648 2014-03-02 03:42 ./usr/lib/ure/lib/libconnectorlo.so
-rw-r--r-- root/root    183432 2014-03-02 03:42 ./usr/lib/ure/lib/libreflectionlo.so
-rw-r--r-- root/root     10288 2014-03-02 03:42 ./usr/lib/ure/lib/libjuh.so
-rw-r--r-- root/root    117624 2014-03-02 03:42 ./usr/lib/ure/lib/libjava_uno.so
-rw-r--r-- root/root    163224 2014-03-02 03:42 ./usr/lib/ure/lib/libbinaryurplo.so
-rw-r--r-- root/root    121680 2014-03-02 03:42 ./usr/lib/ure/lib/libinvocationlo.so
-rw-r--r-- root/root      2258 2014-03-01 21:05 ./usr/lib/ure/lib/JREProperties.class
-rw-r--r-- root/root     73496 2014-03-02 03:42 ./usr/lib/ure/lib/libsunjavapluginlo.so
-rw-r--r-- root/root    793736 2014-03-02 03:42 ./usr/lib/ure/lib/libbootstraplo.so
-rw-r--r-- root/root     64152 2014-03-02 03:42 ./usr/lib/ure/lib/libjuhx.so
-rw-r--r-- root/root     31456 2014-03-02 03:42 ./usr/lib/ure/lib/libuuresolverlo.so
-rw-r--r-- root/root     31504 2014-03-02 03:42 ./usr/lib/ure/lib/libproxyfaclo.so
-rw-r--r-- root/root    126736 2014-03-02 03:42 ./usr/lib/ure/lib/libstocserviceslo.so
-rw-r--r-- root/root      1072 2014-02-05 16:04 ./usr/lib/ure/lib/unorc
-rw-r--r-- root/root    179088 2014-03-02 03:42 ./usr/lib/ure/lib/libintrospectionlo.so
-rw-r--r-- root/root      1060 2014-02-05 16:04 ./usr/lib/ure/lib/jvmfwk3rc
-rw-r--r-- root/root     14648 2014-03-02 03:42 ./usr/lib/ure/lib/liblog_uno_uno.so
-rw-r--r-- root/root     60320 2014-03-02 03:42 ./usr/lib/ure/lib/libgcc3_uno.so
-rw-r--r-- root/root    184520 2014-03-02 03:42 ./usr/lib/ure/lib/libstreamslo.so
-rw-r--r-- root/root     27312 2014-03-02 03:42 ./usr/lib/ure/lib/libtextoutstreamlo.so
-rw-r--r-- root/root   1685544 2014-03-02 03:42 ./usr/lib/ure/lib/libsal_textenclo.so
drwxr-xr-x root/root         0 2014-03-02 03:23 ./usr/lib/ure/share/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/
drwxr-xr-x root/root         0 2014-03-02 03:33 ./usr/lib/ure/share/misc/
-rw-r--r-- root/root      7885 2014-03-01 21:44 ./usr/lib/ure/share/misc/services.rdb
-rw-r--r-- root/root     57175 2014-03-02 02:48 ./usr/lib/ure/share/misc/types.rdb
-rw-r--r-- root/root      2311 2014-02-05 16:04 ./usr/lib/ure/share/misc/javavendors.xml
drwxr-xr-x root/root         0 2014-03-02 03:42 ./usr/lib/ure/bin/
-rwxr-xr-x root/root      1508 2014-02-05 16:04 ./usr/lib/ure/bin/startup.sh
-rwxr-xr-x root/root     89080 2014-03-02 03:42 ./usr/lib/ure/bin/uno.bin
-rwxr-xr-x root/root     18960 2014-03-02 03:42 ./usr/lib/ure/bin/regmerge
-rwxr-xr-x root/root     10584 2014-03-02 03:42 ./usr/lib/ure/bin/regview
-rwxr-xr-x root/root     10584 2014-03-02 03:42 ./usr/lib/ure/bin/javaldx
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/bug/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/bug/ure/
-rw-r--r-- root/root      3109 2014-02-10 14:34 ./usr/share/bug/ure/presubj
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/java/
-rw-r--r-- root/root     61868 2014-03-02 03:36 ./usr/share/java/juh-4.1.5.jar
-rw-r--r-- root/root      5678 2014-03-01 21:16 ./usr/share/java/java_uno.jar
-rw-r--r-- root/root      4759 2014-03-01 21:06 ./usr/share/java/unoloader.jar
-rw-r--r-- root/root    253170 2014-03-02 03:36 ./usr/share/java/ridl-4.1.5.jar
-rw-r--r-- root/root    121314 2014-03-02 03:36 ./usr/share/java/jurt-4.1.5.jar
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/org/
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/org/libreoffice/
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/org/libreoffice/ridl/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/ridl/debian/
-rw-r--r-- root/root       579 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/ridl/debian/ridl-debian.pom
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/ridl/4.1.5/
-rw-r--r-- root/root       578 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/ridl/4.1.5/ridl-4.1.5.pom
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/org/libreoffice/jurt/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/jurt/debian/
-rw-r--r-- root/root       579 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/jurt/debian/jurt-debian.pom
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/jurt/4.1.5/
-rw-r--r-- root/root       578 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/jurt/4.1.5/jurt-4.1.5.pom
drwxr-xr-x root/root         0 2014-03-02 03:36 ./usr/share/maven-repo/org/libreoffice/juh/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/juh/debian/
-rw-r--r-- root/root       578 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/juh/debian/juh-debian.pom
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/maven-repo/org/libreoffice/juh/4.1.5/
-rw-r--r-- root/root       577 2014-03-02 03:36 
./usr/share/maven-repo/org/libreoffice/juh/4.1.5/juh-4.1.5.pom
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/lintian/
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       384 2014-02-10 14:34 ./usr/share/lintian/overrides/ure
drwxr-xr-x root/root         0 2014-03-02 03:37 ./usr/share/doc/
drwxr-xr-x root/root         0 2014-03-02 03:42 ./usr/share/doc/ure/
-rw-r--r-- root/root      5423 2014-03-02 03:37 ./usr/share/doc/ure/README.gz
-rw-r--r-- root/root     75186 2014-02-10 14:34 ./usr/share/doc/ure/copyright
-rw-r--r-- root/root    147437 2014-03-01 17:00 ./usr/share/doc/ure/changelog.Debian.gz
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/lib/libjava_uno -> libjava_uno.so
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/ridl.jar -> 
../../../../share/java/ridl.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/juh.jar -> 
../../../../share/java/juh.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/java_uno.jar -> 
../../../../share/java/java_uno.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/unoloader.jar -> 
../../../../share/java/unoloader.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/share/java/jurt.jar -> 
../../../../share/java/jurt.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/lib/ure/bin/uno -> startup.sh
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/share/java/ridl.jar -> ridl-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/share/java/juh.jar -> juh-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 ./usr/share/java/jurt.jar -> jurt-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/ridl/debian/ridl-debian.jar -> 
../../../../../java/ridl-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/ridl/4.1.5/ridl-4.1.5.jar -> 
../../../../../java/ridl-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/jurt/debian/jurt-debian.jar -> 
../../../../../java/jurt-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/jurt/4.1.5/jurt-4.1.5.jar -> 
../../../../../java/jurt-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/juh/debian/juh-debian.jar -> 
../../../../../java/juh-4.1.5.jar
lrwxrwxrwx root/root         0 2014-03-02 03:37 
./usr/share/maven-repo/org/libreoffice/juh/4.1.5/juh-4.1.5.jar -> ../../../../../java/juh-4.1.5.jar

So the maven thingys are just symlinks to the "real" ones (versioned, though),
so there's e.g. ./usr/share/java/jurt.jar -> jurt-4.1.5.jar, too, but probably
that's just how debians maven helpers handle it.

Note he didn't say "register it with maven" but just "ship the pom.xmls". You can just
ship the file and be with it:

http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=pom.juh.xml.in;h=bec82973062df555752aef7233b3e4715b096a08;hb=HEAD
http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=pom.jurt.xml.in;h=bec82973062df555752aef7233b3e4715b096a08;hb=HEAD
http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=pom.unoil.xml.in;h=bec82973062df555752aef7233b3e4715b096a08;hb=HEAD
http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=pom.ridl.xml.in;h=bec82973062df555752aef7233b3e4715b096a08;hb=HEAD

Regards,

Rene

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.