<2022-02-21 周一>
如何重新发布修改后的Apache License, Version 2.0
协议下的源代码(一)
因为想给GraphicsMagick
添加功能,需要从ImageMagick
中借用代码,但是又不知道如何管理开源协议,从:“How often does GraphicsMagick pick up new code from ImageMagick?”这里了解到:
GraphicsMagick never picks up new code from ImageMagick as distributed by ImageMagick Studio LLC. Not long after the GraphicsMagick project was started in November 2002, ImageMagick from ImageMagick Studio LLC abandoned the MIT X11 style license it had been using since 1992, and switched between several different licenses until it ended up with one based on the Apache license, which is intended to penalize projects which borrow some of its source code, or fork from it. Since that time, GraphicsMagick has not incorporated any ImageMagick source code.
ImageMagick
为了防止被别人借用代码,使用了Apache License, Version 2.0
协议。这刚好是我遇到的问题,参考协议原文的Section 4
(Apache License, Version 2.0),但是没人给打个样,直到我找到了:“File with Apache 2.0 and my modifications”,如下图:
然后在github
上查找包含Modifications copyright
的所有commits
,我找到了sample
:“Add modification copyright to LogCompositions
”,确实有人这么在做: