all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* xkblayout-state
@ 2018-04-25 23:26 Jone
  2018-04-26  8:13 ` xkblayout-state Gábor Boskovits
  0 siblings, 1 reply; 12+ messages in thread
From: Jone @ 2018-04-25 23:26 UTC (permalink / raw)
  To: help-guix

Hi people!
How do I build https://github.com/nonpop/xkblayout-state ?
I need it for switching keyboard layout with one key (LWin), in Emacs
and in X.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-25 23:26 xkblayout-state Jone
@ 2018-04-26  8:13 ` Gábor Boskovits
  2018-04-26 17:40   ` xkblayout-state Jone
  2018-04-26 18:43   ` xkblayout-state Leo Famulari
  0 siblings, 2 replies; 12+ messages in thread
From: Gábor Boskovits @ 2018-04-26  8:13 UTC (permalink / raw)
  To: Jone; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

2018-04-26 1:26 GMT+02:00 Jone <yeger9@gmail.com>:

> Hi people!
> How do I build https://github.com/nonpop/xkblayout-state ?
> I need it for switching keyboard layout with one key (LWin), in Emacs
> and in X.
>
> Hello!

I've checked the mentioned software. It seems, that it is non-free. This is
caused
by  partial application of GPL2. What is missing is an explicit license
file, and some
license notes. As it seems, that the intention of the author was to release
this software
under GPL2, it might be easy to have it fixed. Please point the author to
https://www.gnu.org/licenses/gpl-howto.html.

With that said, it is still possible to build it, and even to write a guix
package
for it, but until the licencing issue is resolved this package cannot make
to upstream guix.
It is possible to build software, like in any other distro to build this in
your own home directory
with the appropriate toolchain installed. It is also possible to write a
package, you could have
a look at the manual for defining packages. Should you need any more help,
don't hesitate to ask.

