Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

Use of open source libraries (GNU) in programs
Started by bbqroast, Jul 26 2011 11:55 PM
8 replies to this topic
#1
Posted 26 July 2011 - 11:55 PM
Hello,
I use SDL which (I believe) is released under the GNU license. SDL is a library, it is packaged with my program in a archive. It consists of some DLL files. I have also of course added the instructions to have it used in my program to my program.
My question is, can I legally sell my game and release it under a license other than GNU?? Would I have to package SDL separately or what. Just for those of you who are wondering to make the game work I package the SDL DLL with it (and include a line in my program to include it).
I use SDL which (I believe) is released under the GNU license. SDL is a library, it is packaged with my program in a archive. It consists of some DLL files. I have also of course added the instructions to have it used in my program to my program.
My question is, can I legally sell my game and release it under a license other than GNU?? Would I have to package SDL separately or what. Just for those of you who are wondering to make the game work I package the SDL DLL with it (and include a line in my program to include it).
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#2
Posted 27 July 2011 - 02:59 AM
SDL is released under the LGPL. As long as you only link to it (using .dll files), you're fine. Also, GPL doesn't stop you from charging for software, it just requires you to provide your source code along with it. LGPL just requires you to provide the source for SDL.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#3
Posted 27 July 2011 - 03:27 PM
I assume the DLLs are compiled so would linking to the SDL site be enough??
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#4
Posted 27 July 2011 - 04:06 PM
I'd have to double-check the verbiage of the LGPL as to whether a link to their site is enough.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#5
Posted 27 July 2011 - 09:18 PM
Thanks, legal documents make my head hurt.
Wouldn't it be so much easier if:
Wouldn't it be so much easier if:
was sufficient. Besides this way normally results in hard working people getting ripped off by well richer people- But that's another rant for another post.You can copy this program, but keep the source open.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#6
Posted 28 July 2011 - 03:04 AM
Lawyers don't write simple laws, yet we keep sending lawyers to write laws.
Try reading the US export laws on cryptography and determining whether they apply to a SHA-1 hash of a password.
See item 6 here: The GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF) The LGPL is just a less-restrictive version of the GPL, so you have to read both to understand LGPL. Basically, you have to give them the ability to get the source to the LGPL'd code. If you just have a link to the zip file of it, that would probably work, but I think YOU have to offer it.
Try reading the US export laws on cryptography and determining whether they apply to a SHA-1 hash of a password.
See item 6 here: The GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF) The LGPL is just a less-restrictive version of the GPL, so you have to read both to understand LGPL. Basically, you have to give them the ability to get the source to the LGPL'd code. If you just have a link to the zip file of it, that would probably work, but I think YOU have to offer it.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#7
Posted 28 July 2011 - 12:18 PM
SDL isn't Getty images so I think I'll be fine as long as I link to it. If they email me I will just upload the source to my server.
I did read somewhere when distributing GPL programs, by hand for example you could just give your customers a address of FTP server.
I did read somewhere when distributing GPL programs, by hand for example you could just give your customers a address of FTP server.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#8
Posted 28 July 2011 - 11:03 PM
To put it in simple terms, you can either
Freely distribute the library under a secondary download, i.e. on your site or in an autodownload during install (clearly not derivative of the library), or,
Provide, or make available (i.e. text with ftp location) your exact library version, how to download, and how to configure it to be used with your application so that the end user may compile their own or improve the existing LGPL library on their own terms without trouble from you.
Also, you may be interested that there are plans to release SDL 1.3 under the zlib license of which you may better enjoy.
Freely distribute the library under a secondary download, i.e. on your site or in an autodownload during install (clearly not derivative of the library), or,
Provide, or make available (i.e. text with ftp location) your exact library version, how to download, and how to configure it to be used with your application so that the end user may compile their own or improve the existing LGPL library on their own terms without trouble from you.
Also, you may be interested that there are plans to release SDL 1.3 under the zlib license of which you may better enjoy.
All new problems require investigation, and so if errors are problems, try to learn as much as you can and report back.
#9
Posted 05 August 2011 - 01:12 PM
Cool thanks tons
I'll just upload the source, hoping my server doesn't become a mirror!
EDIT: Wow, the zlib license looks awesome, I might even look into using it for my own code.
I'll just upload the source, hoping my server doesn't become a mirror!
EDIT: Wow, the zlib license looks awesome, I might even look into using it for my own code.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download