Recent

Author Topic: sak (Speaker Assistive Kit) is here !  (Read 31002 times)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #30 on: July 17, 2013, 05:18:10 pm »
I do not understand why the licence would differ if you use espeak.exe with parameters instead of espeak.dll via espeak.pas.
Can't help you there. You could head over to
http://www.gnu.org/licenses/gpl-faq.html
and read up on GPL licensing.

Yes, this license stuff is fairly confusing at first, but after you've read up on it, things fall into place (well, they did for me at least).

Also it seems to my that it is more fair to use espeak.dll with portaudio.dll than only espeak.exe (with portaudio in ressource).
I have no idea whether that's "fairer" or not. I was just talking about the license and the way the guys at fsf interpret it.

To do it clear, i have sent a mail to author asking if there is a difference in licence of using espeak.exe vs espeak.dll.
Strange. GPL is GPL. If espeak.dll is distributed under another license, the license statement should say so.

Perhaps you could better ask him to relicense espeak under a LGPL license with linking exception to make it perfectly clear you're allowed to link against espeak.dll without getting GPL.
Of course the author may not agree as he may think GPL is more suitable...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #31 on: July 17, 2013, 06:19:58 pm »
Quote
Strange. GPL is GPL. If espeak.dll is distributed under another license, the license statement should say so.

Espeak.dll is not distributed under another license, the c code (for executable and dll) is distributed with the same license (it is why im surprised about the remark of Avra).

Quote
Perhaps you could better ask him to relicense espeak under a LGPL license with linking exception to make it perfectly clear you're allowed to link against espeak.dll without getting GPL.

OK, i will ask it. (but not sure the author gonna be happy to change his license).

@ BigChimp : many thanks for answers.

I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

avra

  • Hero Member
  • *****
  • Posts: 2547
    • Additional info
Re: sak (Speaker Assistive Kit) is here !
« Reply #32 on: July 18, 2013, 01:35:45 am »
Quote
Then any application using your DLL gets viral GPL license from eSpeak DLL, so unfortunately SAK is not for me.
I do not understand. I had contact with the autor.
That's right. You just had a contact, and these contact mails do not mean that license has changed. Even if author wanted to change the license it would be only possible if he gets permission from all contributors (since they have agreed to GPL and not to something not existing at the moment they were contributing). So, eSpeak license is still GPL, which means (the way I read it) that it is safe to use executable in commercial applications (since there is no linking) and it is not safe to use DLL (there is dynamic linking, therefore all applications using it become GPL otherwise there is a license violation). Don't worry, I was also confused before this discussion: http://forum.lazarus.freepascal.org/index.php/topic,13401.msg70299.html#msg70299. If you don't know why I said that GPL has viral license, then take a look at this: http://en.wikipedia.org/wiki/Viral_license.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #33 on: July 18, 2013, 10:20:01 pm »
@ Avra : many thanks for explanations.

But, like i explained before, there is something that i do not understand about static portaudio library who is inside the resource of espeak executable.

PortAudio is also a open source project.

So what about the espeak license vs portaudio ?

Do you think that if i use espeak.exe in place of espeak.dll for sak, there will be less problems of license ?

Thanks.

[EDIT] Here question to espeak-forum (till now, no answer...)
https://sourceforge.net/p/espeak/discussion/538920/thread/91a60140/

« Last Edit: July 18, 2013, 10:53:12 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

avra

  • Hero Member
  • *****
  • Posts: 2547
    • Additional info
Re: sak (Speaker Assistive Kit) is here !
« Reply #34 on: July 19, 2013, 09:49:58 am »
PortAudio is also a open source project. So what about the espeak license vs portaudio?
Reading http://www.portaudio.com/license.html tells me that PortAudio license is not viral, and is compatible to many other licenses - including GPL. This means that your whole project does not have a license conflict if you license it as GPL (since eSpeak's GPL license is viral) which is probably not what you want. In the time when free software was a lot behind commercial counterparts, GPL was used by authors to protect their new inovative ideas from being directly used in commercial applications.

Do you think that if i use espeak.exe in place of espeak.dll for sak, there will be less problems of license ?
Well, that was my conclusion after discussion from the link I gave you. If you just call author's executable then you can give your code any license you want, since PortAudio license is not viral. You should mention in a proper place that you use eSpeak and PortAudio and provide a link to them and that's it. If you customize eSpeak executable then you also must publish it's sources with all changes (GPL enforces it).

Legal mumbo jumbo: These are not legal advices and I am not an expert on this topic, so if you have a need to be sure of something said here then consult your lawyer. If you don't do that then all risk for believing what I said is entirely yours.
« Last Edit: July 19, 2013, 09:52:05 am by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #35 on: July 19, 2013, 02:49:59 pm »
@ Avra : many, many thanks for clear answer.

I gonna divide sak in 2 parts :
- DLL part : with access via espeak.dll for GPL projects.
- EXE part : with access via espeak.exe for other projects.

I will wait for the answer of espeak author about re-license before to continue to develop FPC, the first assistived compiler.

PS : You (and others) are welcome to respond something like
"Im also interested in re-license LGPL" in the espeak forum.  ;D
https://sourceforge.net/p/espeak/discussion/538920/thread/91a60140/

So the author gonna see im not the only one who is afraid about old GPL license.

Many thanks.

« Last Edit: July 19, 2013, 03:04:47 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #36 on: July 19, 2013, 03:56:08 pm »
@ Avra (bis).

So, if i understand well, the NVDA project : http://www.nvaccess.org/

is in the same case than sak because it uses espeak_sapi.dll.

And all the projects (not GPL) who use NVDA are then illegal...  :o