[-- Attachment #2: Type: text/html, Size: 2651 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26  8:13 ` xkblayout-state Gábor Boskovits
@ 2018-04-26 17:40   ` Jone
  2018-04-26 18:43   ` xkblayout-state Leo Famulari
  1 sibling, 0 replies; 12+ messages in thread
From: Jone @ 2018-04-26 17:40 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

> Please point the author to
> https://www.gnu.org/licenses/gpl-howto.html.

Not with my level of English :(

I somehow launched xkblayout-state from my previous build. My method
switching keyboard layout: 
1. get current window name (xdotool)
2. if Emacs then xdotool->emacs_shortcut
   if not Emacs then ~/bin/xkblayout-state set -1
It's a dirty hack, but.. works!

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26  8:13 ` xkblayout-state Gábor Boskovits
  2018-04-26 17:40   ` xkblayout-state Jone
@ 2018-04-26 18:43   ` Leo Famulari
  2018-04-26 20:15     ` xkblayout-state Gábor Boskovits
  1 sibling, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2018-04-26 18:43 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

On Thu, Apr 26, 2018 at 10:13:09AM +0200, Gábor Boskovits wrote:
> 2018-04-26 1:26 GMT+02:00 Jone <yeger9@gmail.com>:
> 
> > Hi people!
> > How do I build https://github.com/nonpop/xkblayout-state ?
> > I need it for switching keyboard layout with one key (LWin), in Emacs
> > and in X.
> >
> > Hello!
> 
> I've checked the mentioned software. It seems, that it is non-free. This is
> caused
> by  partial application of GPL2. What is missing is an explicit license
> file, and some
> license notes. As it seems, that the intention of the author was to release
> this software
> under GPL2, it might be easy to have it fixed. Please point the author to
> https://www.gnu.org/licenses/gpl-howto.html.

Why do you think the software is not free software distributed under the
GPL2+?

The author explicitly states in the README that they have released it as
GPL2+, and most of the files also contain license headers.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26 18:43   ` xkblayout-state Leo Famulari
@ 2018-04-26 20:15     ` Gábor Boskovits
  2018-04-26 20:47       ` xkblayout-state Leo Famulari
  0 siblings, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2018-04-26 20:15 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

Leo Famulari <leo@famulari.name> ezt írta (időpont: 2018. ápr. 26., Cs
20:43):

> On Thu, Apr 26, 2018 at 10:13:09AM +0200, Gábor Boskovits wrote:
> > 2018-04-26 1:26 GMT+02:00 Jone <yeger9@gmail.com>:
> >
> > > Hi people!
> > > How do I build https://github.com/nonpop/xkblayout-state ?
> > > I need it for switching keyboard layout with one key (LWin), in Emacs
> > > and in X.
> > >
> > > Hello!
> >
> > I've checked the mentioned software. It seems, that it is non-free. This
> is
> > caused
> > by  partial application of GPL2. What is missing is an explicit license
> > file, and some
> > license notes. As it seems, that the intention of the author was to
> release
> > this software
> > under GPL2, it might be easy to have it fixed. Please point the author to
> > https://www.gnu.org/licenses/gpl-howto.html.
>
> Why do you think the software is not free software distributed under the
> GPL2+?
>
> The author explicitly states in the README that they have released it as
> GPL2+, and most of the files also contain license headers.
>

Sorry if I misunderstood, the intention of the author is clearly to licence
the work as gpl, but some files are missing the gpl clause. Also a copy of
the license is omitted. It is mandated by term 1 of gpl. If this partial
application of gpl makes this a free software, then sorry for the noise. In
case this software is ok for upstream, and is not packaged yet, then I
would be happy to contribute a package.

>

[-- Attachment #2: Type: text/html, Size: 2420 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26 20:15     ` xkblayout-state Gábor Boskovits
@ 2018-04-26 20:47       ` Leo Famulari
  2018-04-26 20:53         ` xkblayout-state Gábor Boskovits
  2018-04-27  4:06         ` xkblayout-state Chris Marusich
  0 siblings, 2 replies; 12+ messages in thread
From: Leo Famulari @ 2018-04-26 20:47 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
> Sorry if I misunderstood, the intention of the author is clearly to licence
> the work as gpl, but some files are missing the gpl clause. Also a copy of
> the license is omitted. It is mandated by term 1 of gpl. If this partial
> application of gpl makes this a free software, then sorry for the noise. In
> case this software is ok for upstream, and is not packaged yet, then I
> would be happy to contribute a package.

Many (if not most) of our packages omit some license headers, so I don't
think we should count that as a blocker.

As for the missing LICENSE file, that's also suboptimal, but as you say,
the author clearly intends to distribute the work as GPL2+.

One could ask the author the include the LICENSE file, but I think we
can go ahead with adding the software to Guix as it is now.

What do you think? And others, do you think it's okay to go ahead with
packaging this program?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26 20:47       ` xkblayout-state Leo Famulari
@ 2018-04-26 20:53         ` Gábor Boskovits
  2018-04-27 13:55           ` xkblayout-state Leo Famulari
  2018-04-27  4:06         ` xkblayout-state Chris Marusich
  1 sibling, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2018-04-26 20:53 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

2018-04-26 22:47 GMT+02:00 Leo Famulari <leo@famulari.name>:

> On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
> > Sorry if I misunderstood, the intention of the author is clearly to
> licence
> > the work as gpl, but some files are missing the gpl clause. Also a copy
> of
> > the license is omitted. It is mandated by term 1 of gpl. If this partial
> > application of gpl makes this a free software, then sorry for the noise.
> In
> > case this software is ok for upstream, and is not packaged yet, then I
> > would be happy to contribute a package.
>
> Many (if not most) of our packages omit some license headers, so I don't
> think we should count that as a blocker.
>
> As for the missing LICENSE file, that's also suboptimal, but as you say,
> the author clearly intends to distribute the work as GPL2+.
>
> One could ask the author the include the LICENSE file, but I think we
> can go ahead with adding the software to Guix as it is now.
>
> What do you think? And others, do you think it's okay to go ahead with
> packaging this program?
>

Ok, I will contact the author, and ask to include a license file. I will
prepare a patch
tomorrow. I've noticed one more thing, this software does not seem to have
official
releases. Should I prepare the package based on the tip of current master?
What version number should be given?

[-- Attachment #2: Type: text/html, Size: 1899 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26 20:47       ` xkblayout-state Leo Famulari
  2018-04-26 20:53         ` xkblayout-state Gábor Boskovits
@ 2018-04-27  4:06         ` Chris Marusich
  1 sibling, 0 replies; 12+ messages in thread
From: Chris Marusich @ 2018-04-27  4:06 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2106 bytes --]

Leo Famulari <leo@famulari.name> writes:

> On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
>> Sorry if I misunderstood, the intention of the author is clearly to licence
>> the work as gpl, but some files are missing the gpl clause. Also a copy of
>> the license is omitted. It is mandated by term 1 of gpl. If this partial
>> application of gpl makes this a free software, then sorry for the noise. In
>> case this software is ok for upstream, and is not packaged yet, then I
>> would be happy to contribute a package.
>
> Many (if not most) of our packages omit some license headers, so I don't
> think we should count that as a blocker.
>
> As for the missing LICENSE file, that's also suboptimal, but as you say,
> the author clearly intends to distribute the work as GPL2+.
>
> One could ask the author the include the LICENSE file, but I think we
> can go ahead with adding the software to Guix as it is now.
>
> What do you think? And others, do you think it's okay to go ahead with
> packaging this program?

As you said, it seems clear that the author intended this to be GPLv2+.
The REAMDE.md file states:

  License
  -------

  *xkblayout-state* is free software: you can redistribute it and/or
   modify it under the terms of the GNU General Public License as
   published by the Free Software Foundation, either version 2 of the
   License, or (at your option) any later version.

  *xkblayout-state* is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more
  details. <http://www.gnu.org/licenses/>

I agree with Leo: I think it's reasonable to take the author at their
word and package this as GPLv2+.  At the same time, Gábor is also right:
to eliminate any shadow of doubt, the author should probably follow the
advice that Gábor gave.  Whoever packages the software should probably
contact the author and give them a friendly reminder about that.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-26 20:53         ` xkblayout-state Gábor Boskovits
@ 2018-04-27 13:55           ` Leo Famulari
  2018-04-27 14:09             ` xkblayout-state Gábor Boskovits
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2018-04-27 13:55 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix



On April 26, 2018 4:53:56 PM EDT, "Gábor Boskovits" <boskovits@gmail.com> wrote:
>2018-04-26 22:47 GMT+02:00 Leo Famulari <leo@famulari.name>:
>
>> On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
>> > Sorry if I misunderstood, the intention of the author is clearly to
>> licence
>> > the work as gpl, but some files are missing the gpl clause. Also a
>copy
>> of
>> > the license is omitted. It is mandated by term 1 of gpl. If this
>partial
>> > application of gpl makes this a free software, then sorry for the
>noise.
>> In
>> > case this software is ok for upstream, and is not packaged yet,
>then I
>> > would be happy to contribute a package.
>>
>> Many (if not most) of our packages omit some license headers, so I
>don't
>> think we should count that as a blocker.
>>
>> As for the missing LICENSE file, that's also suboptimal, but as you
>say,
>> the author clearly intends to distribute the work as GPL2+.
>>
>> One could ask the author the include the LICENSE file, but I think we
>> can go ahead with adding the software to Guix as it is now.
>>
>> What do you think? And others, do you think it's okay to go ahead
>with
>> packaging this program?
>>
>
>Ok, I will contact the author, and ask to include a license file. I
>will
>prepare a patch
>tomorrow. I've noticed one more thing, this software does not seem to
>have
>official
>releases. Should I prepare the package based on the tip of current
>master?
>What version number should be given?

Use whatever commit is recommended upstream or, if there is no recommendation, the latest commit.

Please see the manual section Version Numbers for the full answer regarding the version identifier. There are two procedures, git-version and git-file-name, that will be useful here.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-27 13:55           ` xkblayout-state Leo Famulari
@ 2018-04-27 14:09             ` Gábor Boskovits
  2018-05-03  7:14               ` xkblayout-state Gábor Boskovits
  0 siblings, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2018-04-27 14:09 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]

