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

Archive Today Yesterday Tomorrow
GemRB homepage


[00:29:07] --> Eli2 has joined #gemrb
[00:29:49] <-- Eli2_ has left IRC (Ping timeout: 264 seconds)
[04:10:37] --> edheldil_ has joined #gemrb
[05:09:50] <-- phao has left IRC (Ping timeout: 272 seconds)
[05:54:08] <-- edheldil_ has left IRC (Ping timeout: 245 seconds)
[06:31:59] <-- Lightkey has left IRC (Ping timeout: 265 seconds)
[06:44:32] --> Lightkey has joined #gemrb
[09:26:38] <edheldil> lynxlynxlynx: what's dialog extender?
[11:47:12] --> phao has joined #gemrb
[12:08:54] --> turtleman_ has joined #gemrb
[12:10:47] <-- turtleman_ has left IRC (Client Quit)
[12:33:53] --> turtleman_ has joined #gemrb
[12:50:12] <-- turtleman_ has left IRC (Ping timeout: 264 seconds)
[13:05:22] --> kephu has joined #gemrb
[13:05:24] <kephu> hi
[13:05:29] <kephu> anyone here?
[13:50:57] <-- kephu has left IRC (Quit: Page closed)
[14:12:24] <lynxlynxlynx> edheldil: part of the 10 player party mod
[14:23:17] <edheldil> ah
[14:24:36] <edheldil> btw, I have a script that constructs chu file from Yaml - or you can write a python script for that
[14:25:35] <edheldil> (with iesh)
[14:26:12] <edheldil> I wonder whether it could be useful for creating assets for the demo.
[14:32:15] <lynxlynxlynx> ideally the demo would be our test ground for a scalable ui
[14:51:53] --> turtleman_ has joined #gemrb
[16:20:11] <-- turtleman_ has left IRC (Ping timeout: 265 seconds)
[18:03:18] --> turtleman_ has joined #gemrb
[18:09:25] <-- turtleman_ has left IRC (Ping timeout: 265 seconds)
[18:45:40] --> kephu has joined #gemrb
[18:45:42] <kephu> hi
[18:45:52] <kephu> I'm slogging through that build process for android
[18:45:54] <kephu> you guys
[18:46:00] <kephu> you need to update that thang
[18:47:12] <kephu> mostly the bit with libogg-vorbis-android
[18:47:15] <kephu> that repo is dead
[18:48:14] <kephu> also maybe detection whether a repo was already pulled in
[18:48:27] <lynxlynxlynx> hmm
[18:48:35] <kephu> i mean SO FAR
[18:48:46] <kephu> i didn't even get to the later bits :D
[18:49:03] <lynxlynxlynx> did you find an alternative ogg for android?
[18:50:14] <-- phao has left IRC (Ping timeout: 246 seconds)
[18:50:39] <lynxlynxlynx> and you're right, it always tries to clone
[18:52:35] <kephu> yep
[18:52:42] <kephu> https://github.com/nwertzberger/libogg-vorbis-android
[18:52:43] <Seniorita> nwertzberger/libogg-vorbis-android · GitHub
[18:52:44] <Seniorita> »Contribute to libogg-vorbis-android development by creating an account on GitHub.«
[18:53:01] <kephu> thing about it is, it's structured SLIGHTLY differently, there's a toplevel dir named 'main' there
[18:53:16] <kephu> so all paths need to be corrected for this
[18:53:42] <lynxlynxlynx> i'll fix the git clone/checkout first, so if you figure this out in the meanwhile, that'd be great
[18:53:59] <kephu> figure out which part?
[18:55:07] <kephu> anyway, e.g. in original script there's pushd "$ENVROOT/libogg-vorbis-android" &&
[18:55:10] <kephu> that needs to become
[18:55:12] <kephu> pushd "$ENVROOT/libogg-vorbis-android/main" &&
[18:56:28] <kephu> basically search & replace libogg-vorbis-android => libogg-vorbis-android/main
[19:01:38] <kephu> okay wtf
[19:01:40] <kephu> Error: Target id 'android-17' is not valid
[19:03:27] <kephu> ah, found the solution
[19:03:34] <kephu> still, missing from the README :D
[19:09:46] <lynxlynxlynx> too old target, I guess
[19:09:59] <lynxlynxlynx> sdl2 remains
[19:11:00] <Seniorita> [commit] lynxlynxlynx: android: checkout deps if we already have a repo cloned https://github.com/gemrb/gemrb/commit/05c250261a455d6730f869465dae524339838fed
[19:11:01] <Seniorita> [commit] lynxlynxlynx: android: new oggvorbis source repo + structure https://github.com/gemrb/gemrb/commit/12e023b690ba5938f68b3dc83d8620cb029dd754
[19:11:09] --> phao has joined #gemrb
[19:11:17] <kephu> yeah, not exacly, I didnt have any SDK revisions downloaded
[19:11:43] <kephu> aww, no props? ;)
[19:12:28] <lynxlynxlynx> not earned that easily :P
[19:14:57] <kephu> not even after dealing with the conundrum that is the build script? :D
[19:15:30] <lynxlynxlynx> the effort is appreciated nonetheless
[19:15:58] <lynxlynxlynx> you can update the README with your findings — that's definitely something I can't take care for you as easily
[19:16:59] <lynxlynxlynx> for sdl2 i'm not so sure what to do; i bet's it stable now (api), but the last tagged release was more than a year ago, so keeping tracking the tip sounds reasonable
[19:19:10] <kephu> k, once i sort it out
[19:22:35] <lynxlynxlynx> thanks
[19:35:11] <phao> Hey...
[19:35:24] <phao> Sorry to ask questions about BG2 in here btw... Do people mind that?
[19:35:31] <phao> you* people
[19:43:42] <lynxlynxlynx> not at all
[20:10:18] <kephu> btw did the gemrb.ini layout change between .0 and .2?
[20:11:33] <kephu> oh goddammit
[20:11:35] <kephu> jni/src/main/gemrb/plugins/BIKPlayer/BIKPlayer.cpp:273:17: error: 'usleep' was not declared in this scope
[20:15:47] <lynxlynxlynx> gemrb.ini is just a bunch of variables, so reordering doesn't matter that much
[20:16:29] <kephu> well yeah, i guess my actual question would be: was anything added/removed
[20:16:55] <kephu> because i spent a preposterous amount of time fiddling with it on crappy input to have to do it all over again :D
[20:17:35] <kephu> btw I suspect your HAVE_UNISTD_H is borked
[20:17:38] <lynxlynxlynx> why would you touch that anyway? There are like 5 interesting things there
[20:17:48] <kephu> because paths for one thing
[20:18:02] <kephu> so i guess with like 5 cds that about covers your 5 interesting things :D
[20:18:04] <lynxlynxlynx> that's where usleep is from usually, yes
[20:18:23] <lynxlynxlynx> ah no, then you're speaking about the config
[20:18:28] <lynxlynxlynx> .ini is something else
[20:18:38] <lynxlynxlynx> old configs are fine
[20:18:54] <kephu> yeah because compilation craps the hell out saying usleep is *not* declared
[20:18:59] <kephu> removing the ifdef fixed it
[20:19:05] <lynxlynxlynx> cool
[20:19:09] <lynxlynxlynx> i'll dig deeper
[20:19:11] <kephu> i mean for me
[20:19:18] <kephu> doubt thats the way to go :D
[20:19:38] <lynxlynxlynx> you're building with cmake, right?
[20:19:42] <kephu> now I'm getting a "'access' was not declared in this scope"
[20:19:55] <kephu> I... dunno? I'm basically doing what the readme told me to
[20:19:56] <lynxlynxlynx> VFS?
[20:19:58] <kephu> i am a C noob
[20:20:13] <kephu> yeah VFS
[20:21:29] <lynxlynxlynx> same problem then
[20:21:37] <kephu> yeah all the borkage so far can be traced down to #ifdef HAVE_UNISTD_H
[20:21:37] <lynxlynxlynx> i forgot this is using custom makefiles
[20:21:43] <kephu> might wanna look into that
[20:22:00] <kephu> at the moment i'm just nuking them out hoping for the best
[20:22:07] <fuzzie> why not just define it?
[20:22:08] <kephu> will that bite me in the ass y/n
[20:22:23] <kephu> fuzzie: >implying I know anything about C
[20:22:44] <lynxlynxlynx> android/GEMRB_Application.mk
[20:22:55] <lynxlynxlynx> LOCAL_CPPFLAGS
[20:22:56] <kephu> okay NOW I'm over my depth
[20:22:58] <kephu> make: *** No rule to make target `jni/src/main/gemrb/core/Callback.cpp', needed by `obj/local/armeabi/objs/main/main/gemrb/core/Callback.o'. Stop.
[20:23:01] <kephu> what do
[20:23:27] <lynxlynxlynx> file list needs an update
[20:23:34] <kephu> how
[20:24:17] <lynxlynxlynx> Callback is just a header, let's see
[20:24:32] <lynxlynxlynx> delete android/GEMRB_Android.mk:166:
[20:24:44] <lynxlynxlynx> main/gemrb/core/Callback.cpp
[20:24:55] <lynxlynxlynx> in case it is not on the same line
[20:26:22] <kephu> ok wtf, deleted it, still getting the same error
[20:26:28] <kephu> is this cached somewhere?
[20:27:12] <kephu> or do i need to call it differently than ndk-build && ant debug at this point?
[20:29:13] <lynxlynxlynx> probably need to rerun
[20:29:18] <lynxlynxlynx> wait a bit, there are some other files
[20:30:05] <kephu> rerun doesnt really do it
[20:30:18] <kephu> unless you mean like "nuke from orbit rebuild from the start"
[20:31:44] <lynxlynxlynx> you need to copy the new makefile over
[20:32:01] <Seniorita> [commit] lynxlynxlynx: android: has unistd.h https://github.com/gemrb/gemrb/commit/995d3b6aa3e4a28b9043527d2cb3b6e801a15148
[20:32:03] <Seniorita> [commit] lynxlynxlynx: android: refresh file list in gemrb makefile https://github.com/gemrb/gemrb/commit/84594accbddc9a34b79c298b1e9cc736af3c1301
[20:32:59] <kephu> gah, so now i gotta revert? :D
[20:38:21] <kephu> btw re checking things out: you gotta fix SDL, too ;)
[20:43:05] <kephu> also stuff like
[20:43:07] <kephu> Creating the directory structure for the project...mkdir: cannot create directory ‘build’: File exists
[20:47:25] <lynxlynxlynx> sdl uses mercury, that's why it was untouched
[20:47:30] <lynxlynxlynx> mkdir just needs more -p
[20:49:08] <kephu> yeah
[20:56:20] <Seniorita> [commit] lynxlynxlynx: android: mkdir fixes for repeatable builds https://github.com/gemrb/gemrb/commit/99de6ce810385fc35e8b38b4666273b634ddc58f
[20:56:21] <Seniorita> [commit] lynxlynxlynx: android: also fetch SDL instead of insisting on cloning https://github.com/gemrb/gemrb/commit/5e2d2ded3b79650c382569e471cf37883ee51fc8
[20:57:06] <kephu> woop
[20:57:10] <kephu> WE'RE ON FIRE
[20:59:22] <kephu> holy crap it worked
[20:59:37] <kephu> the pre-build part i mean
[21:00:00] <kephu> oh also something that came into play trying to build it on my corporate machine
[21:00:14] <kephu> git:// links are sometimes block in corpo
[21:00:37] <kephu> https:// ones on the other hand are mostly only blocked in the corporations you dont really wanna stick around in :P
[21:02:49] <kephu> ok new one!
[21:02:57] <kephu> jni/src/main/gemrb/core/GUI/TextArea.cpp:481:71: error: 'dynamic_cast' not permitted with -fno-rtti
[21:06:47] <kephu> how do i
[21:08:20] <lynxlynxlynx> ugh
[21:09:33] <kephu> where is this option even coming from
[21:09:38] <Lightkey> you man the literal cannon
[21:09:49] <Lightkey> *giggle*
[21:13:03] <kephu> lynxlynxlynx: can the fno-rtti bit be changed anywhere?
[21:13:10] <kephu> or more to the point SHOULD IT
[21:13:27] <lynxlynxlynx> platform probably
[21:13:35] <lynxlynxlynx> have to fix something for work first
[21:16:07] <kephu> yeah no probs, I'm testing some workaround i found somewhere
[21:18:53] <kephu> ....which didnt work, obviously :D
[21:19:05] <kephu> yeah i guess i'll have to table this for now soon-ish
[21:19:11] <kephu> unless some kinda miracle happens
[21:26:07] <lynxlynxlynx> thanks, we made good progress
[21:27:14] <kephu> yeah, if gemrb_application.mk is any indication, only 30 files to go :D
[21:30:39] <lynxlynxlynx> i suspect some extra files will need to be added for the gl driver
[21:36:09] <kephu> soo that fno-rttti bit, is it anything easily fixable?
[21:38:06] <kephu> 'cause it looks like its getting overridden and/or forced in somewhere
[21:38:07] <phao> Those liches are difficult to kill... damn...
[21:38:31] <phao> Trying to do that kangaxx quest. Freaking difficult.
[21:43:00] <lynxlynxlynx> it's coming from your toolchain, so no easy workaround it seems
[21:43:59] <lynxlynxlynx> but making a trivial htaccess is currently humbling me, so still no time to look >:(
[21:44:19] <lynxlynxlynx> kde's kio borkage doesn't help
[21:45:26] <kephu> docs i came across seem to indicate rtti *is* supported, though
[21:45:53] <kephu> would like to help, but its like 11:45pm here and I got work tomorrow
[21:46:27] <kephu> welp, if you have the time to have a look at some point, I'd really appreciate it
[21:47:10] <kephu> anyways laters!
[21:47:20] <-- kephu has left IRC (Quit: Page closed)
[21:53:51] --> Aeterne has joined #gemrb
[23:48:20] <-- strycore has left IRC (Ping timeout: 256 seconds)
[23:48:33] --> strycore has joined #gemrb