diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/cmatrix |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/cmatrix')
-rw-r--r-- | app-misc/cmatrix/Manifest | 8 | ||||
-rw-r--r-- | app-misc/cmatrix/cmatrix-1.2a-r3.ebuild | 50 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch | 28 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch | 48 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch | 33 | ||||
-rw-r--r-- | app-misc/cmatrix/metadata.xml | 7 |
6 files changed, 174 insertions, 0 deletions
diff --git a/app-misc/cmatrix/Manifest b/app-misc/cmatrix/Manifest new file mode 100644 index 000000000000..7b6569562c28 --- /dev/null +++ b/app-misc/cmatrix/Manifest @@ -0,0 +1,8 @@ +AUX cmatrix-1.2a-fontdir.patch 1794 SHA256 54b5722ee9d235221675732d039959029fe1bc007797323d387c9f976f754379 SHA512 fe3ffc7919576c2f1fe16240ed6915431fcbe569c16b629cfbb78d082c47c44b95808c89bec7b09201902a19f780577f0dc382d4da7275f2f096c034efeeb14a WHIRLPOOL 53b15fc6fec68eaaa3167126bc5b34479da350d2c64a19e44b3b5b030a219d813935d95d70af7580a5ffaea6a41e63aa17c1bdb026fefa4a8fc0763a5e4eec34 +AUX cmatrix-1.2a-gentoo.patch 3034 SHA256 a3c9646fe96da2a8509460c9afdb6ad85d1b704d01393d41825a1897fb49ff80 SHA512 a72651c778fae74d0b05f59a7a94bf7a9807be0367dbceef9086d9a94da0062ab9f727c6708f5a573450c8e28fcbf729828ff4c8813b68a0fbfbf9106f451c92 WHIRLPOOL 559bde7d7217656f1ec695860336963e0864240a619a169dc82f429271ca6d195c3e0bc6439858893e9b0699565c216f411698de7b817cdaa8b7c043b46abd22 +AUX cmatrix-1.2a-tinfo.patch 827 SHA256 1c1dc9a06d8d103925d4b09f191feff7de15ac9531a77c10e7d404b2d0984eb7 SHA512 cadf16edbdb2c43716de77b00bca725faa8802ab9cb6a4d5665bd20f3e1b0bf5aa5ac4b6d36c57573aa24985fe2abce4cef40b31ee288c1f13f87e31bab1922b WHIRLPOOL 89f233320ed7d1a8eb7261a88d9e37153f4420e3aed4089a20a6e84b2be5e2d8653cd07536d10c3cbc13e87428db36d5ea7a4330f593d0bf708b9a5827a7d68b +DIST cmatrix-1.2a.tar.gz 74376 SHA256 1fa6e6caea254b6fe70a492efddc1b40ad7ccb950a5adfd80df75b640577064c SHA512 a653a840378da87877bda1b48fc4087e7789b548e0f943ae15b81b5dc7a847aed28c69d2ad955bd467f38d6a08b0960349490b61c30260767e7d1560bb542d82 WHIRLPOOL 35df82e9aa1c52d59ec89130b275f02457e80750c705c372469a0d3f69484ab853b6ee416126a1130c3450dab580f5ee2aef2091a1ece5af4b352e115ee576f3 +EBUILD cmatrix-1.2a-r3.ebuild 972 SHA256 63eaf794dd30b5bc5377da5e710a8114c8d6cc42ea983fd87665b366cd86ca95 SHA512 fa9d5f7121b8c62a2df9e50eea0be0393c66449fe807c6bfa9ff02d2d2c6b19977ca2e34a3486124caf4eac3d66dea7c874e50cc25b0c2bd8e173ba7d6ca73d4 WHIRLPOOL 7e8a2c5f0742e2ead21a893d3ec0210fb656b17b764c6e970cc6992b301bf3d34e62b62203658c124f25a39cbb1e7761ac95df66fdd8959a0481f0d76c8305ae +MISC ChangeLog 3509 SHA256 47ee060e0d1d982ee143d607a1c8b2241fb6b03a1c3c66a4d15da7b265fd645b SHA512 e673ffeab7a8af5bb12e85637ed34df9f02b4dbb1dc6ad355143932c18f4517417a4a251b55f61fa0d6fdf18481d0965db516d7e23ef8f68ab755fd83cabacb8 WHIRLPOOL e9fe0e2aba6f8d7f0e1aa0d43c38c82e935ff5c8819b8142391cb61dec0d1f92a6c40d2de0f3a8817eb67bce17b3ff8739b892db74f0c0bdda3ee136d7b649d7 +MISC ChangeLog-2015 3191 SHA256 31720951a9bbcaa1aea4005933570d6f7cbb1463d45007c12082340bb715339b SHA512 9cec1091a7b5559875a2c5445591abacc224e8211f0983fb8976a15ff52c5ed86ed8f0961b4f84f5eb25fbdb8f97df0680121b64351837aa71a1f4be5b301c76 WHIRLPOOL d706ba937b7170b456d5f2767f8307f4c9694072e9f12443b1163bdd880753519276d9fb6513d6a33fca94571d33b04d58d8149c3c7c8b988022d493ff831571 +MISC metadata.xml 210 SHA256 a9714c72567ba42610a3071be51707c7c137e15b8c51243b1c5a21b4d379a235 SHA512 267d83ef7ae9579f44c22fe568d6d2064e426acdd07c00a69c735801e588ae0fb1988ae60199e349d444ddb5393a6a0a6836df89b2205fc85e25144ecbf56148 WHIRLPOOL a9d2232ad6b2ed51513acb5432f83a3b604f37497ac85f58882414e7da80b5ed05d57c4c892aa98d2db97826fd8b72331f19b82a02406d0d7ded9da73bb0ef54 diff --git a/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild b/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild new file mode 100644 index 000000000000..d3d8c549c732 --- /dev/null +++ b/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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="http://www.asty.org/cmatrix" +SRC_URI="http://www.asty.org/${PN}/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" +IUSE="X" + +DEPEND=" + X? ( x11-apps/mkfontdir ) + 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/files/cmatrix-1.2a-fontdir.patch b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch new file mode 100644 index 000000000000..6e69841b5e01 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch @@ -0,0 +1,28 @@ +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 new file mode 100644 index 000000000000..5f88cd0fa876 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch @@ -0,0 +1,48 @@ +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 new file mode 100644 index 000000000000..60720c7da8b9 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch @@ -0,0 +1,33 @@ +--- 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 diff --git a/app-misc/cmatrix/metadata.xml b/app-misc/cmatrix/metadata.xml new file mode 100644 index 000000000000..fed47a353275 --- /dev/null +++ b/app-misc/cmatrix/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type='person'> +<email>jer@gentoo.org</email> +</maintainer> +</pkgmetadata> |