Page 1 of 1

abou LGPL license and PBSOL

Posted: Sun May 14, 2006 3:28 am
by jack
It concerns me that PBSOL is under LGPL without making an exclusion clause that clearly
states that programs linked with the library are not under same LGPL license.
I made a mention to Rings, but he said he did not want to talk about it, so I shut up,
But more and more people are releasing code under LGPL, not realizing the scope of
The license, even GCC LibC license is modified to allow for static linking without your program falling under GPL.
Also Free Pascal has a modified license as does FreeBasic, so I am not alone in this.

Posted: Sun May 14, 2006 4:46 am
by ts-soft
Sorry my bad english,

the LGPL License is for the lib only. Any changes on the lib must be available.
Programs linked with the library are not under same LGPL license. The
license is only for Libraries, not for Programs.

GPL is for programs and so on, LGPL is for libraries only!!!

Clause not required for that

http://www.gnu.org/licenses/lgpl.html
LGPL wrote:This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.

Posted: Sun May 14, 2006 5:21 am
by jack
yes, that quote is from preamble and it seems quite clear, however, the license itself is not that clear.
for example, section 5.
5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables
it's a bit unclear to be shure, because when you use a dll then your program does not include any part of the library, but if you statically link, then your program contains portions of the library.
whoever wrote the preamble did not understand the license either. :lol:

Posted: Sun May 14, 2006 5:42 am
by dracflamloc
Generally an exception needs to be made for PB that allows static linking (like what I did for DracScript) because the LGPL requires dynamic linking or else your program would fall under the LGPL as well.

Its just a one-line addon you need to put in the license with the exception.

(Btw a preamble is just that and has no legal validity)

Re: abou GPL license

Posted: Sun May 14, 2006 8:22 am
by Rings
jack wrote:It concerns me that PBSOL is under LGPL without making an exclusion clause that clearly
states that programs linked with the library are not under same LGPL license.
I made a mention to Rings, but he said he did not want to talk about it, so I shut up,
But more and more people are releasing code under LGPL, not realizing the scope of
The license, even GCC LibC license is modified to allow for static linking without your program falling under GPL.
Also Free Pascal has a modified license as does FreeBasic, so I am not alone in this.
missed i something ?
cannot remember talking to you.
but anyway, i see no problem using pbosl libs in commercial appz/games.
(as i do for myself)

Posted: Tue May 16, 2006 12:18 am
by jack
Rings, I thought about a long time before responding, because I don't want to argue but please see http://www.purebasic.fr/english/viewtopic.php?t=20704

Re: abou GPL license

Posted: Tue May 16, 2006 11:43 pm
by jack
Rings wrote:but anyway, i see no problem using pbosl libs in commercial appz/games.
(as i do for myself)
sure you can, but you must use dll's and not static lib's unless you want your code to be licensed under LGPL.
just wanted to make people aware of this.

Posted: Wed May 17, 2006 6:49 am
by ts-soft
@jack
is the MOZILLA PUBLIC LICENSE better for this? Please, check it, i don't speak real english.

Re: abou GPL license

Posted: Wed May 17, 2006 7:28 am
by Rings
jack wrote:
Rings wrote:but anyway, i see no problem using pbosl libs in commercial appz/games.
(as i do for myself)
sure you can, but you must use dll's and not static lib's unless you want your code to be licensed under LGPL.
just wanted to make people aware of this.
if i wrote the lib/code myself, so i do what i ever do with it.
use it .

Is see no problem to change and to clarify this(what jack means)
in the license of PBOSl , or parts of the PBOSL (if someone (Original authors) did not agree.)

btw, laws are there to break ;)

Re: abou GPL license

Posted: Wed May 17, 2006 7:41 am
by Dare2
Rings wrote:btw, laws are there to break ;)
:shock: :D

Posted: Wed May 17, 2006 1:02 pm
by inc.
Also the BSD License seems very interesting and seems to be exactly what you want?:
http://www.opensource.org/licenses/bsd-license.php
(btw. also all other common licenses are shown/linked on the left)
Copyright (c) <YEAR>, <OWNER>
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If I do understand right:

1. If someone does enter/modifiy the source then he has to keep the owners copyright remark on the top of the source.

2. If someone uses the copyright holders code for his own binary, he has to put the copyright holder credits to the appl. documentation etc.

3. This one Im not clear about:
* Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

Anyhow .... to me it seems that by the BSD Licence the rights of the code author are kept and thats what makes me interesting - ... in GPL the rights are dropped?


Is it possible to add a paragraph to an existing licence? Means If I would just use the BSD one and add a paragraph which mentions that if changes are done on the orig code also here the code has to be published. If thats possible then - perfect (imho).