Leo Famulari <leo@famulari.name> ezt írta (időpont: 2018. ápr. 27., P
15:56):

>
>
> On April 26, 2018 4:53:56 PM EDT, "Gábor Boskovits" <boskovits@gmail.com>
> wrote:
> >2018-04-26 22:47 GMT+02:00 Leo Famulari <leo@famulari.name>:
> >
> >> On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
> >> > Sorry if I misunderstood, the intention of the author is clearly to
> >> licence
> >> > the work as gpl, but some files are missing the gpl clause. Also a
> >copy
> >> of
> >> > the license is omitted. It is mandated by term 1 of gpl. If this
> >partial
> >> > application of gpl makes this a free software, then sorry for the
> >noise.
> >> In
> >> > case this software is ok for upstream, and is not packaged yet,
> >then I
> >> > would be happy to contribute a package.
> >>
> >> Many (if not most) of our packages omit some license headers, so I
> >don't
> >> think we should count that as a blocker.
> >>
> >> As for the missing LICENSE file, that's also suboptimal, but as you
> >say,
> >> the author clearly intends to distribute the work as GPL2+.
> >>
> >> One could ask the author the include the LICENSE file, but I think we
> >> can go ahead with adding the software to Guix as it is now.
> >>
> >> What do you think? And others, do you think it's okay to go ahead
> >with
> >> packaging this program?
> >>
> >
> >Ok, I will contact the author, and ask to include a license file. I
> >will
> >prepare a patch
> >tomorrow. I've noticed one more thing, this software does not seem to
> >have
> >official
> >releases. Should I prepare the package based on the tip of current
> >master?
> >What version number should be given?
>
> Use whatever commit is recommended upstream or, if there is no
> recommendation, the latest commit.
>
> Please see the manual section Version Numbers for the full answer
> regarding the version identifier. There are two procedures, git-version and
> git-file-name, that will be useful here.
>

