public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/cpufetch/files/, app-misc/cpufetch/
Date: Wed, 19 Feb 2025 11:08:52 +0000 (UTC)	[thread overview]
Message-ID: <1739888280.f7de292c807a3dac2ff168d0648c43aa1df7b81d.davidroman@gentoo> (raw)

commit:     f7de292c807a3dac2ff168d0648c43aa1df7b81d
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 18 14:18:00 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Feb 18 14:18:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7de292c

app-misc/cpufetch: drop 1.05-r1

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 app-misc/cpufetch/Manifest                         |  1 -
 app-misc/cpufetch/cpufetch-1.05-r1.ebuild          | 28 ---------
 .../cpufetch/files/cpufetch-1.05-makefile.patch    | 66 ----------------------
 3 files changed, 95 deletions(-)

diff --git a/app-misc/cpufetch/Manifest b/app-misc/cpufetch/Manifest
index f6a577520..d5a3a8a98 100644
--- a/app-misc/cpufetch/Manifest
+++ b/app-misc/cpufetch/Manifest
@@ -1,2 +1 @@
-DIST cpufetch-1.05.tar.gz 2787010 BLAKE2B 3366635f1fd7a47979631aba92c3e7bdcfb66e71d446e2ac5b4361c47c4ba3054866d9a48ca4d81bfd580b49f7ba9e79e46616e216685dfad2e4e133b71274e0 SHA512 ec303e292ddc928e5cf2c81e0b38fd0853e1a3ffb9a20413e09677ec91777806c4774a0a6d618adde4f13328c930ce35a80e679609438542486999ab9e1308b4
 DIST cpufetch-1.06.tar.gz 2833392 BLAKE2B 552a4aec946da7ad70e92357b323582b29d81bd7eede6937809353b7f6e3008ef92bbc33f7ca8a24e6625d9f0145519113c3ef58ca4eb13782b90278e5242ba1 SHA512 ee907372608bed6af713f5e071e08a96c86cf0c7aeff1a7bf8511c2b03804d71e63d23e7aa409c2a7da5a0cf198a8a419e26210174f052c36bffa56135609d07

diff --git a/app-misc/cpufetch/cpufetch-1.05-r1.ebuild b/app-misc/cpufetch/cpufetch-1.05-r1.ebuild
deleted file mode 100644
index c5a2b3b0a..000000000
--- a/app-misc/cpufetch/cpufetch-1.05-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Simplistic yet fancy CPU architecture fetching tool"
-HOMEPAGE="https://github.com/Dr-Noob/cpufetch"
-SRC_URI="https://github.com/Dr-Noob/cpufetch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
-
-src_prepare() {
-	default
-	tc-export CC
-}
-
-src_install() {
-	dobin "${PN}"
-	doman "${PN}.1"
-	newdoc README.md README
-	dodoc -r doc/.
-}

