mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
move package supertux:
- no more need, move to pkg-archive branch
This commit is contained in:
parent
4cdbd251d0
commit
00ec63a84a
@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/build physfs
|
|
||||||
$SCRIPTS/build openal-soft
|
|
||||||
$SCRIPTS/build SDL
|
|
||||||
$SCRIPTS/build SDL_image
|
|
||||||
$SCRIPTS/build SDL_mixer
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
mkdir -p .build
|
|
||||||
|
|
||||||
cd .build
|
|
||||||
|
|
||||||
cmake -D CMAKE_INSTALL_PREFIX:PATH=./ \
|
|
||||||
-D CMAKE_FIND_ROOT_PATH:PATH=$SYSROOT_PREFIX \
|
|
||||||
..
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$STRIP ../supertux2
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/install physfs
|
|
||||||
$SCRIPTS/install openal-soft
|
|
||||||
$SCRIPTS/install SDL
|
|
||||||
$SCRIPTS/install SDL_image
|
|
||||||
$SCRIPTS/install SDL_mixer
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/supertux2 $INSTALL/usr/bin
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/games/supertux2
|
|
||||||
cp -a $PKG_BUILD/data/* $INSTALL/usr/share/games/supertux2
|
|
||||||
rm $INSTALL/usr/share/games/supertux2/Jamfile
|
|
||||||
#cp $PKG_BUILD/supertux.png $INSTALL/usr/share/supertux
|
|
@ -1,35 +0,0 @@
|
|||||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
|
||||||
Subject: [PATCH] Fix useless warnings using most locales
|
|
||||||
|
|
||||||
This actually addresses two issues:
|
|
||||||
|
|
||||||
Consider blank lines to be comments, skip over them rather than
|
|
||||||
attempting to read keywords there.
|
|
||||||
|
|
||||||
Empty a token when the comment is enountered -- the comment
|
|
||||||
is not necessarily followed by a keyword, but it can be an EOF.
|
|
||||||
|
|
||||||
diff -up supertux-0.3.1/src/tinygettext/tinygettext.cpp.comments supertux-0.3.1/src/tinygettext/tinygettext.cpp
|
|
||||||
--- supertux-0.3.1/src/tinygettext/tinygettext.cpp.comments 2008-12-20 22:37:54.000000000 +0100
|
|
||||||
+++ supertux-0.3.1/src/tinygettext/tinygettext.cpp 2008-12-20 22:38:17.000000000 +0100
|
|
||||||
@@ -705,15 +705,16 @@ public:
|
|
||||||
switch(state)
|
|
||||||
{
|
|
||||||
case READ_KEYWORD:
|
|
||||||
- if (c == '#')
|
|
||||||
+ // Read a new token
|
|
||||||
+ token = Token();
|
|
||||||
+
|
|
||||||
+ if (c == '#' || c == '\n' || c == '\r')
|
|
||||||
{
|
|
||||||
state = SKIP_COMMENT;
|
|
||||||
+ in.unget();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
- // Read a new token
|
|
||||||
- token = Token();
|
|
||||||
-
|
|
||||||
do { // Read keyword
|
|
||||||
token.keyword += c;
|
|
||||||
} while((c = getchar(in)) != EOF && !isspace(c));
|
|
@ -1,19 +0,0 @@
|
|||||||
diff -up supertux-0.3.1/src/console.cpp.cons_disable supertux-0.3.1/src/console.cpp
|
|
||||||
--- supertux-0.3.1/src/console.cpp.cons_disable 2008-12-20 22:46:37.000000000 +0100
|
|
||||||
+++ supertux-0.3.1/src/console.cpp 2008-12-20 22:46:48.000000000 +0100
|
|
||||||
@@ -347,6 +347,7 @@ Console::addLine(std::string s)
|
|
||||||
// output line to stderr
|
|
||||||
std::cerr << s << std::endl;
|
|
||||||
|
|
||||||
+#if 0
|
|
||||||
// wrap long lines
|
|
||||||
std::string overflow;
|
|
||||||
unsigned int line_count = 0;
|
|
||||||
@@ -373,6 +374,7 @@ Console::addLine(std::string s)
|
|
||||||
// increase time that console stays open
|
|
||||||
if(stayOpen < 6)
|
|
||||||
stayOpen += 1.5;
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
@ -1,78 +0,0 @@
|
|||||||
diff -up supertux-0.3.1/src/addon_manager.cpp~ supertux-0.3.1/src/addon_manager.cpp
|
|
||||||
--- supertux-0.3.1/src/addon_manager.cpp~ 2008-07-10 10:58:11.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/addon_manager.cpp 2008-07-10 10:58:11.000000000 +0200
|
|
||||||
@@ -25,6 +25,7 @@
|
|
||||||
#include <physfs.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <stdlib.h>
|
|
||||||
#include "addon_manager.hpp"
|
|
||||||
#include "config.h"
|
|
||||||
#include "log.hpp"
|
|
||||||
diff -up supertux-0.3.1/src/console.hpp~ supertux-0.3.1/src/console.hpp
|
|
||||||
--- supertux-0.3.1/src/console.hpp~ 2008-07-10 10:48:45.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/console.hpp 2008-07-10 10:57:01.000000000 +0200
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
#include <string>
|
|
||||||
#include <sstream>
|
|
||||||
#include <iostream>
|
|
||||||
+#include <memory>
|
|
||||||
#include <squirrel.h>
|
|
||||||
|
|
||||||
class Console;
|
|
||||||
diff -up supertux-0.3.1/src/lisp/lexer.cpp~ supertux-0.3.1/src/lisp/lexer.cpp
|
|
||||||
--- supertux-0.3.1/src/lisp/lexer.cpp~ 2008-07-10 11:00:49.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/lisp/lexer.cpp 2008-07-10 11:00:49.000000000 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#include <sstream>
|
|
||||||
#include <stdexcept>
|
|
||||||
#include <iostream>
|
|
||||||
+#include <string.h>
|
|
||||||
|
|
||||||
#include "lexer.hpp"
|
|
||||||
|
|
||||||
diff -up supertux-0.3.1/src/resources.cpp~ supertux-0.3.1/src/resources.cpp
|
|
||||||
diff -up supertux-0.3.1/src/sprite/sprite_manager.hpp~ supertux-0.3.1/src/sprite/sprite_manager.hpp
|
|
||||||
--- supertux-0.3.1/src/sprite/sprite_manager.hpp~ 2008-07-10 10:58:59.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/sprite/sprite_manager.hpp 2008-07-10 10:58:59.000000000 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#define SUPERTUX_SPRITE_MANAGER_H
|
|
||||||
|
|
||||||
#include <map>
|
|
||||||
+#include <string>
|
|
||||||
|
|
||||||
class SpriteData;
|
|
||||||
class Sprite;
|
|
||||||
diff -up supertux-0.3.1/src/textscroller.hpp~ supertux-0.3.1/src/textscroller.hpp
|
|
||||||
--- supertux-0.3.1/src/textscroller.hpp~ 2008-07-10 10:50:27.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/textscroller.hpp 2008-07-10 10:57:18.000000000 +0200
|
|
||||||
@@ -24,6 +24,7 @@
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include <map>
|
|
||||||
+#include <memory>
|
|
||||||
|
|
||||||
#include "screen.hpp"
|
|
||||||
#include "math/vector.hpp"
|
|
||||||
diff -up supertux-0.3.1/src/title.cpp~ supertux-0.3.1/src/title.cpp
|
|
||||||
--- supertux-0.3.1/src/title.cpp~ 2008-07-10 10:57:50.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/title.cpp 2008-07-10 10:57:50.000000000 +0200
|
|
||||||
@@ -23,6 +23,7 @@
|
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
#include <stdexcept>
|
|
||||||
+#include <algorithm>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
diff -up supertux-0.3.1/src/video/sdl_texture.hpp~ supertux-0.3.1/src/video/sdl_texture.hpp
|
|
||||||
--- supertux-0.3.1/src/video/sdl_texture.hpp~ 2008-07-10 11:01:13.000000000 +0200
|
|
||||||
+++ supertux-0.3.1/src/video/sdl_texture.hpp 2008-07-10 11:01:13.000000000 +0200
|
|
||||||
@@ -22,6 +22,7 @@
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
+#include <algorithm>
|
|
||||||
#include <SDL.h>
|
|
||||||
|
|
||||||
#include "texture.hpp"
|
|
@ -1,26 +0,0 @@
|
|||||||
Fix build with GCC 4.4
|
|
||||||
|
|
||||||
Lubomir Rintel <lkundrak@v3.sk>
|
|
||||||
|
|
||||||
diff -up supertux-0.3.1/src/lisp/lisp.cpp.gcc44 supertux-0.3.1/src/lisp/lisp.cpp
|
|
||||||
--- supertux-0.3.1/src/lisp/lisp.cpp.gcc44 2009-03-01 15:13:40.000000000 +0100
|
|
||||||
+++ supertux-0.3.1/src/lisp/lisp.cpp 2009-03-01 15:13:53.000000000 +0100
|
|
||||||
@@ -19,6 +19,7 @@
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
+#include <cstdio>
|
|
||||||
#include "lisp.hpp"
|
|
||||||
|
|
||||||
namespace lisp
|
|
||||||
diff -up supertux-0.3.1/src/random_generator.cpp.gcc44 supertux-0.3.1/src/random_generator.cpp
|
|
||||||
--- supertux-0.3.1/src/random_generator.cpp.gcc44 2009-03-01 15:14:05.000000000 +0100
|
|
||||||
+++ supertux-0.3.1/src/random_generator.cpp 2009-03-01 15:14:18.000000000 +0100
|
|
||||||
@@ -39,6 +39,7 @@
|
|
||||||
#include <stdexcept>
|
|
||||||
#include <time.h>
|
|
||||||
#include <cassert>
|
|
||||||
+#include <cstdio>
|
|
||||||
#include "random_generator.hpp"
|
|
||||||
|
|
||||||
RandomGenerator systemRandom; // global random number generator
|
|
@ -1 +0,0 @@
|
|||||||
http://download.berlios.de/supertux/supertux-0.3.1d.tar.bz2
|
|
Loading…
x
Reference in New Issue
Block a user