--- wmmatrix-0.2.orig/debian/control +++ wmmatrix-0.2/debian/control @@ -0,0 +1,22 @@ +Source: wmmatrix +Section: x11 +Priority: optional +Build-Depends: cdbs, debhelper (>= 5), libx11-dev, libxext-dev, libxpm-dev, + x11proto-core-dev, quilt +Maintainer: Varun Hiremath +Uploaders: Torsten Werner +Standards-Version: 3.8.0 +Homepage: http://dockapps.org/file.php/id/10 +Vcs-Svn: https://bollin.googlecode.com/svn/wmmatrix/trunk +Vcs-Browser: http://bollin.googlecode.com/svn/wmmatrix/trunk + +Package: wmmatrix +Architecture: any +Depends: ${shlibs:Depends} +Description: View The Matrix in a Window Maker dock application + wmMatrix displays The Matrix (from the film of the same name) in + a Window Maker dock application. Based on the xscreensaver module + created by Jamie Zawinski. + . + Although it works best with Window Maker, wmMatrix also works fine + with other window managers. --- wmmatrix-0.2.orig/debian/links +++ wmmatrix-0.2/debian/links @@ -0,0 +1,3 @@ +/usr/bin/wmMatrix /usr/bin/wmmatrix +/usr/share/man/man1/wmMatrix.1.gz /usr/share/man/man1/wmmatrix.1.gz + --- wmmatrix-0.2.orig/debian/compat +++ wmmatrix-0.2/debian/compat @@ -0,0 +1 @@ +5 --- wmmatrix-0.2.orig/debian/dirs +++ wmmatrix-0.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- wmmatrix-0.2.orig/debian/changelog +++ wmmatrix-0.2/debian/changelog @@ -0,0 +1,130 @@ +wmmatrix (0.2-12) unstable; urgency=low + + * Change Build-Depends: x11proto-core-dev. (Closes: #515407) + * Bump up Standards-Version: 3.8.0 (no changes). + + -- Torsten Werner Tue, 17 Feb 2009 20:19:20 +0100 + +wmmatrix (0.2-11) unstable; urgency=low + + * debian/control: + + Add Homepage header and replace XS-Vcs with Vcs + + Bump up Standards-Version to 3.7.3 + * Add watch file + + -- Varun Hiremath Fri, 18 Jan 2008 11:53:07 +0530 + +wmmatrix (0.2-10) unstable; urgency=low + + * Add debian/README.Debian-source file. + * Make some corrections in debian/orig-tar.sh + + -- Varun Hiremath Mon, 27 Aug 2007 22:54:41 +0530 + +wmmatrix (0.2-9) unstable; urgency=low + + * debian/patches: + + added Makefile.diff to install binaries without stripping (Closes: #438274) + + added wmMatrix.c.diff to include changes made in the upstream source file. + * debian/rules: implement get-orig-source + + -- Varun Hiremath Thu, 16 Aug 2007 16:00:28 +0530 + +wmmatrix (0.2-8) unstable; urgency=low + + * Switch to cdbs. + + -- Torsten Werner Tue, 10 Apr 2007 13:55:27 +0200 + +wmmatrix (0.2-7) experimental; urgency=low + + [ Varun Hiremath ] + * New maintainer (Closes: #398122) + * debian/control: Build Depend on debhelper 5 + * debian/compat: Change to 5 + + [ Torsten Werner ] + * Add myself to Uploaders in debian/control. + + -- Torsten Werner Fri, 1 Dec 2006 21:36:38 +0100 + +wmmatrix (0.2-6) unstable; urgency=low + + * QA upload. + * Set maintainer to QA Group; Orphaned: #398122 + * Conforms with latest Standards Version 3.7.2 + + -- Michael Ablassmeier Mon, 27 Nov 2006 11:28:04 +0100 + +wmmatrix (0.2-5.1) unstable; urgency=low + + * NMU to fix release critical bug + * Split xlibs-dev build depends into individual Xorg libraries + (Closes: #347063) + * Make package lintian clean: + - Standards version 3.6.2.1 + - quote menu file items + + -- Bastian Kleineidam Fri, 13 Jan 2006 21:29:06 +0100 + +wmmatrix (0.2-5) unstable; urgency=low + + * Update menu file to reflect FSB policy. (Closes: #212200) + + -- Thorsten Sauter Mon, 22 Sep 2003 21:53:08 +0200 + +wmmatrix (0.2-4) unstable; urgency=low + + * New maintainer (Closes: #201368) + * Acknowledge NMU. (Closes: #170235) + * debian/control: + - update maintainer field + - update standards-version + - update minimum debhelper version + * debian/compat: + - using debhelper version 4 + * debian/README.Debian: remove useless readme file + * debian/menu: + - reformat/update menu file, to match the policy + * debian/rules: + - rewriting some parts + * debian/changelog: + - remove add-log-mailing-address from changelog + * install binaries and manualpages under /usr/bin and /usr/share/man + * including patch from Michael-John Turner : + - wmmatrix supports now the "-c" commandline switch, to support other + double-click commands then "xscreensaver -demo". (Closes: 74277) + * package contains now links from wmMatrix to wmmatrix, which makes the + binaries a little bit more compatible with other wmaker applets + + -- Thorsten Sauter Wed, 27 Aug 2003 23:05:01 +0200 + +wmmatrix (0.2-3.1) unstable; urgency=low + + * NMU + * Rebuild to get rid of obsolete xlib6g dependency. Closes: #170235. + * Add Build-Depends. + + -- Daniel Schepler Fri, 14 Mar 2003 19:50:13 -0800 + +wmmatrix (0.2-3) unstable; urgency=low + + * Rebuilt with latest libxpm to fix dependancy problem (Closes:#67958). + + -- Michael-John Turner Sun, 6 Aug 2000 15:08:20 +0200 + +wmmatrix (0.2-2) unstable; urgency=low + + * Changed menu section to Games/Toys. D'oh! How did I manage to mess + that one up in the original release? (closes #47754). + * Added pixmap for menu entry. + * Manual page updated. + + -- Michael-John Turner Wed, 20 Oct 1999 12:09:05 +0200 + +wmmatrix (0.2-1) unstable; urgency=low + + * Initial Release. + + -- Michael-John Turner Sat, 11 Sep 1999 16:13:36 +0200 + --- wmmatrix-0.2.orig/debian/rules +++ wmmatrix-0.2/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR)/usr/ + +get-orig-source: + sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION) --- wmmatrix-0.2.orig/debian/manpages +++ wmmatrix-0.2/debian/manpages @@ -0,0 +1,2 @@ +debian/wmMatrix.1 + --- wmmatrix-0.2.orig/debian/orig-tar.sh +++ wmmatrix-0.2/debian/orig-tar.sh @@ -0,0 +1,22 @@ +#!/bin/sh -e + +TAR=wmmatrix_$1.orig.tar.gz +DIR=wmmatrix-$1.orig + +# Download the sources +wget http://dockapps.org/download.php/id/17/wmMatrix-0.2.tar.gz + +# POSIX tar archive, remove binaries +tar -x -f wmMatrix-$1.tar.gz +mv wmMatrix-$1 $DIR +GZIP=--best tar -c -z -f $TAR --exclude '*.o' --exclude 'wmMatrix' $DIR +rm -rf $DIR wmMatrix-$1.tar.gz + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi + +exit 0 --- wmmatrix-0.2.orig/debian/menu +++ wmmatrix-0.2/debian/menu @@ -0,0 +1,7 @@ +?package(wmmatrix):\ + needs="X11"\ + section="Games/Toys"\ + title="wmMatrix"\ + command="/usr/bin/wmmatrix"\ + icon="/usr/share/icons/mini/wmMatrix.xpm" + --- wmmatrix-0.2.orig/debian/install +++ wmmatrix-0.2/debian/install @@ -0,0 +1,3 @@ +debian/wmMatrix.xpm /usr/share/icons/ +debian/mini /usr/share/icons/ + --- wmmatrix-0.2.orig/debian/watch +++ wmmatrix-0.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://dockapps.org/files/10/17/wmMatrix-(.*)\.tar\.gz --- wmmatrix-0.2.orig/debian/wmMatrix.1 +++ wmmatrix-0.2/debian/wmMatrix.1 @@ -0,0 +1,40 @@ +.TH WMMATRIX 1 "September 1999" +.SH NAME +wmMatrix \- Dockable Matrix Display +.SH SYNOPSIS +.B wmMatrix +[\-h] [\-display ] [\-c command] [\-sml] [\-med] [\-lrg] +.SH DESCRIPTION +.PP +wmMatrix displays The Matrix (from the film of the +same name) in a dockable window +.SH OPTIONS +.TP +.B \-h +Display list of command-line options. +.TP +.B \-display [display] +Use an alternate X Display. +.TP +.B \-c command +Specify the command to launch when receiving a double-click. +.TP +.B \-sml +Use small characters for the display. +.TP +.B \-med +Use medium-sized characters for the display. +.TP +.B \-lrg +Use large characters for the display. + +.PP +Double clicking on the wmMatrix window will run xscreensaver if it's installed. + +.SH BUGS +Who knows? (Let me know if you find any). + +.SH AUTHOR +Michael G. Henderson +.br +Manual page created by Michael-John Turner --- wmmatrix-0.2.orig/debian/copyright +++ wmmatrix-0.2/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Michael-John Turner mj@debian.org on +Sat, 11 Sep 1999 16:13:36 +0200. +The current maintainer is Varun Hiremath + +It was downloaded from http://dockapps.org/file.php/id/10 + +Upstream Author: Mike Henderson + +Copyright: (c) Mike Henderson 1999 + +wmMatrix is released under the terms of the GNU GPL. + +On Debian GNU/Linux systems, the complete text of the GNU +General Public License can be found in /usr/share/common-licenses/GPL. --- wmmatrix-0.2.orig/debian/wmMatrix.xpm +++ wmmatrix-0.2/debian/wmMatrix.xpm @@ -0,0 +1,61 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"32 32 23 1", +" c Gray0", +". c #191919", +"X c Gray20", +"o c #00007f", +"O c #007f00", +"+ c #007f7f", +"@ c #7f0000", +"# c #7f007f", +"$ c #7f7f00", +"% c #4c4c4c", +"& c #666667", +"* c Gray50", +"= c Blue", +"- c Green", +"; c Cyan", +": c Red", +"> c Magenta", +", c Yellow", +"< c Gray60", +"1 c #b2b2b2", +"2 c Gray80", +"3 c Gray90", +"4 c Gray100", +/* pixels */ +" . ", +" O% .XO XO. ... ", +" OOX .OO. &% O&%O ", +" &OO .O. OO .O ", +" &O. O. O OX ", +" .OO X . .. ", +" .. . ", +" %O *OO O*OO ", +" &. .&.O -OO. ", +" O. OOX %&%O ", +" .%. &O. .OX. ", +" .. ", +" OO .-&. O%&. ", +" .&O O*-O O&-O ", +" X. &O. .O. ", +" .O O.O O. ", +" X .... ", +" .O*. &OOO ", +" O*-X &O%O ", +" O&&O OO&O ", +" .OO .... ", +" ..", +" &OO% -X OO", +" .OO&O .&O .O%", +" O%OO. XO*% .O", +" O..O OOOO .", +" .. ... ", +" O&*O O&OX .O%", +" .-*O. -&OO .*-", +" O*&O .%X. .O", +" .OOX O X", +" X. " +}; --- wmmatrix-0.2.orig/debian/README.Debian-source +++ wmmatrix-0.2/debian/README.Debian-source @@ -0,0 +1,13 @@ +wmmatrix +======== + +The upstream supplied source package contains pre-built binaries. +Currently no clean source distribution exists. Therefore, the upstream +sources were modified to comply with the Debian Free Software +Guidelines. + +Use the rules/get-orig-source target to create the orig.tar.gz. +For more details on repackaging of upstream sources please see the +debian/orig-tar.sh file. + +-- Varun Hiremath Mon, 27 Aug 2007 19:02:53 +0530 --- wmmatrix-0.2.orig/debian/mini/wmMatrix.xpm +++ wmmatrix-0.2/debian/mini/wmMatrix.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *wmMatrix-16x16[] = { +/* width height num_colors chars_per_pixel */ +" 16 16 8 1", +/* colors */ +". c #000000", +"# c #191919", +"a c #333333", +"b c #007f00", +"c c #4c4c4c", +"d c #666667", +"e c #7f7f7f", +"f c #00ff00", +/* pixels */ +".#..............", +".ba#b...d.bc....", +".d#.b......b....", +"........#.......", +"....#...dbfb....", +"...##...d##a....", +"....b...f#bd....", +"....#...d#.b....", +"..........##....", +"...bf.....dc....", +"...#b.....##....", +"...db......f...b", +"...bb#....ae...#", +"....#.....##....", +"...#e#....fb...e", +"...#b..........." +}; --- wmmatrix-0.2.orig/debian/patches/wmMatrix.c.diff +++ wmmatrix-0.2/debian/patches/wmMatrix.c.diff @@ -0,0 +1,73 @@ +diff -urN wmmatrix-0.2.orig/wmMatrix.c wmmatrix-0.2/wmMatrix.c +--- wmmatrix-0.2.orig/wmMatrix.c 1999-08-16 21:30:42.000000000 +0530 ++++ wmmatrix-0.2/wmMatrix.c 2007-08-16 15:37:22.000000000 +0530 +@@ -89,8 +89,7 @@ + char *progclass = "WMMatrix"; + int PixmapSize; + +- +- ++char *DoubleClickCmd = NULL; + + + char TimeColor[30] = "#ffff00"; +@@ -270,7 +269,7 @@ + int i; + + PixmapSize = 2; +- ++ + for (i = 1; i < argc; i++) { + + if (!strcmp(argv[i], "-display")){ +@@ -305,6 +304,17 @@ + strcpy(ExecuteCommand, argv[++i]); + HasExecute = 1; + ++ } else if (!strcmp(argv[i], "-c")){ ++ ++ if ((i+1 >= argc)||(argv[i+1][0] == '-')) { ++ fprintf(stderr, "wmMatrix: No command given\n"); ++ print_usage(); ++ exit(-1); ++ } ++ if(DoubleClickCmd!=NULL) ++ free(DoubleClickCmd); ++ DoubleClickCmd=strdup(argv[++i]); ++ + } else if (!strcmp(argv[i], "-sml")){ + + PixmapSize = 1; +@@ -325,6 +335,8 @@ + + } + ++ if(DoubleClickCmd==NULL) ++ DoubleClickCmd=strdup("xscreensaver-demo"); + + } + +@@ -378,12 +390,12 @@ + if (GotDoubleClick1) { + GotFirstClick1 = 0; + GotDoubleClick1 = 0; +- system("xscreensaver-demo"); ++ system(DoubleClickCmd); + } + + + /* +- * We got a double click on Mouse Button2 (i.e. the left one) ++ * We got a double click on Mouse Button2 (i.e. the middle one) + */ + if (GotDoubleClick2) { + GotFirstClick2 = 0; +@@ -392,7 +404,7 @@ + + + /* +- * We got a double click on Mouse Button3 (i.e. the left one) ++ * We got a double click on Mouse Button3 (i.e. the right one) + */ + if (GotDoubleClick3) { + GotFirstClick3 = 0; --- wmmatrix-0.2.orig/debian/patches/Makefile.diff +++ wmmatrix-0.2/debian/patches/Makefile.diff @@ -0,0 +1,11 @@ +Index: wmmatrix-0.2/Makefile +=================================================================== +--- wmmatrix-0.2.orig/Makefile 2007-08-16 15:58:39.000000000 +0530 ++++ wmmatrix-0.2/Makefile 2007-08-16 15:58:44.000000000 +0530 +@@ -34,5 +34,5 @@ + rm -f wmMatrix + + install:: wmMatrix +- install -c -s -m 0755 wmMatrix $(DESTDIR)/bin ++ install -c -m 0755 wmMatrix $(DESTDIR)/bin + --- wmmatrix-0.2.orig/debian/patches/series +++ wmmatrix-0.2/debian/patches/series @@ -0,0 +1,2 @@ +Makefile.diff +wmMatrix.c.diff