summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-02-14 16:58:38 +0100
committerUlrich Müller <ulm@gentoo.org>2022-02-14 16:58:59 +0100
commitff651da41f0fecd11da5e25828957815503a2fe7 (patch)
tree516c95ff7f00458291fd8e717c353f9418117230 /app-editors
parentapp-editors/zile: Version bump to 2.6.2 (diff)
downloadgentoo-ff651da41f0fecd11da5e25828957815503a2fe7.tar.gz
gentoo-ff651da41f0fecd11da5e25828957815503a2fe7.tar.bz2
gentoo-ff651da41f0fecd11da5e25828957815503a2fe7.zip
app-editors/zile: Remove old
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/zile/Manifest1
-rw-r--r--app-editors/zile/files/zile-2.3.24-gets.patch30
-rw-r--r--app-editors/zile/files/zile-2.3.24-userhome.patch26
-rw-r--r--app-editors/zile/metadata.xml4
-rw-r--r--app-editors/zile/zile-2.3.24-r2.ebuild52
5 files changed, 0 insertions, 113 deletions
diff --git a/app-editors/zile/Manifest b/app-editors/zile/Manifest
index be2b2966c69b..fb9194a4c5e5 100644
--- a/app-editors/zile/Manifest
+++ b/app-editors/zile/Manifest
@@ -1,3 +1,2 @@
-DIST zile-2.3.24.tar.gz 953962 BLAKE2B 242f0f9532a536d5ba36664031cf86eba753239c0f6dcd47c086496628a730bdd0a9112dc1ffd26965068f6d66d35d3ad3c92fc2753e129adf9a5923321e2cdf SHA512 8361f42436ae9ca150f09d830096b7a3fb0089d58bffe5ad7538b5ec5cd4e0e50085213e938db1a95e2922db845d1d2f36841a65fe1b9b72f60cd930dd8f09b9
DIST zile-2.4.15.tar.gz 1490611 BLAKE2B 3744ab2459edf9b0dc9ca976c5f37625d06e0766e3a1fbb59112fe375af6f6cc5e8c068dcb127b338091f3130d32190ad4bc3a79eac7f9a4f87b46723d5a4a82 SHA512 e2a04c280ae0c0038e6ef18abec0be55063a472f77a511bf31459712be24659edcaa2d1c861d7c00bdab87a1881af03d14eb561047c386cbff5f90b13b1a2575
DIST zile-2.6.2.tar.gz 1152751 BLAKE2B db51b534c8d76e1def91bbfe49cab501ff1bccd6fbeddd5622d8fca3695305c53e480eed1978e880621e09955e2b98519cfa02cf259006a08d1a8722122148ea SHA512 16d5cece403fc215d53b35c31fe6f743d53d7a01cdc7d101cabe6760173539c9c31e092b29c374f28a723708027f6de626fcfee302962848091f85078fa81761
diff --git a/app-editors/zile/files/zile-2.3.24-gets.patch b/app-editors/zile/files/zile-2.3.24-gets.patch
deleted file mode 100644
index 9060c4bcf921..000000000000
--- a/app-editors/zile/files/zile-2.3.24-gets.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://bugs.gentoo.org/623218
-Backported from gnulib in zile-2.4.11.
-
---- zile-2.3.24-orig/lib/stdio.in.h
-+++ zile-2.3.24/lib/stdio.in.h
-@@ -717,22 +717,11 @@
- # endif
- #endif
-
--#if @GNULIB_GETS@
--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
--# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
--# undef gets
--# define gets rpl_gets
--# endif
--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
--_GL_CXXALIAS_RPL (gets, char *, (char *s));
--# else
--_GL_CXXALIAS_SYS (gets, char *, (char *s));
--# undef gets
--# endif
--_GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
-+#undef gets
-+#if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-
diff --git a/app-editors/zile/files/zile-2.3.24-userhome.patch b/app-editors/zile/files/zile-2.3.24-userhome.patch
deleted file mode 100644
index 37f605ccf610..000000000000
--- a/app-editors/zile/files/zile-2.3.24-userhome.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-http://lists.gnu.org/archive/html/bug-zile/2011-08/msg00030.html
-
---- zile-2.3.24-orig/src/file.c
-+++ zile-2.3.24/src/file.c
-@@ -177,14 +177,15 @@ compact_path (astr path)
- {
- /* Replace `/userhome/' (if found) with `~/'. */
- size_t homelen = strlen (pw->pw_dir);
-- if (astr_len (path) >= homelen &&
-- !strncmp (pw->pw_dir, astr_cstr (path), homelen))
-+ if (homelen > 0 && pw->pw_dir[homelen - 1] == '/')
-+ homelen--;
-+
-+ if (astr_len (path) > homelen &&
-+ !strncmp (pw->pw_dir, astr_cstr (path), homelen) &&
-+ astr_get (path, homelen) == '/')
- {
- astr buf = astr_new_cstr ("~/");
-- if (STREQ (pw->pw_dir, "/"))
-- astr_cat_cstr (buf, astr_cstr (path) + 1);
-- else
-- astr_cat_cstr (buf, astr_cstr (path) + homelen + 1);
-+ astr_cat_cstr (buf, astr_cstr (path) + homelen + 1);
- astr_cpy (path, buf);
- astr_delete (buf);
- }
diff --git a/app-editors/zile/metadata.xml b/app-editors/zile/metadata.xml
index b55d67a17365..b90e6fc97258 100644
--- a/app-editors/zile/metadata.xml
+++ b/app-editors/zile/metadata.xml
@@ -11,8 +11,4 @@
or quick editing sessions, especially on remote machines or as a different
user, e.g. root.
</longdescription>
-<use>
- <flag name="valgrind">Enable usage of <pkg>dev-util/valgrind</pkg>
- in tests</flag>
-</use>
</pkgmetadata>
diff --git a/app-editors/zile/zile-2.3.24-r2.ebuild b/app-editors/zile/zile-2.3.24-r2.ebuild
deleted file mode 100644
index a283c37c087d..000000000000
--- a/app-editors/zile/zile-2.3.24-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Zile is a small Emacs clone"
-HOMEPAGE="https://www.gnu.org/software/zile/"
-SRC_URI="mirror://gnu/zile/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
-IUSE="test valgrind"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-libs/ncurses:0="
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- test? ( valgrind? ( dev-util/valgrind ) )"
-
-PATCHES=("${FILESDIR}"/${P}-{userhome,gets}.patch)
-
-src_configure() {
- # --without-emacs to suppress tests for GNU Emacs #630652
- econf \
- --without-emacs \
- $(use test && use_with valgrind || echo "--without-valgrind") \
- CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
-}
-
-src_test() {
- if tput cup 0 0 >/dev/null || tput cuu1 >/dev/null; then
- # We have a sane terminal that can move the cursor
- emake check
- else
- ewarn "Terminal type \"${TERM}\" is too stupid to run zile"
- ewarn "Running the tests with TERM=vt100 instead"
- TERM=vt100 emake check
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # FAQ is installed by the build system in /usr/share/zile
- dodoc AUTHORS BUGS NEWS README THANKS
-
- # Zile should never install charset.alias (even on non-glibc arches)
- rm -f "${ED}"/usr/lib/charset.alias
-}