IRC logs for #opendune on OFTC at 2010-01-02
            
00:00:29 <planetmaker> stdio.h:int snprintf(char * __restrict, size_t, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(snprintf);
00:00:38 <Xaroth> O_O
00:01:50 <Xaroth> (I'm glad I'm not supposed to know what that means)
00:07:31 <glx> ok I can try something
00:08:14 <planetmaker> sleep... ;-)
00:10:52 <glx> http://glx.dnsalias.net:8080/opendune/fix26.diff <-- try this
00:11:25 <glx> hoping it won't break other OSX ;)
00:11:34 <Xaroth> heh
00:13:11 <planetmaker> that has a suprising healthy effect so far.
00:13:26 <planetmaker> [Compiling] decompiled/cs__167E.c
00:13:28 <planetmaker> In file included from decompiled/decompiled.h:15,
00:13:29 <planetmaker> from decompiled/cs__167E.c:5:
00:13:31 <planetmaker> decompiled/../src/os/strings.h:31: warning: type defaults to ‘int’ in declaration of ‘snprintf’
00:13:32 <planetmaker> ^^ these warnings remain.
00:14:00 <Xaroth> + #else /* __APPLE__ */
00:14:00 <Xaroth> + extern snprintf(char * __restrict, size_t, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(snprintf);
00:14:03 <glx> of course I forgot the int :)
00:14:04 <Xaroth> extern int snprintf?
00:14:20 * glx started the tiger VM to check
00:26:53 <Xaroth> I think the tiger ate glx
00:27:18 <Xaroth> or the other way around, ofcourse
00:27:47 <glx> it's just slow ;)
00:28:31 <glx> seems to compile on 10.4.8 with my diff
00:28:38 <Xaroth> goodeh
00:28:46 <Xaroth> now to get planetmaker to test it on 0.6 :o
00:28:48 <Xaroth> er, 10.6
00:29:03 <glx> he tested already ;)
00:30:39 <glx> Xaroth: feature request: logs for a given file
00:31:07 <Xaroth> hm
00:31:16 <Xaroth> would first have to build a repo browser then
00:31:27 <glx> related I think yes ;)
00:32:01 <Xaroth> good idea :)
00:41:57 <glx> planetmaker: refreshed diff
00:49:17 <Xaroth> svn_ls is easier than I thought
00:49:41 <Xaroth> http://paste.xaroth.nl/?show=38
00:55:46 <Xaroth> hrnf
00:56:02 <Xaroth> how to detect if it's a dir being requested, and how a file.
00:56:22 <glx> nice macport has SDL 1.2.8 and SDL-devel 1.3.0
01:10:47 <glx> compiling sdl will take ours in the VM
01:29:27 <Xaroth> ah, this works
01:29:36 <Xaroth> root@nexus:/var/repos/svn/opendune# svn ls file:///var/repos/svn/opendune/trunk/src/os/math.h --verbose -r 680
01:29:39 <Xaroth> 680 glx 218 Dec 06 23:34 math.h
01:29:40 <Xaroth> root@nexus:/var/repos/svn/opendune# svn ls file:///var/repos/svn/opendune/trunk/src/os/math.h --verbose -r 679
01:29:44 <Xaroth> root@nexus:/var/repos/svn/opendune# svn ls file:///var/repos/svn/opendune/trunk/src/os/math.h --verbose -r 551
01:29:47 <Xaroth> 552 glx 206 Nov 21 23:45 math.h
01:29:48 <Xaroth> root@nexus:/var/repos/svn/opendune# svn ls file:///var/repos/svn/opendune/trunk/src/os/math.h --verbose -r 542
01:29:51 <Xaroth> 543 glx 133 Nov 21 18:11 math.h
01:29:54 <Xaroth> svn: Unable to find repository location for 'file:///var/repos/svn/opendune/trunk/src/os/math.h' in revision 542
01:30:00 <Xaroth> (sorry for spam hilighting :P )
01:30:10 <Xaroth> now to figure out how to get php to do the same -_-
01:31:05 <Xaroth> so basically, for a file, I want to do the following (at least)
01:31:43 <Xaroth> 1: get last revision (-r HEAD) ; 2: keep getting revision-1 until no result ; 3: get log messages for each revision found
01:32:47 <Xaroth> OR.. i think
01:33:00 <Xaroth> use svn log o_O
01:33:21 <Xaroth> which... might be a bit easier to do o_O
01:33:44 <glx> yes svn log works too :)
01:33:59 <Xaroth> I'll stick to svn log
01:34:01 <Xaroth> less queries
01:34:07 <Xaroth> == less stress on server
01:34:32 <glx> and I guess you already use it for main log page
01:34:43 <Xaroth> er, separate call :)
01:34:56 <Xaroth> calls, even
01:35:05 <Xaroth> it calls once to find out last revision (needed for pagination calculation)
01:35:49 <Xaroth> then calls log on <last revision> to <last revision - revisions per page> , keeping in mind which would be the last revision for the current page
01:36:27 <Xaroth> for changelog it calls log to get the logmessage
01:36:40 <Xaroth> once, or twice when doing a diff over multiple revisions
01:39:29 <Xaroth> repo.php will do the standard one for the information, it'll do a LS to find the contents of the current browsed directory (/ if not supplied)
01:39:40 <Xaroth> if it's asked a file, it'll do a log on that file from start to end
01:41:46 <Xaroth> right, most of the code done, time to sleep
01:41:48 <Xaroth> and finish tomorrow
04:46:44 *** glx has quit IRC
13:41:05 *** glx has joined #openDune
13:41:05 *** ChanServ sets mode: +o glx
13:41:20 <glx> hello
13:43:54 <Xaroth> o/
14:03:02 <glx> planetmaker: does clean libemu compile on OSX ?
14:03:11 <planetmaker> moin
14:03:17 <planetmaker> glx: libemu compiles
14:03:24 <glx> because make OSX:=1 fails for me on 10.4.8
14:03:25 <planetmaker> but opendune fails with libemu
14:03:46 <planetmaker> I was too tired last night to follow up on that back then :-)
14:03:52 <glx> gcc doesn't know -shared
14:04:14 <planetmaker> well. I called make in extra/libemu, building r811.
14:04:17 <planetmaker> without problem
14:04:45 <glx> maybe it's because my gcc then (4.0.1)
14:04:57 <planetmaker> I can try 4.0.1 here, too
14:05:00 <planetmaker> let's see
14:05:15 <glx> it's the xcode one
14:05:42 <glx> I can try a macport one (but that takes time)
14:06:38 <glx> btw libemu doesn't like libsdl-devel 1.3.0 :)
14:06:51 <glx> but there's no problem with libsdl 1.2.14
14:07:25 <glx> well it's not libemu it's gcc (an enum has an extra comma it seems)
14:07:43 <planetmaker> yes, gcc 4.0 fails here
14:07:44 <glx> and that's not valid C
14:08:14 <planetmaker> ld: warning: in /opt/local/lib/libSDL.dylib, file is not of required architecture <-- with that
14:08:41 <glx> for libemu or opendune ?
14:08:56 <planetmaker> hm... now it broke... libemu
14:11:22 <planetmaker> ah, no
14:11:31 <planetmaker> wrongly reset CC and CXX vars
14:12:59 <planetmaker> my (linking) problem is this with opendune:
14:13:01 <planetmaker> Undefined symbols:
14:13:03 <planetmaker> "_emu_caption", referenced from:
14:13:05 <planetmaker> _SDL_main in main.o
14:13:06 <planetmaker> ld: symbol(s) not found
14:13:26 <glx> it should be in libemu
14:13:51 <planetmaker> well, that's what I assume, too. How do I get a symbol list from libemu as I built it?
14:14:41 * glx tries to install apple-gcc42 from macports
14:15:08 <planetmaker> now, that'll be interesting ;-)
14:23:01 <planetmaker> ok, as usual, commenting out the emu_caption thing solves the issue.
14:25:54 <glx> using the latest libemu and copied libemu libs from libemu to opendune ?
14:26:24 <planetmaker> I didn't copy from trunk/extra to any other place. Do I have to?
14:26:47 <glx> once built you have to copy the lib binaries to opendune root
14:27:01 <planetmaker> the binary root
14:27:10 <planetmaker> of opendune, where it resides?
14:27:22 <glx> opendune root :)
14:27:32 <glx> where is the Makefile
14:27:36 <planetmaker> ok
14:27:52 <planetmaker> so where there's also the binary of it (if being built).
14:29:03 <planetmaker> Sorry, yes, you're right.
14:29:34 <planetmaker> I somehow assumed that it linked to the libemu in the extra dir, and not to another one (which I obviously had there ,dating back to october)
14:29:48 <glx> http://wiki.opendune.org/Development/Linux tells everything ;)
14:30:02 <glx> svn checkout svn://svn.opendune.org/trunk
14:30:02 <glx>
14:30:02 <glx> When the checkout is done, copy libemu.so and libemu.a to this directory and simply run:
14:30:16 <planetmaker> linking problem gone :-) Symbolically libraries linked... to that dir
14:30:31 <glx> yes that's the other option ;)
14:30:50 <planetmaker> it's better and easier. Any update to libemu will automagically be in opendune :-)
15:41:33 <glx> hmm ok apple-gcc42 install failed (-arch option unknown)
23:39:16 <Xaroth> har har
23:39:29 <Xaroth> apparently svn ls doens't show externals
23:40:31 <Xaroth> I'm done with directory handling
23:40:35 <Xaroth> so you can traverse the repository