commit:     8b84c62a1da7891bc983dbac01c9fd0f88a434a5
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 06:03:46 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 06:03:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b84c62a

x11-libs/libast: Delete

Closes: https://bugs.gentoo.org/875143
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 profiles/package.mask                              |  6 --
 x11-libs/libast/Manifest                           |  1 -
 .../files/libast-0.8-configure-clang16.patch       | 65 ----------------------
 x11-libs/libast/libast-0.8-r1.ebuild               | 53 ------------------
 x11-libs/libast/metadata.xml                       | 18 ------
 5 files changed, 143 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index a3e1e2a68273..45e626c8bfa2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -790,12 +790,6 @@ dev-php/phptal
 # This version currently is not compatible with kernel build (yet)
 ~dev-util/bindgen-0.63.0
 
-# Matt Turner <[email protected]> (2022-12-19)
-# Only reverse dependency was x11-terms/eterm which was removed almost a year
-# ago.
-# Removal on 2023-01-20. Bug #875143.
-x11-libs/libast
-
 # Jaco Kroon <[email protected]> (2022-12-14)
 # Multiple open bugs (bug #870910, bug #877731, bug #884815), only one of which
 # is trivial to solve.

diff --git a/x11-libs/libast/Manifest b/x11-libs/libast/Manifest
deleted file mode 100644
index 79bb2f02304b..000000000000
--- a/x11-libs/libast/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libast-0.8.tar.gz 254188 BLAKE2B 
02fc2872218f11cb4083d451377fdc46369c2ef7d1f0e547831dfdf4ecec2cd6aaf3453e9e8ef8431fbd5e3cd75e828e3c5967a6311853e7e87f583ef2be72c8
 SHA512 
266a479fdbfc479e233675fa7623488135c633fed9cb236ec0cee578fc5be83b88a2dbda8a304ee3a27384c96e93a4bdf40f60597660e09841380e0930dd93d9

diff --git a/x11-libs/libast/files/libast-0.8-configure-clang16.patch 
b/x11-libs/libast/files/libast-0.8-configure-clang16.patch
deleted file mode 100644
index 3d339a2aeb34..000000000000
--- a/x11-libs/libast/files/libast-0.8-configure-clang16.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-https://github.com/mej/libast/pull/5
-https://bugs.gentoo.org/871705
-
-From 6c50760566499ef34cfd34ee38945e2612f4f7bf Mon Sep 17 00:00:00 2001
-From: Ryan Schmidt <[email protected]>
-Date: Mon, 7 Dec 2020 01:34:46 -0600
-Subject: [PATCH] Fix implicit declaration of library function exit
-
---- a/libast.m4
-+++ b/libast.m4
-@@ -505,10 +505,10 @@ char ovbuf[7];
- int i;
- for (i=0; i<7; i++) ovbuf[i]='x';
- snprintf(ovbuf, 4,"foo%s", "bar");
--if (ovbuf[5]!='x') exit(1);
-+if (ovbuf[5]!='x') return 1;
- snprintf(ovbuf, 4,"foo%d", 666);
--if (ovbuf[5]!='x') exit(1);
--exit(0);
-+if (ovbuf[5]!='x') return 1;
-+return 0;
- } >>
-             changequote([, ])
-         , dps_cv_snprintf_bug=0, dps_cv_snprintf_bug=1, dps_cv_snprintf_bug=2)
-@@ -550,10 +550,10 @@ int main(void)
-   char ovbuf[8] = "xxxxxxx";
-   int i;
-   prnt(ovbuf, "foo%s", "bar");
--  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); exit(1);}
-+  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); return 1;}
-   prnt(ovbuf, "foo%d", 666);
--  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); exit(1);}
--  exit(0);
-+  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); return 1;}
-+  return 0;
- } >>
-             changequote([, ])
-         , dps_cv_vsnprintf_bug=0, dps_cv_vsnprintf_bug=1, 
dps_cv_vsnprintf_bug=2)
-@@ -651,10 +651,10 @@ AC_DEFUN([dps_rlimit_nproc], [
-         AC_TRY_RUN(
-             changequote(<<, >>)dnl
- <<
--#ifndef HAVE_STDLIB_H
-+#ifdef HAVE_STDLIB_H
- #include <stdlib.h>
- #endif /* HAVE_STDLIB_H */
--#ifndef HAVE_SIGNAL_H
-+#ifdef HAVE_SIGNAL_H
- #include <signal.h>
- #endif /* HAVE_SIGNAL_H */
- #ifdef HAVE_UNISTD_H
-@@ -699,10 +699,10 @@ AC_DEFUN([dps_rlimit_memlock], [
-         AC_TRY_RUN(
-             changequote(<<, >>)dnl
- <<
--#ifndef HAVE_STDLIB_H
-+#ifdef HAVE_STDLIB_H
- #include <stdlib.h>
- #endif /* HAVE_STDLIB_H */
--#ifndef HAVE_SIGNAL_H
-+#ifdef HAVE_SIGNAL_H
- #include <signal.h>
- #endif /* HAVE_SIGNAL_H */
- #ifdef HAVE_UNISTD_H
-

diff --git a/x11-libs/libast/libast-0.8-r1.ebuild 
b/x11-libs/libast/libast-0.8-r1.ebuild
deleted file mode 100644
index fb627811026b..000000000000
--- a/x11-libs/libast/libast-0.8-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="LIBrary of Assorted Spiffy Things"
-HOMEPAGE="http://www.eterm.org/download/";
-SRC_URI="https://github.com/mej/libast/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos"
-IUSE="imlib cpu_flags_x86_mmx pcre"
-
-RDEPEND="
-       !sci-astronomy/ast
-       media-libs/freetype
-       x11-base/xorg-proto
-       x11-libs/libXt
-       x11-libs/libICE
-       x11-libs/libSM
-       x11-libs/libX11
-       imlib? ( media-libs/imlib2 )
-       pcre? ( dev-libs/libpcre )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.8-configure-clang16.patch
-)
-
-src_prepare() {
-       default
-
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               $(use_with imlib) \
-               $(use_enable cpu_flags_x86_mmx mmx) \
-               --with-regexp=$(usex pcre pcre posix)
-}
-
-src_install() {
-       default
-
-       dodoc DESIGN
-
-       find "${ED}" -name '*.la' -delete || die
-}

diff --git a/x11-libs/libast/metadata.xml b/x11-libs/libast/metadata.xml
deleted file mode 100644
index 542463f59189..000000000000
--- a/x11-libs/libast/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <longdescription>
-       LibAST is the Library of Assorted Spiffy Things.  It contains many
-       spiffy things, and it is a library.  Thus, the ever-so-creative name.
-       LibAST has been previously known as libmej, the Eterm helper library
-       which nobody really understood and certainly never used.  My current
-       plan is to gradually remove some of the neat stuff from Eterm that
-       could be made generic (things like the theme parsing engine, the
-       command-line options parser, perhaps the event engine, ...) and place
-       it here in the hopes that others will find them useful.
-       </longdescription>
-       <upstream>
-               <remote-id type="github">mej/libast</remote-id>
-       </upstream>
-</pkgmetadata>

Reply via email to