diff --git a/app-misc/cpufetch/files/cpufetch-1.05-makefile.patch b/app-misc/cpufetch/files/cpufetch-1.05-makefile.patch
deleted file mode 100644
index e9969cd1b..000000000
--- a/app-misc/cpufetch/files/cpufetch-1.05-makefile.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Respect CFLAGS and LDFLAGS.
---- a/Makefile
-+++ b/Makefile
-@@ -24,17 +24,17 @@ ifneq ($(OS),Windows_NT)
- 			HEADERS += $(SRC_DIR)freq/freq.h
- 			CFLAGS += -pthread
-                 endif
--		CFLAGS += -DARCH_X86 -std=c99 -fstack-protector-all
-+		CFLAGS += -DARCH_X86 -std=c99
- 	else ifeq ($(arch), $(filter $(arch), ppc64le ppc64 ppcle ppc))
- 		SRC_DIR=src/ppc/
- 		SOURCE += $(COMMON_SRC) $(SRC_DIR)ppc.c $(SRC_DIR)uarch.c $(SRC_DIR)udev.c
- 		HEADERS += $(COMMON_HDR) $(SRC_DIR)ppc.h $(SRC_DIR)uarch.h  $(SRC_DIR)udev.c
--		CFLAGS += -DARCH_PPC -std=gnu99 -fstack-protector-all -Wno-language-extension-token
-+		CFLAGS += -DARCH_PPC -std=gnu99 -Wno-language-extension-token
- 	else ifeq ($(arch), $(filter $(arch), arm aarch64_be aarch64 arm64 armv8b armv8l armv7l armv6l))
- 		SRC_DIR=src/arm/
- 		SOURCE += $(COMMON_SRC) $(SRC_DIR)midr.c $(SRC_DIR)uarch.c $(SRC_COMMON)soc.c $(SRC_DIR)soc.c $(SRC_DIR)udev.c
- 		HEADERS += $(COMMON_HDR) $(SRC_DIR)midr.h $(SRC_DIR)uarch.h  $(SRC_COMMON)soc.h $(SRC_DIR)soc.h $(SRC_DIR)udev.c $(SRC_DIR)socs.h
--		CFLAGS += -DARCH_ARM -Wno-unused-parameter -std=c99 -fstack-protector-all
-+		CFLAGS += -DARCH_ARM -Wno-unused-parameter -std=c99
- 
- 		os := $(shell uname -s)
- 		ifeq ($(os), Darwin)
-@@ -45,7 +45,7 @@ ifneq ($(OS),Windows_NT)
-                 SRC_DIR=src/riscv/
-                 SOURCE += $(COMMON_SRC) $(SRC_DIR)riscv.c $(SRC_DIR)uarch.c $(SRC_COMMON)soc.c $(SRC_DIR)soc.c $(SRC_DIR)udev.c
-                 HEADERS += $(COMMON_HDR) $(SRC_DIR)riscv.h $(SRC_DIR)uarch.h $(SRC_COMMON)soc.h $(SRC_DIR)soc.h $(SRC_DIR)udev.h $(SRC_DIR)socs.h
--                CFLAGS += -DARCH_RISCV -Wno-unused-parameter -std=c99 -fstack-protector-all
-+                CFLAGS += -DARCH_RISCV -Wno-unused-parameter -std=c99
- 	else
- 		# Error lines should not be tabulated because Makefile complains about it
- $(warning Unsupported arch detected: $(arch). See https://github.com/Dr-Noob/cpufetch#1-support)
-@@ -65,7 +65,6 @@ else
- 	OUTPUT=cpufetch.exe
- endif
- 
--all: CFLAGS += -O2
- all: $(OUTPUT)
- 
- debug: CFLAGS += -g -O0
-@@ -78,19 +77,19 @@ strict: CFLAGS += -O2 -Werror -fsanitize=undefined -D_FORTIFY_SOURCE=2
- strict: $(OUTPUT)
- 
- freq_nov.o: Makefile $(SRC_DIR)freq/freq_nov.c $(SRC_DIR)freq/freq_nov.h $(SRC_DIR)freq/freq.h
--	$(CC) $(CFLAGS) $(SANITY_FLAGS) -c -pthread $(SRC_DIR)freq/freq_nov.c -o $@
-+	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(LDFLAGS) -c -pthread $(SRC_DIR)freq/freq_nov.c -o $@
- 
- freq_avx.o: Makefile $(SRC_DIR)freq/freq_avx.c $(SRC_DIR)freq/freq_avx.h $(SRC_DIR)freq/freq.h
--	$(CC) $(CFLAGS) $(SANITY_FLAGS) -c -mavx -pthread $(SRC_DIR)freq/freq_avx.c -o $@
-+	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(LDFLAGS) -c -mavx -pthread $(SRC_DIR)freq/freq_avx.c -o $@
- 
- freq_avx512.o: Makefile $(SRC_DIR)freq/freq_avx512.c $(SRC_DIR)freq/freq_avx512.h $(SRC_DIR)freq/freq.h
--	$(CC) $(CFLAGS) $(SANITY_FLAGS) -c -mavx512f -pthread $(SRC_DIR)freq/freq_avx512.c -o $@
-+	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(LDFLAGS) -c -mavx512f -pthread $(SRC_DIR)freq/freq_avx512.c -o $@
- 
- $(OUTPUT): Makefile $(SOURCE) $(HEADERS)
- ifeq ($(GIT_VERSION),"")
--	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(SOURCE) -o $(OUTPUT)
-+	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(LDFLAGS) $(SOURCE) -o $(OUTPUT)
- else
--	$(CC) $(CFLAGS) $(SANITY_FLAGS) -DGIT_FULL_VERSION=\"$(GIT_VERSION)\" $(SOURCE) -o $(OUTPUT)
-+	$(CC) $(CFLAGS) $(SANITY_FLAGS) $(LDFLAGS) -DGIT_FULL_VERSION=\"$(GIT_VERSION)\" $(SOURCE) -o $(OUTPUT)
- endif
- 
- run: $(OUTPUT)


             reply	other threads:[~2025-02-19 11:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-19 11:08 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-19 11:08 [gentoo-commits] repo/proj/guru:master commit in: app-misc/cpufetch/files/, app-misc/cpufetch/ David Roman
2021-06-17  5:55 Theo Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739888280.f7de292c807a3dac2ff168d0648c43aa1df7b81d.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox