Дана 24/10/25 08:11AM, Raymond Cole написа:
> By the way, I license swm under GPL, and clarify in source files that
> portions of code that come from dwm are still licensed the same as dwm.
> I think it would be neater if I could relicense dwm derived code under
> GPL, but for that I need permission from dwm developers. Once given
> the permission, I will put the following to source files:
>
> > Based in part on dwm, as developed by Anselm R. Garbe et al. Permission
> > to distribute dwm derived code under the GNU General Public License
> > has been granted, provided that this notice is retained.
This has already been discussed:
https://lists.suckless.org/dev/2306/35253.html
and
https://lists.suckless.org/dev/2306/35258.html
In other words, when you license a work under GPL, you license **the
whole work** under GPL. You cannot mix and match licenses. All the
licenses of other parts must be "compatible" with the GPL in order for
you to do so. What this means is that they must allow changing the
license to GPL. As Marcus stated:
> bar, Copyright Markus Wichmann, released under the terms of the GPL,
> see file COPYING. Based on foo, Copyright Hiltjo Posthuma, released
> under the terms of the MIT license, see file COPYING.foo.
I have applied this in my programs using termbox library, for example:
https://git.sr.ht/~strahinja/sled/tree/07daabdf9467ae8110f0b6cd2ec3aebc675c65bb/item/termbox.h
> This file is based on the termbox2 TUI library, (c) 2021 termbox
> developers.
>
> License notice from the original termbox2.h from the termbox2
> repository follows:
and then I include the entire text of the Expat ("MIT") license,
fulfilling the terms of that license, while having my program **as a
whole** licensed under GPL.
However, the issue might arise from the term "substantial" and its
interpretation. I believe that in the case of my programs using the
termbox library it is clear that the library is not a substantial part
of my program, and vice versa. In the case of hacked dwm, I'm not so
sure.
Received on Fri Oct 25 2024 - 20:24:46 CEST