commit:     ad9a7bec568a778ca68a151117ae02004e362d27
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 13:57:18 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 13:57:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9a7bec

dev-libs/librep: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/librep/Manifest                           |  1 -
 dev-libs/librep/files/50librep-gentoo.el           |  6 --
 .../librep/files/librep-0.92.0-disable-elisp.patch | 19 -----
 .../files/librep-0.92.7-configure-clang16.patch    | 74 -------------------
 dev-libs/librep/files/librep-0.92.7-libtool.patch  | 47 ------------
 dev-libs/librep/librep-0.92.7-r2.ebuild            | 83 ----------------------
 dev-libs/librep/metadata.xml                       |  9 ---
 profiles/package.mask                              |  7 --
 8 files changed, 246 deletions(-)

diff --git a/dev-libs/librep/Manifest b/dev-libs/librep/Manifest
deleted file mode 100644
index c3822e20cfdb..000000000000
--- a/dev-libs/librep/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST librep_0.92.7.tar.xz 651344 BLAKE2B 
3a0e9a3eef0afa2e095537dfc307418ba87ce7a9baabdba262fd9a24b71cc6577fe1282412da495d56bf22007f1931c5b834f5bcf4c5ebe87d6b43a4975d630e
 SHA512 
752cb2da31457200b5896f70ce24a097b261b996da25998cd78a777f982597473afce1a216f449a4a969d29b1678bf54e2f148e86de6f9548eeb5cfd530ae377

diff --git a/dev-libs/librep/files/50librep-gentoo.el 
b/dev-libs/librep/files/50librep-gentoo.el
deleted file mode 100644
index 59025bbb9d0e..000000000000
--- a/dev-libs/librep/files/50librep-gentoo.el
+++ /dev/null
@@ -1,6 +0,0 @@
-
-;;; librep site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'rep-debugger "rep-debugger"
-  "Run the rep debugger on program FILE in buffer *gud-FILE*." t)

diff --git a/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch 
b/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch
deleted file mode 100644
index 03cec6f710b6..000000000000
--- a/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- librep_0.92.5/Makefile.in.old      2011-07-25 14:08:18.000000000 +0200
-+++ librep_0.92.5/Makefile.in  2011-07-25 14:09:05.000000000 +0200
-@@ -53,15 +53,13 @@
-       $(INSTALL_SCRIPT) libtool $(DESTDIR)$(repcommonexecdir)
-       $(INSTALL_DATA) rules.mk $(DESTDIR)$(repcommonexecdir)
-       $(INSTALL_SCRIPT) install-aliases $(DESTDIR)$(repcommonexecdir)
--      $(INSTALL_DATA) rep-debugger.el $(DESTDIR)$(emacssitelispdir)
-       mkdir -p $(DESTDIR)$(libdir)/pkgconfig
-       $(INSTALL_DATA) $(top_srcdir)/librep.pc $(DESTDIR)$(libdir)/pkgconfig/
- 
- installdirs : mkinstalldirs
-       $(SHELL) $< $(DESTDIR)$(repdir) \
-         $(DESTDIR)$(bindir) $(DESTDIR)$(aclocaldir) \
--        $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir) \
--        $(DESTDIR)$(emacssitelispdir)
-+        $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir)
- 
- uninstall :
-       -for dir in $(INSTALL_SUBDIRS); do \

