commit:     ec876924d54c919e3e80e8e16bf9db2cd881a5ab
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 27 17:47:26 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 27 17:47:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec876924

app-shells/esh: treeclean

Closes: https://bugs.gentoo.org/944434 (pkgremoved)
Closes: https://bugs.gentoo.org/943845 (pkgremoved)
Closes: https://bugs.gentoo.org/906249 (pkgremoved)
Closes: https://bugs.gentoo.org/680698 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-shells/esh/Manifest                            |  1 -
 app-shells/esh/esh-0.8.5-r3.ebuild                 | 67 ----------------------
 .../files/esh-0.8.5-fix-build-for-clang16.patch    | 38 ------------
 app-shells/esh/metadata.xml                        |  5 --
 profiles/package.mask                              |  5 --
 5 files changed, 116 deletions(-)

diff --git a/app-shells/esh/Manifest b/app-shells/esh/Manifest
deleted file mode 100644
index ebe259843853..000000000000
--- a/app-shells/esh/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST esh-0.8.5.tar.gz 214040 BLAKE2B 
8fbcfed21a9dc156f496cd650e1f7d4242f869d753b147070e51c357531353b9028de7cd405334e7171f805bf048d032310063e8fe2776de976557b080b2946e
 SHA512 
2473cc2418f70533136305f47dfe59bee560206a8b58c080e2113297dd82483e867937bda1b015069a7220552b4d03346a3b71026a24a2795b0b499e355490a0

diff --git a/app-shells/esh/esh-0.8.5-r3.ebuild 
b/app-shells/esh/esh-0.8.5-r3.ebuild
deleted file mode 100644
index 29ed1611a7a0..000000000000
--- a/app-shells/esh/esh-0.8.5-r3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="A UNIX Shell with a simplified Scheme syntax"
-HOMEPAGE="http://slon.ttk.ru/esh/";
-SRC_URI="http://slon.ttk.ru/esh/${P}.tar.gz";
-S="${WORKDIR}"/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug"
-
-DEPEND=">=sys-libs/readline-4.1:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-fix-build-for-clang16.patch
-)
-
-src_prepare() {
-
-       # For some reason, this tarball has binary files in it for x86.
-       # Make clean so we can rebuild for our arch and optimization.
-       emake clean
-
-       default
-
-       sed -i \
-               -e 's|-g ||' \
-               -e 's|-DMEM_DEBUG ||' \
-               -e 's|^CFLAGS|&+|g' \
-               -e 's|$(CC) |&$(CFLAGS) $(CPPFLAGS) $(INC) $(LDFLAGS) $(LIB) 
$(LIBS)|g' \
-               -e 's:-ltermcap::' \
-               -e "s:/usr/include/readline:${ESYSROOT}/usr/include/readline:" \
-               -e "s:LIB=-readline:$($(tc-getPKG_CONFIG) --libs readline):" \
-               Makefile || die
-}
-
-src_compile() {
-       use debug && append-flags -DMEM_DEBUG
-
-       append-cppflags "$($(tc-getPKG_CONFIG) --cflags readline)"
-
-       emake \
-               CC="$(tc-getCC)" \
-               CFLAGS="${CFLAGS} \$(INC)" \
-               CPPFLAGS="${CPPFLAGS}" \
-               LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-       dobin esh
-       doinfo doc/esh.info
-       dodoc CHANGELOG CREDITS GC_README HEADER READLINE-HACKS TODO
-
-       docinto html
-       dodoc doc/*.html
-
-       docinto examples
-       dodoc examples/*
-}

diff --git a/app-shells/esh/files/esh-0.8.5-fix-build-for-clang16.patch 
b/app-shells/esh/files/esh-0.8.5-fix-build-for-clang16.patch
deleted file mode 100644
index 1d87f583f53a..000000000000
--- a/app-shells/esh/files/esh-0.8.5-fix-build-for-clang16.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-This fixes the build for clang16.
-
-Signed-off-by: Pascal Jäger <[email protected]>
-
-diff --git a/hash.c b/hash.c
-index f3d7a3d..cf3c25a 100644
---- a/hash.c
-+++ b/hash.c
-@@ -148,7 +148,7 @@ void hash_init(hash_table* _hash_array, hash_entry data[]) 
{
- }
- 
- void hash_free(hash_table* tab, 
--             void (*func)()) {
-+             void (*func)(void* data)) {
-   int i;
-   list* iter;
- 
-
---- a/read-rl.c
-+++ b/read-rl.c
-@@ -99,7 +99,7 @@ static char** rl_esh_completion(char* word, int start, int 
end) {
-   }
-
-   if (openparen(rl_line_buffer[start])) {
--    return completion_matches(word, rl_find_builtin);
-+    return rl_completion_matches(word, (rl_compentry_func_t 
*)rl_find_builtin);
-
-   } else {
-     return NULL;
-@@ -110,7 +110,7 @@ void read_init(void) {
-   rl_bind_key('\012', rl_literal_newline);
-
-   /* rl_catch_signals = 0; */
--  rl_attempted_completion_function = rl_esh_completion;
-+  rl_attempted_completion_function = (rl_completion_func_t 
*)rl_esh_completion;
- }
-
- char* read_read(char* prompt) {

diff --git a/app-shells/esh/metadata.xml b/app-shells/esh/metadata.xml
deleted file mode 100644
index 115e9d64a669..000000000000
--- a/app-shells/esh/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index d9ce33957a9a..7be5605ee2bd 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -143,11 +143,6 @@ kde-apps/cervisia
 >=dev-python/pygobject-3.52
 >=net-im/gajim-2.3.0
 
-# Alexey Sokolov <[email protected]> (2025-06-09)
-# Dead upstream, doesn't build with gcc 15, we're the only ones packaging it.
-# Removal on 2025-07-12. Bugs #944434, #943845, #906249, #680698.
-app-shells/esh
-
 # Alexey Sokolov <[email protected]> (2025-06-09)
 # Unmaintained upstream since 2008, doesn't build. x86-only.
 # Removal on 2025-07-12. Bugs #77471, #926465, #941191, #948965.

Reply via email to