Re: The BSD license problem and a trivial solution

2010-05-01 Thread Bane
> 1) Add a handler for "--printLicenses" in extern(C) int main. This ensures > the text can always be printed. > 1.1) Make sure to call checkLicenses beforehand! > 2) Public import addLicense and registerFile in object.d > 3, optional) Extend the module statement so that `module foo under GPLv2; `

Re: The BSD license problem and a trivial solution

2010-05-01 Thread Andrej Mitrovic
bearophile Wrote: > FeepingCreature: > > > Somebody on IRC mentioned that BSD requires including the license with > > binaries. So .. is there any reason this won't work? > > Or support for the code licences management can be added to the D syntax ;-) > > Bye, > bearophile from __future__ imp

Re: The BSD license problem and a trivial solution

2010-05-01 Thread FeepingCreature
On 01.05.2010 14:33, bearophile wrote: > FeepingCreature: > >> Somebody on IRC mentioned that BSD requires including the license with >> binaries. So .. is there any reason this won't work? > > Or support for the code licences management can be added to the D syntax ;-) > > Bye, > bearophile I

Re: The BSD license problem and a trivial solution

2010-05-01 Thread bearophile
FeepingCreature: > Somebody on IRC mentioned that BSD requires including the license with > binaries. So .. is there any reason this won't work? Or support for the code licences management can be added to the D syntax ;-) Bye, bearophile

The BSD license problem and a trivial solution

2010-05-01 Thread FeepingCreature
Somebody on IRC mentioned that BSD requires including the license with binaries. So .. is there any reason this won't work? (Bewarned: code is D1 and not tested) --std/licenses.d-- module std.licenses; // License handling on a per-file basis import std.stdio, std.string; string[string] license