* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
@ 2017-06-19 16:55 Koen Martens
2017-06-19 19:44 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Koen Martens @ 2017-06-19 16:55 UTC (permalink / raw)
To: buildroot
Linuxconsoletools contains the inputattach utility
to attach legacy serial devices to the Linux kernel
input layer and joystick utilities to calibrate and
test joysticks and joypads.
The buildroot package adds options to build only certain
tools.
website: http://sf.net/projects/linuxconsole/
Signed-off-by: Koen Martens <gmc@sonologic.nl>
---
Changes v1 -> v2:
- Remove 'default n' everywhere
- Change forward dependency BR2_PACKAGE_SDL to backward dependency
- Change license code to use SPDX convention
- Remove option to install man pages
- Remove superfluous lines from .mk file
- Refactor SDL_CONFIG make option
- Refactor make options
- Add blank lines after endif
DEVELOPERS | 3 ++
package/Config.in | 1 +
.../linuxconsoletools/0001-conditional-build.patch | 58 ++++++++++++++++++++++
package/linuxconsoletools/0002-sdl-config.patch | 20 ++++++++
package/linuxconsoletools/Config.in | 34 +++++++++++++
package/linuxconsoletools/linuxconsoletools.hash | 2 +
package/linuxconsoletools/linuxconsoletools.mk | 43 ++++++++++++++++
7 files changed, 161 insertions(+)
create mode 100644 package/linuxconsoletools/0001-conditional-build.patch
create mode 100644 package/linuxconsoletools/0002-sdl-config.patch
create mode 100644 package/linuxconsoletools/Config.in
create mode 100644 package/linuxconsoletools/linuxconsoletools.hash
create mode 100644 package/linuxconsoletools/linuxconsoletools.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index f86a5dc..afc4596 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -997,6 +997,9 @@ F: package/ramsmp/
N: Kevin Joly <kevin.joly@sensefly.com>
F: package/libgphoto2/
+N: Koen Martens <gmc@sonologic.nl>
+F: package/linuxconsoletools/
+
N: Laurent Cans <laurent.cans@gmail.com>
F: package/aircrack-ng/
diff --git a/package/Config.in b/package/Config.in
index aeb7430..9df0b42 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -422,6 +422,7 @@ endmenu
source "package/lcdproc/Config.in"
source "package/libuio/Config.in"
source "package/libump/Config.in"
+ source "package/linuxconsoletools/Config.in"
source "package/linux-backports/Config.in"
source "package/lirc-tools/Config.in"
source "package/lm-sensors/Config.in"
diff --git a/package/linuxconsoletools/0001-conditional-build.patch b/package/linuxconsoletools/0001-conditional-build.patch
new file mode 100644
index 0000000..9f462a6
--- /dev/null
+++ b/package/linuxconsoletools/0001-conditional-build.patch
@@ -0,0 +1,58 @@
+Selectively build groups of tools (inputattach,
+joystick tools and/or force-feedback tools).
+
+Signed-off-by: Koen Martens <gmc@sonologic.nl>
+
+diff -Naur a/utils/Makefile b/utils/Makefile
+--- a/utils/Makefile 2016-04-19 23:28:36.000000000 +0200
++++ b/utils/Makefile 2017-06-19 08:54:20.152184000 +0200
+@@ -27,8 +27,26 @@
+
+ CFLAGS ?= -g -O2 -Wall
+
+-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
+- ffcfstress jscal-restore jscal-store evdev-joystick
++PROGRAMS =
++
++ifdef ENABLE_INPUTATTACH
++PROGRAMS += inputattach
++endif
++
++ifdef ENABLE_JOYSTICK
++PROGRAMS += jstest
++PROGRAMS += jscal
++PROGRAMS += jscal-restore
++PROGRAMS += jscal-store
++PROGRAMS += evdev-joystick
++endif
++
++ifdef ENABLE_FORCEFEEDBACK
++PROGRAMS += fftest
++PROGRAMS += ffmvforce
++PROGRAMS += ffset
++PROGRAMS += ffcfstress
++endif
+
+ PREFIX ?= /usr/local
+
+@@ -79,13 +97,20 @@
+ 80-stelladaptor-joystick.rules: 80-stelladaptor-joystick.rules.in
+ sed "s^@@PREFIX@@^$(PREFIX)^g" < $^ > $@
+
++INSTALL_DEP = compile
++ifdef ENABLE_JOYSTICK
++INSTALL_DEP += 80-stelladaptor-joystick.rules
++endif
++
+ install: compile 80-stelladaptor-joystick.rules
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install $(PROGRAMS) $(DESTDIR)$(PREFIX)/bin
++ifdef ENABLE_JOYSTICK
+ install -d $(DESTDIR)$(PREFIX)/share/joystick
+ install extract filter ident $(DESTDIR)$(PREFIX)/share/joystick
+ install -d $(DESTDIR)/lib/udev/rules.d
+ install js-set-enum-leds $(DESTDIR)/lib/udev
+ install -m 644 80-stelladaptor-joystick.rules $(DESTDIR)/lib/udev/rules.d
++endif
+
+ .PHONY: compile clean distclean install
diff --git a/package/linuxconsoletools/0002-sdl-config.patch b/package/linuxconsoletools/0002-sdl-config.patch
new file mode 100644
index 0000000..c19c274
--- /dev/null
+++ b/package/linuxconsoletools/0002-sdl-config.patch
@@ -0,0 +1,20 @@
+Specify sdl-config to use instead of using host sdl-config.
+
+Signed-off-by: Koen Martens <gmc@sonologic.nl>
+
+diff -Naur a/utils/Makefile b/utils/Makefile
+--- a/utils/Makefile 2017-06-16 18:48:28.402824790 +0200
++++ b/utils/Makefile 2017-06-16 18:48:53.898696647 +0200
+@@ -69,10 +69,10 @@
+ $(CC) $(CFLAGS) $(CPPFLAGS) -funsigned-char $^ $(LDFLAGS) -lm -o $@
+
+ ffmvforce.o: ffmvforce.c
+- $(CC) $(CFLAGS) $(CPPFLAGS) -c $^ -o $@ `sdl-config --cflags`
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $^ -o $@ `${SDL_CONFIG} --cflags`
+
+ ffmvforce: ffmvforce.o
+- $(CC) $^ -o $@ $(LDFLAGS) -g -lm `sdl-config --libs`
++ $(CC) $^ -o $@ $(LDFLAGS) -g -lm `${SDL_CONFIG} --libs`
+
+ axbtnmap.o: axbtnmap.c axbtnmap.h
+
diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
new file mode 100644
index 0000000..08a4af3
--- /dev/null
+++ b/package/linuxconsoletools/Config.in
@@ -0,0 +1,34 @@
+config BR2_PACKAGE_LINUXCONSOLETOOLS
+ bool "linuxconsoletools"
+ default n
+ help
+ Linuxconsoletools contains the inputattach utility
+ to attach legacy serial devices to the Linux kernel
+ input layer and joystick utilities to calibrate and
+ test joysticks and joypads.
+
+ http://sf.net/projects/linuxconsole/
+
+if BR2_PACKAGE_LINUXCONSOLETOOLS
+
+config BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH
+ bool "inputattach"
+ default y
+ help
+ The inputattach utility attaches legacy serial devices
+ to the Linux kernel input layer.
+
+config BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK
+ bool "joystick utilities"
+ help
+ Joystick utilities (jstest, jscal, jscal-store,
+ jscal-restore, evdev-joystick).
+
+config BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK
+ bool "force-feedback utilities"
+ select BR2_PACKAGE_SDL
+ help
+ Build force-feedback driver utilities (fftest,
+ ffmvforce, ffset, ffcfstress).
+
+endif
diff --git a/package/linuxconsoletools/linuxconsoletools.hash b/package/linuxconsoletools/linuxconsoletools.hash
new file mode 100644
index 0000000..756c9f4
--- /dev/null
+++ b/package/linuxconsoletools/linuxconsoletools.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 ced2efed00b67b45f82eddc69be07385835d558f658016315ac621fe2eaa8146 linuxconsoletools-1.6.0.tar.bz2
diff --git a/package/linuxconsoletools/linuxconsoletools.mk b/package/linuxconsoletools/linuxconsoletools.mk
new file mode 100644
index 0000000..e8c7cd7
--- /dev/null
+++ b/package/linuxconsoletools/linuxconsoletools.mk
@@ -0,0 +1,43 @@
+################################################################################
+#
+# linuxconsoletools
+#
+################################################################################
+
+LINUXCONSOLETOOLS_VERSION = 1.6.0
+LINUXCONSOLETOOLS_SOURCE = linuxconsoletools-$(LINUXCONSOLETOOLS_VERSION).tar.bz2
+LINUXCONSOLETOOLS_SITE = https://downloads.sourceforge.net/project/linuxconsole
+LINUXCONSOLETOOLS_LICENSE = GPL-2.0+
+LINUXCONSOLETOOLS_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH),y)
+LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_INPUTATTACH=1
+endif
+
+ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK),y)
+LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_JOYSTICK=1
+endif
+
+ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
+LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_FORCEFEEDBACK=1
+LINUXCONSOLETOOLS_MAKE_OPTS += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
+LINUXCONSOLETOOLS_DEPENDENCIES += sdl
+endif
+
+LINUXCONSOLETOOLS_MAKE_OPTS += CC=$(TARGET_CC)
+LINUXCONSOLETOOLS_MAKE_OPTS += CFLAGS="$(TARGET_CFLAGS)"
+
+define LINUXCONSOLETOOLS_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ $(LINUXCONSOLETOOLS_MAKE_OPTS)
+endef
+
+define LINUXCONSOLETOOLS_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ $(LINUXCONSOLETOOLS_MAKE_OPTS) \
+ DESTDIR="$(TARGET_DIR)" \
+ PREFIX=/usr \
+ install
+endef
+
+$(eval $(generic-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-19 16:55 [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package Koen Martens
@ 2017-06-19 19:44 ` Thomas Petazzoni
2017-06-19 19:51 ` Koen Martens
2017-06-20 12:08 ` Peter Korsgaard
0 siblings, 2 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-19 19:44 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
> Linuxconsoletools contains the inputattach utility
> to attach legacy serial devices to the Linux kernel
> input layer and joystick utilities to calibrate and
> test joysticks and joypads.
>
> The buildroot package adds options to build only certain
> tools.
>
> website: http://sf.net/projects/linuxconsole/
>
> Signed-off-by: Koen Martens <gmc@sonologic.nl>
Thanks, I've applied, after doing a few minor tweaks. See below.
> diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
> new file mode 100644
> index 0000000..08a4af3
> --- /dev/null
> +++ b/package/linuxconsoletools/Config.in
> @@ -0,0 +1,34 @@
> +config BR2_PACKAGE_LINUXCONSOLETOOLS
> + bool "linuxconsoletools"
> + default n
There was still a useless "default n" here, so I've dropped.
> + help
> + Linuxconsoletools contains the inputattach utility
> + to attach legacy serial devices to the Linux kernel
> + input layer and joystick utilities to calibrate and
> + test joysticks and joypads.
> +
There was a trailing tab character on this line, which I dropped.
> + http://sf.net/projects/linuxconsole/
> +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
> +LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_FORCEFEEDBACK=1
> +LINUXCONSOLETOOLS_MAKE_OPTS += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
I've put these in a single assignment:
+LINUXCONSOLETOOLS_MAKE_OPTS += \
+ ENABLE_FORCEFEEDBACK=1 \
+ SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
> +LINUXCONSOLETOOLS_DEPENDENCIES += sdl
> +endif
> +
> +LINUXCONSOLETOOLS_MAKE_OPTS += CC=$(TARGET_CC)
> +LINUXCONSOLETOOLS_MAKE_OPTS += CFLAGS="$(TARGET_CFLAGS)"
Both of those lines are not needed: CC and CFLAGS are already part of
$(TARGET_CONFIGURE_OPTS), which you pass in the build and install
commands.
Committed with those minor issues fixed. Thanks a lot for this
contribution!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-19 19:44 ` Thomas Petazzoni
@ 2017-06-19 19:51 ` Koen Martens
2017-06-19 20:08 ` Thomas Petazzoni
2017-06-20 12:08 ` Peter Korsgaard
1 sibling, 1 reply; 11+ messages in thread
From: Koen Martens @ 2017-06-19 19:51 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Thanks, also for the small corrections. I must've missed a few things.
This was my first attempt at contributing, from which I've learned quite
a lot. So hopefully, I'll be able to contribute some more things in the
near future and get it right the first time. It'll mostly be in the
category 'old and ancient', given the kind of ancient hardware I'm
currently working on :)
- Koen
On Mon, Jun 19, 2017 at 09:44:58PM +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
> > Linuxconsoletools contains the inputattach utility
> > to attach legacy serial devices to the Linux kernel
> > input layer and joystick utilities to calibrate and
> > test joysticks and joypads.
> >
> > The buildroot package adds options to build only certain
> > tools.
> >
> > website: http://sf.net/projects/linuxconsole/
> >
> > Signed-off-by: Koen Martens <gmc@sonologic.nl>
>
> Thanks, I've applied, after doing a few minor tweaks. See below.
>
> > diff --git a/package/linuxconsoletools/Config.in b/package/linuxconsoletools/Config.in
> > new file mode 100644
> > index 0000000..08a4af3
> > --- /dev/null
> > +++ b/package/linuxconsoletools/Config.in
> > @@ -0,0 +1,34 @@
> > +config BR2_PACKAGE_LINUXCONSOLETOOLS
> > + bool "linuxconsoletools"
> > + default n
>
> There was still a useless "default n" here, so I've dropped.
>
> > + help
> > + Linuxconsoletools contains the inputattach utility
> > + to attach legacy serial devices to the Linux kernel
> > + input layer and joystick utilities to calibrate and
> > + test joysticks and joypads.
> > +
>
> There was a trailing tab character on this line, which I dropped.
>
> > + http://sf.net/projects/linuxconsole/
> > +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
> > +LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_FORCEFEEDBACK=1
> > +LINUXCONSOLETOOLS_MAKE_OPTS += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
>
> I've put these in a single assignment:
>
> +LINUXCONSOLETOOLS_MAKE_OPTS += \
> + ENABLE_FORCEFEEDBACK=1 \
> + SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
>
>
> > +LINUXCONSOLETOOLS_DEPENDENCIES += sdl
> > +endif
> > +
> > +LINUXCONSOLETOOLS_MAKE_OPTS += CC=$(TARGET_CC)
> > +LINUXCONSOLETOOLS_MAKE_OPTS += CFLAGS="$(TARGET_CFLAGS)"
>
> Both of those lines are not needed: CC and CFLAGS are already part of
> $(TARGET_CONFIGURE_OPTS), which you pass in the build and install
> commands.
>
> Committed with those minor issues fixed. Thanks a lot for this
> contribution!
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-19 19:51 ` Koen Martens
@ 2017-06-19 20:08 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-19 20:08 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 19 Jun 2017 21:51:18 +0200, Koen Martens wrote:
> Thanks, also for the small corrections. I must've missed a few things.
> This was my first attempt at contributing, from which I've learned quite
> a lot. So hopefully, I'll be able to contribute some more things in the
> near future and get it right the first time. It'll mostly be in the
> category 'old and ancient', given the kind of ancient hardware I'm
> currently working on :)
Thanks to you in the first place for contributing. Your future
contributions are of course very welcome.
A last piece of advice: you should reply *below* and not *above* the
text you're replying top. See top posting
(https://en.wikipedia.org/wiki/Posting_style#Top-posting) and bottom
posting (https://en.wikipedia.org/wiki/Posting_style#Bottom-posting).
Bottom posting is the preferred posting style on open-source mailing
lists.
Thanks again!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-19 19:44 ` Thomas Petazzoni
2017-06-19 19:51 ` Koen Martens
@ 2017-06-20 12:08 ` Peter Korsgaard
2017-06-20 12:48 ` Koen Martens
2017-06-20 13:05 ` Thomas Petazzoni
1 sibling, 2 replies; 11+ messages in thread
From: Peter Korsgaard @ 2017-06-20 12:08 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Hello,
> On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
>> Linuxconsoletools contains the inputattach utility
>> to attach legacy serial devices to the Linux kernel
>> input layer and joystick utilities to calibrate and
>> test joysticks and joypads.
>>
>> The buildroot package adds options to build only certain
>> tools.
>>
>> website: http://sf.net/projects/linuxconsole/
>>
>> Signed-off-by: Koen Martens <gmc@sonologic.nl>
> Thanks, I've applied, after doing a few minor tweaks. See below.
Sorry for the slow response, I only noticed the patch now.
We already have (an old version of) this code in the input-tools
package, so the binaries here will conflict with those.
What is the way forward? Drop the old package and add Config.in.legacy
handling for the old symbols?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 12:08 ` Peter Korsgaard
@ 2017-06-20 12:48 ` Koen Martens
2017-06-20 13:05 ` Thomas Petazzoni
1 sibling, 0 replies; 11+ messages in thread
From: Koen Martens @ 2017-06-20 12:48 UTC (permalink / raw)
To: buildroot
On 20 June 2017 14:08:03 CEST, Peter Korsgaard <peter@korsgaard.com> wrote:
>>>>>> "Thomas" == Thomas Petazzoni
><thomas.petazzoni@free-electrons.com> writes:
>
> > Hello,
> > On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
> >> Linuxconsoletools contains the inputattach utility
> >> to attach legacy serial devices to the Linux kernel
> >> input layer and joystick utilities to calibrate and
> >> test joysticks and joypads.
> >>
> >> The buildroot package adds options to build only certain
> >> tools.
> >>
> >> website: http://sf.net/projects/linuxconsole/
> >>
> >> Signed-off-by: Koen Martens <gmc@sonologic.nl>
>
> > Thanks, I've applied, after doing a few minor tweaks. See below.
>
>Sorry for the slow response, I only noticed the patch now.
>
>We already have (an old version of) this code in the input-tools
>package, so the binaries here will conflict with those.
>
>What is the way forward? Drop the old package and add Config.in.legacy
>handling for the old symbols?
Oops, had i known I would have updated the existing package. That still is an option of course. Revert my patch and bring the input-tools package into 2017. Of course, my patch can install all tools from the upstream archive, whereas the input-tools only installs 3 of them. Also, with the old pkg we would end up with toggles for each individual tool if we want to stay in style.
Is there a specific reason the input-tools package uses the (renamed) debian tarball btw instead of the original upstream?
- Koen
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 12:08 ` Peter Korsgaard
2017-06-20 12:48 ` Koen Martens
@ 2017-06-20 13:05 ` Thomas Petazzoni
2017-06-20 13:19 ` Peter Korsgaard
1 sibling, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-20 13:05 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 20 Jun 2017 14:08:03 +0200, Peter Korsgaard wrote:
> > Hello,
> > On Mon, 19 Jun 2017 18:55:06 +0200, Koen Martens wrote:
> >> Linuxconsoletools contains the inputattach utility
> >> to attach legacy serial devices to the Linux kernel
> >> input layer and joystick utilities to calibrate and
> >> test joysticks and joypads.
> >>
> >> The buildroot package adds options to build only certain
> >> tools.
> >>
> >> website: http://sf.net/projects/linuxconsole/
> >>
> >> Signed-off-by: Koen Martens <gmc@sonologic.nl>
>
> > Thanks, I've applied, after doing a few minor tweaks. See below.
>
> Sorry for the slow response, I only noticed the patch now.
>
> We already have (an old version of) this code in the input-tools
> package, so the binaries here will conflict with those.
>
> What is the way forward? Drop the old package and add Config.in.legacy
> handling for the old symbols?
Thanks for pointing out, I didn't notice there was an overlap with our
input-tools package. Our input-tools package references
http://linuxconsole.sourceforge.net/ as the upstream URL, which no
longer exists, and fetches a Debian package from 2010 called joystick.
All of this is a pretty confusing:
Buildroot package name != upstream URL project != Debian package name
Since linuxconsoletools provides the three utilities provided by
input-tools, has a name matching the upstream project, and uses a more
recent version, I would suggest to drop input-tools indeed, and add a
Config.in.legacy option that automatically enables linuxconsoletools.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 13:05 ` Thomas Petazzoni
@ 2017-06-20 13:19 ` Peter Korsgaard
2017-06-20 13:35 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Peter Korsgaard @ 2017-06-20 13:19 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>> What is the way forward? Drop the old package and add Config.in.legacy
>> handling for the old symbols?
> Thanks for pointing out, I didn't notice there was an overlap with our
> input-tools package. Our input-tools package references
> http://linuxconsole.sourceforge.net/ as the upstream URL, which no
> longer exists, and fetches a Debian package from 2010 called joystick.
> All of this is a pretty confusing:
> Buildroot package name != upstream URL project != Debian package name
> Since linuxconsoletools provides the three utilities provided by
> input-tools, has a name matching the upstream project, and uses a more
> recent version, I would suggest to drop input-tools indeed, and add a
> Config.in.legacy option that automatically enables linuxconsoletools.
Yes, I agree - The input-tools package is very old and hasn't been
updated in close to 10 years.
Will you send a patch to add the legacy handling or should I?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 13:19 ` Peter Korsgaard
@ 2017-06-20 13:35 ` Thomas Petazzoni
2017-06-20 18:35 ` Koen Martens
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-20 13:35 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 20 Jun 2017 15:19:36 +0200, Peter Korsgaard wrote:
> >> What is the way forward? Drop the old package and add Config.in.legacy
> >> handling for the old symbols?
>
> > Thanks for pointing out, I didn't notice there was an overlap with our
> > input-tools package. Our input-tools package references
> > http://linuxconsole.sourceforge.net/ as the upstream URL, which no
> > longer exists, and fetches a Debian package from 2010 called joystick.
> > All of this is a pretty confusing:
>
> > Buildroot package name != upstream URL project != Debian package name
>
> > Since linuxconsoletools provides the three utilities provided by
> > input-tools, has a name matching the upstream project, and uses a more
> > recent version, I would suggest to drop input-tools indeed, and add a
> > Config.in.legacy option that automatically enables linuxconsoletools.
>
> Yes, I agree - The input-tools package is very old and hasn't been
> updated in close to 10 years.
>
> Will you send a patch to add the legacy handling or should I?
I wasn't planning on sending such a patch, so feel free to do it :)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 13:35 ` Thomas Petazzoni
@ 2017-06-20 18:35 ` Koen Martens
2017-06-20 19:02 ` Koen Martens
0 siblings, 1 reply; 11+ messages in thread
From: Koen Martens @ 2017-06-20 18:35 UTC (permalink / raw)
To: buildroot
On Tue, Jun 20, 2017 at 03:35:44PM +0200, Thomas Petazzoni wrote:
> On Tue, 20 Jun 2017 15:19:36 +0200, Peter Korsgaard wrote:
> > > Since linuxconsoletools provides the three utilities provided by
> > > input-tools, has a name matching the upstream project, and uses a more
> > > recent version, I would suggest to drop input-tools indeed, and add a
> > > Config.in.legacy option that automatically enables linuxconsoletools.
> >
> > Yes, I agree - The input-tools package is very old and hasn't been
> > updated in close to 10 years.
> >
> > Will you send a patch to add the legacy handling or should I?
>
> I wasn't planning on sending such a patch, so feel free to do it :)
If no-one beats me to it, i can create it tomorrow.
- Koen
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package
2017-06-20 18:35 ` Koen Martens
@ 2017-06-20 19:02 ` Koen Martens
0 siblings, 0 replies; 11+ messages in thread
From: Koen Martens @ 2017-06-20 19:02 UTC (permalink / raw)
To: buildroot
On Tue, Jun 20, 2017 at 08:35:15PM +0200, Koen Martens wrote:
> On Tue, Jun 20, 2017 at 03:35:44PM +0200, Thomas Petazzoni wrote:
> > On Tue, 20 Jun 2017 15:19:36 +0200, Peter Korsgaard wrote:
> > > > Since linuxconsoletools provides the three utilities provided by
> > > > input-tools, has a name matching the upstream project, and uses a more
> > > > recent version, I would suggest to drop input-tools indeed, and add a
> > > > Config.in.legacy option that automatically enables linuxconsoletools.
> > >
> > > Yes, I agree - The input-tools package is very old and hasn't been
> > > updated in close to 10 years.
> > >
> > > Will you send a patch to add the legacy handling or should I?
> >
> > I wasn't planning on sending such a patch, so feel free to do it :)
>
> If no-one beats me to it, i can create it tomorrow.
Or today....
https://patchwork.ozlabs.org/patch/778450/
- Koen
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-06-20 19:02 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 16:55 [Buildroot] [PATCH v2 1/1] linuxconsoletools: new package Koen Martens
2017-06-19 19:44 ` Thomas Petazzoni
2017-06-19 19:51 ` Koen Martens
2017-06-19 20:08 ` Thomas Petazzoni
2017-06-20 12:08 ` Peter Korsgaard
2017-06-20 12:48 ` Koen Martens
2017-06-20 13:05 ` Thomas Petazzoni
2017-06-20 13:19 ` Peter Korsgaard
2017-06-20 13:35 ` Thomas Petazzoni
2017-06-20 18:35 ` Koen Martens
2017-06-20 19:02 ` Koen Martens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox