pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

btop-git: Sync with upstream changes.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Sun Oct 6 12:57:05 2024 +0200
Changeset:	50cd4fede1726154e19e8cd2adbdb613666c7bf1

Modified Files:
	btop-git/Makefile
	btop-git/PLIST
	btop-git/TODO
	btop-git/distinfo
Added Files:
	btop-git/patches/patch-Makefile

Log Message:
btop-git: Sync with upstream changes.

- Import the latest release v1.4.0 into pkgsrc main.
- Update TODO to relect the current state.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50cd4fede1726154e19e8cd2adbdb613666c7bf1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 btop-git/Makefile               |  4 ++--
 btop-git/PLIST                  |  2 +-
 btop-git/TODO                   |  5 +----
 btop-git/distinfo               |  7 ++++---
 btop-git/patches/patch-Makefile | 30 ++++++++++++++++++++++++++++++
 5 files changed, 38 insertions(+), 10 deletions(-)

diffs:
diff --git a/btop-git/Makefile b/btop-git/Makefile
index be52ca43a7..4661b8b9ef 100644
--- a/btop-git/Makefile
+++ b/btop-git/Makefile
@@ -1,10 +1,10 @@
 # $NetBSD$
 
-DISTNAME=	btop-1.3.2.20240805
+DISTNAME=	btop-1.4.0.20240924
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=aristocratos/}
 #GITHUB_TAG=	v${PKGVERSION_NOREV}
-GITHUB_TAG=	00c90884c328eb3e44a0ab094e833161092aae9c
+GITHUB_TAG=	2e7208d59c54515080027a5ecbb89d2054047985
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/aristocratos/btop
diff --git a/btop-git/PLIST b/btop-git/PLIST
index 65a997c1b0..8855637325 100644
--- a/btop-git/PLIST
+++ b/btop-git/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD$
+@comment $NetBSD: PLIST,v 1.1 2024/10/06 10:43:17 fox Exp $
 bin/btop
 man/man1/btop.1
 share/applications/btop.desktop
diff --git a/btop-git/TODO b/btop-git/TODO
index bbf4430e0b..9704034175 100644
--- a/btop-git/TODO
+++ b/btop-git/TODO
@@ -1,5 +1,2 @@
-- Compiles and runs on NetBSD.
-- Needs fixes on some of the memory stats shown.
-- Needs some testing and verification done on features / funtions working in NetBSD.
+- Check on CPU graph render when there are 16 or more cores.
 
-https://github.com/aristocratos/btop/issues/301
diff --git a/btop-git/distinfo b/btop-git/distinfo
index 5647c2c294..86842616b7 100644
--- a/btop-git/distinfo
+++ b/btop-git/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-BLAKE2s (btop-1.3.2.20240805-00c90884c328eb3e44a0ab094e833161092aae9c.tar.gz) = 271534e019390f0d8c0ee12708d0243de9e5a47a4ac658cf4ec955f058663c2f
-SHA512 (btop-1.3.2.20240805-00c90884c328eb3e44a0ab094e833161092aae9c.tar.gz) = 68c7240819d2c1c568a1feab8d446591683078f5062861f784fc7866ea8c43320bb2744f4d9f2b2d0030f8cd1e83b9f41d0df51611728d17cff1da0d6d58dd73
-Size (btop-1.3.2.20240805-00c90884c328eb3e44a0ab094e833161092aae9c.tar.gz) = 1160249 bytes
+BLAKE2s (btop-1.4.0.20240924-2e7208d59c54515080027a5ecbb89d2054047985.tar.gz) = 4d66d69f56967ff002c788c0589c60f76fbeb11f3315910e47783290015acd73
+SHA512 (btop-1.4.0.20240924-2e7208d59c54515080027a5ecbb89d2054047985.tar.gz) = 77ca5ad505ca8f96f1de0f9f6623fd631e58c3e868b0f0560f744683107199efd07062d8d70f0d09d29906c1cfb3eba2cbfffd33935de7e4635f44b6edf109e0
+Size (btop-1.4.0.20240924-2e7208d59c54515080027a5ecbb89d2054047985.tar.gz) = 1239506 bytes
+SHA1 (patch-Makefile) = 87cd9333e786899109df3a931c6d0e99fbd017de
diff --git a/btop-git/patches/patch-Makefile b/btop-git/patches/patch-Makefile
new file mode 100644
index 0000000000..ac54488655
--- /dev/null
+++ b/btop-git/patches/patch-Makefile
@@ -0,0 +1,30 @@
+$NetBSD: patch-Makefile,v 1.1 2024/10/06 10:43:17 fox Exp $
+
+Fix the man page path.
+
+--- Makefile.orig	2024-10-06 10:22:47.718265628 +0000
++++ Makefile
+@@ -343,9 +343,9 @@ install:
+ 	@mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
+ 	@cp -p Img/icon.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg
+ ifneq ($(wildcard btop.1),)
+-	@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/share/man/man1/btop.1\n"
+-	@mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+-	@cp -p btop.1 $(DESTDIR)$(PREFIX)/share/man/man1/btop.1
++	@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1\n"
++	@mkdir -p $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
++	@cp -p btop.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1
+ endif
+ 
+ #? Set SUID bit for btop as $SU_USER in $SU_GROUP
+@@ -374,8 +374,8 @@ uninstall:
+ 	@rm -rfv $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/btop.png
+ 	@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg\033[0m\n"
+ 	@rm -rfv $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg
+-	@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/share/man/man1/btop.1\033[0m\n"
+-	@rm -rfv $(DESTDIR)$(PREFIX)/share/man/man1/btop.1
++	@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1\033[0m\n"
++	@rm -rfv $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1
+ 
+ #? Pull in dependency info for *existing* .o files
+ -include $(OBJECTS:.$(OBJEXT)=.$(DEPEXT))


Home | Main Index | Thread Index | Old Index