From faed9e22c5bd57c7e2f7c21d35901b9c986340e7 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 25 Sep 2012 23:25:39 -0500 Subject: games/smc: Removed (build failure) This release appears to be incompatible with CEGUI-0.7.x. http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=6185 Signed-off-by: Robby Workman --- games/smc/README | 19 ----------- games/smc/doinst.sh | 4 --- games/smc/slack-desc | 19 ----------- games/smc/smc-1.9_boost.patch | 63 ---------------------------------- games/smc/smc.SlackBuild | 79 ------------------------------------------- games/smc/smc.desktop | 8 ----- games/smc/smc.info | 10 ------ 7 files changed, 202 deletions(-) delete mode 100644 games/smc/README delete mode 100644 games/smc/doinst.sh delete mode 100644 games/smc/slack-desc delete mode 100644 games/smc/smc-1.9_boost.patch delete mode 100644 games/smc/smc.SlackBuild delete mode 100644 games/smc/smc.desktop delete mode 100644 games/smc/smc.info (limited to 'games') diff --git a/games/smc/README b/games/smc/README deleted file mode 100644 index 9e4c750014..0000000000 --- a/games/smc/README +++ /dev/null @@ -1,19 +0,0 @@ -smc (Secret Maryo Chronicles) - -Secret Maryo Chronicles is an Open Source two-dimensional platform game -with a style designed similar to classic sidescroller games such as Super -Mario Bros. It uses the platform independent library SDL and, since -version 0.98, the OpenGL accelerated Graphics Renderer. The game is -developed in C++. - -** REQUIRES ** -To compile this game you will need OpenGL (with hardware acceleration -enabled) and CEGUI. Make sure CEGUI is compiled *WITHOUT* DevIL support -(or just make sure it is not the default image codec) and *WITH* either -FreeImage or SILLY codec support (FreeImage is the most recommended choice). -Also, the background music for this game, if desired, must be installed as -a separate package. SlackBuilds for the music pack, FreeImage, and CEGUI -can all be found on SlackBuilds.org. - -Please see readme-linux.txt in the docs directory of the source for more -information on this software. diff --git a/games/smc/doinst.sh b/games/smc/doinst.sh deleted file mode 100644 index 4e8ba7071d..0000000000 --- a/games/smc/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/games/smc/slack-desc b/games/smc/slack-desc deleted file mode 100644 index a5761cf280..0000000000 --- a/games/smc/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -smc: smc (Secret Maryo Chronicles) -smc: -smc: Secret Maryo Chronicles is an Open Source two-dimensional platform -smc: game with a style designed similar to classic sidescroller games such -smc: as Super Mario Bros. It uses the platform independent library SDL -smc: and, since version 0.98, the OpenGL accelerated Graphics Renderer. -smc: The game is developed in C++. -smc: -smc: Homepage: http://www.secretmaryo.org/ -smc: -smc: diff --git a/games/smc/smc-1.9_boost.patch b/games/smc/smc-1.9_boost.patch deleted file mode 100644 index 5cbc40a48a..0000000000 --- a/games/smc/smc-1.9_boost.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -Naur smc-1.9-orig/src/core/filesystem/filesystem.cpp smc-1.9/src/core/filesystem/filesystem.cpp ---- smc-1.9-orig/src/core/filesystem/filesystem.cpp 2009-07-04 05:11:18.000000000 -0500 -+++ smc-1.9/src/core/filesystem/filesystem.cpp 2009-09-07 00:28:01.000000000 -0500 -@@ -142,32 +142,32 @@ - if( fs::is_directory( *dir_itr ) ) - { - // ignore hidden directories -- if( dir_itr->path().leaf().find( "." ) == 0 ) -+ if( dir_itr->path().filename().find( "." ) == 0 ) - { - continue; - } - - if( with_directories ) - { -- valid_files.push_back( dir + "/" + dir_itr->path().leaf() ); -+ valid_files.push_back( dir + "/" + dir_itr->path().filename() ); - } - - // load all items from the sub-directory - if( search_in_sub_directories ) - { -- vector new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().leaf(), file_type, with_directories ); -+ vector new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().filename(), file_type, with_directories ); - valid_files.insert( valid_files.end(), new_valid_files.begin(), new_valid_files.end() ); - } - } - // valid file -- else if( file_type.empty() || dir_itr->path().leaf().rfind( file_type ) != std::string::npos ) -+ else if( file_type.empty() || dir_itr->path().filename().rfind( file_type ) != std::string::npos ) - { -- valid_files.push_back( dir + "/" + dir_itr->path().leaf() ); -+ valid_files.push_back( dir + "/" + dir_itr->path().filename() ); - } - } - catch( const std::exception &ex ) - { -- printf( "%s %s\n", dir_itr->path().leaf().c_str(), ex.what() ); -+ printf( "%s %s\n", dir_itr->path().filename().c_str(), ex.what() ); - } - } - -diff -Naur smc-1.9-orig/src/overworld/world_manager.cpp smc-1.9/src/overworld/world_manager.cpp ---- smc-1.9-orig/src/overworld/world_manager.cpp 2009-08-16 11:44:52.000000000 -0500 -+++ smc-1.9/src/overworld/world_manager.cpp 2009-09-07 00:28:45.000000000 -0500 -@@ -118,7 +118,7 @@ - { - try - { -- std::string current_dir = dir_itr->path().leaf(); -+ std::string current_dir = dir_itr->path().filename(); - - // only directories with an existing description - if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) ) -@@ -145,7 +145,7 @@ - } - catch( const std::exception &ex ) - { -- printf( "%s %s\n", dir_itr->path().leaf().c_str(), ex.what() ); -+ printf( "%s %s\n", dir_itr->path().filename().c_str(), ex.what() ); - } - } - } diff --git a/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild deleted file mode 100644 index 695a7f63ba..0000000000 --- a/games/smc/smc.SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# Slackware build script for smc (Secret Maryo Chronicles) -# Written by Phillip Warner - -PRGNAM=smc -VERSION=${VERSION:-1.9} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R a-s,u+rw,go-w . - -patch -p1 < $CWD/smc-1.9_boost.patch -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --build=$ARCH-slackware-linux - -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" force_arch="$ARCH" make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/share/applications -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/smc/smc.desktop b/games/smc/smc.desktop deleted file mode 100644 index e055dd49af..0000000000 --- a/games/smc/smc.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Secret Maryo Chronicles -Comment=An Open Source 2-D platform game like Super Mario Bros. -Exec=smc -Icon=/usr/share/smc/icon/window_32.png -Terminal=false -Type=Application -Categories=Application;Game; diff --git a/games/smc/smc.info b/games/smc/smc.info deleted file mode 100644 index 3d165fe036..0000000000 --- a/games/smc/smc.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="smc" -VERSION="1.9" -HOMEPAGE="http://www.secretmaryo.org/" -DOWNLOAD="http://downloads.sourceforge.net/smclone/smc-1.9.tar.bz2" -MD5SUM="75ab7826303c49aec25b052a8b90287f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="%README%" -MAINTAINER="Phillip Warner" -EMAIL="pc_warner@yahoo.com" -- cgit v1.2.3