Code sales

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
Chu2K
In need of some credit
In need of some credit
Posts: 1
Joined: Wed Nov 30, 2005 1:08 pm

Code sales

Post by Chu2K » Wed Nov 30, 2005 1:10 pm

Just a little question : it is possible to sell source code that use wxWidgets ?

Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg » Wed Nov 30, 2005 1:57 pm

Yes it is. wxWidgets license is very elegant for selling code. Make sure if you use other components that they do not have GPL or other licenses, or link them seperately to avoid problems.

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb

priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia » Wed Nov 30, 2005 2:25 pm

Jorg wrote:that they do not have GPL or other licenses, or link them seperately to avoid problems.

- Jorgen
GPL license also have problems, you can't charge anything for your code if you use GPL components.

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Wed Nov 30, 2005 3:49 pm

priyank_bolia wrote:GPL license also have problems, you can't charge anything for your code if you use GPL components.
Even "worse": When using GPLed components, your code will fall under the GPL too.
LGPLed code however would be ok, if you don't modify it.

The wxWidgets license is very "free". You may use the code, even modfiy it and still your work can be published under another license.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

User avatar
ABX
Can't get richer than this
Can't get richer than this
Posts: 810
Joined: Mon Sep 06, 2004 1:43 pm
Location: Poznan, Poland
Contact:

Post by ABX » Wed Nov 30, 2005 4:22 pm

upCASE wrote:Even "worse": When using GPLed components, your code will fall under the GPL too.
Define "using ... components".

I'm usually dumb about these legal issues but it occured to me to read a few days ago "Legal stuff" section of:
http://www.radiks.net/~rhuebner/mathldoc.html
Note direct reference to Richard Stallman opinion.

ABX
CVS Head, 2.8.X
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2

metalogic
Super wx Problem Solver
Super wx Problem Solver
Posts: 307
Joined: Fri Oct 08, 2004 8:21 am
Location: Area 51
Contact:

Post by metalogic » Wed Nov 30, 2005 6:24 pm

Note that in that page the are talking about LGPL not regular GPL. There is a big difference.

In my non-legally-binding understanding, this is the difference:
GPL: If you use it, look at it, smell it from a distance or hear about it, your code has to be GPL as well. Works kinda like the agent in the second Matrix where he keeps turning everyone into a replica of himself my touching them :D As you can tell, I'm no fan of GPL.

LGPL: This is a more sane license. If you modify the LGPL'd library, you must share the code of the library. Now, if you write a program that uses the library, then it doesn't need to be any specific license. In other words, this license covers the LGPL'd code iself rather than extending to any code that uses it (like GPL). There may be some caveats about static vs. dynamic linking of an LGPL'd lib.

I personally stay away from GPL libs like the bird flu.

buildere
Super wx Problem Solver
Super wx Problem Solver
Posts: 358
Joined: Thu Oct 28, 2004 3:45 pm
Location: Costa Rica

Post by buildere » Wed Nov 30, 2005 9:13 pm

metalogic wrote: GPL: If you use it, look at it, smell it from a distance or hear about it, your code has to be GPL as well.
Exaggeration aside, I don't think it is that restrictive. Apple distributes GPL'd code on OSX (mySQL, etc) and their entire OS is not GPL;... I don't now if I'm missing something here :?:

metalogic
Super wx Problem Solver
Super wx Problem Solver
Posts: 307
Joined: Fri Oct 08, 2004 8:21 am
Location: Area 51
Contact:

Post by metalogic » Wed Nov 30, 2005 9:39 pm

I took the exageration a little far. :D

I was referring specifically to libraries. If you use a GPL library, then your project must be GPLd. Not so with LGPL.

Stand alone projects such as MySQL are different as they are not part of your project other than maybe calling it's API.

So to clarify my personal opinion:
GPL packages are fine (MySQL, Linux, etc.). GPL libraries suck as they can only be used in GPL code.

lowjoel
Moderator
Moderator
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel » Wed Nov 30, 2005 11:49 pm

thats the thing about the wx license, some 3rd party (free, mind you) components (wxActiveX) is LGPL :cry:

priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia » Thu Dec 01, 2005 6:54 am

I think things are little bit misinterpreted here, GPL and LPGL are different things and both are the best in its own. Each is used for different things. There are not just mere licenses but a way of thinking, that has revolutionised the world. The thing is GPL has started the open source movement and hepled people to fight the closed source prices. As a developer you want to book profits and don't want to open your source, and assume others will supply there hard work for free, that's not a good approach. nobody asked you to use GPL code. LGPL was made for things like gcc, becuase it was a necessary thing to encourage people to use gcc and write code for open source products, and that has a differnet meaning altogether. Now from our perspective, we want to use the GPL code in closed source, for that a lot of companies are using dual licenses, you that those who want to contribute to open source can use it for free and for properitary soultions, they have to pay a small fees for the development and enhancement of your favourite applications, that's also a good thing. Why people keep distance from paying a small fees for that license.

leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post by leio » Thu Dec 01, 2005 4:29 pm

priyank_bolia wrote:LGPL was made for things like gcc, becuase it was a necessary thing to encourage people to use gcc and write code for open source products, and that has a differnet meaning altogether.
gcc is licensed under GPL, not LGPL.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/

metalogic
Super wx Problem Solver
Super wx Problem Solver
Posts: 307
Joined: Fri Oct 08, 2004 8:21 am
Location: Area 51
Contact:

Post by metalogic » Thu Dec 01, 2005 5:33 pm

priyank_bolia wrote:LGPL was made for things like gcc
Actually it is my understanding that LGPL was made for things like libraries so that the library can remain open source while the software that uses the library can have any old license it wants.

priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia » Fri Dec 02, 2005 7:43 am

gcc is licensed under GPL, not LGPL.
Actually it is my understanding that LGPL was made for things like libraries so that the library can remain open source while the software that
uses the library can have any old license it wants.
Ya, Sorry, I was confused, actually it were the libgcc and others things, they are part of LPGL, as this code is used in making new programs, and you can use gcc for commercial software development. AFAIK.

lowjoel
Moderator
Moderator
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel » Fri Dec 02, 2005 11:58 pm

MingW (at least most parts of it) is public domain, not sure about gcc though

Post Reply