Skip to content

vcpkg should have a mechanism for warning when a copyleft license is used for a closed platform target #31820

@walbourn

Description

@walbourn

Describe the bug
For the xbox triplets (as well as iOS and other closed platforms), use of open source with a 'copyleft' license is potentially problematic in meeting the developer agreement needed to ship on the platform. The concern is not just the primary usage, but usage through the 'dependency cone'.

Therefore, it would be helpful to have some mechanism for the vcpkg tool to evaluate the license SPDX values and emit an informative notice or warning if the license is GPL, LGPL, or other "copyleft" variant when used for xbox or similar triplets.

To Reproduce

Example ports that should emit this notice when building with the xbox triplets:

ableton  
ableton-link  
alpaka  
argtable2  
argumentum  
cdt  
check  
chmlib  
comms  
cunit  
eigen3  
faad2  
fann  
fftw3  
fluidlite  
fuzzylite  
geos  
getopt-win32  
gsl  
jack2  
libdatrie  
libexif  
libgme  
libical  
libjuice  
libkeyfinder  
libmt32emu  
libnoise  
libplist  
librttopo  
libsbsms  
libsigcpp  
libsmacker  
libusb  
libusbmuxd  
mp3lame  
mpir  
ngspice  
readosm  
sdl1  
shiftmedia-libgcrypt  
shiftmedia-libgpg-error  
spectra  
taglib  
treehh  
uchardet  
unicorn  
vcglib  
wildmidi  
wolfmqtt  
wolfssl  
zziplib  

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions