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/xboing | |
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/xboing')
-rw-r--r-- | games-arcade/xboing/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/xboing/files/xboing-2.4-buffer.patch | 12 | ||||
-rw-r--r-- | games-arcade/xboing/files/xboing-2.4-sleep.patch | 13 | ||||
-rw-r--r-- | games-arcade/xboing/metadata.xml | 5 | ||||
-rw-r--r-- | games-arcade/xboing/xboing-2.4-r2.ebuild | 61 |
5 files changed, 93 insertions, 0 deletions
diff --git a/games-arcade/xboing/Manifest b/games-arcade/xboing/Manifest new file mode 100644 index 000000000000..6314b2f1f84c --- /dev/null +++ b/games-arcade/xboing/Manifest @@ -0,0 +1,2 @@ +DIST xboing-2.4-debian.patch.bz2 7740 SHA256 14461b3684c8a651fb9cff864931f1e56600c373a16b8ea61a98f689173c893e SHA512 bffd9b747b1e8840aef872988f9ef8b341a56e63d390e386a8ca71358318ba9c0b37bebd91b1f036b52c56e70acf98ec35f92f4c0fa1e19e2f8c4fcc83c1e7d9 WHIRLPOOL cc90b0e81f828b34ebacd15fac7839db47a891d701a1c4cd942a0f1aace903f23f57764d2698b11a04b46cad23e5841816127bbe5248f43d1a3be220d25fac28 +DIST xboing2.4.tar.gz 588811 SHA256 67019cb8c8a4da0b1177dcc8bed063afe3b8f1853b18345dbc1deaca51d4a29a SHA512 4b6987329bfe79b3b9709ca02974d0043c6e35210aa73903940efbd09e94b1873ce09b1bea014646029b77e9bd063279935843adceb6635817f15c8025a0c454 WHIRLPOOL c2e1f6b6074c4db1afba7f52d4cb78203a980f3bbc1f4564397d864a01b977a25c27097b53957f80057d1445292a18bd5f4ae3913718c0c24a808eda32ba6b83 diff --git a/games-arcade/xboing/files/xboing-2.4-buffer.patch b/games-arcade/xboing/files/xboing-2.4-buffer.patch new file mode 100644 index 000000000000..381ae69982d9 --- /dev/null +++ b/games-arcade/xboing/files/xboing-2.4-buffer.patch @@ -0,0 +1,12 @@ +diff -ruN xboing.orig/init.c xboing/init.c +--- xboing.orig/init.c 1996-11-22 02:28:46.000000000 +0100 ++++ xboing/init.c 2013-02-02 19:57:55.000000000 +0100 +@@ -266,7 +266,7 @@ + #endif + { + /* Create all required font structures */ +- char str[80]; ++ char str[200]; + + /* Font used for titles */ + if (!(titleFont = XLoadQueryFont(display, TITLE_FONT))) diff --git a/games-arcade/xboing/files/xboing-2.4-sleep.patch b/games-arcade/xboing/files/xboing-2.4-sleep.patch new file mode 100644 index 000000000000..80723465185f --- /dev/null +++ b/games-arcade/xboing/files/xboing-2.4-sleep.patch @@ -0,0 +1,13 @@ +diff -ru xboing.debian/misc.c xboing/misc.c +--- xboing.debian/misc.c 2013-02-02 20:07:07.000000000 +0100 ++++ xboing/misc.c 2013-02-02 20:11:51.000000000 +0100 +@@ -116,9 +116,7 @@ + long SyncTime; + static unsigned long accu; + +-#ifdef __alpha__ + ms *= 1000; /* convert from milliseconds to microseconds for usleep */ +-#endif + + gettimeofday(&st, NULL); + XSync(display, False); diff --git a/games-arcade/xboing/metadata.xml b/games-arcade/xboing/metadata.xml new file mode 100644 index 000000000000..57c4c091b3ea --- /dev/null +++ b/games-arcade/xboing/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>dilfridge@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/games-arcade/xboing/xboing-2.4-r2.ebuild b/games-arcade/xboing/xboing-2.4-r2.ebuild new file mode 100644 index 000000000000..a8a91df2292c --- /dev/null +++ b/games-arcade/xboing/xboing-2.4-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils games + +DESCRIPTION="blockout type game where you bounce a proton ball trying to destroy blocks" +HOMEPAGE="http://www.techrescue.org/xboing/" +SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz + mirror://gentoo/xboing-${PV}-debian.patch.bz2" + +LICENSE="xboing" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libXpm" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/gccmakedep + x11-misc/imake" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${WORKDIR}"/xboing-${PV}-debian.patch + epatch "${FILESDIR}"/xboing-${PV}-buffer.patch + epatch "${FILESDIR}"/xboing-${PV}-sleep.patch + sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c +} + +src_configure() { + xmkmf -a || die + sed -i \ + -e "s:GENTOO_VER:${PF/${PN}-/}:" \ + Imakefile +} + +src_compile() { + emake \ + CXXOPTIONS="${CXXFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="${GAMES_DATADIR}/${PN}" \ + || die +} + +src_install() { + make \ + PREFIX="${D}" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="${GAMES_DATADIR}/${PN}" \ + install \ + || die + newman xboing.man xboing.6 + dodoc README docs/*.doc + prepgamesdirs + fperms 660 "${GAMES_STATEDIR}"/xboing.score +} |