Hi, Ebuild of an nice game: "Trackballs is a simple game similar to the classical game Marble Madness on the Amiga in the 80's. By steering a marble ball through a labyrinth filled with vicious hammers, pools of acid and other obstacles the player collects points. When the ball reaches the destination it continues tt the next, more difficult track - unless the time runs out." It requires Guile 1.6.1, which i posted here: http://bugs.gentoo.org/show_bug.cgi?id=13018 - V
Hi, Ebuild of an nice game: "Trackballs is a simple game similar to the classical game Marble Madness on the Amiga in the 80's. By steering a marble ball through a labyrinth filled with vicious hammers, pools of acid and other obstacles the player collects points. When the ball reaches the destination it continues tt the next, more difficult track - unless the time runs out." It requires Guile 1.6.1, which i posted here: http://bugs.gentoo.org/show_bug.cgi?id=13018 - Väiski
Created attachment 6879 [details] Trackballs 0.2.2 ebuild
Forgot to say: For me barbatri.ttf font doesn't work, it shows as boxes. I have reported this to game's author. I haven't tested this on multiple machines. If it doesn't work then replace it with one of the other fonts till the author answers.
Created attachment 7348 [details] Trackballs 0.3.0 Ebuild [OBSOLETES Trackballs-0.2.2.ebuild] (But I dont have privileges to do that) Here's the ebuild for the new version. Im not sure that all directories created during install is removed, since I needed to change directory before econf would work.. I suppose someone more knowledgable can fix this if that is the case. Do hope this ends up in portage since its a great little game
Created attachment 7349 [details] Fixed 0.3.0 ebuild I fixed some problems in M
Created attachment 7349 [details] Fixed 0.3.0 ebuild I fixed some problems in Mårtens ebuild. It had problems installing data files. This obsoletes the previous two ebuilds.
Created attachment 7844 [details] trackballs-0.4.1.ebuild Version bump.
trackballs-0.4.1.ebuild doesn't work for me.. I use guile 1.4.1 and guile 1.6.0.. If I do not have guile 1.4.1 installed ./configure won't detect guile and nothing happens.. when I use them both this happens: ------------------------------------------------------------------------------------ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -I/usr/include -O2 -march=athlon-xp -pipe -I/usr/include/SDL -D_REENTRANT -I/usr/include -c -o debris.o `test -f 'debris.cc' || echo './'`debris.cc source='black.cc' object='black.o' libtool=no \ depfile='.deps/black.Po' tmpdepfile='.deps/black.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -I/usr/include -O2 -march=athlon-xp -pipe -I/usr/include/SDL -D_REENTRANT -I/usr/include -c -o black.o `test -f 'black.cc' || echo './'`black.cc source='guile.cc' object='guile.o' libtool=no \ depfile='.deps/guile.Po' tmpdepfile='.deps/guile.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -I/usr/include -O2 -march=athlon-xp -pipe -I/usr/include/SDL -D_REENTRANT -I/usr/include -c -o guile.o `test -f 'guile.cc' || echo './'`guile.cc guile.cc:43: 'scm_t_bits' is used as a type, but is not defined as a type. guile.cc:44: 'scm_t_bits' is used as a type, but is not defined as a type. guile.cc: In function `SCM smobAnimated_make(Animated*)': guile.cc:51: `smobAnimated_tag' undeclared (first use this function) guile.cc:51: (Each undeclared identifier is reported only once for each function it appears in.) guile.cc: In function `SCM smobGameHook_make(GameHook*)': guile.cc:56: `smobGameHook_tag' undeclared (first use this function) guile.cc: In function `SCM add_cyclic_platform(long int, long int, long int, long int, long int, long int, long int, long int)': guile.cc:107: `scm_num2int' undeclared (first use this function) guile.cc: In function `SCM add_goal(long int, long int, long int, long int)': guile.cc:310: `SCM_STRING_CHARS' undeclared (first use this function) guile.cc:412:1: warning: "FUNC_NAME" redefined guile.cc:397:1: warning: this is the location of the previous definition guile.cc: In function `SCM get_time()': guile.cc:423: `scm_int2num' undeclared (first use this function) source='gameHook.cc' object='gameHook.o' libtool=no \ depfile='.deps/gameHook.Po' tmpdepfile='.deps/gameHook.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -I/usr/include -O2 -march=athlon-xp -pipe -I/usr/include/SDL -D_REENTRANT -I/usr/include -c -o gameHook.o `test -f 'gameHook.cc' || echo './'`gameHook.cc guile.cc: At global scope: guile.cc:567: `s_mod_speed' was not declared in this scope guile.cc:567: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:567: initializer list being treated as compound expression guile.cc:568: `s_mod_jump' was not declared in this scope guile.cc:568: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:568: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:567: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:568: initializer list being treated as compound expression guile.cc:569: `s_mod_spike' was not declared in this scope guile.cc:569: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:569: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:568: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:569: initializer list being treated as compound expression guile.cc:570: `s_mod_glass' was not declared in this scope guile.cc:570: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:570: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:569: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:570: initializer list being treated as compound expression guile.cc:571: `s_mod_dizzy' was not declared in this scope guile.cc:571: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:571: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:570: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:571: initializer list being treated as compound expression guile.cc:572: `s_mod_frozen' was not declared in this scope guile.cc:572: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:572: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:571: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:572: initializer list being treated as compound expression guile.cc:574: `s_easy' was not declared in this scope guile.cc:574: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:574: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:572: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:574: initializer list being treated as compound expression guile.cc:575: `s_normal' was not declared in this scope guile.cc:575: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:575: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:574: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:575: initializer list being treated as compound expression guile.cc:576: `s_hard' was not declared in this scope guile.cc:576: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:576: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:575: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:576: initializer list being treated as compound expression guile.cc:578: `s_ff_nothing' was not declared in this scope guile.cc:578: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:578: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:576: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:578: initializer list being treated as compound expression guile.cc:579: `s_ff_kill1' was not declared in this scope guile.cc:579: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:579: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:578: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:579: initializer list being treated as compound expression guile.cc:580: `s_ff_bounce1' was not declared in this scope guile.cc:580: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:580: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:579: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:580: initializer list being treated as compound expression guile.cc:581: `s_ff_kill2' was not declared in this scope guile.cc:581: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:581: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:580: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:581: initializer list being treated as compound expression guile.cc:582: `s_ff_bounce2' was not declared in this scope guile.cc:582: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:582: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:581: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:582: initializer list being treated as compound expression guile.cc:583: `s_ff_bounce' was not declared in this scope guile.cc:583: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:583: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:582: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:583: initializer list being treated as compound expression guile.cc:584: `s_ff_kill' was not declared in this scope guile.cc:584: ISO C++ forbids declaration of `SCM_GLOBAL_VARIABLE_INIT' with no type guile.cc:584: redefinition of `int SCM_GLOBAL_VARIABLE_INIT' guile.cc:583: `int SCM_GLOBAL_VARIABLE_INIT' previously defined here guile.cc:584: initializer list being treated as compound expression In file included from guile.cc:595: guile.cc.x: In function `void initGuileInterface()': guile.cc.x:2: `scm_c_define_gsubr' undeclared (first use this function) guile.cc.x:34: `s_mod_speed' undeclared (first use this function) guile.cc.x:34: `scm_c_define' undeclared (first use this function) guile.cc.x:35: `s_mod_jump' undeclared (first use this function) guile.cc.x:36: `s_mod_spike' undeclared (first use this function) guile.cc.x:37: `s_mod_glass' undeclared (first use this function) guile.cc.x:38: `s_mod_dizzy' undeclared (first use this function) guile.cc.x:39: `s_mod_frozen' undeclared (first use this function) guile.cc.x:40: `s_easy' undeclared (first use this function) guile.cc.x:41: `s_normal' undeclared (first use this function) guile.cc.x:42: `s_hard' undeclared (first use this function) guile.cc.x:43: `s_ff_nothing' undeclared (first use this function) guile.cc.x:44: `s_ff_kill1' undeclared (first use this function) guile.cc.x:45: `s_ff_bounce1' undeclared (first use this function) guile.cc.x:46: `s_ff_kill2' undeclared (first use this function) guile.cc.x:47: `s_ff_bounce2' undeclared (first use this function) guile.cc.x:48: `s_ff_bounce' undeclared (first use this function) guile.cc.x:49: `s_ff_kill' undeclared (first use this function) {standard input}: Assembler messages: {standard input}:42: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:48: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:54: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:60: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:66: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:72: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:78: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:84: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:90: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:96: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:102: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:108: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:114: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:120: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined {standard input}:126: Error: symbol `SCM_GLOBAL_VARIABLE_INIT' is already defined make[2]: *** [guile.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/trackballs-0.4.1/work/trackballs-0.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/trackballs-0.4.1/work/trackballs-0.4.1' make: *** [all] Error 2 !!! ERROR: app-games/trackballs-0.4.1 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! emake failed -------------------------------------------------------------- Is it something wrong with trackballs or guile?
Recived this mail today: ----------------------------------------------------------------------------- Hello everyone, Let me first appologise for the long mail and for CC'ing you all. I have now released Trackballs v0.5.0 and though you might be interested and could help me with making packages for different distributions. The new release contains compelty different datafiles (everything is now 100% GPL'ed) and is packaged differently from previous releases. I have made one source and one binary package containing everything but the music. That is, these files includes all the data but are only 3 MB large (Dietrich: I took the liberty of recoding some of the larger images to .jpg). The main reasong for doing this is: a) I expect to update many of the datafiles often (images, levels and soundeffects). b) It's not much larger than a source+levels archive. c) I expect it to save a lot of hassle for both me and end-users. The background music for the game has to be downloaded separatly and put in the $PREFIX/share/trackballs/music (resp. trackballs-0.5.0/share/trackballs/music) directory. The code recognises arbitrary .ogg and .mp3 files in that directory and plays them in random order. In order to simply for package managers and end-users the game now also looks around a little for the SHARE_DIR. If you want to you can even define the environment variable TRACKBALLS to point to the correct share directory. I believe the game now is ready to be packaged also for debian, gentoo and mandrake. In the future I aim to be consistent in the naming of files and directories. The source releases will be named trackballs-X.Y.Z.tar.gz, unpacked to trackballs-X.Y.Z/ and use autoconf for configuration, compilation and installation. The binary tarball will be named trackballs-X.Y.Z.x86.tar.gz, unpacked to trackballs-X.Y.Z and in the future hopefully have a custom installation script. If you can make any packages for linux distribtions I would be happy to link to them and/or host them on the trackballs homepage. Thanks for all your help. bye / Mathias ----------------------------------------------------- Thus it should be possible to do a good ebuild that will continue to work with just updating the ebuild name...
Created attachment 8099 [details] trackballs-0.5.1.ebuild Here is a updated ebuild. For some reason menu-icon stuff doesn't work (at least on Gnome). I'm not sure how to do it, and where to put files. So if someone could fix that then the ebuild is complete. Maybe there should be a feature in Portage, that would do menu entries and icons automatically for at least Gnome and KDE. But that is off-topic here.
Created attachment 8644 [details] trackballs-0.7.0.ebuild
Hi, Great game ;-) ! Found some new code (is it on sourceforge now ?), so I decided to make this build (yup, should've checked ;-)... Have fun, (I know I do, loved the origional also =) Rogi
<SNIPPET> checking for life_signs in -lkenny... no oh my god! They killed kenny You bastards checking for main in -lm... yes </SNIPPET> :-D
Created attachment 8649 [details] trackballs-0.7.0.ebuild Cleaned up a bit...Music works now...
guess this package cant happen till guile-1.6.x does ;/
*** Bug 16850 has been marked as a duplicate of this bug. ***
0.9 is now out. Please could we get this into portage? Why can't guile-1.6 go in as ~x86?
Yes. 0.9 is out now and all my ebuild tries doesn't work.. HELP! need trackballs!
If you get an error in line 41 from map.cc: replace 'uint32_t' with 'u_int32_t' Does this help you ? Rogi
Created attachment 13415 [details] trackballs-0.9.0.ebuild Have fun :-)
5c5 < inherit games --- > inherit flag-o-matic games 9,10c9,10 < mirror://sourceforge/${PN}/tb_design.ogg < mirror://sourceforge/${PN}/tb_genesis.ogg" --- > music? mirror://sourceforge/${PN}/tb_design.ogg > music? mirror://sourceforge/${PN}/tb_genesis.ogg" 16c16 < IUSE="" --- > IUSE="music" 26,28c26,33 < src_compile() { < econf || die "configure failed" < emake || die "make failed" --- > DOCS="AUTHORS Changelog COPYING* README* NEWS" > src_unpack() { > unpack ${A} > cd ${S}/share/icons > sed -ie "s:\$path:\${D}\$path:g" installIcons || die "error in sed" > > replace-flags "-O3" "-O2" > 30d34 < 32,36c36,39 < einstall \ < || die "install failed" < cp ${DISTDIR}/tb_*.ogg ${D}usr/share/${PN}/music < dodoc AUTHORS ChangeLog COPYING* README* NEWS < prepgamesdirs --- > use music && dodir ${D}usr/share/${PN}/music \ > cp ${DISTDIR}tb_*.ogg ${D}usr/share/${PN}/music || > einfo "If you want something to listen to, put music in USE" > egamesinstall
aaaaaaaaaaaaaaand we have trackballs ! http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/trackballs/trackballs-0.9.0.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
To solve the non-compiling 0.9.0 ebuild replace 'uint32_t' with 'u_int32_t'in map.cc and add: #include <stdio.h> into general.h and make sure you use guile 1.6.4 or later. Then it compiles.. and runs... If I knew how to make a patch I would
Yeah, problems with the 0.9 that's in portage: checking for Guile... /usr/bin/guile: error while loading shared libraries: libqthreads.so.0: cannot open shared object file: No such file or directory configure: cannot find guile-config; is Guile installed? !!! ERROR: app-games/trackballs-0.9.0 failed. !!! Function egamesconf, Line 47, Exitcode 1 !!! egamesconf failed mightymax root # emerge guile -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-util/guile-1.6.4
`emerge gentoolkit ; revdep-rebuild` ... your bug is unrleated