diff --git a/.checkpackageignore b/.checkpackageignore index 45fb516137..281db108d3 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -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 diff --git a/Config.in.legacy b/Config.in.legacy index aa10573c23..3636228440 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -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 diff --git a/package/Config.in b/package/Config.in index 83fc6c906d..d9af39b900 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/libhid/0001-dont-fiddle-with-debug-flags.patch b/package/libhid/0001-dont-fiddle-with-debug-flags.patch deleted file mode 100644 index 44a172877a..0000000000 --- a/package/libhid/0001-dont-fiddle-with-debug-flags.patch +++ /dev/null @@ -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 - -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") diff --git a/package/libhid/0002-no-newline-in-ldflags.patch b/package/libhid/0002-no-newline-in-ldflags.patch deleted file mode 100644 index df845ee1f5..0000000000 --- a/package/libhid/0002-no-newline-in-ldflags.patch +++ /dev/null @@ -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 - -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 - diff --git a/package/libhid/0003-uclinux.patch b/package/libhid/0003-uclinux.patch deleted file mode 100644 index 9f4502ada9..0000000000 --- a/package/libhid/0003-uclinux.patch +++ /dev/null @@ -1,29 +0,0 @@ -Good old 'uclinux is also linux' - -Signed-off-by: Gustavo Zacarias -[Dario: make the patch to be applied with fuzz factor 0] -Signed-off-by: Dario Binacchi - -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 diff --git a/package/libhid/Config.in b/package/libhid/Config.in deleted file mode 100644 index abf338fdc7..0000000000 --- a/package/libhid/Config.in +++ /dev/null @@ -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 diff --git a/package/libhid/libhid.hash b/package/libhid/libhid.hash deleted file mode 100644 index 933ba22a92..0000000000 --- a/package/libhid/libhid.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5 libhid-0.2.16.tar.gz -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/package/libhid/libhid.mk b/package/libhid/libhid.mk deleted file mode 100644 index b2e890c358..0000000000 --- a/package/libhid/libhid.mk +++ /dev/null @@ -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))