GPL licences in Woof

This is probably something that I should have done years ago.

In Woof I have created /usr/share/doc/licences directory, with these files in it:

gpl-2.0.txt
gpl-3.0.htm
lgpl-2.1.txt
lgpl-3.0.htm


We are supposed to have the GPL licence for a package local, within Puppy. Having just one set of them means that any PET package that you create does not need to have it's own licence file, just a link to one of the above.

Same thing in scripts. I have just started a new script, and I put this at the beginning:

#!/bin/sh

#(c) Copyright Barry Kauler 2010, bkhome.org
#2010 Lesser GPL licence v2 (/usr/share/doc/licences/lgpl-2.1.txt)



Posted on 5 Mar 2010, 17:19


Comments:

Posted on 5 Mar 2010, 13:51 by date123
path in the script
You have missed licences/ in the path in the beginning of the script.


Posted on 5 Mar 2010, 15:58 by aragon3
thank you!
thank you very much for that. we've recently discused that problem on the forum (see http://www.murga-linux.com/puppy/viewtopic.php?p=385877&sid=ef6b5acc10ea4da64e0835a846ee9649#385877 ff)



Posted on 5 Mar 2010, 17:29 by BarryK
Corrections
date123,
I fixed the path in the original post.

I had better change the spelling to "license". Looking in my dictionary, they are defined slightly differently. Ok, the path in Woof is now:

/usr/share/doc/licenses


Posted on 5 Mar 2010, 17:32 by BarryK
Another correction
Better yet, why don't I name it:

/usr/share/doc/legal

...so it can have more legal files, like copying rules.