Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104035 - Machineball ebuild
Summary: Machineball ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://benny.kramekweb.com/machineball/
Whiteboard:
Keywords: EBUILD
: 104033 104034 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-28 07:46 UTC by charly
Modified: 2018-12-03 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
machineball 1.0 ebuild for binaries (machineball-1.0.ebuild,668 bytes, text/plain)
2005-08-28 07:48 UTC, charly
Details
Machineball 1.0 source ebuild (machineball-1.0.ebuild,875 bytes, text/plain)
2005-08-29 07:45 UTC, charly
Details
machineball-1.0.ebuild (machineball-1.0.ebuild,925 bytes, text/plain)
2005-09-21 17:44 UTC, Adrian Frühwirth
Details
machineball-1.0.ebuild (machineball-1.0.ebuild,727 bytes, text/plain)
2010-03-20 19:46 UTC, Samuli Suominen (RETIRED)
Details
machineball-1.0.ebuild (machineball-1.0.ebuild,829 bytes, text/plain)
2010-03-20 20:10 UTC, Samuli Suominen (RETIRED)
Details
machineball-1.0-r1.ebuild (machineball-1.0.ebuild,873 bytes, text/plain)
2012-06-03 15:04 UTC, KinG-InFeT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charly 2005-08-28 07:46:48 UTC
i join a ebuild proposal for machineball (http://benny.kramekweb.com/
machineball/). This is a very funny two players only game.

The ebuild uses the binaries and not the sources, since sources need a lot of 
librairies to be compiled. I dont know if it is accepted by the gentoo system, 
so just say.

Reproducible: Always
Steps to Reproduce:
Comment 1 charly 2005-08-28 07:48:41 UTC
Created attachment 67077 [details]
machineball 1.0 ebuild for binaries
Comment 2 charly 2005-08-28 08:08:57 UTC
*** Bug 104034 has been marked as a duplicate of this bug. ***
Comment 3 charly 2005-08-28 08:09:49 UTC
*** Bug 104033 has been marked as a duplicate of this bug. ***
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-08-28 23:19:29 UTC
Looks like it uses pretty stock libraries to me.   A source-based ebuild is
preferred.
Comment 5 charly 2005-08-29 07:45:03 UTC
ok, ive made it for sources. The author said it was the hell to compile the 
game, but with gentoo it is as easy as make some eggs :)

ive masked (~x86) it since the README tell it has still some bugs :(

so, enjoy!
Comment 6 charly 2005-08-29 07:45:42 UTC
Created attachment 67176 [details]
Machineball 1.0 source ebuild
Comment 7 Christoph Brill (egore) (RESIGNED) 2005-08-29 07:54:44 UTC
few comments on the ebuild:
- drop the src_unpack and src_compile methods. inheriting games does this by default
- set S globally (right after the depend block, before src_install)
Comment 8 Adrian Frühwirth 2005-09-21 17:44:32 UTC
Created attachment 68979 [details]
machineball-1.0.ebuild

tidied up ebuild
Comment 9 Piotr Szymaniak 2006-04-30 15:05:35 UTC
Source compiles good, but when i start the game (tried different resolutions and other options) i got:

lazy_bum@maszyna ~ $ machineball 
Machine Ball   Version 1.0
  By Benny Kramek
  benny@kramekweb.com
  http://benny.kramekweb.com

Configuration file: /home/lazy_bum/.machineballrc
Shutting down Allegro due to signal #11
Segmentation fault


Gentoo Base System version 1.6.14
Portage 2.1_pre9-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14
-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Pentium II (Deschutes)
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/t
erminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms 
strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="pl_PL"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/var/tmp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli cr
ypt eds emboss encode foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 iml
ib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls npt
l ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt quicktime readlin
e reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts 
udev usb userlocales vorbis wxgtk1 xml xorg xv zlib elibc_glibc input_devices_mo
use input_devices_keyboard kernel_linux linguas_pl userland_GNU video_cards_nv v
ideo_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK


The binary from home page works fine, but i want a Gentoo way! (:
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 19:46:56 UTC
Created attachment 224429 [details]
machineball-1.0.ebuild

Missing only DESCRIPTION but I can't really test it, because allegro's dat2c command is x86-only, and I don't have 32bit system ...
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 20:10:08 UTC
Created attachment 224431 [details]
machineball-1.0.ebuild

Respect LDFLAGS, try to workaround execstacks

Looks dead upstream though :(
Comment 12 KinG-InFeT 2012-02-17 18:35:45 UTC
the required packages:

virtual / opengl
virtual / glu
dev-games/ode
> = media-libs/allegro-4.4.1.1 [opengl]
media-libs/dumb-0.9.3-r1
media-libs/aldumb

and implementation mother machinebal-1.0

are stable for x86.

I would say put it in portage as stable x86.
Comment 13 KinG-InFeT 2012-02-17 18:43:36 UTC
Forgive me, but there is a problem:
Mesa: User error: GL_STACK_OVERFLOW in glPushMatrix (mode = GL_PROJECTION)
Mesa: User error: GL_STACK_OVERFLOW in glPushMatrix (mode = GL_PROJECTION)

and fonts only come out squares instead of letters, openGL problem?
Comment 14 KinG-InFeT 2012-06-03 15:04:45 UTC
Created attachment 314053 [details]
machineball-1.0-r1.ebuild

i install libstdc++ libstdc++-v3
and it works without any problems on x86 platform

new ebuild added this dependence:libstdc++ libstdc++-v3
Comment 15 KinG-InFeT 2012-06-03 15:05:26 UTC
Comment on attachment 314053 [details]
machineball-1.0-r1.ebuild

># Copyright 1999-2010 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>EAPI=2
>inherit eutils flag-o-matic games
>
>DESCRIPTION=""
>HOMEPAGE="http://benny.kramekweb.com/machineball/"
>SRC_URI="http://benny.kramekweb.com/${PN}/${PN}-src-${PV}-1.tar.gz"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~x86"
>IUSE=""
>
>DEPEND="virtual/opengl
>	virtual/glu
>	dev-games/ode
>	>=media-libs/allegro-4.4.1.1[opengl]
>	media-libs/dumb
>	media-libs/aldumb
>	virtual/libstdc++-3.3
>	sys-libs/libstdc++"
>
>S=${WORKDIR}/${PN}-src
>
>src_prepare() {
>	sed -i \
>		-e 's:gcc:$(CC) $(LDFLAGS) $(CFLAGS):' \
>		-e 's:-lagl:-lalleggl:' \
>		Makefile || die
>}
>
>src_compile() {
>	append-ldflags -Wl,-z,noexecstack
>	emake || die
>}
>
>src_install() {
>	dogamesbin ${PN} || die
>	dodoc README
>	newicon ${PN}-icon-48x48.xpm ${PN}.xpm
>	make_desktop_entry ${PN} ${PN}
>	prepgamesdirs
>}
>