#gemrb@irc.freenode.net logs for 22 Apr 2015 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:30:07] --> Eli2_ has joined #gemrb
[00:31:44] <-- Eli2 has left IRC (Ping timeout: 265 seconds)
[01:02:49] <-- Aeterne has left IRC (Remote host closed the connection)
[01:31:09] --> turtleman_ has joined #gemrb
[02:05:20] <-- turtleman_ has left IRC (Ping timeout: 250 seconds)
[04:52:38] <-- edheldil has left IRC (Ping timeout: 256 seconds)
[05:04:48] --> edheldil has joined #gemrb
[05:04:48] --- ChanServ gives channel operator status to edheldil
[05:53:44] <-- phao has left IRC (Ping timeout: 272 seconds)
[06:31:14] <-- Lightkey has left IRC (Ping timeout: 256 seconds)
[06:43:52] --> Lightkey has joined #gemrb
[08:15:17] --> edheldil_ has joined #gemrb
[08:29:15] <-- edheldil_ has left IRC (Ping timeout: 256 seconds)
[08:33:11] --> kephu has joined #gemrb
[08:33:13] <kephu> hi
[08:33:19] <kephu> or re i guess because timezones
[09:09:21] <kephu> soo i guess nobody here at this time?
[11:50:56] --> edheldil_ has joined #gemrb
[11:54:56] --> turtleman_ has joined #gemrb
[12:09:41] <lynxlynxlynx> kephu: am now
[12:18:24] --> phao has joined #gemrb
[12:23:26] <kephu> cool
[12:23:32] <kephu> so btw found another one :D
[12:23:55] <kephu> apparently hg's 'fetch' is both an extension that shouldn't be assumed present, AND it's a deprecated extension!
[12:29:34] <kephu> also that bit with using https:// rather than git:// - thoughts?
[12:33:50] <kephu> okay admittedly that is the minorest of gripes
[12:34:05] <kephu> better issue: did you maybe figure out the frtti bit?
[12:34:14] <kephu> or fno-rtti rather
[12:36:05] <lynxlynxlynx> it's enough if i just switch the protocol over in urls?
[12:36:51] <kephu> yeah. But then again, so is `git config --global url."https://".insteadOf git://`
[12:37:21] <kephu> also, repo.or.cz's ssl certificate is borked, I had to use http rather than https to get git to shut up
[12:39:09] <lynxlynxlynx> ok, on to the rtti thing
[12:39:27] <Seniorita> [commit] lynxlynxlynx: android: the more commonly available mercurial command is update https://github.com/gemrb/gemrb/commit/9ef419b414ec4d3f3f71f8439e82ff2854ff2ea3
[12:39:28] <Seniorita> [commit] lynxlynxlynx: android: use http(s) to fool kephu's firewall https://github.com/gemrb/gemrb/commit/75a1f532505deabce4cf799c953316e1648c178f
[12:39:53] <lynxlynxlynx> maybe a static_cast would work, i haven't read too much into it
[12:41:22] <kephu> :D
[12:45:13] <lynxlynxlynx> you can just try replacing it, i need some chocolate
[12:45:32] <kephu> do i dare though
[12:45:33] <kephu> :D
[12:46:29] <kephu> also I noticed that sometimes randomly the build script nukes gemrb/GemRB.cfg.sample.in for some reason, but I can't exactly replicate/pin it down
[12:48:16] <lynxlynxlynx> shouldn't be possible with the script, it only copies it somewhere else
[12:49:02] <kephu> yeah thats what i'm saying about the pindownability of the thing
[12:49:39] <kephu> I wonder, but cant confirm until i get home, whether bumping up the android api level from 17 would resolve that rtti thing
[12:49:55] <kephu> i mean i wont lie that i care about backwards compatibility at this point :D
[12:51:39] <lynxlynxlynx> 17 is 1.7?
[12:52:28] <lynxlynxlynx> oh, it's 4 already
[12:53:03] <lynxlynxlynx> http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels
[12:53:03] <Seniorita> <uses-sdk> | Android Developers
[12:53:04] <Seniorita> »Lets you express an application's compatibility with one or more versions of the Android platform, by means of an API Level integer. The API Level expressed by an application will be compared to the API Level of a given Android system, which may vary…«
[12:54:50] <kephu> personally, i might as well go with 19 and not even give a damn
[12:55:06] <kephu> I mean i'm not putting it on android market or nothing
[12:55:12] <kephu> if it works, hey
[13:26:37] <lynxlynxlynx> yep
[13:30:21] <kephu> anyway yeah, wont be able to poke at it more until i get home
[13:30:55] <kephu> btw don't suppose it'd be easy for you to check that rtti thing?
[13:31:30] <kephu> because like i said, from what little i discovered, apparently it IS supported in ndk, but for whatever reason the -fno-rtti option appears from... somewhere i guess?
[13:33:39] <lynxlynxlynx> toolchain is built that way
[13:33:53] <lynxlynxlynx> i doubt adding -frtti afterwards would help
[13:35:26] <fuzzie> there's a different target you can use for rtti
[13:36:56] <fuzzie> need to set APP_STL to gnustl_static or similar, and then pass -frtti in the flags
[13:37:35] <kephu> fuzzie: it looks like it is
[13:37:38] <kephu> and i added that flag
[13:37:43] <kephu> unless i added it wrong
[13:38:01] <kephu> lynxlynxlynx: which part of the toolchain though
[13:38:26] <fuzzie> in this case the support depends on the libraries you're using, hence needing to change APP_STL
[13:38:36] <kephu> lynxlynxlynx: anyway, you're saying changing jni/src/main/gemrb/core/GUI/TextArea.cpp:481:71: to static_cast should work?
[13:38:55] <lynxlynxlynx> no
[13:38:56] <kephu> fuzzie: straight from Application.mk
[13:39:00] <kephu> fuzzie: APP_STL := gnustl_static
[13:39:46] <fuzzie> and you set -frtti in the CXXFLAGS?
[13:39:51] <fuzzie> or whatever variant on that it's using
[13:40:55] <kephu> i assume it's LOCAL_CPPFLAGS?
[13:41:20] <fuzzie> LOCAL_CPPFLAGS apparently, yes
[13:41:59] <fuzzie> in the *module* config
[13:42:05] <fuzzie> or APP_CPPFLAGS in your app config
[13:43:51] <kephu> which is...where?
[13:44:06] <kephu> i mean bear with me i probably mentioned i'm a android-building noob
[13:44:12] <kephu> if nothing else, I'm a noob c++ways
[13:44:35] <lynxlynxlynx> GEMRB_Application.mk, where the rest is
[13:44:36] <fuzzie> the app config is Application.mk and the local config is Android.mk
[13:46:08] <kephu> builld/gemrb/jni perhaps?
[13:48:14] <kephu> hey i got something new
[13:48:15] <kephu> jni/src/main/gemrb/plugins/AREImporter/AREImporter.cpp:2144: error: undefined reference to 'mblen'
[13:49:14] <kephu> also maybe
[13:49:20] <kephu> /home/mwozniczak/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: warning: ./obj/local/armeabi/libpython.so uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
[13:49:50] <fuzzie> oh dear
[13:50:03] <kephu> ...what
[13:50:07] <kephu> what is happening
[13:50:12] <kephu> oh god what
[13:50:20] <fuzzie> the sky is falling!
[13:50:28] <kephu> n-noooo
[13:50:55] <fuzzie> replace mblen(mbstring, mn.text->length()) with mbtowc(0, mbstring, mn.text->length()) maybe
[13:52:28] <kephu> k lets see
[13:52:49] <kephu> hey guess what
[13:52:49] <kephu> jni/src/main/gemrb/plugins/AREImporter/AREImporter.cpp:2144: error: undefined reference to 'mbtowc'
[13:52:50] <kephu> :D
[13:54:54] <kephu> also, a bunch of references to RNG_SFMT::whatever
[13:57:04] <phao> Hey... in BG2, can NPCs rob your money?
[13:59:25] <lynxlynxlynx> sure
[13:59:54] <lynxlynxlynx> kephu: rng is part of our sources, what's the whatever?
[14:00:12] <phao> lynxlynxlynx, That explain it... I had a large amount of gold, and now I don't =D
[14:01:08] <phao> explains*
[14:04:07] <lynxlynxlynx> it's hard to lose large amounts via pickpocketing
[14:04:18] <lynxlynxlynx> do you have a wild mage or wish?
[14:17:21] <kephu> lynxlynxlynx: brace yourselves for a bit of spam
[14:17:30] <kephu> unless maybe i should pm this to you
[14:17:44] <phao> lynxlynxlynx, nops...
[14:17:51] <phao> I don't really know what that is, tbh...
[14:18:00] <phao> I know wish is a spell, but that's all.
[14:18:39] <phao> I'm playing according to "core rules", and it seems difficult to level up...
[14:18:44] <phao> I remember playing before and it being easier.
[14:19:20] <phao> So I don't have higher level spells yet.
[14:20:02] <kephu> so bottom line, lynxlynxlynx, the whatevers are getInstance() and rand(int, int)
[14:21:19] <lynxlynxlynx> ok, so likely just a missing include
[14:22:32] <lynxlynxlynx> yeah, none of the rng files are on the list
[14:25:59] <kephu> also, since that seemed to work
[14:26:13] <kephu> you might wanna add, to GEMRB_Application.mk, the following:
[14:26:14] <kephu> APP_CPPFLAGS += -frtti
[14:26:35] <phao> lynxlynxlynx, is it possible to go through bg1's world in bg2?
[14:26:43] <Seniorita> [commit] lynxlynxlynx: android: compile sfmt rng https://github.com/gemrb/gemrb/commit/a8bcb514522106d300553af94079d3c61ab5c232
[14:27:28] <lynxlynxlynx> phao: unless you mean bgt/trilogy type mods, then no
[14:28:01] <phao> I don't know these... I meant in normal baldur's gate..
[14:28:46] <Seniorita> [commit] lynxlynxlynx: android: needs -frtti, thanks kephu https://github.com/gemrb/gemrb/commit/ebdaccf801978db046991fe4e8b3bab53a13b875
[14:29:52] <kephu> woop! Thanks right back at ya ;)
[14:31:12] <lynxlynxlynx> phao: nope
[14:31:43] <phao> lynxlynxlynx, maybe one day I'll try some of these mods... I'll see if I do the game as normal first.
[14:35:07] <kephu> obtw, missed this since I got to the later step:
[14:35:07] <kephu> Symlinking the GemRB-git path...ln: failed to create symbolic link ‘/home/mwozniczak/gemrb/android/build/gemrb/jni/src/main/gemrb’: File exists
[14:35:12] <kephu> in prep_env.sh
[14:38:47] <lynxlynxlynx> add -f
[14:40:54] <Seniorita> [commit] lynxlynxlynx: android: force update the symlinks https://github.com/gemrb/gemrb/commit/c342813a1e86d4f78aac03fb4acfa79459b27c1e
[14:43:59] <kephu> ok now to figure out that mblen thing
[14:44:10] <kephu> based on fuzzie's bit, maybe this'll help: http://stackoverflow.com/a/19752031 ?
[14:44:11] <Seniorita> c - How to implement mbtowc for android? (or, ideally, how not to?) - Stack Overflow
[14:45:19] <kephu> 'cause I also found https://github.com/awong-dev/ndk/blob/master/sources/android/support/src/musl-multibyte/mblen.c but it appears to be borked
[14:45:21] <Seniorita> ndk/mblen.c at master · awong-dev/ndk · GitHub
[14:45:22] <Seniorita> »android ndk«
[14:56:48] <kephu> anyway, I'm off work, will probably show up here somewhat later on
[14:57:03] <kephu> cheers
[14:57:09] <-- kephu has left IRC (Quit: Page closed)
[14:58:23] <lynxlynxlynx> ... retry with mbtowc, just add #include <stdlib>
[15:00:48] <-- edheldil_ has left IRC (Ping timeout: 245 seconds)
[15:10:47] <-- turtleman_ has left IRC (Ping timeout: 244 seconds)
[15:13:17] <Seniorita> [commit] lynxlynxlynx: android: don't redownload python unnecessarily https://github.com/gemrb/gemrb/commit/88fecde29ff0723eb91e84265c3e2b0db3b6c63e
[15:20:54] --> edheldil_ has joined #gemrb
[15:28:48] <-- edheldil_ has left IRC (Ping timeout: 276 seconds)
[15:55:39] --> turtleman_ has joined #gemrb
[16:10:10] --> kephu has joined #gemrb
[16:10:39] <kephu> re
[16:11:45] <kephu> File `/home/keph/gemrb/android/libpython.tar' already there; not retrieving.
[16:13:15] <lynxlynxlynx> yep
[16:13:40] <lynxlynxlynx> retry with the mbtowc idea
[16:13:50] <lynxlynxlynx> add #include <stdlib> beforehand
[16:14:05] <lynxlynxlynx> err, stdlib.h
[16:14:39] <kephu> btw I've seen that mbtowc seems to take an extra first parameter compared to mbtowc, should i take that into account?
[16:14:55] <kephu> also did i even understand properly how it works
[16:15:43] <lynxlynxlynx> the github you posted and fuzzie agree on what it should be
[16:16:32] <kephu> i would have also accepted: "yes. Yes it is" :P
[16:17:37] <kephu> anyway
[16:17:37] <kephu> jni/src/main/gemrb/plugins/AREImporter/AREImporter.cpp:20:18: fatal error: stdlib: No such file or directory
[16:18:01] <kephu> #include <stdlib> was added near the top
[16:25:11] <kephu> :?
[16:25:54] --> edheldil_ has joined #gemrb
[16:31:37] <-- turtleman_ has left IRC (Ping timeout: 264 seconds)
[16:33:47] <-- edheldil_ has left IRC (Ping timeout: 276 seconds)
[16:42:16] <fuzzie> kephu: <lynxlynxlynx> err, stdlib.h
[17:12:33] --> edheldil_ has joined #gemrb
[17:24:12] <kephu> fuzzie: with or without triangles
[17:24:48] <kephu> also what are they anyway
[17:24:55] <kephu> <- again, C noom
[17:25:01] <kephu> *noob
[17:25:48] <kephu> also with triangles - same error
[17:27:18] --> turtleman_ has joined #gemrb
[17:59:37] <-- turtleman_ has left IRC (Ping timeout: 265 seconds)
[18:04:47] <lynxlynxlynx> it was the .h that was important
[18:24:17] --> turtleman_ has joined #gemrb
[18:35:23] <-- phao has left IRC (Ping timeout: 244 seconds)
[18:35:56] <kephu> lynxlynxlynx: yyyeah except its still borking out the same for me so :D
[18:36:15] <kephu> it should be
[18:36:16] <kephu> include <stdlib.h>
[18:36:17] <kephu> right?
[18:36:24] <kephu> with a hash at the beginning
[18:36:28] <lynxlynxlynx> yes
[18:36:30] <kephu> which irc ate
[18:36:34] <kephu> yeah no dice there
[18:36:57] <kephu> i even ran ndk-build clean
[18:37:09] <lynxlynxlynx> it complains about missing mbtowc?
[18:37:23] <kephu> yep
[18:37:39] <kephu> my vaguest of guesses is: maaaaybe gnustl_static is to blame?
[18:37:48] <kephu> thats pretty much my only idea at this poinnt
[18:38:07] <lynxlynxlynx> that's where the web says it is to be found, so i guess more searching is needed
[18:38:17] <lynxlynxlynx> you did put the include before the line that needed it, right?
[18:38:20] <lynxlynxlynx> not after
[18:38:35] <lynxlynxlynx> and the current error is still at the same file
[18:39:50] <kephu> I put it right at the beginning of all the includes
[18:39:57] <kephu> and yes still the same file
[18:42:05] <kephu> http://stackoverflow.com/a/16652290 maybe?
[18:42:06] <Seniorita> android - Ndk-build not permitted to link to gnu stl - Stack Overflow
[18:44:18] <kephu> waait a minute
[18:44:21] <kephu> just realized
[18:44:59] <kephu> while Application.mk is a copy of GEMRB_Application.mk, Android.mk is almost empty, especially compared to GEMRB_Android.mk
[18:45:02] <kephu> is that deliberate?
[18:47:39] --> phao has joined #gemrb
[18:53:34] <-- turtleman_ has left IRC (Ping timeout: 256 seconds)
[18:53:43] <kephu> ......actually scratch that i am a moron
[18:57:49] <kephu> yeah and also, that thing i linked to doesnt seem to have helped
[18:58:52] <lynxlynxlynx> :/
[19:02:55] <kephu> ok attempting this: http://stackoverflow.com/a/19752031
[19:02:57] <Seniorita> c - How to implement mbtowc for android? (or, ideally, how not to?) - Stack Overflow
[19:03:03] <kephu> except, of course, hackishly
[19:03:24] <kephu> then again
[19:03:33] <kephu> hey, did i mentioned i kinda suck at c/c++?
[19:03:33] <kephu> :D
[19:03:40] <kephu> *did i mention
[19:03:47] <kephu> apparently i also suck at OTHER languages :D
[19:04:14] <kephu> can someone take a peek at the code there and tell me whether or not its utter balls?
[19:04:38] <kephu> ..........holy crap it actually seems to have compiled!
[19:05:46] <kephu> except OF COURSE it now borks out at ant debug
[19:05:53] <kephu> ttribute "configChanges" bound to namespace "http://schemas.android.com/apk/res/android" was already specified for element "activity".
[19:06:35] <kephu> project name: SDLActivity
[19:06:42] <kephu> so I GUESS that one's not on you guys :D
[19:08:45] <kephu> I mean maybe?
[19:08:51] <kephu> at this point i don't even know
[19:09:31] <lynxlynxlynx> uff
[19:11:05] <kephu> huh, didn't know you were slavic, lynxlynxlynx ;)
[19:11:17] <lynxlynxlynx> can you upload that AndroidManifest.xml somewhere?
[19:11:22] <kephu> from your appearance times i sorta guessed you were an american
[19:11:33] <kephu> the one from build/gemrb?
[19:11:39] <lynxlynxlynx> yep
[19:11:52] <lynxlynxlynx> kephu: well ... work
[19:12:36] <kephu> anyway, sure can
[19:12:40] <kephu> where do you want it?
[19:12:57] <kephu> any particular pastebins more preferred than others here?
[19:13:56] <kephu> http://dpaste.com/0PWX385
[19:13:58] <Seniorita> dpaste: 0PWX385: AndroidManifest for GEMRB
[19:16:26] <kephu> huh
[19:16:39] <kephu> http://log.usecode.org/gemrblog.php?log=18Oct2014 < THE HISTORY REPEATS ITSELF
[19:16:40] <Seniorita> #gemrb logs
[19:18:56] <kephu> WE ARE SO CLOSE I CAN FEEL IT
[19:21:39] <lynxlynxlynx> looks like the sed line we use is to blame
[19:22:44] <kephu> oh?
[19:23:11] <lynxlynxlynx> you can delete android:configChanges="orientation" from the xml and retry ant
[19:23:53] <kephu> all instances of it?
[19:24:27] <kephu> actually could you point me to the lines in that dpaste
[19:24:59] <lynxlynxlynx> 38
[19:25:21] <kephu> what about 40?
[19:25:33] <lynxlynxlynx> nope
[19:27:53] <kephu> okay looks like we're right up to javac compilation
[19:27:59] <kephu> except i need to grab javac :D
[19:28:04] <kephu> will openjdk do?
[19:30:20] <lynxlynxlynx> sure
[19:30:37] <kephu> BUILD SUCCESSFUL
[19:30:45] <kephu> Total time: 5 seconds
[19:30:48] <kephu> YEAH RIGHT
[19:31:27] <kephu> anyway will probably test it out later
[19:32:14] <kephu> you guys might wanna look at that ifdef, whether thats something you'd want to roll with
[19:35:13] <-- edheldil_ has left IRC (Ping timeout: 264 seconds)
[19:41:16] <lynxlynxlynx> aww yeah :D
[19:44:20] <lynxlynxlynx> git diff | curl -s -F 'sprunge=<-' http://sprunge.us | sed 's,$,?diff,'
[19:44:23] <lynxlynxlynx> run that please
[19:44:31] <lynxlynxlynx> it will upload your diff, so I can look at it
[19:45:38] <kephu> from where?
[19:45:45] <kephu> ah, git
[19:45:46] <kephu> k
[19:46:47] <kephu> meanwhile: dlopen failed: could not load library "./obj/local/armeabi/libpython.so" needed by "libmain.so"; caused by library "./obj/local/armeabi/libpython.so" not found
[19:47:47] <lynxlynxlynx> you don't have it under jni/?
[19:47:57] <kephu> http://sprunge.us/EOEP?diff
[19:48:54] <kephu> I have it in jni/libpython/
[19:49:18] <kephu> apparently its not where it'd like it?
[19:49:20] <kephu> i guess?
[19:50:00] <lynxlynxlynx> looks like it
[19:50:57] <lynxlynxlynx> try ldd path/to/libmain.so
[19:51:09] <lynxlynxlynx> the diff is nice, i can commit it as is
[19:51:21] <lynxlynxlynx> pm me your email and the name you want to appear alongside
[19:54:19] <kephu> I actually have a github account except i sorta suck at figuring out how it handles things (as opposed to, say, gitlab)
[19:54:24] <kephu> anyway here goes
[19:59:10] <lynxlynxlynx> goes where?
[20:03:34] <kephu> you didnt get the pm?
[20:09:27] <lynxlynxlynx> ah, hidden
[20:51:49] <kephu> ok so about that ldd
[20:52:04] <kephu> ldd libs/armeabi/libmain.so
[20:52:12] <kephu> not a dynamic executable
[20:54:12] <kephu> okay i ran readelf -d on it
[20:54:22] <kephu> and basically libpython.so is the only one with a path
[20:54:29] <kephu> all else are just libwhatever.so
[20:55:17] <lynxlynxlynx> system ones probably
[20:55:26] <lynxlynxlynx> so the path is incorrect?
[20:55:44] <lynxlynxlynx> compare it to where the file actually is
[20:56:06] <kephu> well basically the file is in the same place the other libs are
[20:56:24] <kephu> so like eg Shared library: [libvorbis.so]
[20:57:02] <kephu> the libs are in
[20:57:02] <kephu> ~/gemrb/android/build/gemrb$ ls libs/armeabi/
[20:57:32] <kephu> in fact the output is
[20:57:37] <kephu> of that ls i mean
[20:57:37] <kephu> libmain.so libogg.so libopenal.so libpython.so libSDL2.so libvorbis.so
[20:58:05] <lynxlynxlynx> that's not how it starts though
[20:58:22] <lynxlynxlynx> we copy them to jni/libname/
[20:59:22] <kephu> and there they are, too
[20:59:48] <lynxlynxlynx> python too, right?
[21:00:03] <lynxlynxlynx> the archive looks fine
[21:00:08] <kephu> yeah, python too
[21:01:58] <kephu> so what can cause that single library to have a full path while all the others are just libname.so?
[21:02:05] <kephu> if that's even the right lead
[21:03:14] <lynxlynxlynx> the way it is specified
[21:04:11] <kephu> where?
[21:04:17] <lynxlynxlynx> it looks like it wasn't found where expected, so other paths were tried
[21:04:23] <phao> Besides selling for money, gems aren't much useful in bg2, right? I know rogue stone is the key to shangrilar's room, but besides that... are they useful for anything besides selling?
[21:04:34] <lynxlynxlynx> android/GEMRB_Android.mk:251
[21:04:36] <lynxlynxlynx> -L
[21:05:02] <lynxlynxlynx> phao: some are used for crafting
[21:05:21] <phao> lynxlynxlynx, Through that dwarf in the docks?
[21:05:29] <kephu> 251 is commented out though isnt it?
[21:05:59] <lynxlynxlynx> right
[21:07:54] <lynxlynxlynx> you can still try adding -L$(LOCAL_PATH)/../../../gemrb/obj/local/armeabi/ in front of the one actually used
[21:09:40] <kephu> that path is hella convoluted btw :D
[21:09:53] <kephu> ok i'm gonna run a full-fledged clean+recompile
[21:10:50] <kephu> see if that takes
[21:11:58] <lynxlynxlynx> wait
[21:12:11] <kephu> okay readelf still indicates the libpython being conspicuously elsewhere than the rest of them
[21:12:22] <kephu> waiting
[21:12:26] <lynxlynxlynx> proceed
[21:12:56] <lynxlynxlynx> i've got two commits sitting here, but you already know what to do
[21:13:04] <kephu> do i now :P
[21:13:08] <kephu> anyway
[21:13:17] <kephu> jni/src/Android.mk looks like this:
[21:13:18] <kephu> LOCAL_LDLIBS := -L$(LOCAL_PATH)/../../../gemrb/obj/local/armeabi/ -lGLESv1_CM -llog -lz -ldl
[21:13:22] <kephu> i mean line 250
[21:14:26] <lynxlynxlynx> ok
[21:16:47] <kephu> yeah, same error there
[21:17:19] --> edheldil_ has joined #gemrb
[21:17:37] <kephu> btw you might wanna consider symlinking gemrb_*.mk to their jni counterparts, easier to not mess up configuring and wondering how come the changes dont take
[21:17:44] <kephu> i know it took me some time to figure out
[21:18:36] <kephu> but i digress
[21:19:10] <kephu> anyway what the hell is so different about libpython that libmain doesnt want to look for it in the same place
[21:21:50] <lynxlynxlynx> or where does it actually look for it
[21:22:35] <kephu> or that, yeah
[21:23:18] <lynxlynxlynx> you said readelf pointed to a valid path, right?
[21:23:42] <kephu> no, I said it pointed to the exact path it's complaining about on the device
[21:23:55] <kephu> while all other libs are just indicated as [libname.so]
[21:24:27] <kephu> and I just poked into the apk
[21:24:35] <kephu> libpython.so IS GODDAMN THERE
[21:24:38] <kephu> what the hell
[21:24:51] <kephu> in lib/armeabi
[21:25:15] <lynxlynxlynx> not local/armeabi?
[21:25:52] <kephu> we're talking about the apk, right?
[21:25:58] <kephu> because if so, then no
[21:26:19] <kephu> from toplevel, just lib/armeabi
[21:28:27] <lynxlynxlynx> ok
[21:28:44] <lynxlynxlynx> and all the rest are there with it, right?
[21:28:49] <kephu> yeah
[21:29:10] <kephu> at least presume thats all thats needed, 6 libs total, including libmain
[21:31:52] <kephu> so what then
[21:33:07] --> Aeterne has joined #gemrb
[21:33:49] <lynxlynxlynx> no idea yet, time to dig around again
[21:34:39] <kephu> another day with no bg on my phone then, sigh
[21:36:34] <kephu> when will i get to lord my device-derived superiority over my winphone (yes, really) colleagues
[21:36:35] <kephu> :D
[21:39:13] <lynxlynxlynx> gemrb should work there too
[21:39:38] <lynxlynxlynx> but building it there is probably even a worse procedure
[21:40:40] <kephu> i can only imagine
[21:40:51] <kephu> also DONT TELL THEM THAT JEEZ
[21:40:54] <kephu> :P
[21:42:06] <kephu> but seriously, we got to the part where the goddamn thing builds at least
[21:42:12] <kephu> who cares if it's broken!
[21:42:21] <kephu> (well okay i sorta do)
[21:43:48] <kephu> anyway, eagerly awaiting them commits, as i kinda hope to hop back to it in corporate :D
[21:43:51] <lynxlynxlynx> you could temporarily just create that extra dir structure in the apk and repack it
[21:44:04] <kephu> hmm
[21:44:10] <kephu> including the obj part or
[21:44:25] <lynxlynxlynx> whatever works
[21:45:31] <kephu> i guess
[21:46:24] <kephu> son of a dick
[21:46:58] <kephu> in build/gemrb there actually IS a folder obj/local/armeabi
[21:47:03] <kephu> that has all thats needed
[21:47:21] <kephu> hmm
[21:47:22] <kephu> actually
[21:47:29] <kephu> what's $(LOCAL_PATH) ?
[21:47:33] <kephu> what's it relative to?
[21:49:37] <lynxlynxlynx> perhaps it's not even relative
[21:50:09] <kephu> okay whats it point to though
[21:50:20] <lynxlynxlynx> you tell me
[21:50:27] <kephu> how
[21:50:48] <lynxlynxlynx> i'd just grep for L_LDL in the generated files
[21:53:10] <kephu> okay what i think we'd need here is
[21:53:32] <kephu> because it seems having an obj directory in an apk is nonkosher
[21:54:05] <kephu> have the libmain compiled so that it looks to libs/armeabi/libpython.so
[21:54:38] <kephu> why though
[21:57:03] <kephu> anyway i'm off
[21:57:09] <kephu> see you guys tomorrow probably
[21:58:11] <lynxlynxlynx> ok
[22:01:20] <kephu> anyway, my bet would be on "how libmain links to other libs but im no expert really"
[22:01:37] <kephu> or maybe "hey which gets compiled first, libpython or libmain"
[22:01:49] <kephu> but i'm basically talking out of my ass at that point
[22:01:50] <kephu> so yeah
[22:01:52] <kephu> cheers
[22:01:54] <-- kephu has left IRC (Quit: Page closed)
[22:12:19] <-- Aeterne has left IRC (Ping timeout: 245 seconds)
[22:27:16] --> turtleman_ has joined #gemrb
[22:34:37] <-- edheldil_ has left IRC (Ping timeout: 265 seconds)
[22:49:23] --> Aeterne has joined #gemrb
[23:06:05] <-- phao has left IRC (Ping timeout: 250 seconds)
[23:09:13] --> phao has joined #gemrb