package/kbd: bump version to 2.0.4
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 24 Jul 2017 18:36:21 +0000 (20:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Jul 2017 19:52:44 +0000 (21:52 +0200)
Removed patches applied upstream

0001-add-configure-flag-to-disable-tests.patch
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=baeb5aa827d956bd06492775dc5bd9f89d394149

0002-Link-against-libintl-when-needed.patch
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=b08caa2e3db53ea4263d0236c83a0df11a40a569

Autoreconf is not necessary anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kbd/0001-add-configure-flag-to-disable-tests.patch [deleted file]
package/kbd/0002-Link-against-libintl-when-needed.patch [deleted file]
package/kbd/kbd.hash
package/kbd/kbd.mk

diff --git a/package/kbd/0001-add-configure-flag-to-disable-tests.patch b/package/kbd/0001-add-configure-flag-to-disable-tests.patch
deleted file mode 100644 (file)
index 28983e9..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-From baeb5aa827d956bd06492775dc5bd9f89d394149 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Mon, 13 Jul 2015 23:38:41 -0400
-Subject: [PATCH] add configure flag to disable tests
-
-The tests require the check package to be installed.  There is a configure
-test for this package (which is good), but it's unconditional (which is
-bad) as it means you can't even build & install kbd w/out the check
-package being installed.
-
-URL: https://bugs.gentoo.org/485116
-Reported-by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
----
- Makefile.am  |  5 ++++-
- configure.ac | 17 +++++++++++++++--
- 2 files changed, 19 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 89c7e83..f855110 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -8,7 +8,10 @@ EXTRA_DIST = \
-       CREDITS \
-       contrib docs rc
--SUBDIRS = src data po tests docs
-+SUBDIRS = src data po docs
-+if BUILD_TESTS
-+SUBDIRS += tests
-+endif
- kbd-$(VERSION).tar.xz:
-       make distcheck
-diff --git a/configure.ac b/configure.ac
-index d0b462b..f659758 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -10,8 +10,21 @@ AC_CONFIG_MACRO_DIR([m4])
- AM_INIT_AUTOMAKE([1.9 -Wall color-tests dist-xz])
- AC_CONFIG_SRCDIR([src/loadkeys.c])
- AC_CONFIG_HEADERS(config.h)
--
--PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
-+PKG_PROG_PKG_CONFIG
-+
-+AC_ARG_ENABLE(tests,
-+      [AS_HELP_STRING([--disable-tests], [do not build tests])],
-+      [build_tests=$enableval], [build_tests=auto])
-+if test "$build_tests" != "no"; then
-+      PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],
-+              [build_tests="yes"], [
-+                      if test "$build_tests" = "yes"; then
-+                              AC_MSG_ERROR([tests requested, but check package is missing])
-+                      fi
-+                      build_tests="no"
-+              ])
-+fi
-+AM_CONDITIONAL(BUILD_TESTS, test "$build_tests" != "no")
- m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
- AM_SILENT_RULES([yes])
--- 
-2.6.4
-
diff --git a/package/kbd/0002-Link-against-libintl-when-needed.patch b/package/kbd/0002-Link-against-libintl-when-needed.patch
deleted file mode 100644 (file)
index d28f0c8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-From 008e7dc0ae46281360be62b7d69cd13e0a7f7e14 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Sun, 7 Feb 2016 18:24:35 +0100
-Subject: [PATCH] Link against libintl when needed
-
-Since the kbd code uses gettext functionality, it should link with the
-libintl library using the @INTLLIBS@ symbol provided by the gettext m4
-macro. This is necessary on C libraries that don't provide a built-in
-gettext functionality, and rely on the libintl library provided by
-gettext, as is the case with the uClibc C library.
-
-@INTLLIBS@ is empty when linking a separate library is not needed, as
-is the case with the glibc C library.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- src/Makefile.am   | 2 +-
- tests/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 40e8083..d4e0583 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -80,7 +80,7 @@ mapscrn_CFLAGS = -DMAIN
- loadunimap_CFLAGS = -DMAIN
- noinst_LIBRARIES = libcommon.a libfont.a
--LDADD = libcommon.a libfont.a libkeymap/libkeymap.la
-+LDADD = libcommon.a libfont.a libkeymap/libkeymap.la @INTLLIBS@
- install-exec-hook:
-       for i in psfaddtable psfgettable psfstriptable; do \
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 1976333..848fd31 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
-       -DDATADIR=\"$(srcdir)\" -DBUILDDIR=\"$(builddir)\"
- AM_CFLAGS = $(CHECK_CFLAGS)
--LDADD  = $(top_builddir)/src/libkeymap/libkeymap.la $(CHECK_LIBS)
-+LDADD  = $(top_builddir)/src/libkeymap/libkeymap.la $(CHECK_LIBS) @INTLLIBS@
- EXTRA_DIST = \
-       alt-is-meta.in \
--- 
-2.6.4
-
index 39a4cddb6e9312e7c9ed03c1601b842d74503691..3fed6ace0ef933197e07602d7787526a9e9c7dd0 100644 (file)
@@ -1,2 +1,2 @@
 # From https://www.kernel.org/pub/linux/utils/kbd/sha256sums.asc
-sha256 7a899de1c0eb75f3aea737095a736f2375e1cbfbe693fc14a3fe0bfb4649fb5e        kbd-2.0.3.tar.xz
+sha256 5fd90af6beb225a9bb9b9fb414c090fba53c9a55793e172f508cd43652e59a88  kbd-2.0.4.tar.xz
index a4873f3a08e4a0385cfba42af9698dbffd434bc6..c32d82a3e9192f4a4dedfe86af5a23909f4c808f 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-KBD_VERSION = 2.0.3
+KBD_VERSION = 2.0.4
 KBD_SOURCE = kbd-$(KBD_VERSION).tar.xz
 KBD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kbd
 KBD_CONF_OPTS = \
@@ -15,7 +15,6 @@ KBD_DEPENDENCIES = \
        host-pkgconf
 KBD_LICENSE = GPL-2.0+
 KBD_LICENSE_FILES = COPYING
-KBD_AUTORECONF = YES
 
 KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install