From d71bec17600a546ed34f14c557d5e21525500389 Mon Sep 17 00:00:00 2001 From: lorien420 Date: Fri, 1 Apr 2005 23:25:30 +0000 Subject: [PATCH] Make autopackage work --- autopackage/crack-attack.desktop | 9 +++ autopackage/default.apspec | 48 ++++++++++++++ autopackage/default.apspec.in | 49 ++++++++++++++ configure.ac | 5 +- data/crack-attack.xpm | 134 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 243 insertions(+), 2 deletions(-) create mode 100644 autopackage/crack-attack.desktop create mode 100644 autopackage/default.apspec create mode 100644 autopackage/default.apspec.in create mode 100644 data/crack-attack.xpm diff --git a/autopackage/crack-attack.desktop b/autopackage/crack-attack.desktop new file mode 100644 index 0000000..31f77db --- /dev/null +++ b/autopackage/crack-attack.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Crack Attack! +Exec=crack-attack +Icon=crack-attack.xpm +Terminal=false +Type=Application +Categories=Application;Games; +StartupNotify=false diff --git a/autopackage/default.apspec b/autopackage/default.apspec new file mode 100644 index 0000000..4469314 --- /dev/null +++ b/autopackage/default.apspec @@ -0,0 +1,48 @@ +# -*-shell-script-*- + +[Meta] +RootName: @nongnu.org/crack-attack/:$SOFTWAREVERSION +DisplayName: Crack Attack! Arcade Game +ShortName: crack-attack +Maintainer: Andrew Sayman +Packager: Andrew Sayman +Summary: Crack Attack! is a fast paced 3D puzzle game +URL: http://savannah.nongnu.org/projects/crack-attack +License: GNU General Public License, Version 2 +SoftwareVersion: 1.1.12-2 +AutopackageTarget: 1.0 + +# Only uncomment InterfaceVersion if your package exposes interfaces to other software, +# for instance if it includes DSOs or python/perl modules. See the developer guide for more info, +# or ask on autopackage-dev if you don't understand interface versioning in autopackage. +# +# InterfaceVersion: 0.0 + +[Description] +Put long & detailed description here. + +[BuildPrepare] +prepareBuild --enable-gtk --enable-binreloc + +[BuildUnprepare] +unprepareBuild + +[Imports] +echo '*' | import + +[Prepare] +# Dependency checking +require @gtk.org/gtk 2.2 +require @opengl.org/opengl 1.4 +require @opengl.org/glu 1.3 +require @opengl.org/glut 3 + +[Install] +# Put your installation script here +installExe bin/* +copyFiles share/crack-attack "$PREFIX/share/crack-attack" +installIcon crackattack.xpm + +[Uninstall] +# Usually just the following line is enough to uninstall everything +uninstallFromLog diff --git a/autopackage/default.apspec.in b/autopackage/default.apspec.in new file mode 100644 index 0000000..50ebaef --- /dev/null +++ b/autopackage/default.apspec.in @@ -0,0 +1,49 @@ +# -*-shell-script-*- + +[Meta] +RootName: @nongnu.org/crack-attack/:$SOFTWAREVERSION +DisplayName: Crack Attack! Arcade Game +ShortName: crack-attack +Maintainer: Andrew Sayman +Packager: Andrew Sayman +Summary: Crack Attack! is a fast paced 3D puzzle game +URL: http://savannah.nongnu.org/projects/crack-attack +License: GNU General Public License, Version 2 +SoftwareVersion: @VERSION@ +AutopackageTarget: 1.0 + +# Only uncomment InterfaceVersion if your package exposes interfaces to other software, +# for instance if it includes DSOs or python/perl modules. See the developer guide for more info, +# or ask on autopackage-dev if you don't understand interface versioning in autopackage. +# +# InterfaceVersion: 0.0 + +[Description] +Crack-Attack! is a fast-paced puzzle game inspired by the classic Super NES title Tetris Attack! + +[BuildPrepare] +prepareBuild --enable-gtk --enable-binreloc + +[BuildUnprepare] +unprepareBuild + +[Imports] +echo '*' | import + +[Prepare] +# Dependency checking +require @gtk.org/gtk 2.2 +require @opengl.org/opengl 1.4 +require @opengl.org/glu 1.3 +require @opengl.org/glut 3 + +[Install] +# Put your installation script here +installExe bin/* +copyFiles share/crack-attack "$PREFIX/share/crack-attack" +installDesktop "Games" crack-attack.desktop +installIcon share/crack-attack/crack-attack.xpm + +[Uninstall] +# Usually just the following line is enough to uninstall everything +uninstallFromLog diff --git a/configure.ac b/configure.ac index 1291912..f130424 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(crack-attack,1.1.12,lorien420@myrealbox.com) +AC_INIT(crack-attack,1.1.12-2,lorien420@myrealbox.com) AC_CONFIG_SRCDIR(src/Attack.cxx) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(src/config.h) @@ -108,6 +108,7 @@ AC_CONFIG_FILES( src/Makefile src/gtk-gui/Makefile data/Makefile - doc/Makefile) + doc/Makefile + autopackage/default.apspec) AC_OUTPUT diff --git a/data/crack-attack.xpm b/data/crack-attack.xpm new file mode 100644 index 0000000..9712ca4 --- /dev/null +++ b/data/crack-attack.xpm @@ -0,0 +1,134 @@ +/* XPM */ +static char * crack_attack_logoicon_xpm[] = { +"48 48 83 1", +" g None", +". g #333333", +"+ g #000000", +"@ g #000033", +"# g #003333", +"$ g #003300", +"% g #330033", +"& g #006600", +"* g #339900", +"= g #660066", +"- g #990099", +"; g #993399", +"> g #CC33CC", +", g #663366", +"' g #00CC00", +") g #009933", +"! g #CC33FF", +"~ g #FF66CC", +"{ g #CC66CC", +"] g #009900", +"^ g #006633", +"/ g #339933", +"( g #000066", +"_ g #9933CC", +": g #CC3399", +"< g #9900CC", +"[ g #330000", +"} g #660033", +"| g #660099", +"1 g #990066", +"2 g #330066", +"3 g #660000", +"4 g #000099", +"5 g #990000", +"6 g #663300", +"7 g #990033", +"8 g #993300", +"9 g #993333", +"0 g #CC3333", +"a g #CC0033", +"b g #CC3300", +"c g #CC0000", +"d g #FF3333", +"e g #CC3366", +"f g #CC6633", +"g g #FF6666", +"h g #FF0000", +"i g #FF3300", +"j g #CC6666", +"k g #FF9966", +"l g #FF9999", +"m g #FFCCCC", +"n g #FF99CC", +"o g #FF3366", +"p g #CC9999", +"q g #FF6633", +"r g #FFCC99", +"s g #9999CC", +"t g #666666", +"u g #003366", +"v g #333366", +"w g #333399", +"x g #CCCCCC", +"y g #CCCCFF", +"z g #669999", +"A g #CC99CC", +"B g #FFFFFF", +"C g #999999", +"D g #99CCCC", +"E g #FFCCFF", +"F g #CCFFFF", +"G g #666699", +"H g #996699", +"I g #CC99FF", +"J g #99CCFF", +"K g #9999FF", +"L g #6666CC", +"M g #9966CC", +"N g #6699FF", +"O g #6666FF", +"P g #663399", +"Q g #9966FF", +"R g #336699", +" ", +" .+++++++++++++++++++++++++++++++++++. ", +" ++++@++@+@++@+@++@+@++@+@++@+@++@+@++@+++ ", +" +++@++@@+@+@@+@+@@+@+@@+@+@@+@+@@+@+@@++@++ ", +" ++@+@+@+@@+@@+@+@+@+@+@+@+@+@+@+@+@+@+@+@++++ ", +" +@+@+@@@+@@#$@%%%@+@+@+@@@@@@@@@@@@@@+@@+@+@+ ", +" .++@+@+@@@#&*.=-;>;;;=,=%@@@+@@@+@@@@@@@+@@++++", +" +@+@+@@@@@$')%=;!~{>;;-==@@@@@@@@@@@@@@@@@+@+@+", +" ++@+@@+@@@#]*%=={>>>;-=;=@@@@@@@@@@@@@@@@+@@+@+", +" +@+@+@@@@@^&/%%;>>;;-=-;=@(@(@(@(@(@@@@@@@@+@++", +" ++@+@@@@@@^&/%%=>>;-;;>;=@@(@(@(@(@(@@@@@@@+@++", +" +@+@@@@@(@#&),%=_>;=->>;=(((@(@(@(@(@(@@@@@@+@+", +" ++@+@@@@@(@&*%%=:;--;;>;=@((((((((@(@(@@@@+@@++", +" ++@+@@@@(@@#].%=-;-;<-,-=(((@(@(@((((@(@@@@+@++", +" +@+@@@@@@@(###%=;--;-;-=%@%%+%[[%%%@@(@@@@@@+@+", +" +@+@+@@@(@(@(@%}|;-;1==2}[3[3[3[3[33%@(@@@@+@++", +" ++@+@@(42%%%[[3%==}}}3333535678}5855}(@@@@@@+@+", +" +@+@@+(463335555555859090909080000ab7@(@@@+@@++", +" ++@+@@(230cba0000de0f00000g070ddbhbi}(@@@@@@+@+", +" ++@+@@@(50gggggggjkllj000jk0c0ddcddc%@(@@@@+@++", +" +@+@@@@(30ggglmmmjmnllj00go0bdidc0h82@@@@@@@+@+", +" ++@+@@@(30ggpmmmmgmlllgaqdddcdab7i0c@((@@@@+@++", +" ++@+@@@(}cjlmmmmljllkg00dd0dbdiabcc3(@@@@@@@+@+", +" ++@+@@@@}50rmmlllglgoq0ddcid5cbb3%2@(@(@@@@+@++", +" +@+@@@@@[5jnrlllj0gqddd0d0b53}%((((((@@@@@@@+@+", +" +@+@+@@@%5jllllgb0ddddbc5}}2(((((((@(@(@@@@+@++", +" ++@+@@@@@30klggdd0d0b9}2((4(4(4((((((@(@@@@@+@+", +" +@+@@@@@(370ggqd057}2((4(4((4(((((((@(@@@@@+@++", +" ++@+@@+@@}5bcb772((4(4((4(4((4((((((@(@@@@@@+@+", +" ++@+..st@@}5}(uu(((vvwtsw(((4(((((@(@(@@@+++@++", +" +@+@xxyxv(@zAxyxsxyysxxBs(4(((wCC(tv(@@CyxC.+@+", +" ++++DyEyC@vyFyyxyyyBsyyyyC(4(CyyssyCGt@syyyG+++", +" +@@+HyyyyG.IyyyyyyyysCyyyyv(GyyyxyysyC+CyyyG+@+", +" +++@+syJysvJsysCKxKsGvKyyKs@syyKsyKxKv@Gyyyt+++", +" +@@+vKssKKGvsKG(vKyv@GKssKKvKKGtGKKKsG+GKKs@+@+", +" ++++GKKKKKs@sKL@(sKL@LKsKKKsKs((vKKKKKLvKKG+@++", +" +@@+GKKsKKMvLKs((sKL@sKKKKKMNKLvvKKGsKs@Gsv+@++", +" ++++LKOPONL@LKL(@LQL(LNOPLNLLQKL@LKwvLw+vLw@+@+", +" +@+@vLORGOv@vwOv@vLL@wLOvLL@vLOL@Gw@@(@+LOO.+++", +" +@+@+@vv2v@@@@v@(@@v(@@wvwv@@vww@(@@@@@@vLL.+@+", +" ++@+@++@@@@@(@@@@@@@@@@@@@@@(@@@@@@(@@@@@@@@+++", +" +@+@+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@+@+@+", +" .++@+@+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@+++", +" ++@+@@+@+@@+@@@@@@@@@@@@@@@+@@+@@@@@+@@++@+@+ ", +" +++@+@+@@+@@+@+@+@+@+@+@+@+@@+@@+@+@@+@+@+@++ ", +" ++@++@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+++ ", +" +++@++@+@+@+@+@+@++@+@+@+@+@++@++@++@++++ ", +" .++++++++++++++++++++++++++++++++++++ "}; -- 2.11.4.GIT