Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/latencytop: drop package
@ 2025-02-05 12:11 Peter Korsgaard
  2025-02-05 13:15 ` Romain Naour via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2025-02-05 12:11 UTC (permalink / raw)
  To: buildroot

Fixes http://autobuild.buildroot.net/results/5b7921d1b2d347995b0088ac58b29e2f01dec39a/

The tarball is no longer available for download and the git repo on
infradead.org is also gone, there are no reverse dependencies or DEVELOPERS
entry for it and the package has not been updated since it was added in 2012
by commit cd2f78b1c5af ("New Package: latencytop"), so drop it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 .checkpackageignore                    |  1 -
 Config.in.legacy                       |  6 ++++++
 package/Config.in                      |  1 -
 package/latencytop/0001-makefile.patch | 28 --------------------------
 package/latencytop/Config.in           | 26 ------------------------
 package/latencytop/latencytop.hash     |  3 ---
 package/latencytop/latencytop.mk       | 23 ---------------------
 7 files changed, 6 insertions(+), 82 deletions(-)
 delete mode 100644 package/latencytop/0001-makefile.patch
 delete mode 100644 package/latencytop/Config.in
 delete mode 100644 package/latencytop/latencytop.hash
 delete mode 100644 package/latencytop/latencytop.mk

diff --git a/.checkpackageignore b/.checkpackageignore
index 6b45fb9e94..f66bc3d86b 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -606,7 +606,6 @@ package/keyutils/0001-fix-install-rule.patch lib_patch.Upstream
 package/keyutils/0002-cifs.patch lib_patch.Sob lib_patch.Upstream
 package/kmod/0001-fix-O_CLOEXEC.patch lib_patch.Upstream
 package/kodi/S50kodi Shellcheck lib_sysv.Variables
-package/latencytop/0001-makefile.patch lib_patch.Upstream
 package/lbase64/0001-retro-compatible-with-Lua-5.1.patch lib_patch.Upstream
 package/lcdproc/0001-LCDd.conf.patch lib_patch.Upstream
 package/lcdproc/0002-Add-missing-ioctl-header.patch lib_patch.Upstream
diff --git a/Config.in.legacy b/Config.in.legacy
index 3e3be95004..214d351e4a 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.02"
 
+config BR2_PACKAGE_LATENCYTOP
+	bool "latencytop has been removed"
+	select BR2_LEGACY
+	help
+	  The latencytop package is no longer available for download.
+
 config BR2_PACKAGE_OBSIDIAN_CURSORS
 	bool "obsidian-cursors has been removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 4896e6db76..3ec6d0d879 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -116,7 +116,6 @@ menu "Debugging, profiling and benchmark"
 	source "package/kmemd/Config.in"
 	source "package/kvm-unit-tests/Config.in"
 	source "package/kyua/Config.in"
-	source "package/latencytop/Config.in"
 	source "package/libbpf/Config.in"
 	source "package/libtraceevent/Config.in"
 	source "package/libtracefs/Config.in"
diff --git a/package/latencytop/0001-makefile.patch b/package/latencytop/0001-makefile.patch
deleted file mode 100644
index fa8c51cfd0..0000000000
--- a/package/latencytop/0001-makefile.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Usee $(CC) to enable cross compiling and link to the right ncurses library.
-
-Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
-
---- latencytop-0.5/Makefile.old	2012-04-18 11:59:39.748084334 +0100
-+++ latencytop-0.5/Makefile	2012-04-18 12:00:08.659112340 +0100
-@@ -4,7 +4,7 @@
- DESTDIR =
- SBINDIR = /usr/sbin
- XCFLAGS = -W  -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare
--LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw 
-+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncurses 
- 
- OBJS= latencytop.o text_display.o translate.o fsync.o
- 
-@@ -26,10 +26,10 @@
- 
- # We write explicity this "implicit rule"
- %.o : %.c
--	gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@
-+	$(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@
- 
- latencytop:  $(OBJS) latencytop.h Makefile
--	gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop 
-+	$(CC) $(CFLAGS) $(OBJS) $(LDF) -o latencytop 
- 
- clean:
- 	rm -f *~ latencytop DEADJOE *.o
diff --git a/package/latencytop/Config.in b/package/latencytop/Config.in
deleted file mode 100644
index b54ef052b4..0000000000
--- a/package/latencytop/Config.in
+++ /dev/null
@@ -1,26 +0,0 @@
-config BR2_PACKAGE_LATENCYTOP
-	bool "latencytop"
-	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
-	depends on BR2_USE_MMU # libglib2
-	select BR2_PACKAGE_NCURSES
-	select BR2_PACKAGE_LIBGLIB2
-	help
-	  There are many types and causes of latency. LatencyTOP
-	  focuses on the type of latency that causes skips in audio,
-	  stutters in your desktop experience or that overloads your
-	  server (while you have plenty of CPU power left).
-
-	  LatencyTOP focuses on the cases where the applications want
-	  to run and execute useful code, but there's some resource
-	  that's not currently available (and the kernel then blocks
-	  the process). This is done both on a system level and on a
-	  per process level, so that you can see what's happening to
-	  the system, and which process is suffering and/or causing
-	  the delays.
-
-	  http://www.latencytop.org
-
-comment "latencytop needs a toolchain w/ wchar, threads"
-	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/latencytop/latencytop.hash b/package/latencytop/latencytop.hash
deleted file mode 100644
index 74b8a03a23..0000000000
--- a/package/latencytop/latencytop.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# locally computed
-sha256  9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef  latencytop-0.5.tar.gz
-sha256  34d1db30ab21eaedb2c191b2787632a960090a0c63da9f5b481d84b23b98c438  latencytop.c
diff --git a/package/latencytop/latencytop.mk b/package/latencytop/latencytop.mk
deleted file mode 100644
index 56afe86062..0000000000
--- a/package/latencytop/latencytop.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-################################################################################
-#
-# latencytop
-#
-################################################################################
-
-LATENCYTOP_VERSION = 0.5
-LATENCYTOP_SITE = http://www.latencytop.org/download
-LATENCYTOP_DEPENDENCIES = libglib2 ncurses
-LATENCYTOP_LICENSE = GPL-2.0
-LATENCYTOP_LICENSE_FILES = latencytop.c
-
-# NOTE: GTK is heavy weight, we intentionally build the text (ncurses)
-# version only
-define LATENCYTOP_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=
-endef
-
-define LATENCYTOP_INSTALL_TARGET_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) HAS_GTK_GUI=
-endef
-
-$(eval $(generic-package))
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/latencytop: drop package
  2025-02-05 12:11 [Buildroot] [PATCH] package/latencytop: drop package Peter Korsgaard
@ 2025-02-05 13:15 ` Romain Naour via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Romain Naour via buildroot @ 2025-02-05 13:15 UTC (permalink / raw)
  To: Peter Korsgaard, buildroot

