From dcae760d1147e865b7a7073aa7e1190c3e43f4da Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Thu, 27 Feb 2025 19:55:38 +0100 Subject: [PATCH] package/libcec: bump version to 7.0.0 Release notes: https://github.com/Pulse-Eight/libcec/releases/tag/libcec-7.0.0 Removed patch which is included in this release. License file was renamed upstream: https://github.com/Pulse-Eight/libcec/commit/da640961528178e82a447038446db4afe31a899e Signed-off-by: Bernd Kuhls [Julien: update .checkpackageignore to fix check-package error] Signed-off-by: Julien Olivain --- .checkpackageignore | 1 - .../0001-cecloader-h-fix-null-return.patch | 37 ------------------- package/libcec/libcec.hash | 4 +- package/libcec/libcec.mk | 4 +- 4 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 package/libcec/0001-cecloader-h-fix-null-return.patch diff --git a/.checkpackageignore b/.checkpackageignore index e97d2ebdf9..08285eadcc 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -620,7 +620,6 @@ package/libavl/0001-fix-makefile.patch lib_patch.Upstream package/libb64/0001-Integer-overflows.patch lib_patch.Upstream package/libb64/0002-Initialize-C++-objects.patch lib_patch.Upstream package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch lib_patch.Upstream -package/libcec/0001-cecloader-h-fix-null-return.patch lib_patch.Upstream package/libcgi/0001-CMakeLists.txt-honour-BUILD_TESTING.patch lib_patch.Upstream package/libcgicc/0001-disable-documentation-option.patch lib_patch.Sob lib_patch.Upstream package/libconfuse/0001-Fix-163-unterminated-username-used-with-getpwnam.patch lib_patch.Upstream diff --git a/package/libcec/0001-cecloader-h-fix-null-return.patch b/package/libcec/0001-cecloader-h-fix-null-return.patch deleted file mode 100644 index 424e41c0ae..0000000000 --- a/package/libcec/0001-cecloader-h-fix-null-return.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 452b2049b2ee3e73968c603e5524b2d349ac0c3e Mon Sep 17 00:00:00 2001 -From: psykose -Date: Sat, 9 Apr 2022 17:59:11 +0000 -Subject: [PATCH] cecloader.h: fix null return - -returning NULL is invalid for a return type of bool when NULL is defined -as `nullptr` instead of 0L - -[Retrieved from: -https://github.com/Pulse-Eight/libcec/pull/599/commits/452b2049b2ee3e73968c603e5524b2d349ac0c3e] -Signed-off-by: Fabrice Fontaine ---- - include/cecloader.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/cecloader.h b/include/cecloader.h -index be76468f..550f598e 100644 ---- a/include/cecloader.h -+++ b/include/cecloader.h -@@ -172,7 +172,7 @@ bool LibCecBootloader(const char *strLib = NULL) - if (!g_libCEC) - { - std::cout << dlerror() << std::endl; -- return NULL; -+ return false; - } - } - -@@ -181,7 +181,7 @@ bool LibCecBootloader(const char *strLib = NULL) - if (!LibCecBootloader) - { - std::cout << "cannot find CECStartBootloader" << std::endl; -- return NULL; -+ return false; - } - - bool bReturn = LibCecBootloader(); diff --git a/package/libcec/libcec.hash b/package/libcec/libcec.hash index 3e5a443057..b019f53a5f 100644 --- a/package/libcec/libcec.hash +++ b/package/libcec/libcec.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377 libcec-6.0.2.tar.gz -sha256 0137261d24ce001fc5237aacddd267533e0f150ac23cf21acffea599f7358f7a COPYING +sha256 7f9e57ae9fad37649adb6749b8f1310a71ccf3e92ae8b2d1cc9e8ae2d1da83f8 libcec-7.0.0.tar.gz +sha256 0137261d24ce001fc5237aacddd267533e0f150ac23cf21acffea599f7358f7a LICENSE.md diff --git a/package/libcec/libcec.mk b/package/libcec/libcec.mk index 33e0463eb8..a45f074c30 100644 --- a/package/libcec/libcec.mk +++ b/package/libcec/libcec.mk @@ -4,10 +4,10 @@ # ################################################################################ -LIBCEC_VERSION = 6.0.2 +LIBCEC_VERSION = 7.0.0 LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION)) LIBCEC_LICENSE = GPL-2.0+ -LIBCEC_LICENSE_FILES = COPYING +LIBCEC_LICENSE_FILES = LICENSE.md LIBCEC_INSTALL_STAGING = YES LIBCEC_DEPENDENCIES = host-pkgconf libplatform