找回密码
 新注册用户
搜索
查看: 4174|回复: 14

谁具体讲一下如何使自己的软件开源,并使用开源协议

[复制链接]
发表于 2009-6-23 15:40:38 | 显示全部楼层 |阅读模式
我学了Pascal、C/C++,编了不少小程序,其中有一两个觉得不错,想当做开源软件发布。
不过我只是个学生,不太懂什么版权、协议,能给我具体讲一下吗?还有,怎么在sourceforge顶上发布软件呢?另外,版本控制也很复杂呀。
回复

使用道具 举报

发表于 2009-6-23 15:49:55 | 显示全部楼层
也不是很了解,期待高人回复~
不过GPL我是知道的~~
http://www.gnu.org/copyleft/gpl.html

法律上有重要意义的几条是

This is a brief explanation of how to place a program under the GNU General Public License, Lesser General Public License, or Affero General Public License. If you are looking for more detailed information, consider perusing our list of frequently asked questions about our licenses.

Whichever license you plan to use, the process involves adding two elements to each source file of your program: a copyright notice (such as “Copyright 1999 Terry Jones”), and a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License (or the Lesser GPL).

Always use the English word “Copyright”; by international convention, this is used worldwide, even for material in other languages. The copyright symbol “©” can be included if you wish (and your character set supports it), but it's not necessary. There is no legal significance to using the three-character sequence “(C)”, although it does no harm.

You should also include a copy of the license itself somewhere in the distribution of your program. All programs, whether they are released under the GPL or LGPL, should include the text version of the GPL. In GNU programs the license is usually in a file called COPYING.

It is very important for practical reasons to include contact information for how to reach you, perhaps in the README file, but this has nothing to do with the legal issues of applying the license.

The copying permission statement should come right after the copyright notices.

[ 本帖最后由 yuan234yuan 于 2009-6-23 15:53 编辑 ]
回复

使用道具 举报

发表于 2009-6-23 16:07:09 | 显示全部楼层
版权的话,由于现行的版权法都是强版权保护,所以选择开源协议实际上是放弃一部分的版权,所以没有法律问题。关键是要选择一个安全的版权协议,GPL是为此准备的……(好吧不过也有人说GPL对版权的保护虚弱无力。发布点我觉得也可以考虑Google Code,比较本地化……)
回复

使用道具 举报

 楼主| 发表于 2009-6-23 16:16:16 | 显示全部楼层
我对这方面一窍不通。

是不是把开源协议,如GPL,往自己软件中复制一份就行了?
回复

使用道具 举报

发表于 2009-6-23 16:26:33 | 显示全部楼层
首先要有版权声明,声明你的软件在GNU General Public License许可协议下发布,并且明确地给出Copyright关键字和版权所有人,然后才是一份GPL协议副本(In GNU programs the license is usually in a file called COPYING.)。
回复

使用道具 举报

 楼主| 发表于 2009-6-23 16:35:31 | 显示全部楼层
好似许多软件的“关于”里的内容,是吧。

另外,版本控制可以自己完成吗?例如自己保存每个版本。因为SubVersion工作起来实在复杂。
回复

使用道具 举报

发表于 2009-6-23 16:44:10 | 显示全部楼层
不了解~~还没有在google codes和sourceforge上发过呢,不过貌似这方面问题不会很大~~
回复

使用道具 举报

发表于 2009-6-23 16:47:10 | 显示全部楼层
看了一下FLAC的源代码,COPYING.GPL是放在sourcecode里的~~
回复

使用道具 举报

 楼主| 发表于 2009-6-23 17:00:39 | 显示全部楼层
走一步看一步吧,我申请了一个Google Code项目
先下一个SVN客户端,试用一下,看看如何。
回复

使用道具 举报

发表于 2009-6-23 17:11:55 | 显示全部楼层
看过你的电子小虫plus~~你是指PacCalc么?
本人对编程及开源理念也少有热情~~希望能有机会交流~~

[ 本帖最后由 yuan234yuan 于 2009-6-23 17:15 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2009-6-23 18:45:29 | 显示全部楼层
是PasCalc(因为一开始是Pascal写的,又是计算器(calculator),加之后来改用C来写(Pascal+C)),马上提供新版(因为水平有限,bug不少)。那个PasCalc II代码巨乱,有时候我也很晕。

至于精度的问题,因为我都是用math库的函数,实在没办法解决。长度限制什么的,会在C++改写后得以解决。
回复

使用道具 举报

发表于 2009-6-23 19:11:51 | 显示全部楼层
很抱歉,打错字……但我是想打Pas的来着……被后面的两个c迷乱了……
回复

使用道具 举报

 楼主| 发表于 2009-6-25 10:43:50 | 显示全部楼层
我就不另开了,问个SVN的问题:
SVN的版本号只是内部开发所使用的,是这样吧?
是不是SVN版本号必须1、2、3依次增加?
如果想在同一个google code项目中设两个子项目,使用不同的目录,SVN版本号可以分开算吗?
回复

使用道具 举报

 楼主| 发表于 2009-6-25 10:45:54 | 显示全部楼层
...刚发现,google code被封了吗?
回复

使用道具 举报

发表于 2009-6-25 13:39:42 | 显示全部楼层
域名劫持了......换DNS能上
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2024-9-28 02:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表