I want to reuse some LGPL'ed code in a commercial piece of software. Said code is here if you're particularly interested.
However, the library itself (written in JavaScript / CSS) has been split over many files. For practical purposes, I'd like to concatenate those in to a single file. The software itself is web-based, so will never be 'owned' by the user in the traditional software sense.
My questions are:
Can I do this ...
- Just concatenate the files and send them as they are, since the user will get a copy of the source code anyway (it being client-side JavaScript / CSS)
- Or, do I need to publish this concatenated code, under the LGPL, on (say) GitHub?
- Only if the rest of the code is LGPL'ed
And also, on a similar note, are those three possible if I later minify the code?
Personally, I feel that concatenating files doesn't really involve altering them as of such, so is probably within the spirit of the license. Minifying them is altering the source code, and in practical terms makes it harder to understand, so is against the spirit of the license. So, ethically, I wouldn't be happy with the latter even if it was OK in a legal sense. However, I want to go off facts, not feelings!
Addendum
I suppose this leads to a further question about LGPL'ed JavaScript. If it's client side, is it always fine to use in any project (since the end user will always have a copy of the original source code)?