A
A
Andrey Myvrenik2015-03-09 19:32:20
Copyright
Andrey Myvrenik, 2015-03-09 19:32:20

How to embed part of someone else's code under a free license into your own?

Good afternoon!
Interested in this question. Let's say there is a piece of program code distributed under any of the free licenses that you would like to use in your project. How and where is the best place to mention the authorship and license of this particular piece of code? In particular, if third-party code is built into your own, and not just included or linked. Well, I'm also interested in the option when third-party and own code are under different (compatible, of course) licenses.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valentine, 2015-03-13
@gephaest

I would not worry too much and just leave a comment above the function with information about the author and a link to the license, for example in the javadoc style or in general in free form.

M
Mercury13, 2015-03-10
@Mercury13

  • GPL - 1) into a secret project (internal, inaccessible from the outside, even in the form of binaries); 2) in the GPL'ny project with all the ensuing consequences (lay out the source code).
  • LGPL - only in the form of a DLL, with the source code of this very DLL.
  • Other licenses - as you like (perhaps with a mention of where it came from). I would suggest writing all this somewhere in About. In large projects (Opera, for example), this About can be rather big - see how they implemented it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question