summaryrefslogtreecommitdiff
path: root/app-misc/cmatrix/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/cmatrix/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/cmatrix/files')
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch28
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch48
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch33
3 files changed, 109 insertions, 0 deletions
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