It would be nice to have an ebuild for Frets of Fire (http://louhi.kempele.fi/~skyostil/uv/fretsonfire/). There has been some talk about this on the forums: http://forums.gentoo.org/viewtopic-t-487526-highlight-frets+fire.html. It would require a working ebuild for PyAmanith, as filed here: http://bugs.gentoo.org/show_bug.cgi?id=143387. It requires the amanith ebuild here: http://bugs.gentoo.org/show_bug.cgi?id=115754.
There's a typo in the summary - the name of the game is "Frets on Fire", not "Frets of Fire".
Mea culpa, that makes me feel silly! Fixed it in the description.
Ok, since I solved the issues with PyAmanith (which is in gentoo-sunrise now), I started with the ebuild for FretsOnFire. While there are still several problems with it, you can download the ebuild from http://gentoo-sunrise.org/svndump/dev-zero/games-misc Please don't report bugs here to just say that it doesn't work, I know that and I'll add another comment as soon as I've solved them (can take another week though). But if someone has suggestions and/or solutions, I would be happy to hear them :-)
(In reply to comment #3) > I'll add another comment as soon as I've solved them (can take another week > though). But if someone has suggestions and/or solutions, I would be happy to > hear them :-) > I look at it and at first I think, download binaries is really horible, because that contain all (f.e. python.2.4.so.1.0, all pygame and many others) and it`s really big. I think better is download only source and download only data dir(ideal is write to author). Also I recommend ignore Makefile.unix...better is use setup.py in src dir, but that is make only for windows, so they need patch. Also it need cx_freeze to compile http://www.python.net/crew/atuining/cx_Freeze/. (but maybe another think can compile it, this soft recomend author) I try run that binaries...dialog run, I choose song and difficult, that it write tunning quitar and long time nothink (and take 200MB RAM and really hard swap on my old pc)...so I kill it.
(In reply to comment #4) > (In reply to comment #3) > > I'll add another comment as soon as I've solved them (can take another week > > though). But if someone has suggestions and/or solutions, I would be happy to > > hear them :-) > > > > I look at it and at first I think, download binaries is really horible, because > that contain all (f.e. python.2.4.so.1.0, all pygame and many others) and it`s > really big. I think better is download only source and download only data > dir(ideal is write to author). Also I recommend ignore Makefile.unix...better Well, I'll write the author as soon as I get it up. But I refuse to bother him if I don't even have it running. > is use setup.py in src dir, but that is make only for windows, so they need > patch. Also it need cx_freeze to compile > http://www.python.net/crew/atuining/cx_Freeze/. (but maybe another think can > compile it, this soft recomend author) I hope I can get it running without cx_Freeze since it is somehow useless if we install from sources. The only problem is that I would like to generate python binary code before installing to hopefully increase startup time and/or the performance. But first it has to run and then we can take a look at this. > > I try run that binaries...dialog run, I choose song and difficult, that it > write tunning quitar and long time nothink (and take 200MB RAM and really hard > swap on my old pc)...so I kill it. >
What's the status on this? Has there been any progress?
Not from my side, sorry.
Created attachment 97384 [details] frets-on-fire-1.0.225.ebuild skeleton ebuild (aka useless as is) ... need to get Bug 143387 resolved first before i can finish this
@vapier: I have an ebuild here: http://gentoo-sunrise.org/svndump/dev-zero/games-misc/fretsonfire/
I obtain this error: $ FretsOnFire libGL warning: 3D driver claims to not support visual 0x23 libGL warning: 3D driver claims to not support visual 0x25 libGL warning: 3D driver claims to not support visual 0x27 libGL warning: 3D driver claims to not support visual 0x29 libGL warning: 3D driver claims to not support visual 0x2b libGL warning: 3D driver claims to not support visual 0x2d libGL warning: 3D driver claims to not support visual 0x2f libGL warning: 3D driver claims to not support visual 0x31 Traceback (most recent call last): File "/usr/games/lib/fretsonfire/FretsOnFire.py", line 60, in ? engine = GameEngine(config) File "/usr/games/lib/fretsonfire/GameEngine.py", line 137, in __init__ self.video.setMode((width, height), fullscreen = fullscreen, multisamples = multisamples) File "/usr/games/lib/fretsonfire/Video.py", line 68, in setMode self.screen = pygame.display.set_mode(resolution, flags) pygame.error: Couldn't find matching GLX visual And it produces a log file too $ cat fretsonfire.log (W) GLEWpy not found -> Emulating Render to texture functionality. (D) Initializing audio. (D) Audio configuration: (44100, -16, 1) (D) Initializing video. (W) Video setup failed. Trying without antialiasing. The other 3D apps works and the DRI works. What about glewpy?!?!? We need a new ebuild or a new python useflag for media-libs/glew?
(In reply to comment #10) > I obtain this error: Ok, the problem is related with the color depth. Adding "DefaultDepth 24" to my xorg.conf file works for me. But now there is a new problem... $ FretsOnFire Fatal Python error: (pygame parachute) Segmentation Fault /usr/games/bin/FretsOnFire: line 2: 24555 Abortito python /usr/games/lib/fretsonfire/FretsOnFire.py $@
>>> Compiling source in /var/tmp/portage/frets-on-fire-1.0.225/work/FretsOnFire- src-1.0.225 ... --- Building binary ~/src/cx_Freeze-3.0.3/FreezePython --target-dir dist --include-modules encodings .string_escape,encodings.iso8859_1,SongChoosingScene,GuitarScene,GameResultsScen e src/FretsOnFire.py /bin/sh: /var/tmp/portage/frets-on-fire-1.0.225/homedir/src/cx_Freeze-3.0.3/Free zePython: No such file or directory make: *** [dist] Error 127 !!! ERROR: games-misc/frets-on-fire-1.0.225 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile frets-on-fire-1.0.225.ebuild, line 25: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if rel evant. !!! This ebuild is from an overlay: '/usr/overlay'
# emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r1_sempron_2500 i686) ================================================================= System uname: 2.6.18-gentoo-r1_sempron_2500 i686 AMD Sempron(tm) 2500+ Gentoo Base System version 1.12.1 Last Sync: Mon, 30 Oct 2006 20:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac alsa arts avahi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dedicated dlloader dri dvd dvdr eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux ldap libg++ mad matroska mikmod mmx mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly ogg openal opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session silverxp speex spell spl sse ssl svg tcpd theora tiff timidity truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards__* video_cards_radeon vorbis wma wxwindows xml xorg xv zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
I'm sorry, but I have no time to either figure out where the problems are or what is needed to solve them. I'll remove the ebuild from my overlay soon. If someone wants it, please grab it from there and attach it to this bug.
pyAmanith and Frets on Fire builds and run fine here on ~amd64 with the ebuild from: http://gentoo-sunrise.org/svndump/dev-zero/games-misc/fretsonfire/ Just some minor glitches with paths and file/directory permisions.
I'm having OpenGL errors (invalid enumerant and stack overflow) with =dev-python/pyopengl-2.0.0.44, which don't show up when using =dev-python/pyopengl-2.0.1.09 I've adapted the sunrise ebuild for this, added dev-python/numeric as a dependency, included patches for the incorrect paths to the data directory and a fix for the following bug which isn't in Frets on Fire but in dev-python/pyxml: [...] File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/usr/games/lib64/fretsonfire/Svg.py", line 320, in startElement f(attrs) File "/usr/games/lib64/fretsonfire/Svg.py", line 395, in startLineargradient if "xlink:href" in attrs: File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 316, in __getitem__ return self._attrs[name] KeyError: 0 Strangely enough, this only happens only with =dev-python/pyxml-0.8.4 but not 0.8.3-r1. The URL of the upstream bug is http://sourceforge.net/tracker/index.php?func=detail&aid=1616923&group_id=6473&atid=106473 This can be resolved by the proposed fix (adding the two lines from the python xmlreader.py which is the only difference between it and the PyXML xmlreader.py) or by applying the following patch to Frets On Fire.
Created attachment 104332 [details, diff] fretsonfire-pyxml.patch Patch for bypassing erroneous behaviour of dev-python/pyxml
Created attachment 104333 [details, diff] fretsonfire-1.0.225-data.patch Corrects the path to the data directory used in Frets on Fire
Created attachment 104334 [details, diff] fretsonfire-1.1.324-data.patch Corrects the path to the data directory used by Frets on Fire in the latest version
Created attachment 104335 [details] fretsonfire-1.0.225.ebuild Can be used for fretsonfire-1.1.324 as well. Builds and runs on amd64 and x86.
Created attachment 110099 [details] fretsonfire-1.1.324.ebuild The main server seems to have severe difficulties with the source files, so I changed the SRC_URI pointing to the Sourceforge mirrors.
i used fretsonfire-1.1.324 $ FretsOnFire Fatal Python error: (pygame parachute) Segmentation Fault /usr/games/bin/FretsOnFire: line 2: 17001 Aborted python /usr/games/lib/fretsonfire/FretsOnFire.py $@ $ strace FretsOnFire execve("/usr/games/bin/FretsOnFire", ["FretsOnFire"], [/* 49 vars */]) = 0 brk(0) = 0x80ec000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f53000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=91795, ...}) = 0 mmap2(NULL, 91795, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f3c000 close(3) = 0 open("/lib/libncurses.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\343"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=268396, ...}) = 0 mmap2(NULL, 268740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7efa000 mmap2(0xb7f33000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xb7f33000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=10192, ...}) = 0 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef6000 mmap2(0xb7ef8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ef8000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200Y\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1245984, ...}) = 0 mmap2(NULL, 1213884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dcd000 mmap2(0xb7ef0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb7ef0000 mmap2(0xb7ef3000, 9660, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dcc000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dcc940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7ef0000, 4096, PROT_READ) = 0 mprotect(0xb7f6e000, 4096, PROT_READ) = 0 munmap(0xb7f3c000, 91795) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 close(3) = 0 brk(0) = 0x80ec000 brk(0x810d000) = 0x810d000 getuid32() = 1000 getgid32() = 1000 geteuid32() = 1000 getegid32() = 1000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 time(NULL) = 1175112486 open("/proc/meminfo", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000 read(3, "MemTotal: 900792 kB\nMemFre"..., 1024) = 719 close(3) = 0 munmap(0xb7f52000, 4096) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 uname({sys="Linux", node="port4", ...}) = 0 stat64("/STORAGE/p2p", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 getpid() = 17006 getppid() = 17005 getpgrp() = 17005 rt_sigaction(SIGCHLD, {0x8079340, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/usr/games/bin/FretsOnFire", O_RDONLY|O_LARGEFILE) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfa778f8) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "#!/bin/sh\npython /usr/games/lib/"..., 80) = 62 _llseek(3, 0, [0], SEEK_SET) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 dup2(3, 255) = 255 close(3) = 0 fcntl64(255, F_SETFD, FD_CLOEXEC) = 0 fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat64(255, {st_mode=S_IFREG|0755, st_size=62, ...}) = 0 _llseek(255, 0, [0], SEEK_CUR) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "#!/bin/sh\npython /usr/games/lib/"..., 62) = 62 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 stat64("/usr/kde/3.5/bin/python", 0xbfa77798) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/python", 0xbfa77798) = -1 ENOENT (No such file or directory) stat64("/usr/bin/python", {st_mode=S_IFREG|0755, st_size=3592, ...}) = 0 open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3 read(3, "65536\n", 31) = 6 close(3) = 0 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d8b000 getgroups32(65536, [10, 18, 27, 35, 100, 1000]) = 6 stat64("/usr/bin/python", {st_mode=S_IFREG|0755, st_size=3592, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dcc988) = 17007 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x8079f30, [], 0}, {SIG_DFL}, 8) = 0 waitpid(-1, Fatal Python error: (pygame parachute) Segmentation Fault [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0) = 17007 fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000 write(2, "/usr/games/bin/FretsOnFire: line"..., 118/usr/games/bin/FretsOnFire: line 2: 17007 Aborted python /usr/games/lib/fretsonfire/FretsOnFire.py $@ ) = 118 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, 0xbfa7747c, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x8079f30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "", 62) = 0 exit_group(134) = ? Process 17006 detached
# emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo_port4 i686) ================================================================= System uname: 2.6.20-gentoo_port4 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System release 1.13.0_alpha12 Timestamp of tree: Sat, 17 Mar 2007 15:00:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl adns aiglx alsa amr apache2 asf berkdb bitmap-fonts bl blender-game cairo cdda cddb cdr chardet clearcase cli contrarius cracklib cran crypt css cups cvs dbus dga divx dri dts dv dvd dvdr dvdread editor eds effects emboss enca encode examples exif expat fam fat ffmpeg firefox flac foomaticdb gdbm gif gimpprint glsa gmedia gpm gstreamer gtk hal hfs httpd iconv ieee1394 inkjar inquisitio ipv6 isdnlog jfs jpeg jpeg2k kde kerberos kqemu lcms ldap libg++ libnotify lzo mad matroska midi mikmod mjpeg mmx mmxext mng mp3 mp4 mpeg mpi musepack ncurses nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl pam pcre perforce perl php plugin png ppds pppd python qa qt3 qt4 quicktime quotas readline realmedia reflection reiser4 reiserfs rt2500pci rtc rtsp samba sdl session skins sox speex spell spl srteam sse sse2 ssl stream subversion svg swat tcpd tga theora tiff timidity tordns truetype truetype-fonts type1-fonts unicode usb vcd vidx vlm vorbis wma wmf wmp wxwindows x264 x86 xanim xfs xml xorg xprint xv xvid xvmc yahoo yv12 zlib zsh" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
version 1.1.324 DID work for some days, then for no apparent reason now it crashes as soon as I start it. I've already tried removing ~/.fretsonfire. $ FretsOnFire Traceback (most recent call last): File "/usr/games/lib/fretsonfire/FretsOnFire.py", line 64, in ? engine = GameEngine(config) File "/usr/games/lib/fretsonfire/GameEngine.py", line 181, in __init__ self.data = Data(self.resource, self.svg) File "/usr/games/lib/fretsonfire/Data.py", line 48, in __init__ self.loadSvgDrawing(self, "star1", "star1.svg", textureSize = (128, 128)) File "/usr/games/lib/fretsonfire/Data.py", line 93, in loadSvgDrawing getattr(target, name).convertToTexture(textureSize[0], textureSize[1]) File "/usr/games/lib/fretsonfire/Svg.py", line 564, in convertToTexture self._render(transform) File "/usr/games/lib/fretsonfire/Svg.py", line 585, in _render self._cacheDrawing(self.context.drawBoard) File "/usr/games/lib/fretsonfire/Svg.py", line 543, in _cacheDrawing sax.parseString(self.svgData, SvgHandler(drawBoard, self.cache)) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/__init__.py", line 47, in parseString parser.parse(inpsrc) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/usr/games/lib/fretsonfire/Svg.py", line 325, in startElement f(attrs) File "/usr/games/lib/fretsonfire/Svg.py", line 400, in startLineargradient if "xlink:href" in attrs: File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 316, in __getitem__ return self._attrs[name] KeyError: 0 crusader@eva ~ $
Which ebuild are you using to install fretsonfire? Which version of pyxml do you have installed?
fretsonfire-1.1.324.ebuild pyxml-0.8.4
I didn't mean the version of the ebuild but which of those flying around (i.e. which one from this bug, perhaps from sunrise). Does your ebuild include the pyxml-fix (grep pyxml fretsonfire-1.1.324.ebuild)?
huh? there's only ONE 1.1.324 ebuild, by Jouni Rinne, in this bug! what are you talking about? (and yes, it DOES include the pyxml patch).
Created attachment 116680 [details] fretsonfire-1.2.451.ebuild Fixed missing GAMES_LIBDIR; added dependency on dev-python/pyvorbis; added check that sdl-mixer was built with vorbis USE flag; data dir patch replaced by sed script; proper permissions for games files are applied; updated homepage. Tested on amd64 and x86.
In response to comment 22: I had a similar problem. FretsOnFire crashed on startup: $ FretsOnFire -v (D) Initializing audio. Fatal Python error: (pygame parachute) Segmentation Fault Aborted It helped, when I emerged sdl-mixer with USE="-timidity"
comments: Don't assign to GAMES_LIBDIR needs to call games_pkg_setup more quoting for user-settable variables ditch the einfo in src_compile more || die error checking in src_install games goes last on inherit line put variables at the top in the same order as the other games ebuilds no period in DESCRIPTION sort KEYWORDS
ebuild for 1.2.451 works like a charm
Created attachment 116854 [details] fretsonfire-1.2.451.ebuild Thank you for useful suggestions, tried to fix them all. Also added desktop entry generation.
(In reply to comment #30) > $ FretsOnFire -v > (D) Initializing audio. > Fatal Python error: (pygame parachute) Segmentation Fault > Aborted Same problem here :( I have an Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) on my centrino laptop. Are you using an Intel video-card too?
I have tried the game only on Nvidia graphics cards. The log output suggests that your game crashes when initializing audio. Have you tried emerging sdl-mixer with 'timidity' USE flag disabled?
gamesowners and gamesperms shouldn't be called from pkg_postinst.
(In reply to comment #35) > The log output suggests that your game crashes when initializing audio. Have > you tried emerging sdl-mixer with 'timidity' USE flag disabled? $ FretsOnFire -v (D) Initializing audio. (D) Audio configuration: (44100, -16, 1) (D) Initializing video. libGL warning: 3D driver claims to not support visual 0x5b (W) Video setup failed. Trying without antialiasing. (D) Enabling high priority timer. Fatal Python error: (pygame parachute) Segmentation Fault Aborted sdl-mixer is already compiled without timidity support
(In reply to comment #36) > gamesowners and gamesperms shouldn't be called from pkg_postinst. python_mod_optimize doesn't set file permissions and ownership on *.py[co] - shouldn't these be 640 and root:games, the same as *.py ? one solution (probably wrong?) would be to call python_mod_optimize from src_install. or should the *.py[co] files be left as is?
check with the guys in #gentoo-python. I'm not sure what the proper way to deal with the python stuff is.
Created attachment 118089 [details] fretsonfire-1.2.451.ebuild (In reply to comment #36) > gamesowners and gamesperms shouldn't be called from pkg_postinst. Removed gamesowners and gamesperms for now, because it's not that essential - /usr/games/lib folder already has the proper permissions and ownership. Added a use flag that pulls in vorbis-tools, so that "Import Guitar Hero Songs" functionality can be used.
It works for me too now!!! I updated to dev-python/pygame-1.7.1 and now fretsonfire stops segfault-ing on mt Intel video card (googleing I found that my problem was related with pygame). In the past week I updated to xorg-7.2 too, so I don't know exactly if this helped too. Great game ;)
Also works for me on amd64.
Works for me on amd64, nice work! Great game. Heh, "gamesperms" ;) I've been hearing a few sync issues with the sound (bass playing half way through a track when it's not meant to), but I think it's more likely to be the track(s) or the game itself.
These seem to not be used for any other purpose. Thus automagic? psyco? ( dev-python/psyco ) glew? ( dev-python/glewpy ) guitarhero? ( media-sound/vorbis-tools )"
I did compile fretsonfire on a mostly stable amd64 system an got: # FretsOnFire -v (D) Initializing audio. Fatal Python error: (pygame parachute) Segmentation Fault Aborted I did compare my packages with those of an friend of mine, which uses unstable and fretsonfire worked for him. I turned out, that fretsonfire needs media-libs/sdl-mixer-1.2.8 For fretsonfire, I got following keywords in /etc/portage/package.keywords: ~games-misc/fretsonfire-1.2.451 ~amd64 ~dev-python/PyAmanith-0.3.34 ~amd64 ~dev-python/numeric-24.2 ~amd64 ~dev-python/pyopengl-2.0.1.09 ~amd64 ~media-libs/amanith-0.3 ~amd64 ~media-libs/sdl-mixer-1.2.8 ~amd64 The remaining dependencies should be amd64 # emerge --info Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 16 Aug 2007 21:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/opt/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dga divx4linux doc dri dts dv dvd dvdr dvdread encode exif fbcon ffmpeg firefox flac foomaticdb fortran fpx ftp gdbm gif gimpprint glitz gnome gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imap imlib ipv6 isdnlog jabber jack java javascript jbig jikes joystick jpeg jpeg2k libcaca libwww lirc mad matroska midi mime mmx mmxext mng mp3 mp4 mpeg mudflap musepack musicbrainz mysql mysqli nas ncurses nls nocardbus nocd nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php png ppds pppd python quicktime readline reflection sdl session sndfile speex spl sse sse2 ssl startup-notification svg sysvipc tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis x264 xine xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
With "python-2.5.1-r2" I can't run fretsonfire. (my arch ~amd64)fretsonfire-1.2.451.ebuild emerges fine, but when running I hear one second beginning music than it gives these and die: FretsOnFire -v (D) Initializing audio. (D) Audio configuration: (44100, -16, 1) (D) Initializing video. (D) Enabling high priority timer. (D) 0 joysticks found. (N) Loading Data.star1 synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/star1.svg'. (N) Loaded Data.star1 in 0.000 seconds (W) Frame buffer object support disabled in configuration. (N) Loading Data.star2 synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/star2.svg'. (N) Loaded Data.star2 in 0.001 seconds (N) Loading Data.left synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/left.svg'. (N) Loaded Data.left in 0.000 seconds (N) Loading Data.right synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/right.svg'. (N) Loaded Data.right in 0.000 seconds (N) Loading Data.ball1 synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/ball1.svg'. (N) Loaded Data.ball1 in 0.000 seconds (N) Loading Data.ball2 synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/ball2.svg'. (N) Loaded Data.ball2 in 0.000 seconds (N) Loading Data.loadingImage synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/loading.svg'. (N) Loaded Data.loadingImage in 0.000 seconds (N) Loading Data.font asynchronously (N) Loading Data.bigFont asynchronously (N) Loading Data.screwUpSounds asynchronously (N) Loading Data.acceptSound asynchronously (N) Loading Data.cancelSound asynchronously (N) Loading Data.selectSound1 asynchronously (N) Loading Data.selectSound2 asynchronously (N) Loading Data.selectSound3 asynchronously (N) Loading Data.startSound asynchronously (D) Ready. (N) Loading MainMenu.background synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/keyboard.svg'. (N) Loaded MainMenu.background in 0.000 seconds (N) Loading MainMenu.guy synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/pose.svg'. (N) Loaded MainMenu.guy in 0.000 seconds (N) Loading MainMenu.logo synchronously (D) Loading SVG file '/usr/share/games/fretsonfire/data/logo.svg'. (N) Loaded MainMenu.logo in 0.000 seconds (W) Unable to enable psyco. (N) Loaded Data.font in 0.000 seconds (N) Loaded Data.bigFont in 0.000 seconds (N) Loaded Data.screwUpSounds in 0.084 seconds (N) Loaded Data.acceptSound in 0.012 seconds (N) Loaded Data.cancelSound in 0.009 seconds (N) Loaded Data.selectSound1 in 0.007 seconds (N) Loaded Data.selectSound2 in 0.008 seconds (N) Loaded Data.selectSound3 in 0.007 seconds (N) Loaded Data.startSound in 0.015 seconds (D) View: Push: MainMenu (D) View: Push: Menu (E) <class 'OpenGL.GLU.GLUerror'>: [Errno 100901] invalid value Traceback (most recent call last): File "//usr/games/lib64/fretsonfire/GameEngine.py", line 346, in run return self.mainloop() File "//usr/games/lib64/fretsonfire/GameEngine.py", line 338, in main self.view.render() File "//usr/games/lib64/fretsonfire/View.py", line 183, in render layer.render(self.visibility[layer], layer == self.layers[-1]) File "//usr/games/lib64/fretsonfire/Menu.py", line 207, in render font.render(text, (x - v / 4, y)) File "//usr/games/lib64/fretsonfire/Font.py", line 119, in render g = self.getGlyph(ch) File "//usr/games/lib64/fretsonfire/Font.py", line 197, in getGlyph t.loadSurface(s, alphaChannel = True) File "//usr/games/lib64/fretsonfire/Texture.py", line 264, in loadSurface self.loadRaw(surface.get_size(), string, GL_RGBA, 4) File "//usr/games/lib64/fretsonfire/Texture.py", line 281, in loadRaw gluBuild2DMipmaps(self.glTarget, components, w, h, format, GL_UNSIGNED_BYTE, string) GLUerror: [Errno 100901] invalid value (N) [Errno 100901] invalid value (D) View: Push: MessageScreen
Try to remerge pygame and pyopengl and see if it helps.
(In reply to comment #47) > Try to remerge pygame and pyopengl and see if it helps. > Hi, Chris. I remerge pygame and pyopengl, but the errors are the same.
This works great for me (after re-emerging sdl-mixer with -timidity as was suggested here). Now what about RF-mod-4.12? Should that get its own bug, or should it be handled here? http://fretsonfire.wikidot.com/rf-mod
Keenblade, I had the same problem. It seems Fof won't work with Python 2.5 but with 2.4. I masked out python-2.5, merged 2.4, unmerged 2.5 and re-emerged all dev-python packages and then I ran revdep-rebuild. This made Fof work!
Created attachment 133969 [details] fretsonfire-1.2.451-r1.ebuild (In reply to comment #49) > Now what about RF-mod-4.12? Should that get its own bug, or > should it be handled here? I think we can simply add an useflag for each mod. In the attached ebuild I have added only the GHmod because I haven't found RF-mod for linux yet :)
(In reply to comment #48) > I remerge pygame and pyopengl, but the errors are the same. I receive a similar error on my ATI Radeon 9600XT: Traceback (most recent call last): File "FretsOnFire.py", line 64, in ? engine = GameEngine(config) File "//usr/games/lib/fretsonfire/GameEngine.py", line 187, in __init__ self.data = Data(self.resource, self.svg) File "//usr/games/lib/fretsonfire/Data.py", line 48, in __init__ self.loadSvgDrawing(self, "star1", "star1.svg", textureSize = (128, 128)) File "//usr/games/lib/fretsonfire/Data.py", line 108, in loadSvgDrawing drawing.convertToTexture(textureSize[0], textureSize[1]) File "//usr/games/lib/fretsonfire/Svg.py", line 576, in convertToTexture self._render(transform) File "//usr/games/lib/fretsonfire/Svg.py", line 599, in _render glPopAttrib() OpenGL.GL.GLerror: [Errno 1281] invalid value
(In reply to comment #52) > (In reply to comment #48) > > I remerge pygame and pyopengl, but the errors are the same. > > I receive a similar error on my ATI Radeon 9600XT If you're running opensource r300 drivers try upgrading to x11-drivers/xf86-video-ati 6.7 (running 6.7.194 here). If that doesn't help, consider upgrading to mesa 7.
(In reply to comment #53) > If you're running opensource r300 drivers try upgrading to > x11-drivers/xf86-video-ati 6.7 (running 6.7.194 here). > If that doesn't help, consider upgrading to mesa 7. Yes I'm using the opensource drivers. Upgrading the drivers isn't enough but upgrading to mesa-7.0.1 too do the trick! Now I can play FoF on my gentoo ;) Many thanks
I couldn't get 1.2.512 to work, but I did notice that it requires numpy, so hopefully that will help.
EBuild fretsonfire-1.2.451-r1.ebuild compiled fine for me... it couldn't seem to find the needed files before the compile started though wget kept showing 404 errors as ebuild fretsonfire-*.ebuild digest kept looking at my regular gentoo_mirror repositories. And now when I run the game whenever you hit apply settings I get the following: ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave Traceback (most recent call last): File "/usr/games/lib/fretsonfire/FretsOnFire.py", line 64, in ? engine = GameEngine(config) File "//usr/games/lib/fretsonfire/GameEngine.py", line 149, in __init__ self.audio.open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize) File "//usr/games/lib/fretsonfire/Audio.py", line 49, in open pygame.mixer.init() pygame.error: No available audio device And I would guess that this is more a frets on fire problem more than a gentoo thing. Anyways, just wanted to get this on file for anyone in the future. Thanks
(In reply to comment #55) > I couldn't get 1.2.512 to work, but I did notice that it requires numpy, so > hopefully that will help. > Is anyone looking into 1.2.512? It's been out for almost two months as far as I can tell.
Frets On Fire on gentoo-wiki http://gentoo-wiki.com/Frets_On_Fire_-_FoF
Whenever I run FoF (new machine, its never had FoF installed/working before) I get the following output. $ FretsOnFire Traceback (most recent call last): File "FretsOnFire.py", line 64, in <module> engine = GameEngine(config) File "//usr/games/lib64/fretsonfire/GameEngine.py", line 166, in __init__ self.svg = SvgContext(geometry) File "//usr/games/lib64/fretsonfire/Svg.py", line 77, in __init__ self.transform = SvgTransform() File "//usr/games/lib64/fretsonfire/Svg.py", line 240, in __init__ self._gmatrix = amanith.GMatrix33() AttributeError: 'module' object has no attribute 'GMatrix33' Anyone know how to resolve this?
1.2.451-r1 works great for me(gentoo amd64 2007.0), after following the gentoo-wiki instructions,and patching amanith... thx...
dev-python/pyopengl-3.0.0_beta1 breaks FretsOfFire. The program will not start, and spits out several OpenGL errors if it is installed. To fix the problem, downgrade to a previous version of Pyopengl.
Created attachment 145300 [details] fretsonfire-1.2.512.ebuild there's a new version of FoF available... i tried to update the ebuild... i removed the ghmod, since the related file for this version doen'st exist... it also needs dev-python/numpy ,in order to run... however, when the game starts i can't see the menu letters(font problem?)... with the binary tarball i had no problems... maybe i'll look at it later, but if anyone wants, please take look... :)
I emerge the 1.2.451-r1, then the 1.2.252, and it seems that something is missing : --------------8<------------------- raphux@briareos ~ $ FretsOnFire Traceback (most recent call last): File "FretsOnFire.py", line 36, in ? from GameEngine import GameEngine File "//usr/games/lib64/fretsonfire/GameEngine.py", line 23, in ? from OpenGL.GL import * File "/usr/lib64/python2.4/site-packages/OpenGL/GL/__init__.py", line 2, in ? from OpenGL.raw.GL import * File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/__init__.py", line 6, in ? from OpenGL.raw.GL.constants import * File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/constants.py", line 7, in ? from OpenGL import platform, arrays File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line 57, in ? _load() File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line 40, in _load plugin_class = _findPlatform( platform ) File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line 28, in _findPlatform return entrypoint.load() File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1911, in load if require: self.require(env, installer) File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1924, in require working_set.resolve(self.dist.requires(self.extras),env,installer)) File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: ctypes raphux@briareos ~ $ --------------8<------------------- Any clue?
(In reply to comment #63) > I emerge the 1.2.451-r1, then the 1.2.252, and it seems that something is > missing : > > --------------8<------------------- > raphux@briareos ~ $ FretsOnFire > Traceback (most recent call last): > File "FretsOnFire.py", line 36, in ? > from GameEngine import GameEngine > File "//usr/games/lib64/fretsonfire/GameEngine.py", line 23, in ? > from OpenGL.GL import * > File "/usr/lib64/python2.4/site-packages/OpenGL/GL/__init__.py", line 2, in ? > from OpenGL.raw.GL import * > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/__init__.py", line 6, > in ? > from OpenGL.raw.GL.constants import * > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/constants.py", line 7, > in ? > from OpenGL import platform, arrays > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > 57, in ? > _load() > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > 40, in _load > plugin_class = _findPlatform( platform ) > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > 28, in _findPlatform > return entrypoint.load() > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1911, in > load > if require: self.require(env, installer) > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1924, in > require > working_set.resolve(self.dist.requires(self.extras),env,installer)) > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 524, in > resolve > raise DistributionNotFound(req) # XXX put more info here > pkg_resources.DistributionNotFound: ctypes > raphux@briareos ~ $ > --------------8<------------------- > > Any clue? > Looks like dev-python/ctypes is also a a dependency...
(In reply to comment #64) > (In reply to comment #63) > > I emerge the 1.2.451-r1, then the 1.2.252, and it seems that something is > > missing : > > > > --------------8<------------------- > > raphux@briareos ~ $ FretsOnFire > > Traceback (most recent call last): > > File "FretsOnFire.py", line 36, in ? > > from GameEngine import GameEngine > > File "//usr/games/lib64/fretsonfire/GameEngine.py", line 23, in ? > > from OpenGL.GL import * > > File "/usr/lib64/python2.4/site-packages/OpenGL/GL/__init__.py", line 2, in ? > > from OpenGL.raw.GL import * > > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/__init__.py", line 6, > > in ? > > from OpenGL.raw.GL.constants import * > > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/constants.py", line 7, > > in ? > > from OpenGL import platform, arrays > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > 57, in ? > > _load() > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > 40, in _load > > plugin_class = _findPlatform( platform ) > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > 28, in _findPlatform > > return entrypoint.load() > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1911, in > > load > > if require: self.require(env, installer) > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1924, in > > require > > working_set.resolve(self.dist.requires(self.extras),env,installer)) > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 524, in > > resolve > > raise DistributionNotFound(req) # XXX put more info here > > pkg_resources.DistributionNotFound: ctypes > > raphux@briareos ~ $ > > --------------8<------------------- > > > > Any clue? > > > > Looks like dev-python/ctypes is also a a dependency... > I have ctypes installed and got the same error. There have to be some thing else that is misseng.
(In reply to comment #65) > (In reply to comment #64) > > (In reply to comment #63) > > > I emerge the 1.2.451-r1, then the 1.2.252, and it seems that something is > > > missing : > > > > > > --------------8<------------------- > > > raphux@briareos ~ $ FretsOnFire > > > Traceback (most recent call last): > > > File "FretsOnFire.py", line 36, in ? > > > from GameEngine import GameEngine > > > File "//usr/games/lib64/fretsonfire/GameEngine.py", line 23, in ? > > > from OpenGL.GL import * > > > File "/usr/lib64/python2.4/site-packages/OpenGL/GL/__init__.py", line 2, in ? > > > from OpenGL.raw.GL import * > > > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/__init__.py", line 6, > > > in ? > > > from OpenGL.raw.GL.constants import * > > > File "/usr/lib64/python2.4/site-packages/OpenGL/raw/GL/constants.py", line 7, > > > in ? > > > from OpenGL import platform, arrays > > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > > 57, in ? > > > _load() > > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > > 40, in _load > > > plugin_class = _findPlatform( platform ) > > > File "/usr/lib64/python2.4/site-packages/OpenGL/platform/__init__.py", line > > > 28, in _findPlatform > > > return entrypoint.load() > > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1911, in > > > load > > > if require: self.require(env, installer) > > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 1924, in > > > require > > > working_set.resolve(self.dist.requires(self.extras),env,installer)) > > > File "/usr/lib64/python2.4/site-packages/pkg_resources.py", line 524, in > > > resolve > > > raise DistributionNotFound(req) # XXX put more info here > > > pkg_resources.DistributionNotFound: ctypes > > > raphux@briareos ~ $ > > > --------------8<------------------- > > > > > > Any clue? > > > > > > > Looks like dev-python/ctypes is also a a dependency... > > > I have ctypes installed and got the same error. There have to be some thing > else that is misseng. > Can you paste the exact new output? (even if it is "the same")
I had the same problem until I downgraded pyopengl as mentioned by Mike: https://bugs.gentoo.org/show_bug.cgi?id=143388#c61 Kosta: what version of pyopengl do you have installed?
(In reply to comment #67) > I had the same problem until I downgraded pyopengl as mentioned by Mike: > https://bugs.gentoo.org/show_bug.cgi?id=143388#c61 > > Kosta: what version of pyopengl do you have installed? > I have 3.0.0-beta1, but I don't have the game installed - several people on Sabayon use it though. I can ask them if you want.
Does anyone have the menu text working with fretsonfire-1.2.512?
(In reply to comment #69) > Does anyone have the menu text working with fretsonfire-1.2.512? > I have the some problem and have somebody any solution ?
(In reply to comment #70) > (In reply to comment #69) > > Does anyone have the menu text working with fretsonfire-1.2.512? > > > > I have the some problem and have somebody any solution ? > Ok, solution is update pyopengl to version 3.0.0_beta1
(In reply to comment #70) > (In reply to comment #69) > > Does anyone have the menu text working with fretsonfire-1.2.512? > > > > I have the some problem and have somebody any solution ? > Me too. i also have a dual head setup and incorect stretching problems: a work around : [CTRL + ALT + ret] then resize the win
On some systems FretsOnFire fails to display fonts using pyopengl-2* Upgrading to pyopengl-3* fixes the bug. I think it should be added to RDEPEND.
There's a new version of FOF available on the website, version 1.3.110, It claims not to need Amanith as well.
Created attachment 176091 [details] ebuild for version 1.3.110 Hi, I modified the previous ebuild a little bit to make it work with FOF version 1.3.110. It works, at least for me.
Why isn't this in yet? There's obviously been a lot of work put into it. Guess I'll have to use a local overlay for now.
Created attachment 178959 [details] Ebuild for fretsonfire 1.3.110 Here is a new ebuild with major changes. - using eapi 2 (src_prepare) - removing pyxml patch (does not seem useful nor up-to-date) - updating dep list : amanith is no longer needed, python-vorbis doesn't look to be needed. - cleaning the ebuild - generating doc with doc use flag [actually, not fully working] There are still work to do : - there is a pyc file in date (that is throwing a QA notice) - .py files have to be in games/lib ? - fixing doc generation issue So, it is still work in progress but I think/hope it is an enhancement.
Created attachment 178966 [details] Ebuild for fretsonfire 1.3.110 Updated ebuild with doc generation working (with epydoc >= 3.0.1).
Created attachment 179063 [details] Ebuild for fretsonfire 1.3.110 Small improvements and fixes. Only two things now : - can I remove pyc file in data/ dir ? - is glewpy a real dependency ? (looks like an old one)
Created attachment 179116 [details] Ebuild for fretsonfire 1.3.110 Cleaning, small improvements and updating dependency list. Glewpy dependency is no longer needed according to fretsonfire developper. Other problems/questions have been resolved too. Only last question is about numeric dependency : it looks needed but according to fretsonfire developper, it is not used by the game. May be a mistake in a dependency ?
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/games-misc/fretsonfire Carlton, can you add InOverlay into the KEYWORD field and [sunrise-overlay] into the Status Whiteboard one.
this is slow as hell with my pIII with r200, looks like I'm going to need the core2 after all.
I think I will add this package to the tree when I will have access to my desktop. In a week or two. It's too slow to be really tested on my laptop.
For people who are not following the gentoo-dev mailing list, this package has some license issues. We will see how to manage it. Reassigning bug to myself.
Needs dev-python/numeric which is masked for removal ( bug #181653 ) Masked for removal
(In reply to comment #85) > Needs dev-python/numeric which is masked for removal ( bug #181653 ) > > Masked for removal Maybe it's better to create an ebuild for FoFiX, which is a fork from the original Frets On Fire. http://code.google.com/p/fofix/ AFAIK, it works well on the dependencies already available on stable Gentoo. (I've tested it some months ago) http://code.google.com/p/fofix/wiki/RunningUnderGNULinux (note: it doesn't need pysqlite, it also works with python[sqlite]) (also note: FoFiX didn't work well with pyopengl-2.*, but works fine with version 3)
Created attachment 231391 [details] removed numeric dependancey in ebuild removed dev-python/numeric dependency in ebuild since numeric functionality was replaced in numpy
This package will soon be masked in sunrise since it uses a deprecated python syntax (NEED_PYTHON). Please see http://www.gentoo.org/proj/en/Python/developersguide.xml for more information about developing python ebuilds. If you want too keep this ebuild alive, please join us on irc (#gentoo-sunrise, freenode) and provide an updated ebuild. Thanks.
I'm having trouble using the fretsonfire-1.3.110 ebuild from either this page or from the sunrise overlay. I'm getting the following error on post install phase. * ERROR: games-arcade/fretsonfire-1.3.110 failed: * python_mod_optimize(): Invalid argument '//usr/games/lib64/fretsonfire' I've found that $(games_get_libdir) in the pkg_postinst() and pkg_postrm() functions is returning a path relative to root on my installation, so the ${ROOT} prepended to the front of the path is redundant. I've changed it as follows to get it working on my system: diff -Nau fretsonfire-1.3.110.ebuild.old fretsonfire-1.3.110.ebuild --- fretsonfire-1.3.110.ebuild.old 2010-08-25 16:26:23.000000000 -0500 +++ fretsonfire-1.3.110.ebuild 2010-08-25 16:26:37.000000000 -0500 @@ -89,9 +89,9 @@ pkg_postinst() { games_pkg_postinst - python_mod_optimize "${ROOT}$(games_get_libdir)/${PN}" + python_mod_optimize "$(games_get_libdir)/${PN}" } pkg_postrm() { - python_mod_cleanup "${ROOT}$(games_get_libdir)/${PN}" + python_mod_cleanup "$(games_get_libdir)/${PN}" }
Created attachment 256780 [details] fixed NEED_PYTHON and fix NEED_PYTHON and ERROR: postinst
what's the point of the psyco use flag? It's not mentioned in an of the functions.
Created attachment 262359 [details] fofix-4.0.0_alpha1.ebuild The original Frets on Fire has been dead for a long time. FoFiX is very actively maintained and is what we should be looking at now. Version 3 doesn't fully use HOME and making it do so seems less than trivial so I'm going to work with version 4, even though it's still only at "alpha1" at the moment. Here's a preliminary ebuild that doesn't completely work yet because it still has path issues. Just wanted to get it out there now. Regarding "pysco", it is used to dramatically speed up Python and only needs to be present for FoF to use it. Unfortunately it only works on x86 (not amd64) and doesn't work with 2.7. I'd leave it out for now.
I've compiled fofix-4.0.0_alpha1 using the ebuild which is here. But at the launch, I've got somme weird errors: $ fofix Traceback (most recent call last): File "/usr/games/bin/fofix", line 111, in <module> from GameEngine import GameEngine File "/usr/games/lib64/fofix/GameEngine.py", line 44, in <module> from Input import Input, KeyListener, SystemEventListener File "/usr/games/lib64/fofix/Input.py", line 56, in <module> import Player File "/usr/games/lib64/fofix/Player.py", line 219, in <module> VFS.mount(VFS.resolveRead('/data/users'), 'users') File "/usr/games/lib64/fofix/VFS.py", line 175, in resolveRead return mount.resolveRead(frag) File "/usr/games/lib64/fofix/VFS.py", line 76, in resolveRead raise OSError(errno.ENOENT, os.strerror(errno.ENOENT)) OSError: [Errno 2] No such file or directory I built it using python-2.7, does it need python-3?
It doesn't need Python 3. Like I said, it has path issues. Don't expect it to really work. :) I thought they might have put out a new release or two by now but sadly not. It might be worth looking at what's in git.
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/
fofix is still somewhat alive on GitHub though there still haven't been any new releases. Unfortunately I've largely lost interest.