---- Le sam., 30 nov. 2024 01:31:29 -0500 Mercury Thirteen via Freedos-devel  a 
écrit ----

>What better way to ensure that the packages we ship both currently and in the 
>future meet this crucial goal
>than to prefer that a package contain only source code, which the installer 
>then builds into a functioning binary at install time?

I do find the goal tempting... but find we should just tend toward it, not do 
it.
Compiling is still even on recent hardware, time costly... more on DOS
because you cannot do something else while compiling.
I see the move of Gentoo Linux toward distributing also binaries now, not just 
sources, as an argument of that.

The current situation is (as I see it):

We have binaries+source packages with mostly hand-generated content.
That is, on https://gitlab.com/FreeDOS,
we have hand generated sub-projects that respect the FreeDOS package format,
and a tool generate compressed archive files from those, making some sanity
checks.

Package managers (fdimples and fdnpkg) handle those at installation time, and
does not handle dependencies, like most Linux package managers.
This is kind of link to the fact that DOS mostly does not support 
dynamic-linking
(frankly I am less sure about DJGPP), and so there is much less binaries 
dependencies.

Maybe sadly, there is quite different concerns between package maintainers and 
end users.
I believe end-users don't care much if at all about compiling and just want 
ready to use binaries.

My suggestion is to have different packages for sources than for binaries.
And to develop tools that produce binary packages from source packages (like 
most Linux distros do).

I know Jim have emit the opinion that it is better that packages have both to 
respect license distribution.
I suggest that having both binary packages and source packages on the same 
site, is sufficient.

So as I see it, the next move would be to ... probably by a tool... make from 
each current package,
two packages, a binary one for installation... and a source one for package 
maintainers.

I think we should develop a source package format, that handle dependencies, 
because sources handle
a lot of libraries, that make a lot dependencies.

I am also of the opinion, that Linux cross compilation is more realist than 
compiling source packages under FreeDOS...
but I guess this part may be up to debates.



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to