diff mbox series

[1/1] package/dvb-apps: drop package

Message ID 20240723211300.702319-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/dvb-apps: drop package | expand

Commit Message

Fabrice Fontaine July 23, 2024, 9:13 p.m. UTC
As advocated by Thomas Petazzoni [1], drop dvb-apps as package is not
maintained anymore.

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20240723162533.549929-1-fontaine.fabrice@gmail.com

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .checkpackageignore                           |  6 ---
 Config.in.legacy                              |  7 +++
 DEVELOPERS                                    |  1 -
 package/Config.in                             |  1 -
 .../dvb-apps/0001-Fix-generate-keynames.patch | 30 -----------
 .../0002-Fix-compiler-warning-flags.patch     | 44 ----------------
 ...0003-handle-static-shared-only-build.patch | 44 ----------------
 .../dvb-apps/0004-Makefile-remove-test.patch  | 27 ----------
 ...s-fix-build-with-kernel-headers-4.14.patch | 52 -------------------
 package/dvb-apps/0006-fix-glibc-2.31.patch    | 23 --------
 package/dvb-apps/Config.in                    | 14 -----
 package/dvb-apps/dvb-apps.hash                |  6 ---
 package/dvb-apps/dvb-apps.mk                  | 44 ----------------
 13 files changed, 7 insertions(+), 292 deletions(-)
 delete mode 100644 package/dvb-apps/0001-Fix-generate-keynames.patch
 delete mode 100644 package/dvb-apps/0002-Fix-compiler-warning-flags.patch
 delete mode 100644 package/dvb-apps/0003-handle-static-shared-only-build.patch
 delete mode 100644 package/dvb-apps/0004-Makefile-remove-test.patch
 delete mode 100644 package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch
 delete mode 100644 package/dvb-apps/0006-fix-glibc-2.31.patch
 delete mode 100644 package/dvb-apps/Config.in
 delete mode 100644 package/dvb-apps/dvb-apps.hash
 delete mode 100644 package/dvb-apps/dvb-apps.mk

Comments

Thomas Petazzoni July 24, 2024, 4:18 p.m. UTC | #1
On Tue, 23 Jul 2024 23:13:00 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> As advocated by Thomas Petazzoni [1], drop dvb-apps as package is not
> maintained anymore.
> 
> [1] https://patchwork.ozlabs.org/project/buildroot/patch/20240723162533.549929-1-fontaine.fabrice@gmail.com
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .checkpackageignore                           |  6 ---
>  Config.in.legacy                              |  7 +++
>  DEVELOPERS                                    |  1 -
>  package/Config.in                             |  1 -
>  .../dvb-apps/0001-Fix-generate-keynames.patch | 30 -----------
>  .../0002-Fix-compiler-warning-flags.patch     | 44 ----------------
>  ...0003-handle-static-shared-only-build.patch | 44 ----------------
>  .../dvb-apps/0004-Makefile-remove-test.patch  | 27 ----------
>  ...s-fix-build-with-kernel-headers-4.14.patch | 52 -------------------
>  package/dvb-apps/0006-fix-glibc-2.31.patch    | 23 --------
>  package/dvb-apps/Config.in                    | 14 -----
>  package/dvb-apps/dvb-apps.hash                |  6 ---
>  package/dvb-apps/dvb-apps.mk                  | 44 ----------------
>  13 files changed, 7 insertions(+), 292 deletions(-)
>  delete mode 100644 package/dvb-apps/0001-Fix-generate-keynames.patch
>  delete mode 100644 package/dvb-apps/0002-Fix-compiler-warning-flags.patch
>  delete mode 100644 package/dvb-apps/0003-handle-static-shared-only-build.patch
>  delete mode 100644 package/dvb-apps/0004-Makefile-remove-test.patch
>  delete mode 100644 package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch
>  delete mode 100644 package/dvb-apps/0006-fix-glibc-2.31.patch
>  delete mode 100644 package/dvb-apps/Config.in
>  delete mode 100644 package/dvb-apps/dvb-apps.hash
>  delete mode 100644 package/dvb-apps/dvb-apps.mk

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 84d7dcb8d1..5a2d96a274 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -469,12 +469,6 @@  package/dropbear/S50dropbear Shellcheck lib_sysv.Indent lib_sysv.Variables
 package/dt/0001-adjust-os-symlink.patch lib_patch.Upstream
 package/dt/0002-dt-default-source-define.patch lib_patch.Upstream
 package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch lib_patch.Upstream