Posted: Wed May 17, 2006 11:30 pm
by jack
ts-soft wrote:@jack
is the MOZILLA PUBLIC LICENSE better for this? Please, check it, i don't speak real english.
I will take a look, but later, just got back from work. :)

Posted: Thu May 18, 2006 9:55 am
by blueznl
here's a license i use
*** LICENSE ***

CodeCaddy c2005..2006 ZhenMei. All rights reserved.
Wackoware is brand owned and operated by ZhenMei.
ZhenMei is a registered company based in the Netherlands.

You are allowed to use this software under the conditions set in this license.

CodeCaddy is FREE. You are allowed to redistribute it as a stand alone program, or as part of
another commercial and / or non-commercial product. If you do so, you have to inform the user
about the free nature of CodeCaddy. You may not charge money for CodeCaddy itself. You may not
claim any other rights in whatever way regarding possession, inclusion or use of CodeCaddy.
You may not modify it in any way.

We do not except any responsability for any damage caused by (the use of) this
software, either direct or indirect. Use it at your own risk.

THE USE OF THIS PROGRAM IS ENTIRELY FOR YOUR OWN RISK. Yes. You are allowed to use it :-)

CodeCaddy is written in PureBasic v3.94 c2005 Fantaisie Software. CodeCaddy, WackoWare and
ZhenMei are in no way affiliated with PureBasic or Fantaisie software, nor do we claim any
rights to their products. (You should try PureBasic though, it's a great product!)


*** SPECIAL PERMISSION FOR LICENSED PUREBASIC USERS ***

If you own a valid license for PureBasic, you are allowed to use (parts of) the included source
for your own purposes. You are are not allowed to alter CodeCaddy and distribute an altered
version under the same or a different name, but you are free to use (any part of) the CodeCaddy
source itself. You are allowed to use the x_lib.pb file in anyway you want, in whole or in part.
You are not allowed to use any brands, logos, slogans, trademarks, company or product names
without explicit and written permission unless otherwise stated. This special permission does
not grant you any other rights in whatever way besides those stated before.


*** REGISTRATION ***

There is no need to register.


*** CONTACT ***

Send an email to info@zhenmei.nl, but even better: visit the PureBasic forum!


*** END OF LICENSE ***
or this one
*** LOGVIEWER 0.53B ***

LogViewer c2004..2005 ZhenMei. All rights reserved.
Wackoware is brand owned and operated by ZhenMei.
ZhenMei is a registered company based in the Netherlands.


*** LICENSE ***

You are allowed to use this software under the conditions set in this license.

You are not allowed to decompile or in any other form reverse engineer this
product, resell, remarket, rebrand, or redistribute it, in whole or in part
or as part of a larger whole, without the explicite written permission of the
owner, unless your statutory rights declare otherwise.

We do not except any responsability for any damage caused by (the use of) this
software, either direct or indirect. Use it at your own risk.

UNREGISTERED.

You are free to use this test version of LogViewer for as long as you want,
until a regular (non-test) version becomes available. At that moment you
should register within 30 days, or stop using (any non-registered version of)
LogViewer altogether. It is your own responsability to check on availability.

PERSONAL.

For private users and small companies (defined as any legal entity with 1 to
3 employees) the 'personal license' fee is 2 euro. A 'personal license'
allows you to use an arbitrary number of Logviewers PER REGISTRATION, but only
to be used by ONE PERSON PER REGISTRATION. In other words: if two
employees use the program, you need two licenses.

FULL.

For all other uses and parties a 'full license' is necessary. On each full
license you are allowed to run an arbitrary number of copies on an arbitrary
number of machines for 25 euro PER LEGAL ENTITY. (Did we already say it was
cheap?) You're not allowed to distribute LogViewer to other legal entities
in whatever form. In other words: you must maintain full control over every
single copy of LogViewer you use.


*** REGISTRATION ***

Registration is currently NOT possible. There is no regular version of
LogViewer available yet. Once we get there' we'll add some instructions of
how to handle payment :-)

Registration does not transfer any other rights to you beyound those specified
above.


*** CONTACT ***

Send an email to info@zhenmei.nl for contact and billing information.


*** END OF LICENSE ***

Posted: Thu May 18, 2006 1:19 pm
by jack
I glanced at the mozilla license, looks rather complex, get to it later,
I prefer a clear unambiguous easy to understand license, depending on how much protection/restriction you want to put on your source, you might consider the zlib's license.
Copyright (C) 1995-2004 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
also found this license on another site'
Disclaimer:
Permission to use, copy, distribute, and sell this software and It’s documentation for any purpose is hereby granted without fee, provided: THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL Henrik Vestermark or Future Team Aps, BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.