From d3e4f4636183f5f763c08c160f48ad82534069bd Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Fri, 26 Mar 2021 13:59:44 -0700 Subject: [PATCH] app-misc/cmatrix: drop old Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev --- app-misc/cmatrix/Manifest | 1 - app-misc/cmatrix/cmatrix-1.2a-r3.ebuild | 50 ----------------- app-misc/cmatrix/cmatrix-1.2a-r4.ebuild | 55 ------------------- .../cmatrix/files/cmatrix-1.2a-fontdir.patch | 28 ---------- .../cmatrix/files/cmatrix-1.2a-gentoo.patch | 48 ---------------- .../cmatrix/files/cmatrix-1.2a-tinfo.patch | 33 ----------- 6 files changed, 215 deletions(-) delete mode 100644 app-misc/cmatrix/cmatrix-1.2a-r3.ebuild delete mode 100644 app-misc/cmatrix/cmatrix-1.2a-r4.ebuild delete mode 100644 app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch delete mode 100644 app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch delete mode 100644 app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch diff --git a/app-misc/cmatrix/Manifest b/app-misc/cmatrix/Manifest index e0b045ba252a6..9828cf2e5a891 100644 --- a/app-misc/cmatrix/Manifest +++ b/app-misc/cmatrix/Manifest @@ -1,2 +1 @@ -DIST cmatrix-1.2a.tar.gz 74376 BLAKE2B 03319cecc8b15c441f36aa6c3267c4c0793855835c374e6fc45be731fd5907333ecf1f179b6761da8499a40bd199afc0c3c018949a325f5ca139c8a09662917f SHA512 a653a840378da87877bda1b48fc4087e7789b548e0f943ae15b81b5dc7a847aed28c69d2ad955bd467f38d6a08b0960349490b61c30260767e7d1560bb542d82 DIST cmatrix-2.0.tar.gz 205640 BLAKE2B 3d38903b93853afc077c00308b84106664ec2ea3a31601ba7ab858f6571158182858de87392b5940725456bdd8c82232228451a4d30813e2c0a8bec99f285814 SHA512 1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530 diff --git a/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild b/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild deleted file mode 100644 index c684a70c88ba7..0000000000000 --- a/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix" -HOMEPAGE="https://sourceforge.net/projects/cmatrix/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86" -IUSE="X" - -DEPEND=" - X? ( >=x11-apps/mkfontscale-1.2.0 ) - sys-libs/ncurses:0=" - -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-tinfo.patch -) - -src_prepare() { - default - - use X && eapply "${FILESDIR}"/${P}-fontdir.patch - - eautoreconf -} - -src_install() { - dodir /usr/share/consolefonts - dodir /usr/lib/kbd/consolefonts - use X && dodir /usr/share/fonts/misc - - default -} - -pkg_postinst() { - if use X; then - if [[ -d "${ROOT}"usr/share/fonts/misc ]] ; then - einfo ">>> Running mkfontdir on ${ROOT}usr/share/fonts/misc" - mkfontdir "${ROOT}"usr/share/fonts/misc - fi - fi -} diff --git a/app-misc/cmatrix/cmatrix-1.2a-r4.ebuild b/app-misc/cmatrix/cmatrix-1.2a-r4.ebuild deleted file mode 100644 index 7caf29f9a2ee1..0000000000000 --- a/app-misc/cmatrix/cmatrix-1.2a-r4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools font - -DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix" -HOMEPAGE="https://sourceforge.net/projects/cmatrix/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="X" - -DEPEND=" - X? ( >=x11-apps/mkfontscale-1.2.0 ) - sys-libs/ncurses:0=" - -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-tinfo.patch -) - -src_prepare() { - default - - use X && eapply "${FILESDIR}"/${P}-fontdir.patch - - eautoreconf -} - -src_install() { - dodir /usr/share/consolefonts - dodir /usr/lib/kbd/consolefonts - use X && dodir /usr/share/fonts/misc - - default -} - -pkg_postinst() { - if use X; then - if [[ -d "${ROOT}"usr/share/fonts/misc ]] ; then - einfo ">>> Running mkfontdir on ${ROOT}usr/share/fonts/misc" - mkfontdir "${ROOT}"usr/share/fonts/misc - fi - font_pkg_postinst - fi -} - -pkg_postrm() { - use X && font_pkg_postrm -} diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch deleted file mode 100644 index 6e69841b5e011..0000000000000 --- a/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naru cmatrix-1.2a.orig/Makefile.am cmatrix-1.2a/Makefile.am ---- cmatrix-1.2a.orig/Makefile.am 2008-12-24 02:37:43.000000000 +0000 -+++ cmatrix-1.2a/Makefile.am 2008-12-24 02:50:08.000000000 +0000 -@@ -18,20 +18,9 @@ - $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \ - $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \ - fi -- @if test -d /usr/lib/X11/fonts/misc; then \ -- echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ -- echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ -- echo " Done. If this is the first time you have installed CMatrix you will"; \ -+ @if test -d /usr/share/fonts/misc; then \ -+ echo " Installing X window matrix fonts in $(DESTDIR)/usr/share/fonts/misc..."; \ -+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/share/fonts/misc; \ -+ echo " If this is the first time you have installed CMatrix you will"; \ - echo " probably have to restart X window in order to use the mtx.pcf font."; \ -- else \ -- if test -d /usr/X11R6/lib/X11/fonts/misc; then \ -- echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ -- echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ -- echo " Done. If this is the first time you have installed CMatrix you will"; \ -- echo " probably have to restart X window in order to use the mtx.pcf font."; \ -- fi \ - fi diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch deleted file mode 100644 index 5f88cd0fa8765..0000000000000 --- a/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -urN cmatrix-1.2a.old/Makefile.am cmatrix-1.2a/Makefile.am ---- cmatrix-1.2a.old/Makefile.am Sun Mar 31 17:17:17 2002 -+++ cmatrix-1.2a/Makefile.am Sat Jul 6 05:32:06 2002 -@@ -9,30 +9,28 @@ - - install-data-local: - @if test -d /usr/share/consolefonts; then \ -- echo " Installing matrix fonts in /usr/share/consolefonts..."; \ -- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \ -- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \ -+ echo " Installing matrix fonts in $(DESTDIR)/usr/share/consolefonts..."; \ -+ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/share/consolefonts; \ -+ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/share/consolefonts; \ - fi - @if test -d /usr/lib/kbd/consolefonts; then \ -- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \ -- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \ -- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \ -+ echo " Installing matrix fonts in $(DESTDIR)/usr/lib/kbd/consolefonts..."; \ -+ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \ -+ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \ - fi - @if test -d /usr/lib/X11/fonts/misc; then \ -- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ -- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \ -- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \ -+ echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ -+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ -+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ -+ echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ - echo " Done. If this is the first time you have installed CMatrix you will"; \ - echo " probably have to restart X window in order to use the mtx.pcf font."; \ - else \ - if test -d /usr/X11R6/lib/X11/fonts/misc; then \ -- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ -- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ -- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \ -- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \ -+ echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ -+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ -+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ -+ echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ - echo " Done. If this is the first time you have installed CMatrix you will"; \ - echo " probably have to restart X window in order to use the mtx.pcf font."; \ - fi \ diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch deleted file mode 100644 index 60720c7da8b9b..0000000000000 --- a/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -8,9 +8,7 @@ - AC_PROG_INSTALL - AC_PROG_MAKE_SET - --dnl Checks for libraries. --dnl Replace `main' with a function in -lncurses: --AC_CHECK_LIB(ncurses, main) -+PKG_PROG_PKG_CONFIG - - dnl Checks for header files. - AC_HEADER_STDC -@@ -26,18 +24,7 @@ - - AC_CHECK_HEADERS(curses.h ncurses.h) - --CURSES_LIB_NAME="" --AC_CHECK_LIB(ncurses, tgetent, CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses) -- --if eval "test x$CURSES_LIB_NAME = x" --then -- AC_CHECK_LIB(curses, tgetent, CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses) --fi -- --if eval "test x$CURSES_LIB_NAME = x" --then -- AC_CHECK_LIB(termcap, tgetent, CURSES_LIB="-ltermcap" CURSES_LIB_NAME=termcap) --fi -+PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS";CURSES_LIB_NAME=ncurses]) - - if eval "test x$CURSES_LIB_NAME = x" - then