-package/dvb-apps/0001-Fix-generate-keynames.patch lib_patch.Upstream
-package/dvb-apps/0002-Fix-compiler-warning-flags.patch lib_patch.Upstream
-package/dvb-apps/0003-handle-static-shared-only-build.patch lib_patch.Upstream
-package/dvb-apps/0004-Makefile-remove-test.patch lib_patch.Upstream
-package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch lib_patch.Upstream
-package/dvb-apps/0006-fix-glibc-2.31.patch lib_patch.Upstream
 package/dvblast/0001-missing-lm.patch lib_patch.Upstream
 package/dvblast/0002-fix-int-types.patch lib_patch.Upstream
 package/dvbsnoop/0001-musl-types-h.patch lib_patch.Upstream
diff --git a/Config.in.legacy b/Config.in.legacy
index 94ac60b668..da6f24366c 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@  endif
 
 comment "Legacy options removed in 2024.08"
 
+config BR2_PACKAGE_DVB_APPS
+	bool "dvb-apps package removed"
+	select BR2_LEGACY
+	help
+	  The dvb-apps package was removed as it is not maintained
+	  anymore (no commit since 2014).
+
 config BR2_PACKAGE_GAMIN
 	bool "gamin package removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index a5db331904..ecde309891 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3340,7 +3340,6 @@  F:	package/dahdi-tools/
 F:	package/dbus-broker/
 F:	package/dtc/
 F:	package/dtv-scan-tables/
-F:	package/dvb-apps/
 F:	package/freerdp/
 F:	package/keyutils/
 F:	package/libbsd/
diff --git a/package/Config.in b/package/Config.in
index 1b314ca965..b5aa0bd3fa 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -502,7 +502,6 @@  endmenu
 	source "package/dtbocfg/Config.in"
 	source "package/dtv-scan-tables/Config.in"
 	source "package/dump1090/Config.in"
-	source "package/dvb-apps/Config.in"
 	source "package/dvbsnoop/Config.in"
 	source "package/edid-decode/Config.in"
 	source "package/edk2-non-osi/Config.in"
