Why is unwinreg.dll not downloaded automatic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Why is unwinreg.dll not downloaded automatic

Raphael Bircher-3
Hi all

If you forget unwinreg.dll, you get a message, with a wget and a download  
link. Why we don't donload this directly.

Regards, Raphael

--
My introduction https://youtu.be/Ln4vly5sxYU

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is unwinreg.dll not downloaded automatic

Marcus (OOo)
Am 21.07.2017 um 02:38 schrieb Raphael Bircher:
> If you forget unwinreg.dll, you get a message, with a wget and a
> download link. Why we don't donload this directly.

good question. Maybe some devs can help here. Is it possible to
integrate this into the build system or are there reasons not to do so?

Thanks

Marcus


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is unwinreg.dll not downloaded automatic

Andrea Pescetti-2
On 24/07/2017 Marcus wrote:
> Am 21.07.2017 um 02:38 schrieb Raphael Bircher:
>> If you forget unwinreg.dll, you get a message, with a wget and a
>> download link. Why we don't donload this directly.
>
> good question. Maybe some devs can help here. Is it possible to
> integrate this into the build system or are there reasons not to do so?

The explicit URL was added by me since it was cumbersome to open
http://www.openoffice.org/tools/unowinreg_prebuild/680/ and downloading
the library manually.

I'm not a big fan of downloading stuff without an explicit action from
the user/developer: the bootstrap phase works well in this respect,
since the user/developer know he is downloading external files. This is
the reason for us not to do an automatic download, besides the fact that
we can't rely on wget being available (but we could rely on other tools
like the bootstrap script does).

So if we can add it to the bootstrap phase, instead of turning the error
message into a forced automatic download, it would be best.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is unwinreg.dll not downloaded automatic

Marcus (OOo)
Am 25.07.2017 um 08:02 schrieb Andrea Pescetti:

> On 24/07/2017 Marcus wrote:
>> Am 21.07.2017 um 02:38 schrieb Raphael Bircher:
>>> If you forget unwinreg.dll, you get a message, with a wget and a
>>> download link. Why we don't donload this directly.
>>
>> good question. Maybe some devs can help here. Is it possible to
>> integrate this into the build system or are there reasons not to do so?
>
> The explicit URL was added by me since it was cumbersome to open
> http://www.openoffice.org/tools/unowinreg_prebuild/680/ and downloading
> the library manually.

I've seen that it is part of the build script
("build_aoo64bit_on_centos5.sh", the 2nd IF clause from top). Do you
mean this?

> I'm not a big fan of downloading stuff without an explicit action from
> the user/developer: the bootstrap phase works well in this respect,
> since the user/developer know he is downloading external files. This is
> the reason for us not to do an automatic download, besides the fact that
> we can't rely on wget being available (but we could rely on other tools
> like the bootstrap script does).

Sure we can rely on wget. If it's not avialable then building is not
possible. We have so many build dependencies and wget is totally common
tool. So, at the end it doesn't matter.

At least I don't see a problem with this doing.

But ...

> So if we can add it to the bootstrap phase, instead of turning the error
> message into a forced automatic download, it would be best.

... moving into bootstrap would be indeed better.

Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is unwinreg.dll not downloaded automatic

Andrea Pescetti-2
On 25/07/2017 Marcus wrote:
> Am 25.07.2017 um 08:02 schrieb Andrea Pescetti:
>> The explicit URL was added by me since it was cumbersome to open
>> http://www.openoffice.org/tools/unowinreg_prebuild/680/ and
>> downloading the library manually.
> I've seen that it is part of the build script
> ("build_aoo64bit_on_centos5.sh", the 2nd IF clause from top). Do you
> mean this?

No, I mean the lines in configure.in that give the error:

http://svn.apache.org/viewvc/openoffice/trunk/main/configure.in?r1=1490973&r2=1491054&pathrev=1491054&diff_format=h

(and this is also what Raphael was referring to).

>> we can't rely on wget being available (but we could rely on other
>> tools like the bootstrap script does).
> Sure we can rely on wget. If it's not avialable then building is not
> possible.

I'm not sure about this. Probably we can build on a system that has curl
but not wget, a fairly common case; and, if I recall correctly, Damjan
had ported the downloader so that it only relied on Java being available
(which is already a prerequisite for building, so it doesn't add any new
dependencies).

> ... moving into bootstrap would be indeed better.

I see that we currently fail at the configure step, so this would need
work there. I honestly think we have relied on the pre-built DLL for
several years, so the options for building it from sources (see
configure.in around the snippet above) should be documented better, or
handled differently.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...