You are not logged in.
Hi!
I've come across a game that looks promising, but have never been able to play it. I tried to build it from source some weeks ago back on Ubuntu, but had no success.
Would anybody be willing to put Those Funny Funguloids in AUR?
Thanks a lot!
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
yes looks great, seems to be finnish too...
thats bad
(because if this works as bas as frets and is as good a game as that im gonna be sad )
Edit: but the linux port is done by a german
Last edited by Mikko777 (2007-07-20 10:27:21)
Offline
here's a start:
PKGBUILD
pkgname=funguloids
pkgver=1.06
pkgrel=1
pkgdesc="Those Funny Funguloids is a game about collection mushrooms in outerspace"
arch=('i686' 'x86_64')
url="http://funguloids.sourceforge.net/"
license=('GPL')
depends=('ogre' 'ois' 'freealut' 'lua' 'libogg' 'libvorbis' 'libmad')
makedepends=()
source=(http://downloads.sourceforge.net/sourceforge/funguloids/funguloids-linux-$pkgver.tar.bz2 \
configure.ac.patch Makefile.in.patch)
build() {
cd "$startdir/src/$pkgname"
patch -Np1 -i $startdir/src/configure.ac.patch || return 1
patch -Np1 -i $startdir/src/Makefile.in.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR="$startdir/pkg" install || return 1
}
Makefile.in.patch
diff -Naur funguloids/bin/Makefile.in funguloids.new/bin/Makefile.in
--- funguloids/bin/Makefile.in 2007-05-21 17:01:17.000000000 -0400
+++ funguloids.new/bin/Makefile.in 2007-07-20 17:35:11.000000000 -0400
@@ -571,12 +571,12 @@
install-data-hook:
if test "x@highscoredir@" != "x"; then \
mkdir -p "@highscoredir@"; \
- if test ! -e "@highscoredir@/hiscore.lst"; then cp hiscore.lst.in "@highscoredir@/hiscore.lst"; fi; \
+ if test ! -e "@highscoredir@/hiscore.lst"; then cp hiscore.lst.in "$(DESTDIR)@highscoredir@/hiscore.lst"; fi; \
chgrp -R @highscoregroup@ "@highscoredir@"; \
chmod -R g+w "@highscoredir@"; \
fi; \
- if test -r bootstrap.mpk; then cp bootstrap.mpk "@gameinstalldir@"; fi; \
- if test -r funguloids.mpk; then cp funguloids.mpk "@gameinstalldir@"; fi
+ if test -r bootstrap.mpk; then cp bootstrap.mpk "$(DESTDIR)@gameinstalldir@"; fi; \
+ if test -r funguloids.mpk; then cp funguloids.mpk "$(DESTDIR)@gameinstalldir@"; fi
uninstall-hook:
rm -rf "@docinstalldir@"
diff -Naur funguloids/bin/music/Makefile.in funguloids.new/bin/music/Makefile.in
--- funguloids/bin/music/Makefile.in 2007-05-21 17:01:17.000000000 -0400
+++ funguloids.new/bin/music/Makefile.in 2007-07-20 17:34:11.000000000 -0400
@@ -332,7 +332,7 @@
cat playlist.lua.in | sed 's,%%musicinstalldir%%,@musicinstalldir@,' > playlist.lua
install-data-hook:
- if test -r MarylandInMay.ogg; then cp MarylandInMay.ogg "@musicinstalldir@"; fi;
+ if test -r MarylandInMay.ogg; then cp MarylandInMay.ogg "$(DESTDIR)@musicinstalldir@"; fi;
distclean: clean
configure.ac.patch
--- funguloids/configure.ac.orig 2007-07-20 16:50:12.000000000 -0400
+++ funguloids/configure.ac 2007-07-20 16:52:16.000000000 -0400
@@ -64,7 +64,7 @@
else
CFLAGS="$CFLAGS $FUNGU_FOUND_HEADER"
CPPFLAGS="$CPPFLAGS $FUNGU_FOUND_HEADER"
- LDFLAGS="$LDFLAGS -llua5.1"
+ LDFLAGS="$LDFLAGS -llua"
fi
AC_LANG_POP
@@ -244,10 +244,10 @@
prefix="/usr/local"
fi
-bininstalldir="${prefix}/games"
-gameinstalldir="${prefix}/share/games/funguloids"
-iconinstalldir="${prefix}/share/games/funguloids/icon"
-musicinstalldir="${prefix}/share/games/funguloids/music"
+bininstalldir="${prefix}/bin"
+gameinstalldir="${prefix}/share/funguloids"
+iconinstalldir="${prefix}/share/funguloids/icon"
+musicinstalldir="${prefix}/share/funguloids/music"
docinstalldir="${prefix}/share/docs/funguloids"
docimageinstalldir="${prefix}/share/docs/funguloids/docs"
pixmapinstalldir="${prefix}/share/pixmaps"
@@ -272,7 +272,7 @@
[shared_hs="yes"], [shared_hs=""])
if test "x${shared_hs}" != "x"; then
- highscoredir="/var/games/funguloids"
+ highscoredir="/var/games"
highscoregroup="games"
AC_SUBST(highscoregroup)
AC_SUBST(highscoredir)
compiles without a problem here.
Offline
Alas no worky here...
Ois + ogre was a looong compile too
here's the error:
mikko@desktop:~/packages/funguloids$ makepkg
==> Entering fakeroot environment
==> Making package: funguloids 1.06-1 (Sat Jul 21 14:49:12 EEST 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found funguloids-linux-1.06.tar.bz2 in build dir
-> Found configure.ac.patch in build dir
-> Found Makefile.in.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> tar -xf funguloids-linux-1.06.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
patching file configure.ac
Hunk #1 FAILED at 64.
Hunk #2 succeeded at 244 with fuzz 1.
Hunk #3 FAILED at 272.
2 out of 3 hunks FAILED -- saving rejects to file configure.ac.rej
==> ERROR: Build Failed. Aborting...
Are the md5 checks enough to fail build or is it something else?
Offline
No, the md5sums are NOT causing this.
Probably the contents of the source file were changed after Tardo made those patch files.
I've started with the latest version 1.06-4 and found a lot of patching is indeed needed. ( 3 files in 3 different locations needed changes).
It compiles now, but i haven't tested it.
pkgname=funguloids
pkgver=1.06.4
_realver=1.06-4
pkgrel=1
pkgdesc="3D game about collecting mushrooms in outerspace"
arch=('i686' 'x86_64')
url="http://funguloids.sourceforge.net/"
license=('GPL')
depends=('ogre' 'ois' 'freealut' 'lua' 'libogg' 'libvorbis' 'libmad')
makedepends=()
source=(http://http://downloads.sourceforge.net/$pkgname/$pkgname-linux-$_realver.tar.bz2)
md5sums=('1d9d92b08f58715d3dcb59c2ebcb7db7')
build() {
cd $startdir/src/$pkgname/bin
mv Makefile.in Makefile.in.org
sed -e 's;cp bootstrap.mpk "@gameinstalldir@";cp bootstrap.mpk "$(DESTDIR)@gameinstalldir@";' -e 's;funguloids.mpk "@gameinstalldir@";funguloids.mpk "$(DESTDIR)@gameinstalldir@";' <Makefile.in.org >Makefile.in
cd $startdir/src/$pkgname/bin/music
mv Makefile.in Makefile.in.org
sed 's;cp MarylandInMay.ogg "@musicinstalldir@";cp MarylandInMay.ogg "$(DESTDIR)@musicinstalldir@";' <Makefile.in.org >Makefile.in
cd $startdir/src/$pkgname
mv configure.ac configure.ac.org
sed -e 's;-llua5.1;-llua;' -e 's;share/games/funguloids;share/funguloids;' -e 's;bininstalldir="${prefix}/games;bininstalldir="${prefix}/bin;' <configure.ac.org >configure.ac
./configure --prefix=/usr
make || return 1
make DESTDIR="$startdir/pkg" install || return 1
}
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ -> funguloids
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.9.3
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /usr/lib/OGRE/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_CgProgramManager
Installing plugin: Cg Program Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.4.3 (Eihort)
ArchiveFactory for archive type MPK registered.
Creating resource group Bootstrap
An exception has occured: OGRE EXCEPTION(2:InvalidParametersException): Unable to open /usr/share/funguloids/bootstrap.mpk! It either doesn't exist or is corrupted in MPakArchive::load at mpakogre.cpp (line 63)funguloids: /usr/include/OGRE/OgreSharedPtr.h:134: T* Ogre::SharedPtr<T>::operator->() const [with T = Ogre::Material]: Assertion `pRep' failed.
Aborted
this last PKGBUILD didnt worked
Its a sick world we live in....
Offline
why dont use the rpm binaries?
Its a sick world we live in....
Offline
I've rebuild the package and ogre initializes succesfully, so the bootstrap.mpk is correct.
However after selecting the videomode and stuff it segfaults (tried many options, probably nvidia/glx related problem).
******************************
*** Starting GLX Subsystem ***
******************************
GLRenderSystem::createRenderWindow "Those Funny Funguloids!", 1280x1024 fullscreen miscParams: FSAA=0 title=Those Funny Funguloids!
GLXWindow::create
Parsing miscParams
GLXWindow::create -- Entering full screen mode
GLXWindow::create -- Best visual is 35
Segmentation fault
looks like it's time to try the rpm-binaries.
Last edited by Lone_Wolf (2007-07-30 11:11:53)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I've rebuild the package and ogre initializes succesfully, so the bootstrap.mpk is correct.
However after selecting the videomode and stuff it segfaults (tried many options, probably nvidia/glx related problem).
****************************** *** Starting GLX Subsystem *** ****************************** GLRenderSystem::createRenderWindow "Those Funny Funguloids!", 1280x1024 fullscreen miscParams: FSAA=0 title=Those Funny Funguloids! GLXWindow::create Parsing miscParams GLXWindow::create -- Entering full screen mode GLXWindow::create -- Best visual is 35 Segmentation fault
looks like it's time to try the rpm-binaries.
i also think...
Its a sick world we live in....
Offline
Ok, i've tried with opensuse binaries and they give the same segmentation error.
I am using nvidia-96xx drivers, so it would help if someone who uses the newer nvidia drivers can test the source or rpm-based pkgbuild.
RPM-based PKGBUILD
pkgname=funguloids
pkgver=1.06
pkgrel=1
pkgdesc="3D game about collecting mushrooms in outerspace"
arch=('i686')
url="http://funguloids.sourceforge.net"
license=('custom')
#groups=()
depends=('ogre' 'ois' 'freealut' 'lua' 'libogg' 'libvorbis' 'libmad')
makedepends=('rpmextract')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://packman.links2linux.de/download/funguloids/69960/$pkgname-$pkgver-0.pm.2.i586.rpm)
noextract=()
md5sums=('3376b0f0954efea22ca993c4ce81ac1f')
build() {
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/{applications,pixmaps,licenses/funguloids}
mkdir -p $startdir/pkg/usr/share/games/funguloids/{icon,music}
cd $startdir/src/
rpmextract.sh $pkgname-$pkgver-0.pm.2.i586.rpm
cd usr
install -m755 games/funguloids $startdir/pkg/usr/bin/funguloids
install -m644 share/applications/funguloids.desktop $startdir/pkg/usr/share/applications/funguloids.desktop
install -m644 share/doc/packages/funguloids/COPYING $startdir/pkg/usr/share/licenses/funguloids/COPYING
cp -r share/games/funguloids/ $startdir/pkg/usr/share/games/
chmod -R 644 $startdir/pkg/usr/share/games/funguloids/
chmod 755 $startdir/pkg/usr/share/games/funguloids/
chmod 755 $startdir/pkg/usr/share/games/funguloids/icon
chmod 755 $startdir/pkg/usr/share/games/funguloids/music
install -m644 share/pixmaps/funguloids.png $startdir/pkg/usr/share/pixmaps/funguloids.png
}
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
doesnt work
will just have to wait for a better linux build....maybe...
Last edited by sickhate (2007-08-08 18:56:22)
Its a sick world we live in....
Offline
Segmentation fault too...
Offline
So I guess it wasn't entirely my own fault... I think I tried to install something *really* beyond my capabilities, since you're struggling as well, and I am sure you're far more experienced than me...
Encouraging somehow, even though it's a pity not being able to play that game...
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Not that much more experienced, but i am stubborn and don't mind investing a few hours if it interests me.
(troubleshooting something in depth can be fun).
There are many flaws in the source code, mainly paths that are hard-coded but should be settable through configure.
In my first version of the rpm-build i copied the files to the pkg-folder and installed it with pacman -U.
After that /usr was only accessible by root ......
Getting it back the right permissions gave me a better insight in linux folder structure.
dependency-hell with compiling from source rpm's on suse was one of the reasons that drove me towards arch, now i know that if i ever switch distros, it won't be to any rpm-based distro.
Finferflu, it would be useful for the authors if they knew of the problems we faced.
Since you asked for this package maybe you could inform them ?
Last edited by Lone_Wolf (2007-08-08 21:57:54)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Lone_Wolf,
first off, thanks for the time and the effort you're putting into this
secondly, I will be happy to inform the developer(s), pointing him to this thread. Do you think it is gonna be fine?
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
It's hard to tell if the developers can figure out what's causing the segfault, there are so many packages used by funguloids and the problem could be in either of them.
The best way would probably be if the funguloids developers told us what kind of logs are useful for them to investigate this error.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Ok, I will contact the devs asking them what would be useful for them to know.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Email sent!
(I hope the email was correct, since on the website it's got lsoftNOSPAM@mbnet.fi, and I have removed the NOSPAM from the address... I guess that's what NOSPAM is there for...)
Last edited by finferflu (2007-08-09 18:40:37)
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Wow, that was a quick reply! Here you go:
Hello,
> I have tried to install this game on Linux (Ubuntu) but failed
> miserably, so I have asked the ArchLinux community to help me out and
> provide a PKGBUILD, but it turns out they are having issues as well, so
> nobody has been able to get it running.
>
> I have been suggested to contact you, asking what kind of logs could be
> useful for your analysis, since there appears so be a recurring error:
>
> ******************************
> *** Starting GLX Subsystem ***
>
> ******************************
> GLRenderSystem::createRenderWindow "Those Funny Funguloids!", 1280x1024 fullscreen miscParams: FSAA=0 title=Those Funny Funguloids!
> GLXWindow::create
> Parsing miscParams
>
> GLXWindow::create -- Entering full screen mode
> GLXWindow::create -- Best visual is 35
> Segmentation fault
>
> For further information you can refer to the following thread in the
> ArchLinux Forums: http://bbs.archlinux.org/viewtopic.php?pid=272034Well, as said in the thread, it's almost impossible to tell what's wrong
when it segfaults like that. Have you tried compiling with debugging
enabled, to pinpoint the location where it crashes (if it's inside
Funguloids at all, which I doubt)..? I'm not really familiar with the
autotools build system, but I think some of the files is defining the
flags with which the game is compiled, so maybe you could try adding -g3
to the enable the debugging information. Then run it under gdb to see if
you can get a backtrace of the crash. Do other Ogre based games / Ogre
demos work?That's all I can think of right now, hopefully you'll get it running
sooner than later!--
Mika
I have left my quoted question as well, so you know what I asked him.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
First build devil, i used 1.6.8-rc2
PKGBUILD
il.h.patch
ilu.h.patch
ilut.h.patch
Now build ogre, i used 1.4.3
PKGBUILD
last, funguloids
PKGBUILD
Some dependencies you will need from AUR, such as zziplib and nvidia-cg-toolkit. Note that these deps are NOT optional and they MUST be installed. I use an ATI video card and the game ran fine.
for those of you that are still getting segfaults, here are some tips. Add the following lines to each PKGBUILD to get debugging info:
options=('!strip')
and in build()
export CFLAGS="$CFLAGS -g3"
export CXXFLAGS="$CXXFLAGS -g3"
You can then run it in gdb and perform a backtrace. I ran mine without a problem though. Seems like the culprit was freeimage and a bug in libpng which seems to have been fixed with a recent pacman -Syu. Someone should create a .desktop file as well. an icon is included in the source.
Last edited by tardo (2007-08-13 15:23:32)
Offline
Another tip: you can add custom songs to enhance your game. Just drop them in /usr/share/funguloids/music (ogg and mp3 only) and use f1 to change track.
The game is really beautiful. It's a relatively simple concept done right in so many ways. Kudos to the developer.
Offline
i cant seem to compile latest devil :S
.deps/ilut_allegro.Tpo -c ilut_allegro.c -fPIC -DPIC -o .libs/ilut_allegro.o
In file included from ../../src-ILUT/include/ilut_internal.h:39,
from ilut_allegro.c:14:
../../include/IL/ilut.h:237: error: expected ')' before 'FileName'
make[2]: *** [ilut_allegro.lo] Error 1
make[2]: Leaving directory `/home/sickhate/Pkgbuilds/devil/src/DevIL-1.6.8/src-ILUT/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sickhate/Pkgbuilds/devil/src/DevIL-1.6.8/src-ILUT'
make: *** [all-recursive] Error 1
Its a sick world we live in....
Offline
apply the patches.
Offline
It worked as a charm here.
Thanks a lot tardo! You made my day
Are you considering to put it in AUR?
Last edited by finferflu (2007-08-12 20:17:14)
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
no. feel free to do so.
Offline