From patchwork Tue Jun 20 18:54:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Martens X-Patchwork-Id: 778450 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wsccF2Syhz9s5L for ; Wed, 21 Jun 2017 05:00:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7BA3786493; Tue, 20 Jun 2017 19:00:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NSRLkV5nlHZG; Tue, 20 Jun 2017 19:00:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 71F05862AD; Tue, 20 Jun 2017 19:00:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 120E51CE9E6 for ; Tue, 20 Jun 2017 19:00:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 096A683F4B for ; Tue, 20 Jun 2017 19:00:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SZZJrq1WZ4wX for ; Tue, 20 Jun 2017 19:00:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx1.sonologic.net (mx1.sonologic.net [178.63.120.202]) by whitealder.osuosl.org (Postfix) with ESMTPS id E7F3A82C8C for ; Tue, 20 Jun 2017 19:00:23 +0000 (UTC) Received-SPF: pass (mx1.sonologic.net: authenticated connection) receiver=mx1.sonologic.net; client-ip=178.63.120.221; helo=monk.sonologic.nl; envelope-from=gmc@sonologic.nl; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from monk.sonologic.nl (batman.sonologic.net [178.63.120.221]) (authenticated bits=0) by mx1.sonologic.net (8.15.2/8.15.2) with ESMTPA id v5KJ0K33080969 for ; Tue, 20 Jun 2017 19:00:21 GMT (envelope-from gmc@sonologic.nl) Message-Id: <201706201900.v5KJ0K33080969@mx1.sonologic.net> X-Authentication-Warning: mx1.sonologic.net: Host batman.sonologic.net [178.63.120.221] claimed to be monk.sonologic.nl From: Koen Martens To: buildroot@busybox.net Date: Tue, 20 Jun 2017 20:54:49 +0200 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mx1.sonologic.net [178.63.120.202]); Tue, 20 Jun 2017 19:00:22 +0000 (UTC) Subject: [Buildroot] [PATCH] package/input-tools: remove input-tools X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" remove input-tools, has been obsoleted by linuxconsoletools linuxconsoletools uses the same name as upstream and carries the latest version of the tools installed by input-tools Signed-off-by: Koen Martens --- Config.in.legacy | 38 +++++++++++++++++++++++++++++++ package/Config.in | 1 - package/input-tools/0001-rint.patch | 18 --------------- package/input-tools/Config.in | 27 ---------------------- package/input-tools/input-tools.hash | 4 ---- package/input-tools/input-tools.mk | 44 ------------------------------------ 6 files changed, 38 insertions(+), 94 deletions(-) delete mode 100644 package/input-tools/0001-rint.patch delete mode 100644 package/input-tools/Config.in delete mode 100644 package/input-tools/input-tools.hash delete mode 100644 package/input-tools/input-tools.mk diff --git a/Config.in.legacy b/Config.in.legacy index a5f7288..52250a5 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -145,6 +145,44 @@ endif ############################################################################### comment "Legacy options removed in 2017.08" +config BR2_PACKAGE_INPUT_TOOLS + bool "input-tools removed" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + help + input-tools has been removed, it's replaced by + linuxconsoletools, which has automatically been enabled. + +config BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH + bool "inputattach moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH + help + input-tools has been removed, inputattach is now part + of linuxconsoletools, which has automatically been + enabled. + +config BR2_PACKAGE_INPUT_TOOLS_JSCAL + bool "jscal moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK + help + input-tools has been removed, jscal is now part + of linuxconsoletools, which has automatically been + enabled. + +config BR2_PACKAGE_INPUT_TOOLS_JSTEST + bool "jstest moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK + help + input-tools has been removed, jstest is now part + of linuxconsoletools, which has automatically been + enabled. + config BR2_GCC_VERSION_4_8_X bool "gcc 4.8.x support removed" select BR2_LEGACY diff --git a/package/Config.in b/package/Config.in index 9df0b42..aa124e7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -410,7 +410,6 @@ endmenu source "package/i2c-tools/Config.in" source "package/i7z/Config.in" source "package/input-event-daemon/Config.in" - source "package/input-tools/Config.in" source "package/intel-microcode/Config.in" source "package/iostat/Config.in" source "package/ipmitool/Config.in" diff --git a/package/input-tools/0001-rint.patch b/package/input-tools/0001-rint.patch deleted file mode 100644 index b2aa13f..0000000 --- a/package/input-tools/0001-rint.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -urN joystick-20051019.orig/utils/jscal.c joystick-20051019/utils/jscal.c ---- joystick-20051019.orig/utils/jscal.c 2004-10-19 09:51:52.000000000 +0200 -+++ joystick-20051019/utils/jscal.c 2009-01-18 10:48:50.000000000 +0100 -@@ -141,10 +141,10 @@ - c = 32767.0 / (inputs.cmin[1] - inputs.cmax[0]); - d = 32767.0 / (inputs.cmin[2] - inputs.cmax[1]); - -- results[0] = rint(a); -- results[1] = rint(b); -- results[2] = rint(c*16384.0); -- results[3] = rint(d*16384.0); -+ results[0] = (int) (a + 0.5); -+ results[1] = (int) (b + 0.5); -+ results[2] = (int) (c*16384.0 + 0.5); -+ results[3] = (int) (d*16384.0 + 0.5); - - return 1; - } diff --git a/package/input-tools/Config.in b/package/input-tools/Config.in deleted file mode 100644 index 85b4fd0..0000000 --- a/package/input-tools/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_INPUT_TOOLS - bool "input-tools" - help - Tools for the Linux kernel input layer. - http://linuxconsole.sourceforge.net/ - -if BR2_PACKAGE_INPUT_TOOLS - -config BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH - bool "inputattach" - default y - help - Inputattach is used for attaching a serial line to the input layer. - -config BR2_PACKAGE_INPUT_TOOLS_JSCAL - bool "jscal" - default y - help - Joystick calibration program. - -config BR2_PACKAGE_INPUT_TOOLS_JSTEST - bool "jstest" - default y - help - Joystick test program. - -endif diff --git a/package/input-tools/input-tools.hash b/package/input-tools/input-tools.hash deleted file mode 100644 index 53b0f92..0000000 --- a/package/input-tools/input-tools.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/j/joystick/joystick_20051019-12.dsc -sha256 cb60cb62093f1889a91fcef1cc36546aba406f451941e8d057f095639e6afb89 joystick_20051019.orig.tar.gz -# From http://snapshot.debian.org/archive/debian/20090630T220234Z/pool/main/j/joystick/joystick_20051019-5.dsc -sha256 01e9d14a656d594a3e261751233200f740a09c2a538ac71447c104ffe89ec10c joystick_20051019-5.diff.gz diff --git a/package/input-tools/input-tools.mk b/package/input-tools/input-tools.mk deleted file mode 100644 index 6189b3e..0000000 --- a/package/input-tools/input-tools.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# input-tools -# -################################################################################ - -INPUT_TOOLS_VERSION = 20051019 -INPUT_TOOLS_SOURCE = joystick_$(INPUT_TOOLS_VERSION).orig.tar.gz -INPUT_TOOLS_PATCH = joystick_$(INPUT_TOOLS_VERSION)-5.diff.gz -INPUT_TOOLS_SITE = http://snapshot.debian.org/archive/debian/20101023T043132Z/pool/main/j/joystick -INPUT_TOOLS_LICENSE = GPL-2.0+ -INPUT_TOOLS_LICENSE_FILES = utils/Makefile - -INPUT_TOOLS_TARGETS_$(BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH) += inputattach -INPUT_TOOLS_TARGETS_$(BR2_PACKAGE_INPUT_TOOLS_JSCAL) += jscal -INPUT_TOOLS_TARGETS_$(BR2_PACKAGE_INPUT_TOOLS_JSTEST) += jstest - -define INPUT_TOOLS_DEBIAN_PATCHES - if [ -d $(@D)/debian/patches ]; then \ - $(APPLY_PATCHES) $(@D) $(@D)/debian/patches \*.patch; \ - fi -endef - -INPUT_TOOLS_POST_PATCH_HOOKS = INPUT_TOOLS_DEBIAN_PATCHES - -# jscal needs -lm -define INPUT_TOOLS_BUILD_CMDS - for i in $(filter-out jscal,$(INPUT_TOOLS_TARGETS_y)); do \ - $(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$$i $(@D)/utils/$$i.c \ - $(TARGET_LDFLAGS); \ - done - for i in $(filter jscal,$(INPUT_TOOLS_TARGETS_y)); do \ - $(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$$i $(@D)/utils/$$i.c \ - $(TARGET_LDFLAGS) -lm; \ - done -endef - -define INPUT_TOOLS_INSTALL_TARGET_CMDS - for i in $(INPUT_TOOLS_TARGETS_y); do \ - $(INSTALL) -m 755 -D $(@D)/$$i $(TARGET_DIR)/usr/bin/$$i; \ - done -endef - -$(eval $(generic-package))