Re: [Libreoffice] unowinreg.dll usage

2011-10-24 Thread Christian Lohmaier
Hi Michael, *,

On Mon, Oct 24, 2011 at 12:03 PM, Michael Stahl  wrote:
> On 23/10/11 14:10, Tomáš Chvátal wrote:
>
>> Tor I am not whining because it is dll, I am asking because it is
>> another weird file libreoffice requests me to download, and for this
>> one I was unable to think of any usage.
>
> interesting that it is now downloaded; back in OOo it used to be
> cross-compiled via MinGW;

No - even "back in OOo" it was not built using mingw by default.
(Really back it was part of the repository)

> apparently that is still an option today if you
> configure --enable-build-unowinreg.

Yes - but that option did already exist in OOo times, nothing new here...
http://tools.openoffice.org/unowinreg_prebuild/680/

Even OOo defaulted to try to use the prebuilt one and error out &
pointing to the mingw option when it wasn't present in
external/unowinreg

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] unowinreg.dll usage

2011-10-24 Thread Michael Stahl

On 23/10/11 14:10, Tomáš Chvátal wrote:


Tor I am not whining because it is dll, I am asking because it is
another weird file libreoffice requests me to download, and for this
one I was unable to think of any usage.


interesting that it is now downloaded; back in OOo it used to be 
cross-compiled via MinGW; apparently that is still an option today if 
you configure --enable-build-unowinreg.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] unowinreg.dll usage

2011-10-23 Thread Fridrich Strba
This shared library is containing APIs that allow to access the registry
key that contains an information about the installation path of
LibreOffice on windows.

If you develop using SDK an application connecting to LibreOffice, and
the application needs to know where LibreOffice is actually installed,
you cannot read registry using java pure, so this library has a C
interface that the Java code can load.

Now, on *nix one is most probably achieving the same result by calling
which or some similar method.

This DLL is available in SDK not only on Windows, because your Java
application should be cross-platform and thus bundle this library if it
needs it even if developed on *nix.

Cheers

F.

On 23/10/11 10:16, Tomáš Chvátal wrote:
> Hi,
> could someone tell me why
> 185d60944ea767075d27247c3162b3bc-unowinreg.dll is required at odk
> enabled build on linux?
> 
> I can't think of any reason... :)
> 
> Cheers
> 
> Tom
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] unowinreg.dll usage

2011-10-23 Thread Tomáš Chvátal
Dne 23. října 2011 13:48 Tor Lillqvist  napsal(a):
>
>
>> I can't think of any reason... :)
>
> I think the idea is that when an extension written in Java is distributed
> (in binary form), you are supposed to bundle this DLL, for use by the
> extension on Windows. Or something like that. The knee-jerk reaction "OMG my
> Linux purity is soiled by some Windows DLL" is perhaps understandable, but
> there actually is some solid reasoning behind this. Now, why you wouldn't
> then need to bundle a corresponding shared library for any random Unix you
> want the extension to work on, too, I don't know.
>
> --tml

Tor I am not whining because it is dll, I am asking because it is
another weird file libreoffice requests me to download, and for this
one I was unable to think of any usage.
If you say it is usable for the devel kit when you want to deploy your
tools on windows then it has perfect use case and I am all fine with
it.

Just for the record there are still mutliple bundled things and I
don't like them all the same way, so nothing personal against the dll.

ADDONS_SRC+=" 
${ADDONS_URI}/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz"
ADDONS_SRC+=" nsplugin? (
${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
)"
ADDONS_SRC+=" java? (
${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
ADDONS_SRC+=" java? (
${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
ADDONS_SRC+=" java? (
${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
ADDONS_SRC+=" odk? (
http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
)"

Tom
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] unowinreg.dll usage

2011-10-23 Thread Tor Lillqvist
> I can't think of any reason... :)

I think the idea is that when an extension written in Java is distributed
(in binary form), you are supposed to bundle this DLL, for use by the
extension on Windows. Or something like that. The knee-jerk reaction "OMG my
Linux purity is soiled by some Windows DLL" is perhaps understandable, but
there actually is some solid reasoning behind this. Now, why you wouldn't
then need to bundle a corresponding shared library for any random Unix you
want the extension to work on, too, I don't know.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] unowinreg.dll usage

2011-10-23 Thread Tomáš Chvátal
Hi,
could someone tell me why
185d60944ea767075d27247c3162b3bc-unowinreg.dll is required at odk
enabled build on linux?

I can't think of any reason... :)

Cheers

Tom
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice