wxSQLitePlus source code on Github
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
wxSQLitePlus source code on Github
https://github.com/moneymanagerex/wxsqliteplus
As well known, https://github.com/moneymanagerex/wxSqlitePlus is a GUI client for SQLite3 and great example for both wxWidgets and wxSQLite3.
The most important one is that its encryption method is compatible with https://github.com/moneymanagerex/moneymanagerex
As well known, https://github.com/moneymanagerex/wxSqlitePlus is a GUI client for SQLite3 and great example for both wxWidgets and wxSQLite3.
The most important one is that its encryption method is compatible with https://github.com/moneymanagerex/moneymanagerex
Last edited by guanlisheng on Thu Dec 04, 2014 2:08 am, edited 1 time in total.
Re: wxSQLitePlus source code on Github
Of course you are free to clone/fork wxSQLitePlus and wxSQLite3 in your own repository on github. That's what open source is all about.guanlisheng wrote:https://github.com/moneymanagerex/wxsqliteplus
As well known, ithttps://github.com/moneymanagerex/wxSqlitePlus is a GUI client for SQLite3 and great example for both wxWidgets and wxSQLite3.
The most important one is that its encryption method is compatible Money Manager EXhttps://github.com/moneymanagerex/moneymanagerex
However, what is definitely NOT ok, is, that you removed the copyright notice of the original author of wxSQLitePlus, Fred Cailleau-Lepetit, from all wxSQLitePlus source files. This is clearly a violation of the GPL, by which the source of wxSQLitePlus is covered.
Regards,
Ulrich
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
Re: wxSQLitePlus source code on Github
I keep the original information here and just remove them from the source file header. Anyway, i can add it back if you still have concern.
Code: Select all
src/change.txt:wxSQLite+ (c) F.Cailleau-Lepetit 2007-2009
src/wxsqliteplusapp.cpp: tmp = ("Copyright (c) 2007-2009, Fred Cailleau-Lepetit")
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
Re: wxSQLitePlus source code on Github
Now i have added these GPL & author statement back.
- tierra
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
- Contact:
Re: wxSQLitePlus source code on Github
I believe that legally speaking, copyright law in many countries would expect you to leave those in the individual files for what it's worth, and especially if that's where they were placed on the code distributed to you.
Besides that though, I generally find that it's a pain in the neck to maintain upstream updates from the original author for code you don't personally maintain if you modify the upstream sources by hand. Anytime I use a 3rd party library, I don't make any modifications if at all possible unless I'm ready to maintain custom patches against upstream updates. Even when I cut out entire sections of the distribution (like unit tests, documentation, etc) for my own redistribution with my own application, I still try to keep what's left in it's original directory and filename hierarchy.
In both cases, you're really just creating more of a headache for yourself in the future making changes like this.
Besides that though, I generally find that it's a pain in the neck to maintain upstream updates from the original author for code you don't personally maintain if you modify the upstream sources by hand. Anytime I use a 3rd party library, I don't make any modifications if at all possible unless I'm ready to maintain custom patches against upstream updates. Even when I cut out entire sections of the distribution (like unit tests, documentation, etc) for my own redistribution with my own application, I still try to keep what's left in it's original directory and filename hierarchy.
In both cases, you're really just creating more of a headache for yourself in the future making changes like this.
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
Re: wxSQLitePlus source code on Github
So what's the correct approach here giving that i want to continue the development of this project by bug fix, wxWidgets 3.0 adoption, adding new features ? i was trying to contact the author but failed.
Lisheng Guan (guanlisheng.com)
Developer of Money Manager Ex
Developer of Money Manager Ex
Re: wxSQLitePlus source code on Github
I think this is the right step. In the end those few comment lines do no harm, and you are legally clean. In fact, if you add modifications to the source code, the GPL requires you to add a prominent note (i.e. your own copyright) that you modified the code.guanlisheng wrote:Now i have added these GPL & author statement back.
Regards,
Ulrich
Re: wxSQLitePlus source code on Github
GPL allows you to create a fork of the original sources (as you did), however, it requires that you add appropriate notes to conform to the following:guanlisheng wrote:So what's the correct approach here giving that i want to continue the development of this project by bug fix, wxWidgets 3.0 adoption, adding new features ? i was trying to contact the author but failed.
You are not forced to actively contact the original author. The last time I had contact to him was in 2009 (5 years ago), and it seems he isn't maintaining wxSQLitePlus anymore.GPL § 5a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
The main problem with GPL is that you can't change the license of your derived work. The whole work has to stay under GPL.
I put my own work (for example wxSQLite3 and its SQLite encryption extension) under the more permissive wxWidgets (aka wxWindows) license.
Regards,
Ulrich
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
Re: wxSQLitePlus source code on Github
Any workaround that i can modify the code more freely?
unlike a 3rd party lib, I would like to abandon the derived code and compose one from scratch which would be more easier.
unlike a 3rd party lib, I would like to abandon the derived code and compose one from scratch which would be more easier.
Lisheng Guan (guanlisheng.com)
Developer of Money Manager Ex
Developer of Money Manager Ex
Re: wxSQLitePlus source code on Github
Well, you can modify GPL code just as you like. The GPL only prevents you to put the resulting code under a different, less restrictive license. Only the original creator can change the license for a subsequent version of his code.guanlisheng wrote:Any workaround that i can modify the code more freely?
Of course you can start to implement something from scratch (and maybe just reusing some design ideas). However, as soon as you (re)use parts of the code being under GPL you are bound to the GPL.guanlisheng wrote:unlike a 3rd party lib, I would like to abandon the derived code and compose one from scratch which would be more easier.
Regards,
Ulrich
-
- Earned a small fee
- Posts: 15
- Joined: Wed Apr 25, 2012 2:45 am
Re: wxSQLitePlus source code on Github
FYI:
with a little bit of polish, wxSQLitePlus has some basic cipher auto-detect to read an encrypted SQLite3 database file (upon wxSQLite3).
https://github.com/guanlisheng/wxsqlite ... tag/v0.3.8
with a little bit of polish, wxSQLitePlus has some basic cipher auto-detect to read an encrypted SQLite3 database file (upon wxSQLite3).
https://github.com/guanlisheng/wxsqlite ... tag/v0.3.8