package/libhid: drop package
The upstream location has been dead for 10 years and hidapi is a better alternative nowadays, so drop it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
d0a21056da
commit
20b240a9a2
@@ -682,9 +682,6 @@ package/libgsm/0001-Misc-fixes-from-Archlinux.patch lib_patch.Upstream
|
||||
package/libgtk2/0001-reduce-dependencies.patch lib_patch.Upstream
|
||||
package/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch lib_patch.Upstream
|
||||
package/libhdhomerun/0001-dont-strip.patch lib_patch.Upstream
|
||||
package/libhid/0001-dont-fiddle-with-debug-flags.patch lib_patch.Upstream
|
||||
package/libhid/0002-no-newline-in-ldflags.patch lib_patch.Upstream
|
||||
package/libhid/0003-uclinux.patch lib_patch.Upstream
|
||||
package/libical/0001-no-tests.patch lib_patch.Upstream
|
||||
package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch lib_patch.Upstream
|
||||
package/libiio/S99iiod Shellcheck lib_sysv.Variables
|
||||
|
||||
@@ -146,6 +146,14 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2025.02"
|
||||
|
||||
config BR2_PACKAGE_LIBHID
|
||||
bool "libhid has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libhid package was removed as it is not maintained
|
||||
anymore and the upstream URL is gone. Consider using hidapi
|
||||
instead.
|
||||
|
||||
config BR2_PACKAGE_QUAGGA
|
||||
bool "quagga has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -1822,7 +1822,6 @@ menu "Hardware handling"
|
||||
source "package/libgpiod/Config.in"
|
||||
source "package/libgpiod2/Config.in"
|
||||
source "package/libgudev/Config.in"
|
||||
source "package/libhid/Config.in"
|
||||
source "package/libiio/Config.in"
|
||||
source "package/libinput/Config.in"
|
||||
source "package/libiqrf/Config.in"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
MD_CONF_DEBUGGING changes CFLAGS and CXXFLAGS with a horrible magic so disable
|
||||
it to prevent compilation errors.
|
||||
|
||||
downloaded from
|
||||
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch?revision=1.1&view=markup
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr libhid-0.2.16.org/configure.ac libhid-0.2.16/configure.ac
|
||||
--- libhid-0.2.16.org/configure.ac 2007-04-01 22:32:10.000000000 +0200
|
||||
+++ libhid-0.2.16/configure.ac 2014-10-19 21:31:00.550091947 +0200
|
||||
@@ -78,7 +78,6 @@
|
||||
AC_C_BIGENDIAN
|
||||
AC_C_STRINGIZE
|
||||
|
||||
-MD_CONF_DEBUGGING
|
||||
MD_CONF_COMPILER
|
||||
AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")
|
||||
AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
|
||||
@@ -1,22 +0,0 @@
|
||||
Fix improper usage of macro that introduces a wrong newline
|
||||
|
||||
The MD_CONF_FLAGS() macro was used with a final newline that
|
||||
introduces an invalid newline in the middle of the macro expansion
|
||||
when defining LDFLAGS.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: libhid-0.2.16/configure.ac
|
||||
===================================================================
|
||||
--- libhid-0.2.16.orig/configure.ac 2007-04-01 22:32:10.000000000 +0200
|
||||
+++ libhid-0.2.16/configure.ac 2012-12-12 20:24:03.000000000 +0100
|
||||
@@ -102,8 +102,7 @@
|
||||
[],
|
||||
[$OS_CFLAGS $LIBUSB_CFLAGS],
|
||||
[],
|
||||
- [$OS_LDFLAGS $LIBUSB_LIBS]
|
||||
-)
|
||||
+ [$OS_LDFLAGS $LIBUSB_LIBS])
|
||||
|
||||
MD_CONF_DB2MAN
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
Good old 'uclinux is also linux'
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
[Dario: make the patch to be applied with fuzz factor 0]
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
|
||||
diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac
|
||||
--- libhid-0.2.16.orig/configure.ac 2014-06-22 09:35:50.277261742 -0300
|
||||
+++ libhid-0.2.16/configure.ac 2014-06-22 09:36:10.688951947 -0300
|
||||
@@ -79,6 +79,7 @@
|
||||
AC_C_STRINGIZE
|
||||
|
||||
MD_CONF_COMPILER
|
||||
+AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux")
|
||||
AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")
|
||||
AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd")
|
||||
AM_CONDITIONAL(OS_SOLARIS, test "$MD_OS" = "solaris")
|
||||
diff -Nura libhid-0.2.16.orig/m4/md_check_os.m4 libhid-0.2.16/m4/md_check_os.m4
|
||||
--- libhid-0.2.16.orig/m4/md_check_os.m4 2014-06-22 09:35:50.275261675 -0300
|
||||
+++ libhid-0.2.16/m4/md_check_os.m4 2014-06-22 09:46:17.651475891 -0300
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_CANONICAL_HOST
|
||||
AC_MSG_CHECKING(for target OS)
|
||||
case $host in
|
||||
- *-linux*)
|
||||
+ *-linux*|*-uclinux*)
|
||||
AC_DEFINE(OS_LINUX, [], [define to 1 if building for Linux])
|
||||
AC_SUBST(OS_LINUX)
|
||||
MD_OS=linux
|
||||
@@ -1,14 +0,0 @@
|
||||
config BR2_PACKAGE_LIBHID
|
||||
bool "libhid"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBUSB_COMPAT
|
||||
help
|
||||
Userspace library for accessing USB HID devices
|
||||
|
||||
https://directory.fsf.org/wiki/Libhid
|
||||
|
||||
comment "libhid needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -1,3 +0,0 @@
|
||||
# locally computed
|
||||
sha256 f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5 libhid-0.2.16.tar.gz
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
@@ -1,23 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# libhid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBHID_VERSION = 0.2.16
|
||||
LIBHID_SITE = http://sources.buildroot.net
|
||||
LIBHID_DEPENDENCIES = libusb-compat libusb
|
||||
LIBHID_INSTALL_STAGING = YES
|
||||
LIBHID_AUTORECONF = YES
|
||||
LIBHID_LICENSE = GPL-2.0
|
||||
LIBHID_LICENSE_FILES = COPYING
|
||||
# configure runs libusb-config for cflags/ldflags. Ensure it picks up
|
||||
# the target version
|
||||
LIBHID_CONF_ENV = PATH=$(STAGING_DIR)/usr/bin:$(BR_PATH)
|
||||
LIBHID_CONF_OPTS = \
|
||||
--disable-swig \
|
||||
--disable-werror \
|
||||
--without-doxygen \
|
||||
--disable-package-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user