diff --git a/dev-libs/librep/files/librep-0.92.7-configure-clang16.patch 
b/dev-libs/librep/files/librep-0.92.7-configure-clang16.patch
deleted file mode 100644
index 43c458690e43..000000000000
--- a/dev-libs/librep/files/librep-0.92.7-configure-clang16.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-https://github.com/SawfishWM/librep/pull/17
-
-From 5c653297288fc1d82f92d224c745d89f9e6734fd Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Sat, 5 Nov 2022 06:04:27 +0000
-Subject: [PATCH] build: fix -Wimplicit-int, -Wimplicit-function-declaration
-
-Clang 16 will make -Wimplicit-int and -Wimplicit-function-declaration
-errors by default.
-
-In this case, it manifests as:
-```
-checking for data type to store Lisp values... configure: error: cannot find 
Lisp value type; set --with-value-type (see README)
-```
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], or the
-(new) c-std-porting mailing list [2].
-
-[0] https://lwn.net/Articles/913505/
-[1] 
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] hosted at lists.linux.dev.
-
-Signed-off-by: Sam James <[email protected]>
---- a/configure.ac
-+++ b/configure.ac
-@@ -432,15 +432,18 @@ AC_ARG_WITH(value-type,
-                          as a pointer. [TYPE=<probed>] (see README)], [],
-  [with_value_type="undef"])
- if test "${with_value_type}" = "undef"; then
--  AC_TRY_RUN([main () { exit (!(sizeof (int) >= sizeof (void *)));}],
-+  AC_TRY_RUN([#include <stdlib.h>
-+             int main () { exit (!(sizeof (int) >= sizeof (void *)));}],
-            [with_value_type=int])
- fi
- if test "${with_value_type}" = "undef"; then
--  AC_TRY_RUN([main () { exit (!(sizeof (long int) >= sizeof (void *)));}],
-+  AC_TRY_RUN([#include <stdlib.h>
-+             int main () { exit (!(sizeof (long int) >= sizeof (void *)));}],
-            [with_value_type="long int"])
- fi
- if test "${with_value_type}" = "undef"; then
--  AC_TRY_RUN([main () { exit (!(sizeof (long long int) >= sizeof (void 
*)));}],
-+  AC_TRY_RUN([#include <stdlib.h>
-+             int main () { exit (!(sizeof (long long int) >= sizeof (void 
*)));}],
-            [with_value_type="long long int"])
- fi
- if test "${with_value_type}" = "undef"; then
-@@ -457,7 +460,8 @@ AC_ARG_WITH(value-sizeof,
- if test "${with_value_sizeof}" = "undef"; then
-   dnl the following fragment is inspired by AC_CHECK_SIZEOF
-   AC_TRY_RUN([#include <stdio.h>
--            main () {
-+              #include <stdlib.h>
-+              int main () {
-               FILE *f = fopen ("conftestval", "w");
-               if (!f) exit (1);
-               fprintf (f, "%d\n", sizeof (${with_value_type}));
-@@ -548,11 +552,12 @@ if test "${with_stack_direction}" = unknown; then
-   esac
- fi
- if test "${with_stack_direction}" = unknown; then
--  AC_TRY_RUN([ int level = 1;
--             void inner (char *foo) { char bar;
-+  AC_TRY_RUN([#include <stdlib.h>
-+               int level = 1;
-+               void inner (char *foo) { char bar;
-                if (level) { --level; inner (foo); }
-                exit (!(foo >= &bar)); }
--             void main () { char foo; inner (&foo); } ],
-+             int main () { char foo; inner (&foo); } ],
-    [AC_MSG_RESULT([downwards])
-     with_stack_direction=-1],
-    [AC_MSG_RESULT([upwards])
-

diff --git a/dev-libs/librep/files/librep-0.92.7-libtool.patch 
b/dev-libs/librep/files/librep-0.92.7-libtool.patch
deleted file mode 100644
index fd23c1fb0995..000000000000
--- a/dev-libs/librep/files/librep-0.92.7-libtool.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-https://github.com/SawfishWM/librep/commit/2c064d70e25137915ceaef616c2be5c8bbcc42da
-
-From 2c064d70e25137915ceaef616c2be5c8bbcc42da Mon Sep 17 00:00:00 2001
-From: orbea <[email protected]>
-Date: Wed, 19 May 2021 13:19:49 -0700
-Subject: [PATCH] build: Respect $(LIBTOOL)
-
-downstream issue: https://bugs.gentoo.org/790812
-
-Signed-off-by: orbea <[email protected]>
---- a/Makedefs.in
-+++ b/Makedefs.in
-@@ -83,7 +83,6 @@ COMPILE_ENV = REPLISPDIR=$(top_builddir)/lisp \
-             REPDOCFILE=$(top_builddir)/doc-strings
- 
- include $(top_srcdir)/rules.mk
--rep_LIBTOOL=@LIBTOOL@
- 
- # Rule for ``normal'' C objects
- %.o : %.c
---- a/rules.mk.in
-+++ b/rules.mk.in
-@@ -3,19 +3,18 @@
- repcommonexecdir?=$(shell pkg-config --variable=repcommonexecdir librep)
- rpath_repcommonexecdir:=$(repcommonexecdir)
- 
--rep_LIBTOOL:=$(repcommonexecdir)/libtool --tag CC
- rep_INSTALL_ALIASES:=$(repcommonexecdir)/install-aliases
- 
- # use this like:
- # foo.la : foo.lo bar.lo
- #     $(rep_DL_LD) link-opts...
- 
--rep_DL_LD=$(rep_LIBTOOL) --mode=link --tag=CC $(CC) -avoid-version -module 
-rpath $(rpath_repcommonexecdir)
-+rep_DL_LD=$(LIBTOOL) --mode=link --tag=CC $(CC) -avoid-version -module -rpath 
$(rpath_repcommonexecdir)
- 
--rep_DL_INSTALL=$(rep_LIBTOOL) --mode=install $(INSTALL)
--rep_DL_UNINSTALL=$(rep_LIBTOOL) --mode=uninstall rm
-+rep_DL_INSTALL=$(LIBTOOL) --mode=install $(INSTALL)
-+rep_DL_UNINSTALL=$(LIBTOOL) --mode=uninstall rm
- 
- # Rule for libtool controlled C objects
- %.lo : %.c
--      $(rep_LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
-+      $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
- 
-

diff --git a/dev-libs/librep/librep-0.92.7-r2.ebuild 
b/dev-libs/librep/librep-0.92.7-r2.ebuild
deleted file mode 100644
index f0593a2c0d4d..000000000000
--- a/dev-libs/librep/librep-0.92.7-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common flag-o-matic
-
-DESCRIPTION="Shared library implementing a Lisp dialect"
-HOMEPAGE="https://sawfish.fandom.com/";
-SRC_URI="https://download.tuxfamily.org/librep/${PN}_${PV}.tar.xz";
-S="${WORKDIR}/${PN}_${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
-IUSE="emacs gmp readline"
-
-RDEPEND="
-       >=sys-libs/gdbm-1.8.0:=
-       virtual/libcrypt:=
-       emacs? ( >=app-editors/emacs-23.1:* )
-       gmp? ( dev-libs/gmp:= )
-       readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       sys-apps/texinfo
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.92.0-disable-elisp.patch
-       "${FILESDIR}"/${P}-libtool.patch
-       "${FILESDIR}"/${PN}-0.92.7-configure-clang16.patch
-)
-
-src_prepare() {
-       default
-
-       # The configure script is missing from this version.
-       eautoreconf
-}
-
-src_configure() {
-       # fix #570072 by restoring pre-GCC5 inline semantics
-       append-cflags -std=gnu89
-
-       econf \
-               $(use_with gmp) \
-               $(use_with readline) \
-               --libexecdir=/usr/$(get_libdir) \
-               --without-ffi
-}
-
-src_compile() {
-       default
-
-       if use emacs; then
-               elisp-compile rep-debugger.el || die "elisp-compile failed"
-       fi
-}
-
-src_install() {
-       default
-
-       find "${D}" -name '*.la' -delete || die
-       find "${D}/usr/share/man" -name '*.gz' -exec gunzip {} \; || die
-
-       dodoc doc/*
-
-       if use emacs; then
-               elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install 
failed"
-               elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" \
-                       || die "elisp-site-file-install failed"
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/dev-libs/librep/metadata.xml b/dev-libs/librep/metadata.xml
deleted file mode 100644
index 151d92934d56..000000000000
--- a/dev-libs/librep/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <upstream>
-               <remote-id type="github">SawfishWM/librep</remote-id>
-               <remote-id type="sourceforge">librep</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 466b35b3dce6..a3b39c75ee7c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -762,13 +762,6 @@ media-libs/guilib
 # Removal on 2023-01-20. Bug #875143.
 x11-libs/libast
 
-# Michał Górny <[email protected]> (2022-12-19)
-# Unmaintained.  The current sawfish version in ::gentoo is a prerelease
-# from 2017, there was a single release in 2021.  Bugs are accumulating.
-# Includes dependencies specific to Sawfish.
-# Removal on 2023-01-18.  Bug #637978.
-dev-libs/librep
-
 # Jaco Kroon <[email protected]> (2022-12-14)
 # Multiple open bugs (bug #870910, bug #877731, bug #884815), only one of which
 # is trivial to solve.

Reply via email to