diff --git a/.checkpackageignore b/.checkpackageignore index c48a0a5b18..a23fbf64a2 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -523,7 +523,6 @@ 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/libcgicc/0001-disable-documentation-option.patch lib_patch.Sob lib_patch.Upstream -package/libcuefile/0001-fix-static-link.patch lib_patch.Upstream package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch lib_patch.Upstream package/libdnet/0001-python-makefile.patch lib_patch.Upstream package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch lib_patch.Upstream diff --git a/Config.in.legacy b/Config.in.legacy index 28c90b32d1..44351cf3ca 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2026.02" +config BR2_PACKAGE_LIBCUEFILE + bool "libcuefile has been removed" + select BR2_LEGACY + help + libcuefile is unmaintained and has been removed + config BR2_PACKAGE_MPD_MUSEPACK bool "musepack support in mpd has been removed" select BR2_LEGACY diff --git a/package/Config.in b/package/Config.in index e54a5e0fa5..0b11a7df48 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1547,7 +1547,6 @@ menu "Audio/Sound" source "package/libcdio-paranoia/Config.in" source "package/libcodec2/Config.in" source "package/libcue/Config.in" - source "package/libcuefile/Config.in" source "package/libg7221/Config.in" source "package/libgsm/Config.in" source "package/libid3tag/Config.in" diff --git a/package/libcuefile/0001-fix-static-link.patch b/package/libcuefile/0001-fix-static-link.patch deleted file mode 100644 index 6eb58909fd..0000000000 --- a/package/libcuefile/0001-fix-static-link.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix static only build - -Make sure to build the shared library only if BUILD_SHARED_LIBS is -ON. Normally, CMake takes care of this automatically, but libcuefile -wants to build both the shared and static variants, so the normal -logic of CMake doesn't apply. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/CMakeLists.txt -=================================================================== ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -4,7 +4,11 @@ - add_library(cuefile-static STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan) - set_target_properties(cuefile-static PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1) - -+if (BUILD_SHARED_LIBS) - add_library(cuefile-shared SHARED cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan) - set_target_properties(cuefile-shared PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1 VERSION 0.0.0 SOVERSION 0) - - install(TARGETS cuefile-static cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") -+else (BUILD_SHARED_LIBS) -+install(TARGETS cuefile-static LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") -+endif (BUILD_SHARED_LIBS) diff --git a/package/libcuefile/0002-libcuefile-fedora-c99.patch b/package/libcuefile/0002-libcuefile-fedora-c99.patch deleted file mode 100644 index 3f76dd315c..0000000000 --- a/package/libcuefile/0002-libcuefile-fedora-c99.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19 Mon Sep 17 00:00:00 2001 -From: DJ Delorie -Date: Thu, 27 Apr 2023 17:24:58 -0400 -Subject: [PATCH] Fix C99 compatibility issue - -Related to: - - - - -See Also https://bugzilla.redhat.com/show_bug.cgi?id=2190307 -Signed-off-by: DJ Delorie -Signed-off-by: Dario Binacchi -Upstream: https://src.fedoraproject.org/rpms/libcuefile/blob/7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19/f/libcuefile-fedora-c99.patch ---- -diff -rup a/src/cue_parse.c b/src/cue_parse.c ---- a/src/cue_parse.c 2011-06-18 07:28:43.000000000 -0400 -+++ b/src/cue_parse.c 2023-04-27 16:10:13.314263314 -0400 -@@ -1513,6 +1513,8 @@ void yyerror (char *s) - fprintf(stderr, "%d: %s\n", cue_lineno, s); - } - -+void cue_delete_buffer(void); -+ - Cd *cue_parse (FILE *fp) - { - cue_yyin = fp; diff --git a/package/libcuefile/0003-CMakeLists.txt-fix-compat-with-CMake-4.patch b/package/libcuefile/0003-CMakeLists.txt-fix-compat-with-CMake-4.patch deleted file mode 100644 index c1858f3fa5..0000000000 --- a/package/libcuefile/0003-CMakeLists.txt-fix-compat-with-CMake-4.patch +++ /dev/null @@ -1,35 +0,0 @@ -From bf7598c2f5a40d16f16a9649bb6415c3594c0a45 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 16 Dec 2025 10:26:49 +0100 -Subject: [PATCH] CMakeLists.txt: fix compat with CMake 4 - -Fixes: - -CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): - Compatibility with CMake < 3.5 has been removed from CMake. - - Update the VERSION argument value. Or, use the ... syntax - to tell CMake that the project requires at least but has been updated - to work with policies introduced by or earlier. - - Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. - -Upstream: N/A, dead -Signed-off-by: Thomas Petazzoni ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c1e4a8b..96bf5b4 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --CMAKE_MINIMUM_REQUIRED(VERSION 2.4) -+CMAKE_MINIMUM_REQUIRED(VERSION 3.5) - - project(libcuefile C) - --- -2.52.0 - diff --git a/package/libcuefile/Config.in b/package/libcuefile/Config.in deleted file mode 100644 index 416b3e1495..0000000000 --- a/package/libcuefile/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_LIBCUEFILE - bool "libcuefile" - help - Cue File library from Musepack - - http://www.musepack.net/ diff --git a/package/libcuefile/libcuefile.hash b/package/libcuefile/libcuefile.hash deleted file mode 100644 index 2f737af0dc..0000000000 --- a/package/libcuefile/libcuefile.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://www.musepack.net/index.php?pg=src -md5 1a6ac52e1080fd54f0f59372345f1e4e libcuefile_r475.tar.gz -# Calculated based on the hash above -sha256 b681ca6772b3f64010d24de57361faecf426ee6182f5969fcf29b3f649133fe7 libcuefile_r475.tar.gz - -# Hash for license file: -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/package/libcuefile/libcuefile.mk b/package/libcuefile/libcuefile.mk deleted file mode 100644 index 891c1eec37..0000000000 --- a/package/libcuefile/libcuefile.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# libcuefile -# -################################################################################ - -LIBCUEFILE_VERSION = 475 -LIBCUEFILE_SITE = http://files.musepack.net/source -LIBCUEFILE_SOURCE = libcuefile_r$(LIBCUEFILE_VERSION).tar.gz -LIBCUEFILE_INSTALL_STAGING = YES -LIBCUEFILE_LICENSE = GPL-2.0+ -LIBCUEFILE_LICENSE_FILES = COPYING - -define LIBCUEFILE_INSTALL_STAGING_INCLUDES - cp -r $(@D)/include $(STAGING_DIR)/usr -endef - -define LIBCUEFILE_INSTALL_TARGET_INCLUDES - cp -r $(@D)/include $(TARGET_DIR)/usr -endef - -LIBCUEFILE_POST_INSTALL_STAGING_HOOKS += LIBCUEFILE_INSTALL_STAGING_INCLUDES -LIBCUEFILE_POST_INSTALL_TARGET_HOOKS += LIBCUEFILE_INSTALL_TARGET_INCLUDES - -$(eval $(cmake-package))