关于苹果的开源的问题:

2014-12-22 10:50:01 +08:00
 urmyfaith
http://www.apple.com/opensource

http://www.opensource.apple.com/

1. 这两个网站的关系?都开放了哪些东西?

2.大家有经常使用的么?

3. apple软件代码闭源和这些opensource是什么关系?
3137 次点击
所在节点    macOS
13 条回复
jy01264313
2014-12-22 12:11:06 +08:00
apple 只开源底层系统,不开源 GUI 的东西
nicai000
2014-12-22 12:14:15 +08:00
@jy01264313 你这不对, 不是按GUI区分的
jy01264313
2014-12-22 12:18:27 +08:00
@nicai000 是吗?那我说的草率了,我自己想当然,别误导大家了
wezzard
2014-12-22 13:21:59 +08:00
其實我有一點疑問,WebKit的代碼是GPL的,爲毛蘋果可以拿來做Safari這種商業軟件?
2owe
2014-12-22 15:10:59 +08:00


如果苹果开源的是为了享受开源工作者免费劳动力、却将关键代码遮遮掩掩的话,边去!

参考: http://os.51cto.com/art/201304/387910.htm
hedaors
2014-12-22 15:18:58 +08:00
@wezzard
WebKit is open source software with portions licensed under the LGPL and BSD licenses.
lin
2014-12-22 15:46:04 +08:00
请教一下大家,GPL的代码不能用于商业软件? @wezzard
akfish
2014-12-22 16:36:35 +08:00
@wezzard
@hedaors
@lin

License并不是唯一的决定因素,通常还有一个Contributor Agreement。CA如果存在,在法律效力上来讲是优先于license的,见:
http://opensource.org/faq#contributor-agreements
如果你是项目所有者,你可以随时修改license或者直接就闭源了。但有contributor参与进来后,contributor对于自己贡献的代码享有所有权,于是修改license需要所有contributor的同意。
CA的存在就可以绕过这一点,所有的contributor贡献代码时就默认同意了CA,而CA往往会让发起项目的商业公司具有商业使用权或者修改license的权利。

比较常见的做法是在CA里约定,商业公司和contributor对项目联合拥有版权,商业公司认可contributor对代码的使用权/(在变更license之前版本的)所有权。这样一来基本上商业公司就算立即闭源,也不会有法律上的麻烦,当然被社区喷是免不了的。
hedaors
2014-12-22 16:45:11 +08:00
@akfish

多谢分享。但是 LGPL 本身就是可以用于商业软件的吧。
hedaors
2014-12-22 16:46:10 +08:00
@lin 我的理解是 GPL 可以用于商业软件,但是必须开源。
akfish
2014-12-22 16:49:24 +08:00
WebKit的CA没有电子版,是在contributor加入时Apple单独发送,签字确认后才具有contributor身份。

见Apple另外一个项目的Contributor Agreement
https://www.cups.org/AppleContributorAgreement_2011-03-10.pdf

2.1 With respect to any worldwide copyrights, or copyright applications and registrations, in Your Contribution: You hereby assign to Apple joint ownership, and to the extent that such assignment is or becomes invalid, ineffective or unenforceable, You hereby grant to Apple a perpetual, irrevocable, non-exclusive, worldwide, no-charge, royalty-free, unrestricted license to exercise all rights under those copyrights. ...
akfish
2014-12-22 17:06:25 +08:00
@hedaors 区别很大的。

大多数open source license不允许随意修改/移除license或者擅自sub-license。
Open source license的法律强制力相对较低,比如LGPLv2.1里就有这么一条:

9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.

License的强制力大概也就是:你不遵守?我去论坛发个帖骂你。(当然理论上也是可以起诉并胜诉的)
CA就不同,翻译过来大多数是说:哥高兴开源就开源,哥不高兴了随时闭源,贡献了代码的给你点好处打发了,你别瞎BB。
urmyfaith
2014-12-22 19:17:03 +08:00
我只是想知道这两个开源的网址都开源了啥,有经常使用的没...


我也对GPL,CA的也不了解,学习了..

谢谢楼上几位的热心回答.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/155649

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX