From 9c865508c4f75c882041e91bdbb3eda2936aca76 Mon Sep 17 00:00:00 2001 From: dsomero Date: Fri, 21 May 2010 07:58:14 -0400 Subject: games/oblige: Removed (Build failure) invalid conversion from 'const char*' to 'char*' --- games/oblige/README | 11 ------- games/oblige/doinst.sh | 4 --- games/oblige/lua_compile_fixes.diff | 53 ----------------------------- games/oblige/oblige.SlackBuild | 64 ------------------------------------ games/oblige/oblige.desktop | 8 ----- games/oblige/oblige.info | 10 ------ games/oblige/oblige.png | Bin 15879 -> 0 bytes games/oblige/slack-desc | 19 ----------- 8 files changed, 169 deletions(-) delete mode 100644 games/oblige/README delete mode 100644 games/oblige/doinst.sh delete mode 100644 games/oblige/lua_compile_fixes.diff delete mode 100755 games/oblige/oblige.SlackBuild delete mode 100644 games/oblige/oblige.desktop delete mode 100644 games/oblige/oblige.info delete mode 100644 games/oblige/oblige.png delete mode 100644 games/oblige/slack-desc diff --git a/games/oblige/README b/games/oblige/README deleted file mode 100644 index 20cea8f874d3b..0000000000000 --- a/games/oblige/README +++ /dev/null @@ -1,11 +0,0 @@ -OBLIGE is a random level generator for various classic games, such as -DOOM and DOOM II (more coming soon). The goal is to produce high quality -levels which are fun to play. - -This requires lua, fltk, and glbsp. - -A Doom engine is required if you actually want to play the levels you -generate (currently, prboom and zdoom are available at SBo). - -Also required: the doom.wad or doom2.wad from the registered (not -shareware) version of either Doom or Doom II. diff --git a/games/oblige/doinst.sh b/games/oblige/doinst.sh deleted file mode 100644 index 4e8ba7071dea7..0000000000000 --- a/games/oblige/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/oblige/lua_compile_fixes.diff b/games/oblige/lua_compile_fixes.diff deleted file mode 100644 index a86af989756b8..0000000000000 --- a/games/oblige/lua_compile_fixes.diff +++ /dev/null @@ -1,53 +0,0 @@ -diff -Naur oblige_351_src.orig/gui/Makefile.unixy oblige_351_src/gui/Makefile.unixy ---- oblige_351_src.orig/gui/Makefile.unixy 2010-01-21 07:34:30.000000000 -0500 -+++ oblige_351_src/gui/Makefile.unixy 2010-02-28 15:58:31.000000000 -0500 -@@ -40,10 +40,10 @@ - FLTK_LIBS=-lfltk_images -lfltk -lX11 -lXext -lpng -ljpeg - - LUA_FLAGS=-I$(LUA_DIR)/src --LUA_LIBS=$(LUA_DIR)/src/liblua.a -+LUA_LIBS=-llua - - GLBSP_FLAGS=-I$(GLBSP_DIR)/src --GLBSP_LIBS=$(GLBSP_DIR)/libglbsp.a -+GLBSP_LIBS=-lglbsp - - CXXFLAGS=$(OPTIMISE) -Wall -DFHS_INSTALL -D$(OS) \ - $(FLTK_FLAGS) $(LUA_FLAGS) $(GLBSP_FLAGS) -diff -Naur oblige_351_src.orig/gui/hdr_lua.h oblige_351_src/gui/hdr_lua.h ---- oblige_351_src.orig/gui/hdr_lua.h 2009-07-17 05:25:10.000000000 -0400 -+++ oblige_351_src/gui/hdr_lua.h 2010-02-28 15:58:02.000000000 -0500 -@@ -23,9 +23,7 @@ - - /* LUA Scripting Language */ - --#include "lua.h" --#include "lauxlib.h" --#include "lualib.h" -+#include "lua.hpp" - - #endif // __OB_HDR_LUA__ - -diff -Naur oblige_351_src.orig/vis_viewer/Makefile oblige_351_src/vis_viewer/Makefile ---- oblige_351_src.orig/vis_viewer/Makefile 2009-10-01 05:01:34.000000000 -0400 -+++ oblige_351_src/vis_viewer/Makefile 2010-02-28 15:59:43.000000000 -0500 -@@ -23,15 +23,15 @@ - #--- Internal stuff from here ----------------------------------- - - FLTK_FLAGS=-I$(FLTK_DIR) --FLTK_LIBS=$(FLTK_DIR)/lib/libfltk_images.a \ -- $(FLTK_DIR)/lib/libfltk.a \ -+FLTK_LIBS=-lfltk_images \ -+ -lfltk \ - -lX11 -lXext -lpng -ljpeg - - LUA_FLAGS=-I$(LUA_DIR)/src --LUA_LIBS=$(LUA_DIR)/src/liblua.a -+LUA_LIBS=-llua - - GLBSP_FLAGS=-I$(GLBSP_DIR)/src --GLBSP_LIBS=$(GLBSP_DIR)/libglbsp.a -+GLBSP_LIBS=-lglbsp - - CXXFLAGS=$(OPTIMISE) -Wall -D$(OS) \ - $(FLTK_FLAGS) $(LUA_FLAGS) $(GLBSP_FLAGS) diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild deleted file mode 100755 index c015de75b8a7c..0000000000000 --- a/games/oblige/oblige.SlackBuild +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -# Slackware build script for oblige - -# Written by B. Watson (yalhcru@gmail.com) - -PRGNAM=oblige -VERSION=${VERSION:-3.51} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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" -fi - -set -e - -SRCVER=$( echo $VERSION | sed 's/\.//g' ) - -rm -rf $PKG -mkdir -p $TMP $PKG/usr/bin $PKG/usr/share/$PRGNAM $OUTPUT -cd $TMP -rm -rf ${PRGNAM}_${SRCVER}_src -unzip $CWD/$PRGNAM-$SRCVER-src.zip -cd ${PRGNAM}_${SRCVER}_src -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/lua_compile_fixes.diff -cd gui -make -f Makefile.unixy OPTIMISE="$SLKCFLAGS" -make -f Makefile.unixy install INSTALL_PREFIX=$PKG/usr - -mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp ../*.txt ../doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/oblige/oblige.desktop b/games/oblige/oblige.desktop deleted file mode 100644 index dca223ae553dd..0000000000000 --- a/games/oblige/oblige.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Oblige -GenericName=Doom Level Generator -Icon=oblige -Exec=oblige %f -Terminal=false -Categories=ActionGame;Utility; diff --git a/games/oblige/oblige.info b/games/oblige/oblige.info deleted file mode 100644 index d9797a1c01e4e..0000000000000 --- a/games/oblige/oblige.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="oblige" -VERSION="3.51" -HOMEPAGE="http://oblige.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/oblige/oblige-351-src.zip" -MD5SUM="25d1151faae3dd80c60bd20039ac3537" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" -APPROVED="dsomero" diff --git a/games/oblige/oblige.png b/games/oblige/oblige.png deleted file mode 100644 index 7d6b6a0f66562..0000000000000 Binary files a/games/oblige/oblige.png and /dev/null differ diff --git a/games/oblige/slack-desc b/games/oblige/slack-desc deleted file mode 100644 index f7b77b713e156..0000000000000 --- a/games/oblige/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------------------------------------------------------| -oblige: OBLIGE (level generator for a few games) -oblige: -oblige: OBLIGE is a random level generator for various classic games, such -oblige: as DOOM and DOOM II (more coming soon). The goal is to produce high -oblige: quality levels which are fun to play. -oblige: -oblige: -oblige: -oblige: -oblige: -oblige: -- cgit v1.2.3