[Lazarus] Online Package Manager errors ?

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Tue Apr 14 15:44:46 CEST 2020


Hi,

Στις 14/4/2020 4:15 μ.μ., ο Michael Van Canneyt via lazarus έγραψε:
>
>
> On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis wrote:
>
>>> Don't distribute binaries, only sources. The binary may not work on all
>>> distributions, you'd need to provide one for all platforms (which 
>>> you may
>>> not have yourself). It may be outdated, no security fixed applied etc..
>>>
>>> Michael.
>>
>> Hmm, how about archive and/or object files for static linking ? An 
>> approach that I saw in mormot ( I don't know if it is the same in OPK 
>> I didn't check the package there ... )
>
> Not good, you need to provide this for all possible architectures, and 
> that's not
> possible for most people.

Yeap, I understand this. I'm still thinking my options .

< snip >

> Distributing binaries is simply a big no-no. You must rely on the package
> manager of your system for that.

You've got a point. After all, someone that uses a IDE and a compiler 
AND want to install some packages, I assume that is capable enough to 
use his system's package manager to solve any dependencies that may 
exist ...

But I'm not sure that I understand completely regarding what is allowed 
for getting a package accepted in OPK.

Is it a suggestion / best practice not to distribute binaries on OPK or 
is it an prerequisite for acceptance ?

Could anyone plz clarify ?

regards,

-- 

Dimitrios Chr. Ioannidis



More information about the lazarus mailing list