You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Toshihiro Suzuki <br...@apache.org> on 2019/05/23 14:03:13 UTC
Using libraries licensed under LGPL
Hi folks!
I'm building htop in HBASE-11062 now and using Lanterna library to make a
Unix top like user interface:
https://github.com/mabe02/lanterna
Lanterna is a Java library allowing you to write easy semi-graphical user
interfaces in a text-only environment, very similar to the C library curses.
However, I found Lanterna library is licensed under the LGPL.
https://github.com/mabe02/lanterna/blob/master/License.txt
According to the Apache website (
http://www.apache.org/legal/3party.html#criteriaandcategories), it looks
like LGPL License in incompatible with Apache License, but I'm not sure if
we should not use libraries licensed under LGPL.
Could anyone advise me on it?
Regards,
Toshi
Re: Using libraries licensed under LGPL
Posted by Stack <st...@duboce.net>.
On Sat, May 25, 2019 at 12:08 PM Toshihiro Suzuki <br...@gmail.com>
wrote:
> Thank you for the comments, Stack and Josh.
>
> It looks like the author agreed that they give us special permission to
> use Lanterna under Apache 2.0:
> https://github.com/mabe02/lanterna/issues/415
Hurray!!!!
We can note the exemption in our NOTICES.txt file.
Good stuff Toshihiro,
S
>
>
> In this case, how to proceed? We need to make a note of this
> (maybe in http://hbase.apache.org/license.html)? Or we can just use
> the library without any notes?
>
> Sorry to bother you, but I'm not familiar with license things.
>
>
> On Fri, May 24, 2019 at 1:09 PM Josh Elser <el...@apache.org> wrote:
>
> > The only exception to this rule is that if it's an "optional"
> > dependency. Meaning, if you could use some other dependency in place of
> > the LGPL one, it's OK. That does not apply in this situation :)
> >
> > Hopefully the author will agree! The demo of your tool on Tuesday was
> > quite nice!!
> >
> > On 5/24/19 8:06 AM, Toshihiro Suzuki wrote:
> > > Thank you for your reply, Duo and Nick.
> > >
> > > I understood that we can't use libraries licensed under LGPL at least
> in
> > > HBase.
> > > Before considering whether I create a new project, I will try to ask
> the
> > > Lanterna
> > > author to change the license of the library to Apache License or MIT.
> > >
> > > On Thu, May 23, 2019 at 11:57 AM Nick Dimiduk <nd...@gmail.com>
> > wrote:
> > >
> > >> My understanding of [0] is that various versions of LGPL are
> explicitly
> > >> prohibited from use as a dependency in Apache Foundation projects.
> > >>
> > >> I’m not a lawyer.
> > >>
> > >> [0]:
> > >> https://apache.org/legal/resolved.html#category-x
> > >>
> > >> On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com>
> > >> wrote:
> > >>
> > >>> HBase itself can not depend on libraries which are licensed under
> > LGPL. A
> > >>> possible way is to create a new project, which depend on both HBase
> and
> > >> the
> > >>> LGPL library?
> > >>>
> > >>> Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
> > >>>
> > >>>> Hi folks!
> > >>>>
> > >>>> I'm building htop in HBASE-11062 now and using Lanterna library to
> > >> make a
> > >>>> Unix top like user interface:
> > >>>> https://github.com/mabe02/lanterna
> > >>>>
> > >>>> Lanterna is a Java library allowing you to write easy semi-graphical
> > >> user
> > >>>> interfaces in a text-only environment, very similar to the C library
> > >>>> curses.
> > >>>>
> > >>>> However, I found Lanterna library is licensed under the LGPL.
> > >>>> https://github.com/mabe02/lanterna/blob/master/License.txt
> > >>>>
> > >>>> According to the Apache website (
> > >>>> http://www.apache.org/legal/3party.html#criteriaandcategories), it
> > >> looks
> > >>>> like LGPL License in incompatible with Apache License, but I'm not
> > sure
> > >>> if
> > >>>> we should not use libraries licensed under LGPL.
> > >>>>
> > >>>> Could anyone advise me on it?
> > >>>>
> > >>>> Regards,
> > >>>> Toshi
> > >>>>
> > >>>
> > >>
> > >
> >
>
Re: Using libraries licensed under LGPL
Posted by Toshihiro Suzuki <br...@gmail.com>.
Thank you for the comments, Stack and Josh.
It looks like the author agreed that they give us special permission to
use Lanterna under Apache 2.0:
https://github.com/mabe02/lanterna/issues/415
In this case, how to proceed? We need to make a note of this
(maybe in http://hbase.apache.org/license.html)? Or we can just use
the library without any notes?
Sorry to bother you, but I'm not familiar with license things.
On Fri, May 24, 2019 at 1:09 PM Josh Elser <el...@apache.org> wrote:
> The only exception to this rule is that if it's an "optional"
> dependency. Meaning, if you could use some other dependency in place of
> the LGPL one, it's OK. That does not apply in this situation :)
>
> Hopefully the author will agree! The demo of your tool on Tuesday was
> quite nice!!
>
> On 5/24/19 8:06 AM, Toshihiro Suzuki wrote:
> > Thank you for your reply, Duo and Nick.
> >
> > I understood that we can't use libraries licensed under LGPL at least in
> > HBase.
> > Before considering whether I create a new project, I will try to ask the
> > Lanterna
> > author to change the license of the library to Apache License or MIT.
> >
> > On Thu, May 23, 2019 at 11:57 AM Nick Dimiduk <nd...@gmail.com>
> wrote:
> >
> >> My understanding of [0] is that various versions of LGPL are explicitly
> >> prohibited from use as a dependency in Apache Foundation projects.
> >>
> >> I’m not a lawyer.
> >>
> >> [0]:
> >> https://apache.org/legal/resolved.html#category-x
> >>
> >> On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com>
> >> wrote:
> >>
> >>> HBase itself can not depend on libraries which are licensed under
> LGPL. A
> >>> possible way is to create a new project, which depend on both HBase and
> >> the
> >>> LGPL library?
> >>>
> >>> Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
> >>>
> >>>> Hi folks!
> >>>>
> >>>> I'm building htop in HBASE-11062 now and using Lanterna library to
> >> make a
> >>>> Unix top like user interface:
> >>>> https://github.com/mabe02/lanterna
> >>>>
> >>>> Lanterna is a Java library allowing you to write easy semi-graphical
> >> user
> >>>> interfaces in a text-only environment, very similar to the C library
> >>>> curses.
> >>>>
> >>>> However, I found Lanterna library is licensed under the LGPL.
> >>>> https://github.com/mabe02/lanterna/blob/master/License.txt
> >>>>
> >>>> According to the Apache website (
> >>>> http://www.apache.org/legal/3party.html#criteriaandcategories), it
> >> looks
> >>>> like LGPL License in incompatible with Apache License, but I'm not
> sure
> >>> if
> >>>> we should not use libraries licensed under LGPL.
> >>>>
> >>>> Could anyone advise me on it?
> >>>>
> >>>> Regards,
> >>>> Toshi
> >>>>
> >>>
> >>
> >
>
Re: Using libraries licensed under LGPL
Posted by Josh Elser <el...@apache.org>.
The only exception to this rule is that if it's an "optional"
dependency. Meaning, if you could use some other dependency in place of
the LGPL one, it's OK. That does not apply in this situation :)
Hopefully the author will agree! The demo of your tool on Tuesday was
quite nice!!
On 5/24/19 8:06 AM, Toshihiro Suzuki wrote:
> Thank you for your reply, Duo and Nick.
>
> I understood that we can't use libraries licensed under LGPL at least in
> HBase.
> Before considering whether I create a new project, I will try to ask the
> Lanterna
> author to change the license of the library to Apache License or MIT.
>
> On Thu, May 23, 2019 at 11:57 AM Nick Dimiduk <nd...@gmail.com> wrote:
>
>> My understanding of [0] is that various versions of LGPL are explicitly
>> prohibited from use as a dependency in Apache Foundation projects.
>>
>> I’m not a lawyer.
>>
>> [0]:
>> https://apache.org/legal/resolved.html#category-x
>>
>> On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com>
>> wrote:
>>
>>> HBase itself can not depend on libraries which are licensed under LGPL. A
>>> possible way is to create a new project, which depend on both HBase and
>> the
>>> LGPL library?
>>>
>>> Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
>>>
>>>> Hi folks!
>>>>
>>>> I'm building htop in HBASE-11062 now and using Lanterna library to
>> make a
>>>> Unix top like user interface:
>>>> https://github.com/mabe02/lanterna
>>>>
>>>> Lanterna is a Java library allowing you to write easy semi-graphical
>> user
>>>> interfaces in a text-only environment, very similar to the C library
>>>> curses.
>>>>
>>>> However, I found Lanterna library is licensed under the LGPL.
>>>> https://github.com/mabe02/lanterna/blob/master/License.txt
>>>>
>>>> According to the Apache website (
>>>> http://www.apache.org/legal/3party.html#criteriaandcategories), it
>> looks
>>>> like LGPL License in incompatible with Apache License, but I'm not sure
>>> if
>>>> we should not use libraries licensed under LGPL.
>>>>
>>>> Could anyone advise me on it?
>>>>
>>>> Regards,
>>>> Toshi
>>>>
>>>
>>
>
Re: Using libraries licensed under LGPL
Posted by Stack <st...@duboce.net>.
On Fri, May 24, 2019 at 5:06 AM Toshihiro Suzuki <br...@apache.org>
wrote:
> Thank you for your reply, Duo and Nick.
>
> I understood that we can't use libraries licensed under LGPL at least in
> HBase.
> Before considering whether I create a new project, I will try to ask the
> Lanterna
> author to change the license of the library to Apache License or MIT.
>
>
The latter is worth a try.
(These console tools all seem to do GPL or LGPL. Perhaps there is a GPL at
the root of them that they can't avoid).
Thanks,
S
> On Thu, May 23, 2019 at 11:57 AM Nick Dimiduk <nd...@gmail.com> wrote:
>
> > My understanding of [0] is that various versions of LGPL are explicitly
> > prohibited from use as a dependency in Apache Foundation projects.
> >
> > I’m not a lawyer.
> >
> > [0]:
> > https://apache.org/legal/resolved.html#category-x
> >
> > On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com>
> > wrote:
> >
> > > HBase itself can not depend on libraries which are licensed under
> LGPL. A
> > > possible way is to create a new project, which depend on both HBase and
> > the
> > > LGPL library?
> > >
> > > Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
> > >
> > > > Hi folks!
> > > >
> > > > I'm building htop in HBASE-11062 now and using Lanterna library to
> > make a
> > > > Unix top like user interface:
> > > > https://github.com/mabe02/lanterna
> > > >
> > > > Lanterna is a Java library allowing you to write easy semi-graphical
> > user
> > > > interfaces in a text-only environment, very similar to the C library
> > > > curses.
> > > >
> > > > However, I found Lanterna library is licensed under the LGPL.
> > > > https://github.com/mabe02/lanterna/blob/master/License.txt
> > > >
> > > > According to the Apache website (
> > > > http://www.apache.org/legal/3party.html#criteriaandcategories), it
> > looks
> > > > like LGPL License in incompatible with Apache License, but I'm not
> sure
> > > if
> > > > we should not use libraries licensed under LGPL.
> > > >
> > > > Could anyone advise me on it?
> > > >
> > > > Regards,
> > > > Toshi
> > > >
> > >
> >
>
Re: Using libraries licensed under LGPL
Posted by Toshihiro Suzuki <br...@apache.org>.
Thank you for your reply, Duo and Nick.
I understood that we can't use libraries licensed under LGPL at least in
HBase.
Before considering whether I create a new project, I will try to ask the
Lanterna
author to change the license of the library to Apache License or MIT.
On Thu, May 23, 2019 at 11:57 AM Nick Dimiduk <nd...@gmail.com> wrote:
> My understanding of [0] is that various versions of LGPL are explicitly
> prohibited from use as a dependency in Apache Foundation projects.
>
> I’m not a lawyer.
>
> [0]:
> https://apache.org/legal/resolved.html#category-x
>
> On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com>
> wrote:
>
> > HBase itself can not depend on libraries which are licensed under LGPL. A
> > possible way is to create a new project, which depend on both HBase and
> the
> > LGPL library?
> >
> > Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
> >
> > > Hi folks!
> > >
> > > I'm building htop in HBASE-11062 now and using Lanterna library to
> make a
> > > Unix top like user interface:
> > > https://github.com/mabe02/lanterna
> > >
> > > Lanterna is a Java library allowing you to write easy semi-graphical
> user
> > > interfaces in a text-only environment, very similar to the C library
> > > curses.
> > >
> > > However, I found Lanterna library is licensed under the LGPL.
> > > https://github.com/mabe02/lanterna/blob/master/License.txt
> > >
> > > According to the Apache website (
> > > http://www.apache.org/legal/3party.html#criteriaandcategories), it
> looks
> > > like LGPL License in incompatible with Apache License, but I'm not sure
> > if
> > > we should not use libraries licensed under LGPL.
> > >
> > > Could anyone advise me on it?
> > >
> > > Regards,
> > > Toshi
> > >
> >
>
Re: Using libraries licensed under LGPL
Posted by Nick Dimiduk <nd...@gmail.com>.
My understanding of [0] is that various versions of LGPL are explicitly
prohibited from use as a dependency in Apache Foundation projects.
I’m not a lawyer.
[0]:
https://apache.org/legal/resolved.html#category-x
On Thu, May 23, 2019 at 7:18 AM 张铎(Duo Zhang) <pa...@gmail.com> wrote:
> HBase itself can not depend on libraries which are licensed under LGPL. A
> possible way is to create a new project, which depend on both HBase and the
> LGPL library?
>
> Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
>
> > Hi folks!
> >
> > I'm building htop in HBASE-11062 now and using Lanterna library to make a
> > Unix top like user interface:
> > https://github.com/mabe02/lanterna
> >
> > Lanterna is a Java library allowing you to write easy semi-graphical user
> > interfaces in a text-only environment, very similar to the C library
> > curses.
> >
> > However, I found Lanterna library is licensed under the LGPL.
> > https://github.com/mabe02/lanterna/blob/master/License.txt
> >
> > According to the Apache website (
> > http://www.apache.org/legal/3party.html#criteriaandcategories), it looks
> > like LGPL License in incompatible with Apache License, but I'm not sure
> if
> > we should not use libraries licensed under LGPL.
> >
> > Could anyone advise me on it?
> >
> > Regards,
> > Toshi
> >
>
Re: Using libraries licensed under LGPL
Posted by "张铎 (Duo Zhang)" <pa...@gmail.com>.
HBase itself can not depend on libraries which are licensed under LGPL. A
possible way is to create a new project, which depend on both HBase and the
LGPL library?
Toshihiro Suzuki <br...@apache.org> 于2019年5月23日周四 下午10:03写道:
> Hi folks!
>
> I'm building htop in HBASE-11062 now and using Lanterna library to make a
> Unix top like user interface:
> https://github.com/mabe02/lanterna
>
> Lanterna is a Java library allowing you to write easy semi-graphical user
> interfaces in a text-only environment, very similar to the C library
> curses.
>
> However, I found Lanterna library is licensed under the LGPL.
> https://github.com/mabe02/lanterna/blob/master/License.txt
>
> According to the Apache website (
> http://www.apache.org/legal/3party.html#criteriaandcategories), it looks
> like LGPL License in incompatible with Apache License, but I'm not sure if
> we should not use libraries licensed under LGPL.
>
> Could anyone advise me on it?
>
> Regards,
> Toshi
>