diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-rpg/openglad | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-rpg/openglad')
-rw-r--r-- | games-rpg/openglad/Manifest | 2 | ||||
-rw-r--r-- | games-rpg/openglad/files/0.98-gladpack.c.patch | 13 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-gcc43.patch | 11 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-ovfl.patch | 11 | ||||
-rw-r--r-- | games-rpg/openglad/metadata.xml | 8 | ||||
-rw-r--r-- | games-rpg/openglad/openglad-0.98.ebuild | 43 |
6 files changed, 88 insertions, 0 deletions
diff --git a/games-rpg/openglad/Manifest b/games-rpg/openglad/Manifest new file mode 100644 index 000000000000..7ba650631e52 --- /dev/null +++ b/games-rpg/openglad/Manifest @@ -0,0 +1,2 @@ +DIST openglad-0.98.tar.gz 724106 SHA256 a3df9f8ea8827f56a9b38611c3f5c3a11aaec865a95d37cef90617d6b6efb844 SHA512 3f9165fbf8fff081a862bfe81401a3b2ac227da58b84409beee8b0441f88b1a6deb3d24a1af6e71bd3a3484fc90de5574950fd54be82d837021a07f06302f0e1 WHIRLPOOL caa12af504bf4dc64a24b6512097c149d300e3be20845568c187ae70b8af85de2e523f4c1585cb6beb25e0fad80665794955564b5fe2634abc8322f5b61c8004 +DIST openglad.png 5593 SHA256 04fd6707bda5a7f42e11f1f441a6410709d38f5f6d5d124bf1ab0bb44fad5f1c SHA512 27419fcbbbf8640718968304a4824101860736c2091f494defcd111b5cc252856b5373c0e7a2bca1c79f9c7551012b0ba04577f9ed97769e436637ee25f5caeb WHIRLPOOL 2ac11719d1ac537d677e980bd5207a9c7b271f23ecdaa335d0e9cfbe8c855496ca3dd93d46d8ffe903f83c322a2c970291213448b411ded66d85eac95d747c7a diff --git a/games-rpg/openglad/files/0.98-gladpack.c.patch b/games-rpg/openglad/files/0.98-gladpack.c.patch new file mode 100644 index 000000000000..061ccbf36305 --- /dev/null +++ b/games-rpg/openglad/files/0.98-gladpack.c.patch @@ -0,0 +1,13 @@ +--- openglad-0.98.orig/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000 ++++ openglad-0.98/util/gladpack.c 2003-12-06 12:42:31.393812945 +1100 +@@ -9,8 +9,8 @@ + + int main(int argc, char **argv) + { +- if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv); +- else if (argc > 1 && !strcmp(argv[1], "u")) unpack(argc, argv); ++ if (argc > 1 && !strcmp(argv[1], "p")) return pack(argc, argv); ++ else if (argc > 1 && !strcmp(argv[1], "u")) return unpack(argc, argv); + else + { + printf("Usage: gladpack (p|u) ...\n"); diff --git a/games-rpg/openglad/files/openglad-0.98-gcc43.patch b/games-rpg/openglad/files/openglad-0.98-gcc43.patch new file mode 100644 index 000000000000..831bb53671d4 --- /dev/null +++ b/games-rpg/openglad/files/openglad-0.98-gcc43.patch @@ -0,0 +1,11 @@ +--- src/parser.cpp ++++ src/parser.cpp +@@ -23,6 +23,8 @@ + #include <iostream> + #include <fstream> + #include <string> ++#include <cstring> ++#include <cstdlib> + #include "parser.h" + + using namespace std; diff --git a/games-rpg/openglad/files/openglad-0.98-ovfl.patch b/games-rpg/openglad/files/openglad-0.98-ovfl.patch new file mode 100644 index 000000000000..14cd73cc53b0 --- /dev/null +++ b/games-rpg/openglad/files/openglad-0.98-ovfl.patch @@ -0,0 +1,11 @@ +--- src/screen.cpp.old 2011-07-23 21:35:34.385063301 +0200 ++++ src/screen.cpp 2011-07-23 21:35:59.948063312 +0200 +@@ -2383,7 +2383,7 @@ + short listsize; + short i; + walker * new_guy; +- char newgrid[12] = "grid.pix"; // default grid ++ char newgrid[13] = "grid.pix"; // default grid + char new_scen_type; // read the scenario type + char oneline[80]; + char numlines, tempwidth; diff --git a/games-rpg/openglad/metadata.xml b/games-rpg/openglad/metadata.xml new file mode 100644 index 000000000000..5bd973f0ebc7 --- /dev/null +++ b/games-rpg/openglad/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">snowstorm</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-rpg/openglad/openglad-0.98.ebuild b/games-rpg/openglad/openglad-0.98.ebuild new file mode 100644 index 000000000000..b6e211269ed5 --- /dev/null +++ b/games-rpg/openglad/openglad-0.98.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="An SDL clone of Gladiator, a classic RPG game" +HOMEPAGE="http://snowstorm.sourceforge.net/" +SRC_URI="mirror://sourceforge/snowstorm/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="media-libs/sdl-mixer + media-libs/sdl-image + media-libs/libsdl[joystick,sound,video]" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-gladpack.c.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-ovfl.patch +} + +src_configure() { + egamesconf \ + --prefix=/usr \ + --bindir="${GAMES_BINDIR}" \ + --datadir="${GAMES_DATADIR}/${PN}" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + docdir="${D}"/usr/share/doc/${PF} + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry openglad OpenGladiator + prepgamesdirs +} |