Hello Peter, All,

Le 05/02/2025 à 13:11, Peter Korsgaard a écrit :
> Fixes http://autobuild.buildroot.net/results/5b7921d1b2d347995b0088ac58b29e2f01dec39a/
> 
> The tarball is no longer available for download and the git repo on
> infradead.org is also gone, there are no reverse dependencies or DEVELOPERS
> entry for it and the package has not been updated since it was added in 2012
> by commit cd2f78b1c5af ("New Package: latencytop"), so drop it.

Yocto project removed this package a while ago:

https://github.com/openembedded/openembedded-core/commit/36aae56e7f86a4d5ce93e4528e7dcc42f60c705e

Applied to master, thanks.

Best regards,
Romain


> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  .checkpackageignore                    |  1 -
>  Config.in.legacy                       |  6 ++++++
>  package/Config.in                      |  1 -
>  package/latencytop/0001-makefile.patch | 28 --------------------------
>  package/latencytop/Config.in           | 26 ------------------------
>  package/latencytop/latencytop.hash     |  3 ---
>  package/latencytop/latencytop.mk       | 23 ---------------------
>  7 files changed, 6 insertions(+), 82 deletions(-)
>  delete mode 100644 package/latencytop/0001-makefile.patch
>  delete mode 100644 package/latencytop/Config.in
>  delete mode 100644 package/latencytop/latencytop.hash
>  delete mode 100644 package/latencytop/latencytop.mk
> 
> diff --git a/.checkpackageignore b/.checkpackageignore
> index 6b45fb9e94..f66bc3d86b 100644
> --- a/.checkpackageignore
> +++ b/.checkpackageignore
> @@ -606,7 +606,6 @@ package/keyutils/0001-fix-install-rule.patch lib_patch.Upstream
>  package/keyutils/0002-cifs.patch lib_patch.Sob lib_patch.Upstream
>  package/kmod/0001-fix-O_CLOEXEC.patch lib_patch.Upstream
>  package/kodi/S50kodi Shellcheck lib_sysv.Variables
> -package/latencytop/0001-makefile.patch lib_patch.Upstream
>  package/lbase64/0001-retro-compatible-with-Lua-5.1.patch lib_patch.Upstream
>  package/lcdproc/0001-LCDd.conf.patch lib_patch.Upstream
>  package/lcdproc/0002-Add-missing-ioctl-header.patch lib_patch.Upstream
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 3e3be95004..214d351e4a 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,12 @@ endif
>  
>  comment "Legacy options removed in 2025.02"
>  
> +config BR2_PACKAGE_LATENCYTOP
> +	bool "latencytop has been removed"
> +	select BR2_LEGACY
> +	help
> +	  The latencytop package is no longer available for download.
> +
>  config BR2_PACKAGE_OBSIDIAN_CURSORS
>  	bool "obsidian-cursors has been removed"
>  	select BR2_LEGACY
> diff --git a/package/Config.in b/package/Config.in
> index 4896e6db76..3ec6d0d879 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -116,7 +116,6 @@ menu "Debugging, profiling and benchmark"
>  	source "package/kmemd/Config.in"
>  	source "package/kvm-unit-tests/Config.in"
>  	source "package/kyua/Config.in"
> -	source "package/latencytop/Config.in"
>  	source "package/libbpf/Config.in"
>  	source "package/libtraceevent/Config.in"
>  	source "package/libtracefs/Config.in"
> diff --git a/package/latencytop/0001-makefile.patch b/package/latencytop/0001-makefile.patch
> deleted file mode 100644
> index fa8c51cfd0..0000000000
> --- a/package/latencytop/0001-makefile.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -Usee $(CC) to enable cross compiling and link to the right ncurses library.
> -
> -Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
> -
> ---- latencytop-0.5/Makefile.old	2012-04-18 11:59:39.748084334 +0100
> -+++ latencytop-0.5/Makefile	2012-04-18 12:00:08.659112340 +0100
> -@@ -4,7 +4,7 @@
> - DESTDIR =
> - SBINDIR = /usr/sbin
> - XCFLAGS = -W  -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare
> --LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw 
> -+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncurses 
> - 
> - OBJS= latencytop.o text_display.o translate.o fsync.o
> - 
> -@@ -26,10 +26,10 @@
> - 
> - # We write explicity this "implicit rule"
> - %.o : %.c
> --	gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@
> -+	$(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@
> - 
> - latencytop:  $(OBJS) latencytop.h Makefile
> --	gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop 
> -+	$(CC) $(CFLAGS) $(OBJS) $(LDF) -o latencytop 
> - 
> - clean:
> - 	rm -f *~ latencytop DEADJOE *.o
> diff --git a/package/latencytop/Config.in b/package/latencytop/Config.in
> deleted file mode 100644
> index b54ef052b4..0000000000
> --- a/package/latencytop/Config.in
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -config BR2_PACKAGE_LATENCYTOP
> -	bool "latencytop"
> -	depends on BR2_USE_WCHAR # libglib2
> -	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
> -	depends on BR2_USE_MMU # libglib2
> -	select BR2_PACKAGE_NCURSES
> -	select BR2_PACKAGE_LIBGLIB2
> -	help
> -	  There are many types and causes of latency. LatencyTOP
> -	  focuses on the type of latency that causes skips in audio,
> -	  stutters in your desktop experience or that overloads your
> -	  server (while you have plenty of CPU power left).
> -
> -	  LatencyTOP focuses on the cases where the applications want
> -	  to run and execute useful code, but there's some resource
> -	  that's not currently available (and the kernel then blocks
> -	  the process). This is done both on a system level and on a
> -	  per process level, so that you can see what's happening to
> -	  the system, and which process is suffering and/or causing
> -	  the delays.
> -
> -	  http://www.latencytop.org
> -
> -comment "latencytop needs a toolchain w/ wchar, threads"
> -	depends on BR2_USE_MMU
> -	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/latencytop/latencytop.hash b/package/latencytop/latencytop.hash
> deleted file mode 100644
> index 74b8a03a23..0000000000
> --- a/package/latencytop/latencytop.hash
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -# locally computed
> -sha256  9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef  latencytop-0.5.tar.gz
> -sha256  34d1db30ab21eaedb2c191b2787632a960090a0c63da9f5b481d84b23b98c438  latencytop.c
> diff --git a/package/latencytop/latencytop.mk b/package/latencytop/latencytop.mk
> deleted file mode 100644
> index 56afe86062..0000000000
> --- a/package/latencytop/latencytop.mk
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -################################################################################
> -#
> -# latencytop
> -#
> -################################################################################
> -
> -LATENCYTOP_VERSION = 0.5
> -LATENCYTOP_SITE = http://www.latencytop.org/download
> -LATENCYTOP_DEPENDENCIES = libglib2 ncurses
> -LATENCYTOP_LICENSE = GPL-2.0
> -LATENCYTOP_LICENSE_FILES = latencytop.c
> -
> -# NOTE: GTK is heavy weight, we intentionally build the text (ncurses)
> -# version only
> -define LATENCYTOP_BUILD_CMDS
> -	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=
> -endef
> -
> -define LATENCYTOP_INSTALL_TARGET_CMDS
> -	$(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) HAS_GTK_GUI=
> -endef
> -
> -$(eval $(generic-package))

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-05 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05 12:11 [Buildroot] [PATCH] package/latencytop: drop package Peter Korsgaard
2025-02-05 13:15 ` Romain Naour via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox