diff options
-rw-r--r-- | Makefile.in | 6 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/compat | 1 | ||||
-rwxr-xr-x | debian/control | 25 | ||||
-rwxr-xr-x | debian/copyright | 57 | ||||
-rw-r--r-- | debian/menu | 5 | ||||
-rw-r--r-- | debian/postinst | 24 | ||||
-rw-r--r-- | debian/postrm | 11 | ||||
-rwxr-xr-x | debian/rules | 17 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/xlennart.desktop | 10 | ||||
-rw-r--r-- | debian/xlennart.install | 2 | ||||
-rw-r--r-- | debian/xlennart.xpm | 86 |
13 files changed, 250 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index c0d7e85..3fad019 100644 --- a/Makefile.in +++ b/Makefile.in @@ -43,7 +43,7 @@ XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \ pixmaps/icon.xpm pixmaps/centos.xpm pixmaps/logo.xpm \ pixmaps/maccpu.xpm pixmaps/debian.xpm pixmaps/nextcpu.xpm \ pixmaps/gentoo.xpm pixmaps/openbsd.xpm pixmaps/os2cpu.xpm \ - pixmaps/palm.xpm pixmaps/palmcpu.xpm pixmaps/mandriva.xpm \ + pixmaps/mandriva.xpm pixmaps/openbsd.xpm\ pixmaps/spark_0.xpm pixmaps/slackware.xpm pixmaps/suse.xpm \ pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/sgicpu.xpm \ pixmaps/suncpu.xpm pixmaps/toaster.xpm pixmaps/initfail.xpm @@ -86,6 +86,8 @@ install: $(INSTALL) ${PROG} ${DESTDIR}${bindir}/${PROG} $(MKINSTALLDIRS) ${DESTDIR}${mandir}/${MANDIR} $(INSTALL_DATA) ${srcdir}/${MAN} ${DESTDIR}${mandir}/${MANDIR} + $(MKINSTALLDIRS) ${DESTDIR}${localstatedir}/games + $(INSTALL_DATA) ${srcdir}/scores ${DESTDIR}${localstatedir}/games/xlennart.scores.default $(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart $(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/pixmaps $(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/bitmaps @@ -101,4 +103,4 @@ distclean:: distclean clean:: rm -f ${PROG} *.o - rm -f *core core* +rm -f *core core*: diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0a4cd94 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +xlennart (1.1.1) unstable; urgency=low + + * Initial release. (Closes: #XXXXXX) + * UNRELEASED + * . + + -- Daniel Reurich <centurion@zephaniah.centurion.net.nz> Tue, 16 Dec 2014 23:48:22 +1300 diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..490663e --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: xlennart +Maintainer: Daniel Reurich <daniel@centurion.net.nz> +Section: games +Priority: extra +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 9), git, libgtk2.0-dev + +Package: xlennart +Architecture: any +Depends: libxpm4 +Description: Xlennart the sequel to Xbill + + Ever get the feeling that nothing is going right? You're a sysadmin, + and someone's trying to destroy your computers. The little people + running around the screen are trying to infect your computers with + SystenD [TM], a virus cleverly designed to resemble a popular + init system. Your objective is to click the mouse on them, ending + the potential threat. If one of the people reaches a computer, it will + attempt to replace your operating system with the virus it carries. It + will then attempt to run off the screen with your vital software. The + game ends when only 1 (or 0) of your computers are being productive. + Additionally, some computers are connected with network cables. When + one computer on a network becomes infected, a spark will be sent down + the cable, and will infect the computer on the other end when it reaches + there. diff --git a/debian/copyright b/debian/copyright new file mode 100755 index 0000000..35ee030 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,57 @@ +This package was debianized by Daniel Reurich <daniel@centurion.net.nz> + +It was downloaded from: +https://github.com/Xylemon/xlennart + +From the original README file: + +... +COPYING + Copyright (c) 1994-6 Psychosoft + + It's FREE! If you want to express your undying gratitude + to us for bringing a small bit of meaning into your other- + wise pointless existence, you could always send us e-mail. + XBill is distributed under the GNU Public License. + + Go play the game now! +... + +Authors: + Main Programmer: + Brian Wellington <bwelling@xbill.org> for XBill 2.1 + Gethyn ThomasQuail <xylem2020@gmail.com> for XLennart + Programming & graphics (v2.0 and earlier): + Matias Duarte <matias@hyperimage.com> for XBill + Daniel Reurich <daniel@centurion.net.nz> for XLennart + +Additonal Credits - XLennart: + + Michael Shigorin <shigorin@gmail.com> for configure and + makefile clean up. Along with the addition of the GTK2 + patch (1.1) + + Dmitrij D. Czarkoff <czarkoff@gmail.com> for small code + clean up (1.1) and OpenBSD modifications + + +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 package; 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-2'. + + diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..0fb9f07 --- /dev/null +++ b/debian/menu @@ -0,0 +1,5 @@ +?package(xlennart):command="/usr/games/xlennart" \ + icon="/usr/share/pixmaps/xlennart.xpm" \ + needs="X11" \ + section="Games/Action" \ + title="xlennart" diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..551a888 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +OLD=/var/lib/games/xlennart/scores +OLD2=/var/lib/games/xlennart.scores +SCORES=/var/games/xlennart.scores + +if [ -e $OLD ]; then + mv $OLD $SCORES + rmdir /var/lib/games/xlennart +elif [ -e $OLD2 ]; then + mv $OLD2 $SCORES +else + if [ ! -e $SCORES ]; then + cp $SCORES.default $SCORES + fi +fi + +chown root:games $SCORES +chmod 0664 $SCORES + +#DEBHELPER# + diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..9e0acdc --- /dev/null +++ b/debian/postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ]; then + rm -f /var/games/xlennart.scores + rmdir /var/lib/games/xlennart /var/games/xlennart 2>/dev/null || true +fi + +#DEBHELPER# + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9b9fbc6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +DEB=debian/tmp +SCORES=$(DEB)/var/games/xlennart.scores.default + +%: + dh $@ --parallel + +override_dh_auto_configure: + dh_auto_configure -- --bindir=\$${prefix}/games --enable-gtk --enable-motif --enable-athena + +override_dh_fixperms: + dh_fixperms + chown root:games $(CURDIR)/debian/xlennart/usr/games/xlennart + chown root:games $(CURDIR)/debian/xlennart/var/games/xlennart.scores.default + chmod 0755 $(CURDIR)/debian/xlennart/usr/games/xlennart + chmod 0664 $(CURDIR)/debian/xlennart/var/games/xlennart.scores.default diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..af745b3 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (git) diff --git a/debian/xlennart.desktop b/debian/xlennart.desktop new file mode 100644 index 0000000..4e18dba --- /dev/null +++ b/debian/xlennart.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=XLennart +Comment=Get rid of those SystemD viruses! +Comment[it]=Fai piazza pulita dai virus SystemD! +Icon=xlennart +Exec=xlennart +Terminal=false +Categories=Game;ArcadeGame; + diff --git a/debian/xlennart.install b/debian/xlennart.install new file mode 100644 index 0000000..80ca0ff --- /dev/null +++ b/debian/xlennart.install @@ -0,0 +1,2 @@ +debian/xlennart.xpm usr/share/pixmaps/ +debian/xlennart.desktop usr/share/applications/ diff --git a/debian/xlennart.xpm b/debian/xlennart.xpm new file mode 100644 index 0000000..6851210 --- /dev/null +++ b/debian/xlennart.xpm @@ -0,0 +1,86 @@ +/* XPM */ +static char * xlennart_xpm[] = { +"64 64 19 1", +" c None", +". c #68B0E8", +"+ c #A8C8E0", +"@ c #40B0E8", +"# c #0070B0", +"$ c #F0F8F8", +"% c #F8F8F8", +"& c #F0F0D8", +"* c #604060", +"= c #F8F890", +"- c #D8B858", +"; c #88A070", +"> c #D0D081", +", c #000000", +"' c #303860", +") c #FFFFFF", +"! c #004888", +"~ c #5D3C5D", +"{ c #503050", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" .+.. ", +" .@#####..+###########@. ", +" @###########.$+$$$$$...@@@#@#### ", +" #@@#@@.$+@@@.$+$$$$$+$#@.@@.#@@@### ", +" ##@@@@.$+@@@.$+$%&++++*.#@@@#@@@@@.++# ", +" ##@@#@$+@@@.$+$$&&&=&--**.+@@@@@@@+$$$## ", +" .#+@##$.#@@.$+$$&&&=&----**#*@@@@@@$$$$+## ", +" .#.@.$.####$+$%%&&=&-------#-*@*@@.$$%$.@# ", +" ##@.$.###@$.$$%&&=&--------#;-*-*@+$$++#@# ", +" #@.$+####$+$$%+&=&---------#;*--*@%+$$.@@@# ", +" #.$+@@#@$.$$%=&=&----------#;----;%$$$@@@@@# ", +" #..@@@.$.$$$+&=&-----------#;----&+$$+@@@@@# ", +" ###@@.$+$$$+&=&------->----#;----%;$$@@@@@@# ", +" #@##.$$$$$.+=&------>------#;---=%%$$@@@@@@# ", +" #@@#$$$$$.++&---------->---#;---&=&$.@@@@@@# ", +" #@.$+$$$+$.+--------->-----#;---%=$+@@@@@@@# ", +" #.$++$$+$++#*,,,,,,-,,,,,,,'',,,+%+@@@@@@@@# ", +" #$+$$$+$+$###,))))),,))))))'',*$;&.#@@@@@@@# ", +" #++$$.$+$@@**,))))),,))))))'.%*$.$@!#@@@@@@# ", +" ++$$+++$@@@**,,,,,,,%,,,,,,'**++%+*@!#@@@@@# ", +" +$$+$++@@@@*%~)))))%&&)&)&).#*%*%%*#@!#@@@@# ", +" .$+++$#@@@@*&%&,,,%&%&)&)&%'#*%%%**!@@!#@@@# ", +" @.++$@##@@@****{{*&*&%&%&%*+#$&%&*!!!@@!#@@# ", +" @+.$#@@#@@@@@*{{{*%&*&%&%*{+#$%%%*!!!!@@!#@# ", +" #++###@##@@@@@*{{{*%&%&%*{{+#+++**!!!!!@@!@@ ", +" .$####@@##@@@@*{{{{*%&%**{{+#&%;*@!!!!!!#@+. ", +" #######@##@@@@#*{{*{***{{{%$.&%*@@@!!!!!!#$@ ", +" #######@@#@@@@##*{*{*{{*{%%%.%*@@@@@@!!!!..# ", +" #######@@##@@@@#*{*{*{*{%%%&+&.#@@@@@@!!!$!. ", +" #@######@@#@@@@@*{{**{{&%%&%$$!!#@@@@@@!#+#+ ", +" ##@######@##@@@@*{{**{&%%&%%%;!!!#@@@@@@+#.. ", +" #@@######@@#@@@@*{{{*%%%&%%&@'!!!!#@@@@.$!+. ", +" #@@@######@##@@@*{{%%%%&%%&&!'!!!!!#@@@+++ ", +" ##@@#######@##@@*{%&%%&%%%&{!{!!!!!!#@@$+ . ", +" ##@@@######@##@@.&+$$++%%;**!!#!!!!!!!+++ ! ", +" ##@@@@######@#@.$+$%&%%%{{{*!'@!!!!!!!$. ! ", +" ##@@@@######@#@&+$$&%%${{{**!'{@!!!!!!+# +!@ ", +" ##@@@@@######@&+$$&%%%{{{*{*!'{@@#!!!+#..+@#+ ", +" .#@@@@@#####.$+$$+&&&{{{*{***{{@@@#!!$!$+@.# ", +" +#@@@@@@####$$$$%%&%*{******'!@@##!!..!++@#@ ", +" ++@.@@@###++$$%%%%*********#!!#####$@+++@!+ ", +" @#@@@####+.$$$$$.#***#****##@#!#@@.+@$+#!#@@@@ ", +" @!#####$+$$$$$+@@@@@#!######@#!##+#!.#@@#@@@@+ ", +" @##@#!!!!++$$$$++######!!#@@#######!.##@@@@@#@@.+ ", +" @@@@@@####!##!!!!!!!!!!####!!!!!!####@@@@@@@@#@.+ ", +" .#@#@@@@@@@@@@@@#####@@#######@@#@@@@@@@@@@#@. ", +" @##@@@@@@@@@@@@@@@@@@@##@@@@@@@#@@@@@@@@. ", +" .@@@..@..@@@@@@##@@@@@@@ ", +" ..#@@. ", +" ", +" ", +" ", +" ", +" ", +" ", +" "}; |