On Mon, Nov 25, 2024 at 7:04 PM Eric Auer via Freedos-devel
<freedos-devel@lists.sourceforge.net> wrote:
>
>
> Hi! There is a new DOjS release, as mentioned on
>
> https://sourceforge.net/p/freedos/news/
>
> unfortunately, the freedos zip is 61 MB in size :-o
>
> https://ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/js/dojs/1.13.0/

Yes, this is a very large source package because SuperIlu includes the
3rd party source code required to build DOjS (which is a Good Thing --
but that also means it's big).


>
> This made me wonder how it could be made smaller.
>
> The TL;DR answer is: Use 7Z, not ZIP, for the sources to
> shrink the download, but you can also save dozens of MB
> in the installed size by using a small set of tricks.
>
>
>
> A simple way to shrink the installed package is UPX:
[..]


Except that you can't. From my other email (see "FreeDOS 1.4"): the
UPX "authors also note in the license file that 'compressing a program
is a special form of linking with [the UPX] stub' under the GNU
General Public License."

And:

> How that affects UPX: that means that the license for a program we've
> included in FreeDOS was never evaluated by the FSF so you won't know
> if these are acceptable (GPL compatible) to compress with UPX. Per the
> "compressing a program is a special form of linking with [the UPX]
> stub" that means a program's license must be compatible with the GNU
> GPL to compress it ("link") with UPX.


The DOjS license file lists the licenses for each of the components
included in DOjS. I just went through them again, and they all look
like they appear on the FSF's list of "GPL-compatible" licenses ..
except OpenSSL:

> The OpenSSL toolkit stays under a double license, i.e. both the conditions
> of the OpenSSL License and the original SSLeay license apply to the
> toolkit.

And per the FSF's "compatible licenses" page, they consider the
OpenSSL license is not compatible with the GNU GPL:
https://www.gnu.org/licenses/license-list.en.html#OpenSSL

My interpretation is that you cannot compress this with UPX, because
the UPX developers consider compressing to be a form of linking .. and
the FSF folks say the OpenSSL license is not compatible with GPL, so
you can't link with it.

IANAL. Licenses are tricky.



jh


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

Reply via email to