--- cmatrix-1.2a.orig/cmatrix.1 +++ cmatrix-1.2a/cmatrix.1 @@ -1,6 +1,6 @@ .TH CMatrix 1 "Mon May 3 1999" .SH NAME -CMatrix +CMatrix \- simulates the display from "The Matrix" .SH SYNOPSIS .B cmatrix [\-abBflohnsVx] [\-u update] [\-C color] --- cmatrix-1.2a.orig/cmatrix.c +++ cmatrix-1.2a/cmatrix.c @@ -241,8 +241,6 @@ } - - int main(int argc, char *argv[]) { int i, j = 0, count = 0, screensaver = 0, asynch = 0, bold = -1, @@ -253,6 +251,11 @@ char *oldtermname, *syscmd = NULL; int optchr, keypress; + sigset_t sigs; + + sigemptyset(&sigs); + sigaddset(&sigs, SIGWINCH); + /* Many thanks to morph- (morph@jmss.com) for this getopt patch */ opterr = 0; while ((optchr = getopt(argc, argv, "abBfhlnosxVu:C:")) != EOF) { @@ -462,6 +465,7 @@ break; } } + sigprocmask(SIG_BLOCK, &sigs, NULL); for (j = 0; j <= COLS - 1; j += 2) { if (count > updates[j] || asynch == 0) { @@ -624,6 +628,7 @@ } } refresh(); + sigprocmask(SIG_UNBLOCK, &sigs, NULL); napms(update * 10); } --- cmatrix-1.2a.orig/debian/changelog +++ cmatrix-1.2a/debian/changelog @@ -0,0 +1,129 @@ +cmatrix (1.2a-5build2) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 09:40:14 +0000 + +cmatrix (1.2a-5build1) vivid; urgency=medium + + * No change rebuild to get debug symbols on all architectures. + + -- Brian Murray Thu, 18 Dec 2014 10:35:06 -0800 + +cmatrix (1.2a-5) unstable; urgency=low + + * Corrected package description. Closes: #711724 + * Update Standards-Version to 3.9.5 + * Add ${misc:Depends} to cmatrix binary package Depends + * Set source format to 1.0 + + -- Diego Fernández Durán Sun, 16 Mar 2014 15:23:46 +0100 + +cmatrix (1.2a-4) unstable; urgency=low + + * New maintainer. Closes: #465929 + + -- Diego Fernández Durán Mon, 28 Jul 2008 22:03:08 +0200 + +cmatrix (1.2a-3) unstable; urgency=low + + * QA upload. + * Acknowledging NMU (Closes: #362323, #290089) + * debian/control + - set maintainer to QA Group + - bump Standards-Version to 3.8.0 + - bump debhelper versione build-dep to at least 5 + - reformat of cmatrix short description + - added period at end of cmatrix long description + - added Homepage field + - replaced recommends on console-tools with kbd; Closes: #387129, #281796 + - added build-dep to autotools-dev to fix outdated config.{sub,guess}; + thanks to Vincent Bernat for noticing + * debian/copyright + - indented upstream author and copyright with 4 spaces + - enhanced license text + - updated FSF address + * debian/cmatrix.menu + - updated section to Screen/Saving + * cmatrix.1 + - fixed WhatIs manpage section (lintian warning) + + -- Sandro Tosi Sat, 26 Jul 2008 16:21:19 +0200 + +cmatrix (1.2a-2.1) unstable; urgency=high + + * Non-maintainer upload with high urgency for fixing RC-bug. + * Updated to Standards version 3.7.2 + * Completed xfonts transitions (Closes: #362323) + + Install fonts in /usr/share/fonts/X11 + * Adjust debian/copyright (Closes: #290089) + + -- Mohammed Adnène Trojette Tue, 12 Dec 2006 05:28:21 +0100 + +cmatrix (1.2a-2) unstable; urgency=low + + * cmatric.c: Fix segfault on terminal resize (Closes: Bug#268811) + * debian/control: Change section on cmatrix-xfont to match override + + -- Edward Betts Thu, 23 Sep 2004 22:37:18 +0100 + +cmatrix (1.2a-1) unstable; urgency=low + + * New upstream release (Closes: Bug#172587) + * debian/control: Standards-Version: 3.6.1 + * debian/copyright: version GPL (Closes: Bug#133490) + * debian/rules: rewrite using cdbs + + -- Edward Betts Mon, 23 Aug 2004 23:47:06 +0100 + +cmatrix (1.1b-5) unstable; urgency=low + + * debian/control: split X11 font into seperate package + * debian/control: no longer depends on xbase-clients + * debian/control: removed version depends from xutils + * debian/rules: handle package split + * debian/rules: gave up using dh_installxfonts, + rolled my own postinst and postrm (Closes: Bug#89095) + + -- Edward Betts Tue, 10 Apr 2001 11:31:36 -0600 + +cmatrix (1.1b-4) unstable; urgency=low + + * debian/control: Standards-Version: 3.5.2 + * debian/rules: Changed to debhelper 3 + * debian/rules: Removed dh_suidregister + * debian/rules: Removed dh_testversion + * debian/rules: Added dh_installxfonts (Closes: Bug#89095) + * debian/rules: Support DEB_BUILD_OPTIONS + + -- Edward Betts Sun, 25 Mar 2001 04:31:39 -0700 + +cmatrix (1.1b-3) unstable; urgency=low + + * Added Depends on xutils because postinst uses mkfontdir + (closes: Bug#79879) + + -- Edward Betts Tue, 19 Dec 2000 05:25:06 -0700 + +cmatrix (1.1b-2) unstable; urgency=low + + * Updated Standards-Version to 3.2.1 + * Added version to debhelper build-depends to match dh_testversion + + -- Edward Betts Mon, 30 Oct 2000 15:13:34 -0700 + +cmatrix (1.1b-1) unstable; urgency=low + + * New upstream release. + * debian/control: Depends: kbd|kbd-compat -> Recommends: console-tools + * debian/README.Debian: removed. + * debian/copyright: updated with new e-mail and web addresses. + * debian/watch: updated with new web address. + + -- Edward Betts Mon, 17 Apr 2000 11:31:14 +0100 + +cmatrix (1.0b-1) unstable; urgency=low + + * Initial Release. + + -- Edward Betts Sun, 7 Nov 1999 14:00:35 +0000 --- cmatrix-1.2a.orig/debian/cmatrix-xfont.install +++ cmatrix-1.2a/debian/cmatrix-xfont.install @@ -0,0 +1 @@ +mtx.pcf usr/share/fonts/X11/misc --- cmatrix-1.2a.orig/debian/cmatrix.docs +++ cmatrix-1.2a/debian/cmatrix.docs @@ -0,0 +1,2 @@ +README +TODO --- cmatrix-1.2a.orig/debian/cmatrix.install +++ cmatrix-1.2a/debian/cmatrix.install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin +debian/tmp/usr/share/man +matrix.fnt matrix.psf.gz usr/share/consolefonts --- cmatrix-1.2a.orig/debian/cmatrix.menu +++ cmatrix-1.2a/debian/cmatrix.menu @@ -0,0 +1,17 @@ +?package(cmatrix):\ + needs="x11"\ + section="Screen/Saving"\ + title="Console Matrix (X11)"\ + command="/usr/bin/cmatrix -x" + +?package(cmatrix):\ + needs="text"\ + section="Screen/Saving"\ + title="Console Matrix (Virtual Console)"\ + command="/usr/bin/cmatrix -l" + +?package(cmatrix):\ + needs="text"\ + section="Screen/Saving"\ + title="Console Matrix (Text)"\ + command="/usr/bin/cmatrix" --- cmatrix-1.2a.orig/debian/compat +++ cmatrix-1.2a/debian/compat @@ -0,0 +1 @@ +5 --- cmatrix-1.2a.orig/debian/control +++ cmatrix-1.2a/debian/control @@ -0,0 +1,29 @@ +Source: cmatrix +Section: misc +Priority: optional +Maintainer: Diego Fernández Durán +Standards-Version: 3.9.5 +Build-Depends: cdbs, debhelper (>= 5), libncurses5-dev, kbd, autotools-dev +Homepage: http://www.asty.org/cmatrix/ + +Package: cmatrix +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: kbd +Suggests: cmatrix-xfont +Description: simulates the display from "The Matrix" + Screen saver for the terminal based in the movie "The Matrix". It works in + terminals of all dimensions and have the following features: + * Support terminal resize. + * Screen saver mode: any key closes it. + * Selectable color. + * Change text scroll rate. + +Package: cmatrix-xfont +Section: x11 +Architecture: all +Depends: ${misc:Depends} +Recommends: cmatrix +Description: X11 font for cmatrix + Console Matrix simulates the display from "The Matrix", this package provides + the font to run cmatrix in an xterm. --- cmatrix-1.2a.orig/debian/copyright +++ cmatrix-1.2a/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Edward Betts on +Sun, 7 Nov 1999 14:00:35 +0000. + +It was downloaded from http://www.asty.org/cmatrix + +Upstream Author: + + Chris Allegretta + +Copyright: + + Copyright (C) 1999 Chris Allegretta + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- cmatrix-1.2a.orig/debian/rules +++ cmatrix-1.2a/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_MAKE_INSTALL_TARGET=install-exec install-man DESTDIR=$(DEB_DESTDIR) +DEB_INSTALL_DOCS_ALL= + +binary-install/cmatrix-xfont:: + dh_installxfonts -pcmatrix-xfont --- cmatrix-1.2a.orig/debian/source/format +++ cmatrix-1.2a/debian/source/format @@ -0,0 +1 @@ +1.0 --- cmatrix-1.2a.orig/debian/watch +++ cmatrix-1.2a/debian/watch @@ -0,0 +1,3 @@ +version=2 + +http://www.asty.org/cmatrix/dist/cmatrix-(.*)\.tar\.gz debian uupdate