maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Roguelikes on N900 discussions (https://talk.maemo.org/showthread.php?t=65869)

linuxeventually 2010-12-20 10:52

Re: Roguelikes on N900 discussions
 
I was SOO close to a successful packaging of QEMU (~ an hour of compiling on my machine) but then after the compile it wanted to optify it -_- and failed there. Gotta remove this optifying non-sense and hope it compiles again.

009N 2010-12-20 10:58

Re: Roguelikes on N900 discussions
 
Cool! Could you tell me your configure options? I've tried compiled directly on my N900 but crashed in the final linking (something wrong with tcg.o). Maybe I can get it done as I'm not using any SDK but just the regular gcc & g++.

linuxeventually 2010-12-20 11:51

Re: Roguelikes on N900 discussions
 
@009N
Uh.....what? Also I should mention packaging QEMU for Maemo4.

After a dozen times running the same command (and different random error messages; freaking C and ghosts in the code), dpkg-buildpackage -rfakeroot -sa it finally packaged it. However I'm not convinced this is compiled correctly. The first time it compiled correctly (but got messed up during the packaging) it took a lot longer to compile.

Anyway any N8x0's users want to test this for me?
http://www.box.net/os2008/1/61249027
Grab the *.deb and dpkg -i


I'm going to try another compile just because I don't trust this one 100%.

EDIT: I should add that I had to strip out audio support because libpulse-dev and it's deps aren't compiled for Maemo4.

009N 2010-12-20 11:59

Re: Roguelikes on N900 discussions
 
I suppose the difference is just a matter of the maemo versions, so I can try your setting to see if it is also built seccessfully for frementle.
Where do you get the source? I was using the one from git http://wiki.meego.com/ARM/Meego_on_Qemu
Thanks in advance. :D

linuxeventually 2010-12-20 12:11

Re: Roguelikes on N900 discussions
 
I think this build is the same http://www.box.net/shared/orpvfoigoc the md5sum is different but I think that may be due to timestamps. I'm gonna start from the original source and add my changes and try again, it should be a long compile...and it should be wiping the binaries each time...

If you click my link http://www.box.net/shared/cnv5eo46tj you'll find my source. But as far as what I'm starting with:
http://repository.maemo.org/extras-d...ce/q/qemu-kvm/
Download those 3 files into scratchbox (into a new folder) then dpkg-source -x *.dsc
That'll patch with the .diff and unpack the archive, then make changes as needed (debian/changelog, debian/control and debian/rules), then dpkg-buildpackage -rfakeroot -sa which runs ./configure (with parameters specified in debian/rules then make and then it packages it into a .deb

A simple step-by-step how-to on what do after installing qemu to get this game working would be a nice addition to this thread.

linuxeventually 2010-12-20 12:47

Re: Roguelikes on N900 discussions
 
Okay after several tries I got a clean compile. (~20 minutes versus 2min above).

folder (.deb + source + nasm build-depends): http://www.box.net/shared/adg15mqdsv

qemu (N8x0) .deb: http://www.box.net/shared/kuvfkhn1dd

Now to give it a try on my N810....

EDIT: All that and it seems I need to fiddle with debian/control some more as it claims python isn't installed...

linuxeventually 2010-12-20 13:06

Re: Roguelikes on N900 discussions
 
Okay finally! http://www.box.net/shared/6s44amh0f6
It installs on my N810 without a problem now (I forgot that in maemo4 python is packaged as python2.5).

Testers wanted.:
http://www.box.net/shared/qglpui3nrz

I'll try to upload it to extras-devel in a few hours but testers are appreciated at this time to verify all functionality is working.

EDIT: nasm is now in extras-devel.
However QEMU failed in autobuilder and I'm not sure why:
https://garage.maemo.org/builder/dia...log.FAILED.txt

Anyway go ahead and give the .deb I uploaded to box.net/os2008 a try and reply with your success or failure.

Addison 2010-12-20 22:46

Re: Roguelikes on N900 discussions
 
Okay. All I tried was this..

http://www.box.net/shared/qglpui3nrz

Attempted to install qemu-kvm_0.12.3-0maemo1_armel but it stated the package was incompatible.

Nuts. :)

linuxeventually 2010-12-21 00:21

Re: Roguelikes on N900 discussions
 
@Addison
Yeah I took down the other links.

$ root
# wget http://p7230.homelinux.com/maemo/qem...emo1_armel.deb
# apt-get install libuuid1
# dpkg -i qemu-kvm_0.12.3-0maemo1_armel.deb

Worked for me on a fresh install. I'm not sure what the issue is for you. Could you please post what the error says? Note: It need not be the whole error (unless you copy and paste), just need to know the main issue.

Addison 2010-12-21 02:39

Re: Roguelikes on N900 discussions
 
Balls. *lol*

I don't have wget installed. I have it as a deb on my memory card but it's saying it's incompatible.

I've done this before but I forgot since it's been so long.

A little help linux? :)


All times are GMT. The time now is 17:51.

vBulletin® Version 3.8.8