Cedric BAIL schrieb: > Yes, you can't move code from a LGPL library into a BSD licenced > application. In fact, if you want to move code from a LGPL library to > an application you should "enable" section 3 and this application > should be GPL, but that's the exact purpose of the LGPL. LGPL give the > freedom to link with the library whatever the licence of your app is, > but you can't copy code from it in your app. Yes, that's the purpose > of the LGPL. > > And in fact, most of the time, we should not copy code, but merge it > and share it in a common place, a library. That's always a good > software practice, but this argument is general and doesn't reflect > any particular case. Perhaps you have in mind an example of a copy of > code that could be usefull. >
I'll give you here an real life example, before another truck is hitting me :). My first (real) theme of elitaire was a borderless theme, so I needed a way to move and resize the window myself. Fortunately there was an esmart_draggies object that enables you to move the window around, but there was no way to resize the window. So I put the code from esmart_draggies renamed it to esmart_resize and changed a bit the internals to act as a resize area instead of a dragging area and included into my elitaire tree (I've add of course the authors of esmart to the AUTHORS file). This saved me writing around 300 lines. Around a year later after I've got dev-access, I thought it might be a good idea to share that code with others and moved it into esmart. If esmart would have been LGPL, I had to change the license of elitaire to GPL or most probably I'd have written these 300 lines myself. And would I'd have added esmart_resize to esmart? I don't know. Maybe. In this cases it'd be possible, because I'm the only one who made changes to it and the original code was LGPL. But would you share code with someone, that doesn't share code with you? Peter ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel