empira / PDFsharp-1.5

A .NET library for processing PDF
MIT License
1.28k stars 589 forks source link

Project is MIT Licensed but SharpZipLib files have GPL license comments #140

Closed mhohimer closed 1 year ago

mhohimer commented 3 years ago

I'd like to use this library in a commercial capacity without modification, but am concerned that the presence of GPLv2 licenses in the SharpZipLib directory may annul the MIT license of this project.

For example: https://github.com/empira/PDFsharp/blob/master/src/PdfSharp/SharpZipLib/SharpZipBaseException.cs

Can anyone provide clarity on this issue? If this is a license violation (I am not trying to imply it is; I'm not a lawyer), then maybe it would be possible to replace the SharpZipLib directory with a MIT-licensed version of SharpZipLib, e.g. https://github.com/icsharpcode/SharpZipLib

Kingdom-Of-Heaven commented 3 years ago

So is it really free for commercial use?

TH-Soft commented 3 years ago

IANAL but IMHO the "special exception" in lines 24 through 34 in the linked file allows bundling SharpZipLib with modules licensed under MIT license.

Kingdom-Of-Heaven commented 3 years ago

Would be nice to know that for sure.. :/ P.S Could you give me that link?

ThomasHoevel commented 3 years ago

Could you give me that link?

Click on the blue text in the first post after "For example".

Kingdom-Of-Heaven commented 3 years ago

I see. Hmm so "seems" like using pdfsharp whom contains SharpZipLib still can be used in commercial usage even with sell option.

Kingdom-Of-Heaven commented 3 years ago

From the other hand and to be honest for me marking software under MIT means it's MIT. I mean this software owner should knows whether it's still MIT or not once used inside.

ThomasHoevel commented 1 year ago

Now we have preview 1 of PDFsharp 6.0.0 where SharpZipLib code is no longer used.