diff --git a/package/dvb-apps/0001-Fix-generate-keynames.patch b/package/dvb-apps/0001-Fix-generate-keynames.patch
deleted file mode 100644
index 498607d97d..0000000000
--- a/package/dvb-apps/0001-Fix-generate-keynames.patch
+++ /dev/null
@@ -1,30 +0,0 @@ 
-Fix generate-keynames.sh script for cross-compilation
-
-generate-keynames.sh reads /usr/include/linux to find the keyname
-symbols. However, when cross-compiling, the include path points
-somewhere else. Allow the user to pass CROSS_ROOT to point to the
-root of the cross-compilation environment.
-
-Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
----
-diff -rup dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh
---- dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh	2012-12-06 10:38:07.000000000 +0100
-+++ dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh	2013-08-29 21:47:09.717991439 +0200
-@@ -18,7 +18,7 @@ echo "};" >> $1
- echo >> $1
- echo >> $1
- echo "static struct input_key_name key_name [] = {" >> $1
--for x in $(cat /usr/include/linux/input.h input_fake.h | \
-+for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \
-            egrep "#define[ \t]+KEY_" | grep -v KEY_MAX | \
-            cut -f 1 | cut -f 2 -d " " | sort -u) ; do
-     echo "        { \"$(echo $x | cut -b 5-)\", $x }," >> $1
-@@ -26,7 +26,7 @@ done
- echo "};" >> $1
- echo >> $1
- echo "static struct input_key_name btn_name [] = {" >> $1
--for x in $(cat /usr/include/linux/input.h input_fake.h | \
-+for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \
-            egrep "#define[ \t]+BTN_" | \
-            cut -f 1 | cut -f 2 -d " " | sort -u) ; do
-      echo "        { \"$(echo $x | cut -b 5-)\", $x }," >> $1
diff --git a/package/dvb-apps/0002-Fix-compiler-warning-flags.patch b/package/dvb-apps/0002-Fix-compiler-warning-flags.patch
deleted file mode 100644
index 9c6276beb7..0000000000
--- a/package/dvb-apps/0002-Fix-compiler-warning-flags.patch
+++ /dev/null
@@ -1,44 +0,0 @@ 
-From 9b8f1df41f7579da63c27763ff184d351e4c7fef Mon Sep 17 00:00:00 2001
-From: Simon Dawson <spdawson@gmail.com>
-Date: Sun, 4 Jan 2015 12:06:18 +0100
-Subject: [PATCH] Fix compiler warning flags
-
-  When building for bfin, the build fails as follows.
-
-  cc1: error: unrecognized command line option "-Wno-packed-bitfield-compat"
-
-An example of an autobuild failure arising from this is the following.
-
-  http://autobuild.buildroot.net/results/92e/92e472004812a3616f62d766a9ea07a997a66e89/
-  http://autobuild.buildroot.net/results/6e7/6e7b48ad9768349d983985c3067c4267cde80541/
-
-Clearly, not all toolchains provide a gcc that understands
-the -Wno-packed-bitfield-compat flag; remove usage of this flag.
-
-Wno-packed-bitfield-compat option was added in gcc 4.4.
-
-[Romain:
-  - This patch is also needed for bfin toolchains which use gcc 4.3.5
-  - Add a link to bfin build failure]
-Signed-off-by: Simon Dawson <spdawson@gmail.com>
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- util/scan/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/util/scan/Makefile b/util/scan/Makefile
-index d48c478..88667c5 100644
---- a/util/scan/Makefile
-+++ b/util/scan/Makefile
-@@ -14,7 +14,7 @@ inst_bin = $(binaries)
- 
- removing = atsc_psip_section.c atsc_psip_section.h
- 
--CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES
-+CPPFLAGS += -D__KERNEL_STRICT_NAMES
- 
- .PHONY: all
- 
--- 
-1.9.3
-
diff --git a/package/dvb-apps/0003-handle-static-shared-only-build.patch b/package/dvb-apps/0003-handle-static-shared-only-build.patch
deleted file mode 100644
index 4dc7c68ac2..0000000000
--- a/package/dvb-apps/0003-handle-static-shared-only-build.patch
+++ /dev/null
@@ -1,44 +0,0 @@ 
-From a826c7c722db40bfedf00e51ce38411550ae8216 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@openwide.fr>
-Date: Thu, 25 Dec 2014 19:22:16 +0100
-Subject: [PATCH] Make.rules: Handle static/shared only build
-
-Do not build .a library when enable_static is set to "no"
-Do not build .so library when enable_shared is set to "no"
-
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- Make.rules | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/Make.rules b/Make.rules
-index 3410d7b..d274e16 100644
---- a/Make.rules
-+++ b/Make.rules
-@@ -9,7 +9,13 @@ ifneq ($(lib_name),)
- CFLAGS_LIB ?= -fPIC
- CFLAGS += $(CFLAGS_LIB)
- 
--libraries = $(lib_name).so $(lib_name).a
-+ifneq ($(enable_static),no)
-+libraries += $(lib_name).a
-+endif
-+
-+ifneq ($(enable_shared),no)
-+libraries += $(lib_name).so
-+endif
- 
- .PHONY: library
- 
-@@ -23,7 +29,7 @@ prerequisites = $(subst .o,.d,$(objects)) $(addsuffix .d,$(binaries))
- 
- .PHONY: clean install
- 
--ifeq ($(static),1)
-+ifneq ($(enable_static),no)
- LDFLAGS += -static
- endif
- 
--- 
-1.9.3
-
diff --git a/package/dvb-apps/0004-Makefile-remove-test.patch b/package/dvb-apps/0004-Makefile-remove-test.patch
deleted file mode 100644
index 45bfad914c..0000000000
--- a/package/dvb-apps/0004-Makefile-remove-test.patch
+++ /dev/null
@@ -1,27 +0,0 @@ 
-From c578772d6abc5fdf3ec83f632c371373e5baf9f1 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@openwide.fr>
-Date: Fri, 26 Dec 2014 01:04:58 +0100
-Subject: [PATCH] Makefile: remove test
-
-Tests needs static libraries, remove them for shared only build.
-
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- Makefile | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 65a2273..105c460 100644
---- a/Makefile
-+++ b/Makefile
-@@ -10,7 +10,6 @@ DVB_API_MINOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION_MINOR" $(VERSION_FI
- 
- all clean install:
- 	$(MAKE) -C lib $@
--	$(MAKE) -C test $@
- 	$(MAKE) -C util $@
- 
- update:
--- 
-1.9.3
-
diff --git a/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch b/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch
deleted file mode 100644
index 279cdecb77..0000000000
--- a/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch
+++ /dev/null
@@ -1,52 +0,0 @@ 
-# HG changeset patch
-# User "Yann E. MORIN" <yann.morin.1998@free.fr>
-# Date 1511772629 -3600
-#      Mon Nov 27 09:50:29 2017 +0100
-# Branch yem/fixes
-# Node ID 0848fa96c6eb13cf37249d317eff12cbd2f59ff7
-# Parent  3d43b280298c39a67d1d889e01e173f52c12da35
-utils: fix build with kernel headers >= 4.14
-
-In kernel 4.14, CA_SET_PID was removed, in commit 833ff5e7feda (media:
-ca.h: get rid of CA_SET_PID).
-
-Fix dst-util to not fail the build when this is missing.
-
-Fiuxes build failures such as:
-    http://autobuild.buildroot.org/results/708/708f11809b2cafc2a3375dc515803c87b376ed4d/build-end.log
-    http://autobuild.buildroot.org/results/e39/e3939d44376e92e8a35fb179d9890510334d8304/build-end.log
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-
-diff --git a/util/dst-utils/dst_test.c b/util/dst-utils/dst_test.c
---- a/util/dst-utils/dst_test.c
-+++ b/util/dst-utils/dst_test.c
-@@ -111,6 +111,7 @@
- 	return 0;
- }
- 
-+#if defined CA_SET_PID
- static int dst_set_pid(int cafd)
- {
- 	if ((ioctl(cafd, CA_SET_PID)) < 0) {
-@@ -120,6 +121,7 @@
- 
- 	return 0;
- }
-+#endif
- 
- static int dst_get_descr(int cafd)
- {
-@@ -230,8 +232,12 @@
- 				dst_reset(cafd);
- 				break;
- 			case 'p':
-+#if defined CA_SET_PID
- 				printf("%s: PID\n", __FUNCTION__);
- 				dst_set_pid(cafd);
-+#else
-+				printf("%s: PID not supported\n", __FUNCTION__);
-+#endif
- 				break;
- 			case 'g':
- 				printf("%s: Get Desc\n", __FUNCTION__);
diff --git a/package/dvb-apps/0006-fix-glibc-2.31.patch b/package/dvb-apps/0006-fix-glibc-2.31.patch
deleted file mode 100644
index 51c03d3e2e..0000000000
--- a/package/dvb-apps/0006-fix-glibc-2.31.patch
+++ /dev/null
@@ -1,23 +0,0 @@ 
-dvbdate: fix compilation error with glibc 2.31
-
-as stime func doesn't exists anymore in newer versions of glibc >= 2.31 due
-to obseletion, a replacment with clock_settime is inorder to fix the issue.
-
-Signed-off-by: Dagg Stompler <daggs@gmx.com>
-[Fabrice: fix for gcc >= 14]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
---- a/util/dvbdate/dvbdate.c
-+++ b/util/dvbdate/dvbdate.c
-@@ -309,7 +309,10 @@
-  */
- int set_time(time_t * new_time)
- {
--	if (stime(new_time)) {
-+	struct timespec s = {0};
-+	s.tv_sec = *new_time;
-+
-+	if (clock_settime(CLOCK_REALTIME, &s)) {
- 		perror("Unable to set time");
- 		return -1;
- 	}
diff --git a/package/dvb-apps/Config.in b/package/dvb-apps/Config.in
deleted file mode 100644
index 75cc14eb9b..0000000000
--- a/package/dvb-apps/Config.in
+++ /dev/null
@@ -1,14 +0,0 @@ 
-config BR2_PACKAGE_DVB_APPS
-	bool "dvb-apps"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
-	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-	help
-	  Install a small number of DVB test and utility programs,
-	  including szap and dvbscan.
-
-	  http://linuxtv.org/projects.php
-	  http://linuxtv.org/hg/dvb-apps
-
-comment "dvb-apps utils needs a toolchain w/ threads, headers >= 3.3"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
diff --git a/package/dvb-apps/dvb-apps.hash b/package/dvb-apps/dvb-apps.hash
deleted file mode 100644
index d394ced131..0000000000
--- a/package/dvb-apps/dvb-apps.hash
+++ /dev/null
@@ -1,6 +0,0 @@ 
-# Locally computed:
-sha256  926208b7e711b4bab1a909ff9bf4e6ae54acdd30a46f5d5bd700ecb088fe1f57  dvb-apps-3d43b280298c39a67d1d889e01e173f52c12da35.tar.gz
-
-# Hash for license files:
-sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
-sha256  4fd46f32582c29007657e2daad8d0a6d954cf4e9d2e47bae8f8d8c32765fc987  COPYING.LGPL
diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk
deleted file mode 100644
index 161c1f8495..0000000000
--- a/package/dvb-apps/dvb-apps.mk
+++ /dev/null
@@ -1,44 +0,0 @@ 
-################################################################################
-#
-# dvb-apps
-#
-################################################################################
-
-DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35
-DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
-DVB_APPS_SITE_METHOD = hg
-DVB_APPS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+
-DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
-
-ifeq ($(BR2_ENABLE_LOCALE),)
-DVB_APPS_DEPENDENCIES += libiconv
-DVB_APPS_LDLIBS += -liconv
-endif
-
-DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan
-
-ifeq ($(BR2_STATIC_LIBS),y)
-DVB_APPS_MAKE_OPTS += enable_shared=no
-else ifeq ($(BR2_SHARED_LIBS),y)
-DVB_APPS_MAKE_OPTS += enable_static=no
-endif
-
-DVB_APPS_INSTALL_STAGING = YES
-
-define DVB_APPS_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
-		$(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
-		$(DVB_APPS_MAKE_OPTS)
-endef
-
-define DVB_APPS_INSTALL_STAGING_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
-		$(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
-endef
-
-define DVB_APPS_INSTALL_TARGET_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
-		$(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
-endef
-
-$(eval $(generic-package))