Free tennis looks like a promising game that shouldn't be withheld for Gentoo users any longer :D. Again if is someone is willing to guide me I am prepared o make my first ebuild. http://freetennis.sourceforge.net/ Reproducible: Always
attach your ebuild attempt and we'll go from there.
Created attachment 113933 [details] freetennis-0.4.8.ebuild Here's the ebuild for games-sports/freetennis, from http://forums.gentoo.org/viewtopic-t-403727.html
pretty raw right now. We'll pick it up for portage after a bit more development.
(In reply to comment #1) > attach your ebuild attempt and we'll go from there. > Mr. Bones I am afraid Paul was first with the ebuild :-(. There are more games I would like to add (for example a Philips Videopac G7000 emulator). I hope your are willing to help again with my first steps into making an ebuild.
I get various errors when I try to build it. >>> Compiling source in /var/portage/tmpfs/portage/games-sports/freetennis-0.4.8/work/freetennis-0.4.8 ... make --jobs --load 5 ocamlopt -I /usr/lib/ocaml/site-packages/camlimages -I /usr/lib/ocaml/lablGL -I /usr/lib/ocaml/lablgtk2 -I /usr/lib/ocaml/site-packages/sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa ci_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml File "freetennis.ml", line 43, characters 0-13: Error: Unbound module Sdlevent make: *** [all] Error 2 emake failed This can be fixed by adding -I /usr/lib64/ocaml/sdl/sdl to the Makefile. This file is part of dev-ml/ocamlsdl-0.8.0. But then I get the next error: Cannot find file ci_core.cmxa Indeed, there is no such file. If I remove ci_core.cmxa from the Makefile, it builds. But when starting, I get this error: wonko@weird ~ $ ./tmp/freetennis -newbie Fatal error: exception Sdlmixer.SDLmixer_exception("Mix_LoadWAV_RW with NULL src") I have no idea about that. Can anyone reproduce this? BTW, http://lists.debian.org/debian-ocaml-maint/2009/06/msg00230.html looks like graphics.cmxa should be included, but this makes no difference. wonko@weird ~ $ emerge --info freetennis Portage 2.2.0_alpha89 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64 ================================================================= System Settings ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-AMD_FX-tm-4100_Quad-Core_Processor-with-gentoo- Timestamp of tree: Wed, 29 Feb 2012 06:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.4.6-r1, 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo kde-sunset zugaina sunrise vmware x11 nx kde enlightenment emacs dfreise proaudio sciene local Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -march=amdfam10 -O2 -floop-interchange -floop-strip-mine -floop-block -msse msse2 -msse3 -msse4 -msse4.1 -msse4.2 -m3dnow -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -max --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=204 CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usrshare/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/h CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/pp/cgi-php5.2/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.4ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texm/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/share/X11/xkb /usr/share/openvpn/easy- CXXFLAGS="-pipe -march=amdfam10 -O2 -floop-interchange -floop-strip-mine -floop-block -mss -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -m3dnow -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -avx --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y --load-average=6.0" FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg collision-protect distlocks ebuild-locks fixlafile news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs umerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="" GENTOO_MIRRORS="rsync://mirror.netcologne.de/gentoo/ http://gentoo.mneisen.org/" LANG="de_DE.utf8" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="--jobs --load 5" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/portage/tmpfs" PORTDIR="/var/portage/tree" PORTDIR_OVERLAY="/var/portage/layman/kde-sunset /var/portage/layman/zugaina /var/portage/layman/sunrise /var/portage/layman/vmware /var/portage/layman/x11 /var/portage/layman/nx /var/portage/layman/kde /var/portage/layman/enlightenment /var/portage/layman/emacs /var/portage/layman/dfreise /var/portage/layman/pro-audio /var/portage/layman/science /var/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bcmath berkdb bluetooth branding bzip2 cairo calendar cdda cdparanoia cdr cli consolekit cracklib crypt ctype cups cvs cxx dbus declarative dga directfb dri dts dvb dvd dvdr emacs emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gdu ggi gif gimp ginac git gnutls gphoto2 gpm gtk handbook hddtemp iconv ieee1394 imagemagick imlib ipv6 jabber jack java javascript jbig jpeg jpeg2k kde kipi latex lcms ldap libnotify lm_sensors lzma mad maildir matroska matrox mikmod mime mmx mng modplug modules motif mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz nas ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pango pch pcre pdf phonon php plasma plotutils png policykit ppds pppd qt3support qt4 quicktime radius rdesktop readline recode ruby samba scanner sdl semantic-desktop session slang slp smp sndfile sockets sox speex spell sse sse2 sse3 ssl startup-notification subversion svg sysfs tcpd theora threads tiff truetype udev unicode usb videos vim-syntax visualization vnc vorbis wma wmf wxwindows x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cgi alias auth_basic authn_file authz_groupfile authz_host authz_owner authz_user dir mime userdir" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="serial" MISDN_CARDS="avmfritz" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon_pp microtek plustek_pp" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS