Fails to build:
==> ERROR: Missing package() function in /tmp/yaourt-tmp-raziel/aur-fofix/./PKGBUILD
==> ERROR: Makepkg was unable to build fofix
Search Criteria
Package Details: fofix 3.121-6
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-06-30)
| Package Base: | fofix |
|---|---|
| Description: | fretsonfire X (FoFiX). Highly improved version of Frets on Fire |
| Upstream URL: | http://code.google.com/p/fofix |
| Category: | games |
| Licenses: | |
| Submitter: | doorknob60 |
| Maintainer: | doorknob60 |
| Last Packager: | None |
| Votes: | 49 |
| First Submitted: | 2010-09-07 22:42 |
| Last Updated: | 2013-11-17 21:24 |
Dependencies (9)
Required by (0)
Sources
- fofix.desktop
- fofix.png
- http://fofix.googlecode.com/files/fofix-3.121.tar.gz
Latest Comments
Comment by RazZziel
Comment by oswald-p
Replacing "import Image" by "from PIL import Image" in video.py file fixes the error allowing to launch fofix.
Songs must be placed in /opt/fofix/data/songs directory with 777 settings (!)
The game is still unplayable as it crashes during sound initialization (I tryed solo>quickplay) returning this error:
"Fatal Python error: (pygame parachute) Floating Point Exception".
according to this : https://code.google.com/p/fofix/issues/detail?id=1278
it is probably due to pyvorbis.
Comment by alucryd
Merging into fofix.
Comment by MCMic
Thanks for looking into it. It seems replacing "import Image" by "from PIL import Image" fixes the error.
Comment by doorknob60
And it looks like as of today, python2-imaging was removed from the official repos, and is now orphaned in AUR, and doesn't build. Hmm, not sure what to do here. Looking at the file list for pillow, it looks like it provides files relating to PIL and Imaging, but Fofix doesn't seem to accept them. I'll see what I can do, but no promises.
Comment by doorknob60
I'm not sure if there's a way to make it work with pillow. Because pillow conflicts and provides python2-imaging, I would probably consider it a bug with the pillow package that it doesn't work with pillow, because it's not properly providing the other package. If anyone finds a way to easily patch fofix to work with pillow, I can switch the dependency over, but I would file a bug report since pillow isn't doing its job at "providing" imaging.
Comment by MCMic
I don't have python2-imaging, I have python2-pillow which provides python2-imaging and is needed by several other packages so I can't switch package :-/
Is there any way to make it work with python2-pillow?
Comment by doorknob60
python2-imaging should contain that module, so I don't know what could be missing. I don't have time to troubleshoot it right now though, and might not until sometime next week.
Comment by MCMic
/usr/bin/fofix is missing a "!" on first line.
It should be "#!/bin/sh"
Even after fix, I get : "ImportError: No module named Image" so I guess there is a dependency missing.
Comment by kdb424
Also note that I force reverted from pillow to pil, so that isn't an issue for me (though that does need fixed eventually)