Thanks, I will have a look.

>

[-- Attachment #2: Type: text/html, Size: 2988 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-04-27 14:09             ` xkblayout-state Gábor Boskovits
@ 2018-05-03  7:14               ` Gábor Boskovits
  2018-05-03 13:01                 ` xkblayout-state Leo Famulari
  0 siblings, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2018-05-03  7:14 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]

2018-04-27 16:09 GMT+02:00 Gábor Boskovits <boskovits@gmail.com>:

>
>
> Leo Famulari <leo@famulari.name> ezt írta (időpont: 2018. ápr. 27., P
> 15:56):
>
>>
>>
>> On April 26, 2018 4:53:56 PM EDT, "Gábor Boskovits" <boskovits@gmail.com>
>> wrote:
>> >2018-04-26 22:47 GMT+02:00 Leo Famulari <leo@famulari.name>:
>> >
>> >> On Thu, Apr 26, 2018 at 08:15:23PM +0000, Gábor Boskovits wrote:
>> >> > Sorry if I misunderstood, the intention of the author is clearly to
>> >> licence
>> >> > the work as gpl, but some files are missing the gpl clause. Also a
>> >copy
>> >> of
>> >> > the license is omitted. It is mandated by term 1 of gpl. If this
>> >partial
>> >> > application of gpl makes this a free software, then sorry for the
>> >noise.
>> >> In
>> >> > case this software is ok for upstream, and is not packaged yet,
>> >then I
>> >> > would be happy to contribute a package.
>> >>
>> >> Many (if not most) of our packages omit some license headers, so I
>> >don't
>> >> think we should count that as a blocker.
>> >>
>> >> As for the missing LICENSE file, that's also suboptimal, but as you
>> >say,
>> >> the author clearly intends to distribute the work as GPL2+.
>> >>
>> >> One could ask the author the include the LICENSE file, but I think we
>> >> can go ahead with adding the software to Guix as it is now.
>> >>
>> >> What do you think? And others, do you think it's okay to go ahead
>> >with
>> >> packaging this program?
>> >>
>> >
>> >Ok, I will contact the author, and ask to include a license file. I
>> >will
>> >prepare a patch
>> >tomorrow. I've noticed one more thing, this software does not seem to
>> >have
>> >official
>> >releases. Should I prepare the package based on the tip of current
>> >master?
>> >What version number should be given?
>>
>> Use whatever commit is recommended upstream or, if there is no
>> recommendation, the latest commit.
>>
>> Please see the manual section Version Numbers for the full answer
>> regarding the version identifier. There are two procedures, git-version and
>> git-file-name, that will be useful here.
>>
>
> Thanks, I will have a look.
>
>>
I have contacted upstream, informed about the issue with the licensing, and
requested a release. I'm waiting for their feedback now.

[-- Attachment #2: Type: text/html, Size: 3597 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: xkblayout-state
  2018-05-03  7:14               ` xkblayout-state Gábor Boskovits
@ 2018-05-03 13:01                 ` Leo Famulari
  0 siblings, 0 replies; 12+ messages in thread
From: Leo Famulari @ 2018-05-03 13:01 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]

On Thu, May 03, 2018 at 09:14:36AM +0200, Gábor Boskovits wrote:
> I have contacted upstream, informed about the issue with the licensing, and
> requested a release. I'm waiting for their feedback now.

Okay, in the meantime we can proceed with packaging.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-05-03 13:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25 23:26 xkblayout-state Jone
2018-04-26  8:13 ` xkblayout-state Gábor Boskovits
2018-04-26 17:40   ` xkblayout-state Jone
2018-04-26 18:43   ` xkblayout-state Leo Famulari
2018-04-26 20:15     ` xkblayout-state Gábor Boskovits
2018-04-26 20:47       ` xkblayout-state Leo Famulari
2018-04-26 20:53         ` xkblayout-state Gábor Boskovits
2018-04-27 13:55           ` xkblayout-state Leo Famulari
2018-04-27 14:09             ` xkblayout-state Gábor Boskovits
2018-05-03  7:14               ` xkblayout-state Gábor Boskovits
2018-05-03 13:01                 ` xkblayout-state Leo Famulari
2018-04-27  4:06         ` xkblayout-state Chris Marusich

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.