summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/candycrisis/ChangeLog29
-rw-r--r--games-puzzle/candycrisis/Manifest16
-rw-r--r--games-puzzle/candycrisis/candycrisis-1.0-r1.ebuild44
-rw-r--r--games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch11
-rw-r--r--games-puzzle/candycrisis/files/candycrisis-1.0-gentoo.patch112
-rw-r--r--games-puzzle/candycrisis/metadata.xml15
6 files changed, 0 insertions, 227 deletions
diff --git a/games-puzzle/candycrisis/ChangeLog b/games-puzzle/candycrisis/ChangeLog
deleted file mode 100644
index 0bc17f312bc3..000000000000
--- a/games-puzzle/candycrisis/ChangeLog
+++ /dev/null
@@ -1,29 +0,0 @@
-# ChangeLog for games-puzzle/candycrisis
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/candycrisis/ChangeLog,v 1.5 2009/07/28 15:18:29 nyhm Exp $
-
- 28 Jul 2009; Tristan Heaven <nyhm@gentoo.org> candycrisis-1.0-r1.ebuild,
- +files/candycrisis-1.0-gcc44.patch:
- Fix building with gcc-4.4, bug #273575
-
- 23 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
- candycrisis-1.0-r1.ebuild:
- stable x86, bug 228971
-
-*candycrisis-1.0-r1 (14 Feb 2008)
-
- 14 Feb 2008; Tristan Heaven <nyhm@gentoo.org>
- files/candycrisis-1.0-gentoo.patch, -candycrisis-1.0.ebuild,
- +candycrisis-1.0-r1.ebuild:
- Respect CXXFLAGS; Save prefs to HOME
-
- 13 Dec 2007; Tupone Alfredo <tupone@gentoo.org> candycrisis-1.0.ebuild:
- Adding dependency. Bug #202054 by Marcel Unbehaun
-
-*candycrisis-1.0 (11 Dec 2007)
-
- 11 Dec 2007; Tupone Alfredo <tupone@gentoo.org>
- +files/candycrisis-1.0-gentoo.patch, +metadata.xml,
- +candycrisis-1.0.ebuild:
- New package. Bug #197770 by Marcel Unbehaun
-
diff --git a/games-puzzle/candycrisis/Manifest b/games-puzzle/candycrisis/Manifest
deleted file mode 100644
index dd303ad13dbb..000000000000
--- a/games-puzzle/candycrisis/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX candycrisis-1.0-gcc44.patch 319 RMD160 f854b986f7d26c5549fb8017ee8b58b392662b56 SHA1 8fabe944a723c715f62e836c044f69044b964308 SHA256 16cac2d16a3eaf4aa700f55eccd850c29817a856ec7cf93f368e5b801cb850f5
-AUX candycrisis-1.0-gentoo.patch 2583 RMD160 955fa27a0a314a70268a6e0e49255e3e23073770 SHA1 ec2dbe26a7d0fd660cc1dfbe09214306d79b4f39 SHA256 edfac0bedd63e909bb8daada0d09e82688a0d2cd0590b801201bb4432ec3528d
-DIST candycrisis-1.0.zip 5910242 RMD160 180536a9cf262f7f07fc15150639c9b499967fc9 SHA1 41cff7e371219d8dc1fcf2aab2b65a1da2eeb855 SHA256 7044b56afae9ccae28c11dc58cfdce9c92b520f468641083bc461cdb5e14da8a
-EBUILD candycrisis-1.0-r1.ebuild 1112 RMD160 874565fd4b65cdee34891ee2d3ce5694460a0437 SHA1 a645e9be3d0ab75cffb08f8312d8c9d701e04ed8 SHA256 8ef9e30785eaf02be96149165b470dfc3e07ca0e322a7f74dc3a8ab94966ea75
-MISC ChangeLog 1037 RMD160 8b15ef4d2040e4fa48b0c1c3fe5355065a42306e SHA1 4b2df3686d84dad5d30176a737d0e5074b8f2ce3 SHA256 8e40916edebdbbc069ff5a4f263ab63a09246e891db3b66dafbf39115173dda0
-MISC metadata.xml 761 RMD160 275afc69be6d287ff84ffda90bdff0e91c08ce8b SHA1 80f0d6f8fdbd8549140c890939ce1266ab8c95b0 SHA256 1f5c7fa688552d7cf3360a282684b77731d44cac753395aa02d58a76ca34362e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkpvFssACgkQdz7hIScOURHwAQCg9wlCdeMSGCqn6xtKaVsgY9kX
-bL4AoLoqcl1eahrWWYj14y6oJ2Cly4pW
-=BYID
------END PGP SIGNATURE-----
diff --git a/games-puzzle/candycrisis/candycrisis-1.0-r1.ebuild b/games-puzzle/candycrisis/candycrisis-1.0-r1.ebuild
deleted file mode 100644
index 445694e9a460..000000000000
--- a/games-puzzle/candycrisis/candycrisis-1.0-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/candycrisis/candycrisis-1.0-r1.ebuild,v 1.3 2009/07/28 15:18:29 nyhm Exp $
-
-inherit eutils games
-
-DESCRIPTION="An exciting combination of pure action and puzzle gaming"
-HOMEPAGE="http://candycrisis.sourceforge.net/"
-SRC_URI="mirror://gentoo/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-RDEPEND="=media-libs/fmod-3*
- media-libs/libsdl
- media-libs/sdl-image"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S=${WORKDIR}/CandyCrisis/Source
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-gcc44.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}/:g" \
- main.cpp \
- || die "sed failed"
-}
-
-src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins ../CandyCrisisResources/* || die "doins failed"
- newicon ../CandyCrisisResources/PICT_10000.png ${PN}.png
- make_desktop_entry ${PN} CandyCrisis
- dodoc ../CandyCrisisReadMe.rtf
- prepgamesdirs
-}
diff --git a/games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch b/games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch
deleted file mode 100644
index b454d82ace17..000000000000
--- a/games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- CandyCrisis/Source/RegAlgorithm.cpp
-+++ CandyCrisis/Source/RegAlgorithm.cpp
-@@ -184,7 +184,7 @@
- {
- // Convert the key (a jumble of letters like BFGJ-TVFF) into a 32-bit
- // hex value.
-- char* unscrambled[8];
-+ const char* unscrambled[8];
- int index;
- unsigned int value = 0;
-
diff --git a/games-puzzle/candycrisis/files/candycrisis-1.0-gentoo.patch b/games-puzzle/candycrisis/files/candycrisis-1.0-gentoo.patch
deleted file mode 100644
index 235cab0fffcc..000000000000
--- a/games-puzzle/candycrisis/files/candycrisis-1.0-gentoo.patch
+++ /dev/null
@@ -1,112 +0,0 @@
---- fmodsoundfx.cpp
-+++ fmodsoundfx.cpp
-@@ -22,7 +22,7 @@
-
- for( index=0; index<kNumSounds; index++ )
- {
-- sound[index] = FSOUND_Sample_Load( FSOUND_UNMANAGED, QuickResourceName( "snd", index+128, ".wav" ), FSOUND_NORMAL | FSOUND_LOOP_OFF | FSOUND_2D, 0 );
-+ sound[index] = FSOUND_Sample_Load( FSOUND_UNMANAGED, QuickResourceName( "snd", index+128, ".wav" ), FSOUND_NORMAL | FSOUND_LOOP_OFF | FSOUND_2D, 0, 0 );
- if( sound[index] == NULL )
- {
- Error( "InitSound: files are missing" );
---- main.cpp
-+++ main.cpp
-@@ -232,6 +232,7 @@
-
- #include <string.h>
- #include <stdlib.h>
-+#include <unistd.h>
-
- #include "hiscore.h"
- #include "control.h"
-@@ -283,6 +284,7 @@
- int main(int argc, char *argv[])
- {
- argc, argv;
-+ chdir(getenv("HOME"));
-
- Initialize( );
- if( IsRegistered( ) ) exit(0);
-@@ -592,7 +594,7 @@
- strcpy( candyCrisisResources, ":CandyCrisisResources:" );
- #endif
- #ifdef linux
-- strcpy( candyCrisisResources, "CandyCrisisResources/" );
-+ strcpy( candyCrisisResources, "@GENTOO_DATADIR@" );
- #endif
-
- if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_AUDIO ) < 0 )
-@@ -626,7 +628,6 @@
- }
- #else
- SDL_WM_IconifyWindow();
-- ShellExecute( NULL, "open", url, "", "c:\\", SW_SHOWNORMAL );
- WaitForRegainFocus();
- #endif
- }
-@@ -703,7 +704,7 @@
-
- void InitRegistration()
- {
-- playerIsRegistered = ValidateCode( registeredName, registeredKey );
-+ playerIsRegistered = true;
- }
-
-
---- Makefile
-+++ Makefile
-@@ -1,9 +1,10 @@
-+CXX ?= g++
-+CXXFLAGS ?= -O3
-+CXXFLAGS += $(shell sdl-config --cflags)
-+LIBS := $(shell sdl-config --libs) -lSDL_image -lfmod
-
--OPTIMIZE := -O3
--CXXFLAGS := $(shell sdl-config --cflags) -DHAVE_MIKMOD $(OPTIMIZE)
--LIBS := $(shell sdl-config --libs) -lSDL_image -lmikmod
-
--TARGET := CandyCrisis
-+TARGET := candycrisis
-
- OBJECTS := \
- blitter.o \
-@@ -18,7 +19,9 @@
- keyselect.o \
- level.o \
- main.o \
-- midi.o \
-+ fmodsoundfx.o \
-+ fmodmusic.o \
-+ RegAlgorithm.o \
- moving.o \
- MTypes.o \
- next.o \
-@@ -36,7 +39,7 @@
- zap.o
-
- $(TARGET): $(OBJECTS)
-- $(CXX) -o $@ $^ $(LIBS)
-+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) -o $(TARGET) $(LIBS)
-
- clean:
- $(RM) $(OBJECTS)
---- prefs.cpp
-+++ prefs.cpp
-@@ -37,7 +37,7 @@
- int fileSize, count, digitsLeft;
- unsigned char info, *infoAt, *dataAt, *fileData;
-
-- F = fopen( QuickResourceName( "Preferences", 0, ".txt" ), "r" );
-+ F = fopen( ".candycrisis", "r" );
-
- if( F != NULL )
- {
-@@ -128,7 +128,7 @@
- short count, size;
- unsigned char* dataAt;
-
-- F = fopen( QuickResourceName( "Preferences", 0, ".txt" ), "w" );
-+ F = fopen( ".candycrisis", "w" );
-
- if( F != NULL )
- {
diff --git a/games-puzzle/candycrisis/metadata.xml b/games-puzzle/candycrisis/metadata.xml
deleted file mode 100644
index e0edb7253887..000000000000
--- a/games-puzzle/candycrisis/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-<longdescription lang="en">
- Candy Crisis is an exciting combination of pure action and puzzle gaming! The
- game features twelve unique stages, complete with its own character and
- individual technique. Also, you can pair off against a friend, and even
- specify a handicap so that both players are evenly matched. And if you don't
- want to play against an opponent, Solitaire Crisis mode allows you to practice
- without having to compete against an opponent. A tutorial is included with the
- game as well, so even puzzle novices can become Candy Crisis champions in no
- time.
-</longdescription>
-</pkgmetadata>