maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [M5] [$ Paid request] Porting Love2D to maemo (https://talk.maemo.org/showthread.php?t=94539)

lonk 2015-01-31 22:45

[$ Paid request] Porting Love2D to maemo
 
I would like to know if someone can port Love2D on maemo
https://love2d.org/wiki/Building_L%C3%96VE


Will pay $20 if version 0.9.1 is succesfully ported and runs .love files/games

shawnjefferson 2015-02-01 03:00

Re: [$ Paid request] Porting Love2D to maemo
 
Looks like this requires SDL2 which, I believe, is a blocker at the moment.

Android_808 2015-02-01 09:26

Re: [$ Paid request] Porting Love2D to maemo
 
last time i tried sdl2 that was indeed the case. can't remember the exact reason off the top of my head. if i get a chance i'll take another look.

Android_808 2015-02-01 14:55

Re: [$ Paid request] Porting Love2D to maemo
 
SDL2 build errors.
Default armel target hits an error relating to assembly "dmb ish" followed by garbage or something like that whilst building SDL_Thread.
Thumb target hits an error with SDL_Video.c:
Code:

In file included from include/SDL_opengles2.h:32:0,
                from /home/user/Package/sdl/libsdl2-2.0.3/src/video/SDL_video.c:46:
/usr/include/GLES2/gl2.h:609:37: error: conflicting types for 'glTexImage2D'
In file included from include/SDL_opengles.h:32:0,
                from /home/user/Package/sdl/libsdl2-2.0.3/src/video/SDL_video.c:41:
/usr/include/GLES/gl.h:756:25: note: previous declaration of 'glTexImage2D' was here

Still looking into it, this error has been seen before but not sure if a fix was found.

Android_808 2015-02-01 18:41

Re: [$ Paid request] Porting Love2D to maemo
 
With a few dirty hacks for SDL on thumb, like gles1 removed by flipping define in the configure script :p and adding missing defines for ULLONG_MAX (iirc) and a few others, I have a "build" to test. I need to go back and patch the opengles2 include to fix missing GLchar and then find some basic apps to test it on.

Love2D is still a way off as it needs devIL to be packaged and maybe some others.

shawnjefferson 2015-02-02 05:00

Re: [$ Paid request] Porting Love2D to maemo
 
Is this devil?

http://maemo.org/packages/view/libdevil-dev/
http://maemo.org/packages/view/libdevil1c2/

Android_808 2015-02-02 07:49

Re: [$ Paid request] Porting Love2D to maemo
 
must of missed that. Need to finish sdl work first though, convert my current changes to a patch and add another to fix glchar.

Android_808 2015-02-04 12:19

Re: [$ Paid request] Porting Love2D to maemo
 
Quick status update. All packages built in thumb target.

SDL2: Built with GLES1 + 2. Not sure if a little hack I used works yet, nothing in test suite to use troublesome function AFAIK. All changes converted to patches, fully packaged. There's been a few "lock ups" whilst running certain test apps but I can't tell if it is locking up the system or just blocking messages to the window manager.

libdevil: Built 1.7.8 with most of Jessie's patches except lcms2. Our version doesn't contain pkgconfig files so was not detected. Reworked our 1.7.5 packaging. PITA to build compared to a lot of the other packages due to virtual libgl-dev/freeglut3-dev wanting to remove other packages I was using for something else.

Love2D: Building experimental GLES branch. Packaging needed if it works.

Android_808 2015-02-04 14:22

Re: [$ Paid request] Porting Love2D to maemo
 
So close...

Code:

libtool: link: arm-linux-gnueabi-ranlib .libs/liblove.a
libtool: link: rm -fr .libs/liblove.lax
/scratchbox/tools/bin/sed: can't read /usr/src/toolchain_build/output/arm-none-linux-gnueabi/lib/libstdc++.la: No such file or directory
libtool: link: `/usr/src/toolchain_build/output/arm-none-linux-gnueabi/lib/libstdc++.la' is not a valid libtool archive

Anyone got any ideas? It seems to be picking up the compile information from gcc and using that:
Code:

config.log:Configured with: ../../sources/gcc-linaro-4.7-2012.07/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --prefix=/usr/src/toolchain_build/output/ --with-ppl=/usr/src/toolchain_build/output/ --with-build-sysroot=/usr/src/toolchain_build/output/arm-none-linux-gnueabi/libc --with-sysroot=/ --with-build-time-tools=/usr/src/toolchain_build/output/bin --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --disable-nls --with-gmp=/usr/src/toolchain_build/output/ --with-mpfr=/usr/src/toolchain_build/output/ --with-mpc=/usr/src/toolchain_build/output/ --enable-cloog-backend=isl --with-ppl=/usr/src/toolchain_build/output/ --with-cloog=/usr/src/toolchain_build/output/ --with-host-libstdcxx='-lstdc++ -lsupc++ -lm' --with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=neon --with-float=softfp --with-mode=arm

Wikiwide 2015-02-06 02:59

Re: [$ Paid request] Porting Love2D to maemo
 
Do you have libstdc++ as build dependency? I would hope this is the package providing libstdc++.la file.

If it's a problem of improperly hard-coded directories, read here:
http://forums.gentoo.org/viewtopic-t-318790.html
Hopefully, it helps, because I cannot follow it.

Thank you. Best wishes.
~~~~~~~~~~~~~~~~~
Per aspera ad astra...

px3x 2015-02-14 22:51

Re: [$ Paid request] Porting Love2D to maemo
 
Any progress yet? There is a bunch of great games (Mari0, Ortho Robot, Ludum Dare Games), made with Love2D, could at least try running with low perfomance.

princefakhan 2015-03-21 10:47

Re: [$ Paid request] Porting Love2D to maemo
 
@Android_808 What happened? Were you able to compile SDL2 for thumb?

Android_808 2015-03-21 17:44

Re: [$ Paid request] Porting Love2D to maemo
 
SDL2 is built. Can be either GLES1 support only, GLES2 only OR with a little patching of GLES headers both. It spews out a series of issues regarding keyboard layout.

Love2D still fails with same error as before, I sent a link to freemangordon. I have managed to build libretro with libretro-prboom but performance is not great. Low frame rate, lagging audio. Any suggestions of SDL2 apps to test, especially for glTexture2D functionality for my header fixes would be appreciated.

princefakhan 2015-03-21 17:53

Re: [$ Paid request] Porting Love2D to maemo
 
Quote:

Originally Posted by Android_808 (Post 1464592)
SDL2 is built. Can be either GLES1 support only, GLES2 only OR with a little patching of GLES headers both. It spews out a series of issues regarding keyboard layout.

Love2D still fails with same error as before, I sent a link to freemangordon. I have managed to build libretro with libretro-prboom but performance is not great. Low frame rate, lagging audio. Any suggestions of SDL2 apps to test, especially for glTexture2D functionality for my header fixes would be appreciated.

That is still great enough work you did there. Probably I will have to do some googling if I'm going to suggest any app. I myself was interested in the Love2D games. :P

EDIT: Does that also mean that the keyboard may now work with SDL games?

princefakhan 2015-03-21 18:11

Re: [$ Paid request] Porting Love2D to maemo
 
Found something that may interest you. Claims that it is for testing features of SDL2 and C++11

sdl2-platformer


All times are GMT. The time now is 01:01.

vBulletin® Version 3.8.8