pingus
This commit is contained in:
parent
9e2c06046a
commit
36327c7d07
|
@ -0,0 +1,22 @@
|
||||||
|
From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
Date: Mon, 30 Jan 2017 15:41:53 +0000
|
||||||
|
Subject: [PATCH] Add missing header for std::function and std::bind
|
||||||
|
|
||||||
|
---
|
||||||
|
src/pingus/screens/demo_session.cpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/pingus/screens/demo_session.cpp b/src/pingus/screens/demo_session.cpp
|
||||||
|
index e3ec49a2c..f887e50f0 100644
|
||||||
|
--- a/src/pingus/screens/demo_session.cpp
|
||||||
|
+++ b/src/pingus/screens/demo_session.cpp
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <functional>
|
||||||
|
|
||||||
|
#include "engine/gui/gui_manager.hpp"
|
||||||
|
#include "engine/gui/surface_button.hpp"
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
--- src/pingus/pingus_main.cpp~ 2011-12-24 15:46:47.000000000 -0600
|
||||||
|
+++ src/pingus/pingus_main.cpp 2012-01-03 13:13:03.034195720 -0600
|
||||||
|
@@ -465,7 +465,7 @@
|
||||||
|
void
|
||||||
|
PingusMain::print_greeting_message()
|
||||||
|
{
|
||||||
|
- std::string greeting = "Welcome to Pingus "VERSION;
|
||||||
|
+ std::string greeting = "Welcome to Pingus " VERSION;
|
||||||
|
greeting += "!";
|
||||||
|
std::cout << greeting << std::endl;
|
||||||
|
for (unsigned int i = 0; i < greeting.length(); ++i)
|
||||||
|
--- src/pingus/screens/pingus_menu.cpp~ 2011-12-24 15:46:47.000000000 -0600
|
||||||
|
+++ src/pingus/screens/pingus_menu.cpp 2012-01-03 13:30:28.967700554 -0600
|
||||||
|
@@ -153,7 +153,7 @@
|
||||||
|
gc.get_height()/2 - 280));
|
||||||
|
|
||||||
|
gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140),
|
||||||
|
- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n"
|
||||||
|
+ "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n"
|
||||||
|
"See the file AUTHORS for a complete list of contributors.\n"
|
||||||
|
"Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n"
|
||||||
|
"welcome to redistribute it under certain conditions; see the file COPYING for details.\n");
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Pingus
|
||||||
|
Comment=Lemmings'den esinlenen bir eylem-bulmaca oyunu
|
||||||
|
Exec=pingus
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Application;Game;LogicGame
|
||||||
|
Icon=/usr/share/pingus/images/core/editor/actions.png
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Tanım: Lemmings'den esinlenen bir eylem-bulmaca oyunu
|
||||||
|
# URL: http://pingus.seul.org
|
||||||
|
# Paketçi: Cihan_Alkan
|
||||||
|
# Gerekler: sdl-image sdl-mixer xorg-mesa boost scons xorg-glu
|
||||||
|
# Grup: oyun
|
||||||
|
|
||||||
|
isim=pingus
|
||||||
|
surum=0.7.6
|
||||||
|
devir=1
|
||||||
|
kaynak=(https://github.com/Pingus/pingus/archive/v$surum.tar.gz::$isim-$surum.tar.gz
|
||||||
|
${isim}.desktop
|
||||||
|
pingus-0.7.6-gcc470-udl.patch
|
||||||
|
missing-header.patch)
|
||||||
|
|
||||||
|
derle() {
|
||||||
|
cd $isim-$surum
|
||||||
|
patch -Np0 -i ${SRC}/pingus-0.7.6-gcc470-udl.patch
|
||||||
|
sed -i "s#/man1/#/man6/#g" Makefile
|
||||||
|
# missing header
|
||||||
|
patch -Np1 -i ../missing-header.patch
|
||||||
|
scons prefix=/usr
|
||||||
|
make install DESTDIR="${PKG}" PREFIX="/usr"
|
||||||
|
install -D -m644 "${SRC}/pingus.desktop" "${PKG}/usr/share/applications/pingus.desktop"
|
||||||
|
}
|
Loading…
Reference in New Issue