diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/openbubbles | |
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-arcade/openbubbles')
-rw-r--r-- | games-arcade/openbubbles/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch | 20 | ||||
-rw-r--r-- | games-arcade/openbubbles/metadata.xml | 19 | ||||
-rw-r--r-- | games-arcade/openbubbles/openbubbles-1.2.ebuild | 28 |
4 files changed, 68 insertions, 0 deletions
diff --git a/games-arcade/openbubbles/Manifest b/games-arcade/openbubbles/Manifest new file mode 100644 index 000000000000..aee64dc4e596 --- /dev/null +++ b/games-arcade/openbubbles/Manifest @@ -0,0 +1 @@ +DIST openbubbles-1.2.tar.bz2 1090220 SHA256 7d5d4633a4881559f475b0b9e3778d593f856dd1dbf0acf979b79852f8d63dbb SHA512 fe546f12e6d045cb37f4c9f88dd42fc627d614933525066bd3eb867e5d8732f2f23fe117ff1a444fc3c33d471ae51099c865d9082134e0e8a051ce8a3df58244 WHIRLPOOL fa988262a9a636800ec8bc0aa2ce3c9cb6cb35f5244c76ef1e50a10cfaf445d664435f022280aac8b90424754d08deb9e9d2187af174634072b0b438180da072 diff --git a/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch new file mode 100644 index 000000000000..d511734da28f --- /dev/null +++ b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch @@ -0,0 +1,20 @@ +--- src/BFont.cpp ++++ src/BFont.cpp +@@ -319,7 +319,7 @@ + int i = 0;
+
+ /* Calculate the space occupied by the text without spaces */
+- while ((p=strchr(&text[pos+1],SPACE)) != NULL) {
++ while ((p=strchr((char *)&text[pos+1],SPACE)) != NULL) {
+ i++;
+ pos = p - text;
+ }
+@@ -359,7 +359,7 @@ + xpos=0;
+ pos = -1;
+ while ( spaces > 0 ) {
+- p = strstr(&text[pos+1]," ");
++ p = strstr((char *)&text[pos+1]," ");
+ strtmp = NULL;
+ strtmp = (char *) calloc ((p - &text[pos+1]) + 1,sizeof(char));
+ if (strtmp != NULL)
diff --git a/games-arcade/openbubbles/metadata.xml b/games-arcade/openbubbles/metadata.xml new file mode 100644 index 000000000000..906d51d15057 --- /dev/null +++ b/games-arcade/openbubbles/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription lang="en"> +This is a clone of Evan Bailey's game Bubbles. Why did I reinvent the wheel? In +this case, the wheel is made in Game Maker, so anyone who wants to do any +serious programming would not be able to unless they A) ran Windows and B) ran a +program that doesn't give the user very great power. OpenBubbles is written in +C++ using SDL, so the programmer has some pretty powerful tools at his/her +disposal; in addition, because SDL is cross-platform, OpenBubbles can be ported +to any (major) platform, including Windows. Of course, I only run Unix, so I +will only be producing Unix source code. Though it was a relatively minor issue, +Evan's license is only semi-free because it doesn't permit commercial use of the +source code. Now, you are free to make as much money as you want off of +improvements of OpenBubbles (provided, of course, that you share them with me +and everyone else under the GPL, too). +</longdescription> +</pkgmetadata> diff --git a/games-arcade/openbubbles/openbubbles-1.2.ebuild b/games-arcade/openbubbles/openbubbles-1.2.ebuild new file mode 100644 index 000000000000..434c1926a151 --- /dev/null +++ b/games-arcade/openbubbles/openbubbles-1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="A clone of Evan Bailey's game Bubbles" +HOMEPAGE="http://www.freewebs.com/lasindi/openbubbles/index.html" +SRC_URI="http://www.freewebs.com/lasindi/openbubbles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-gfx" +RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/${P}-glibc2.10.patch ) + +src_install() { + default + newicon data/bubble.png ${PN}.png + make_desktop_entry ${PN} "OpenBubbles" + prepgamesdirs +} |