I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #37 on: July 19, 2013, 05:30:30 pm »
Yes, they would be illegal [1]... or put it differently: because the GPL is viral, it would immediately make all those projects GPL-licensed, regardless of their license.
The question is whether that license change clashes with existing licenses the authors have set - and more fundamentally, I suppose: if the authors hadn't given their project a GPL license, having one forced on them without the authors' consent would be sort of "illegal", too..

All this of course as long as you believe the FSF's idea that dynamic linking is some form of creating a derivative work (derivative work being a criterium for "transmitting" the GPL "virus").

[1] Edit: note: of course, as explained before: only if they link against espeak/NVDA code/dlls. If they just execute the NVDA executable, the GPL virus doesn't "transmit".
« Last Edit: July 19, 2013, 05:33:28 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #38 on: July 19, 2013, 09:27:22 pm »
Quote
Yes, they would be illegal

Pfff, that sak assistive project gives me lot of enemies.

I mention that problem of license in NVDA forum.
Now it is the war there...  :'(
« Last Edit: July 19, 2013, 09:29:08 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #39 on: July 19, 2013, 09:50:33 pm »
@ Avra : i just get that message from espeak author :

Quote
Jonathan Duddington
À : Fred van Stappen
de: Jonathan Duddington

On 17 Jul, Fred van Stappen <fiens@hotmail.com> wrote:
 
> Does it exist any difference between eSpeak license using espeak.exe
> or espeak.dll.
 
All eSpeak is licenced with the GPL v3.
 
If your software calls the espeak.exe program, then it is not
considered a "derived work" of eSpeak.
 
Similarly, if your software produces speech by using the standard
Windows SAPI5 inferface, then it does not become a "derived work" if a
user selects an eSpeak voice from his SAPI5 voice menu.
 
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #40 on: July 20, 2013, 10:16:47 am »
Quote
Yes, they would be illegal

Pfff, that sak assistive project gives me lot of enemies.

I mention that problem of license in NVDA forum.
Now it is the war there...  :'(
Well, TBH, it helps if you know what you're talking about, and the way you write such a message. Just saying things are illegal is likely to get a spirited response, yes ;)
(Note: haven't looked at that forum, just a general remark)

Edit: I have now looked at your post on the nvda mailing lists and see that you plain out say using espeak GPL dlls is illegal.

If that's your considered opinion, no problem.
However, it's definitively not what Avra and I have been posting.  I'm trying hard to indicate that the dll linking=GPL issue is controversial (and so is Avra, I think)... and even that in my opinion it's untrue.
Anyway, I really don't know how I can be clearer about these nuances...


@ Avra : i just get that message from espeak author :
<snip>
Well, good to know the espeak author thinks the same as I do: loading a GPL dll does not make a program GPL. Of course the FSF differs on that opinion (and I think Avra is wise to avoid GPL software as much as possible to avoid all uncertainty; when I can, I do the same).

The good thing here is that you have direct confirmation by the author of his interpretation of the license... making it much harder for people to claim that any project that uses espeak dlls should be GPL.
« Last Edit: July 20, 2013, 12:10:11 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #41 on: July 20, 2013, 12:17:44 pm »
@ BigChimp : many thanks for answer.

Quote
Edit: I have now looked at your post on the nvda mailing lists and see that you plain out say using dlls is illegal.

Hum, if you have read the posts, the war begin because somebody (not me) said that nvda is illegal because one app-member is not GPL (and gives the name of that app).

Quote
The good thing here is that you have direct confirmation by the autho

Yep but sad that he does not respond about the re-license into LGPL.  :(

« Last Edit: July 20, 2013, 12:20:00 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: sak (Speaker Assistive Kit) is here !
« Reply #42 on: July 20, 2013, 12:42:48 pm »
@ BigChimp : many thanks for answer.

Quote
Edit: I have now looked at your post on the nvda mailing lists and see that you plain out say using dlls is illegal.

Hum, if you have read the posts, the war begin because somebody (not me) said that nvda is illegal because one app-member is not GPL (and gives the name of that app).
Ok.

Doesn't really change my remarks above though: AFAIU you still said using anything that links to GPL dlls is illegal... which is fine if that is your considered opinion, but I'd feel bad if you came to that opinion while misreading our posts.

Quote
The good thing here is that you have direct confirmation by the autho

Yep but sad that he does not respond about the re-license into LGPL.  :(
I think he explained well why that wouldn't be necessary - I'll leave it at that ;)

Hope this clears up the licensing stuff though...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fred vS

  • Hero Member
  • *****
  • Posts: 3629
    • StrumPract is the musicians best friend
Re: sak (Speaker Assistive Kit) is here !
« Reply #43 on: July 20, 2013, 12:53:58 pm »
Quote
Hope this clears up the licensing stuff though...

Yep, now im the king in licensing stuff  ;)

Quote
I think he explained well why that wouldn't be necessary - I'll leave it at that

Aaarg, im too bad, i have already sent him that mail  :o:

Quote
Hello Jonathan.

Well, good to know you think that loading a GPL dll does not make a program GPL.

Sadly FSF differs on that opinion.
So, it would be great if, one day, espeak becomes LGPL.

Many thanks for answer and have nice holidays.

Fred
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: sak (Speaker Assistive Kit) is here !
« Reply #44 on: July 20, 2013, 01:13:53 pm »
Actually from his reply he says that if you use MS SAPI and the user chooses espeak as its engine in the sapi you are not obliged to follow GPL on the other hand if you do use the espeak.dll directly then your application must be gpled as well.

Well thats my interpretation of his commends at least.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018