You are not logged in.

#1 2026-11-12 11:09:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,589

[Solved] How to deal with multiple sourcecode licenses at build time ?

One of my AUR packages is for oolite-git .

Upstream added code to create PDFs as user documentation .

That code uses typst (in extra repo) but also needs a binary plugin that is published under the MIT license.
As far as I can tell this is the only portion of oolite sourcecode that uses this license.
The code & license are present in the sourcetree at Documentation/docs/typst/

It is only used at buildtime and not part of the resulting package.

Should the PKGBUILD mention the usage of this code ?
If so, how ?

Could there be legal consequences of using/including tools that have a different license then the vast majority of the sourcecode ?

Last edited by Lone_Wolf (Today 16:18:18)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 2026-11-12 12:00:26

5hridhyan
Member
Registered: 2025-12-25
Posts: 1,151

Re: [Solved] How to deal with multiple sourcecode licenses at build time ?

I thought license=() was package metadata describing the licences of the packaged software, rather than a comprehensive list of every licence associated w/ anything involved in its compilation...

So IMO, in your case, since the MIT-licensed code is only used at build time and isn't included in the resulting package, documenting it in a comment should be sufficient from a packaging-metadata perspective. I don't think it needs to be added to license=()

....


Gentoo is where dreams and compile times go to die.
And you'll definitely find me talking to a wall :-)

Offline

#3 Today 16:17:59

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,589

Re: [Solved] How to deal with multiple sourcecode licenses at build time ?

Thanks for the input.

I've added these lines to the oolite-git PKGBUILD .

# this package uses typtst and a (MIT licensed) binary plugin to create pdf documentation.
# the plugin files are located in "$srcdir"/$pkgname/src/oolite-git/Documentation/docs/typst/vendor/cmarker folder

Marking as [Solved].


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB