V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
urmyfaith
V2EX  ›  macOS

关于苹果的开源的问题:

  •  
  •   urmyfaith · 2014-12-22 10:50:01 +08:00 · 3123 次点击
    这是一个创建于 3421 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://www.apple.com/opensource

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

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

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

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


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

    参考: http://os.51cto.com/art/201304/387910.htm
    hedaors
        6
    hedaors  
       2014-12-22 15:18:58 +08:00   ❤️ 1
    @wezzard
    WebKit is open source software with portions licensed under the LGPL and BSD licenses.
    lin
        7
    lin  
       2014-12-22 15:46:04 +08:00   ❤️ 1
    请教一下大家,GPL的代码不能用于商业软件? @wezzard
    akfish
        8
    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
        9
    hedaors  
       2014-12-22 16:45:11 +08:00
    @akfish

    多谢分享。但是 LGPL 本身就是可以用于商业软件的吧。
    hedaors
        10
    hedaors  
       2014-12-22 16:46:10 +08:00
    @lin 我的理解是 GPL 可以用于商业软件,但是必须开源。
    akfish
        11
    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
        12
    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
        13
    urmyfaith  
    OP
       2014-12-22 19:17:03 +08:00
    我只是想知道这两个开源的网址都开源了啥,有经常使用的没...


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

    谢谢楼上几位的热心回答.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2251 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 05:08 · PVG 13:08 · LAX 22:08 · JFK 01:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.