#exult@irc.freenode.net logs for 11 Nov 2010 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:24:07] <-- dominus has left IRC (Quit: Leaving.)
[01:11:46] <-- Fingolfin has left IRC (Quit: Fingolfin)
[01:38:09] <-- Sevalecpp has left IRC (Quit: Leaving)
[01:42:32] --> Sevalecpp has joined #exult
[01:54:09] <-- Marzo has left IRC (Quit: Leaving.)
[01:58:33] --> Marzo has joined #exult
[02:17:13] <-- Sevalecpp has left IRC (Quit: Leaving)
[04:05:04] <-- Morde has left IRC (Read error: Connection reset by peer)
[04:45:47] --> Sevalecpp has joined #exult
[04:50:43] <-- Marzo has left IRC (Ping timeout: 240 seconds)
[07:17:35] --> Mr_Bones_ has joined #exult
[07:17:53] <Mr_Bones_> anyone feel like fixing up the desktop file before the next rc?
[07:18:19] <Mr_Bones_> sed -i \
[07:18:19] <Mr_Bones_> -e '/^Encoding/d' \
[07:18:19] <Mr_Bones_> -e '/^Icon/s/\.png//' \
[07:18:19] <Mr_Bones_> -e '/^Categories/s/Application;//' \
[07:18:19] <Mr_Bones_> desktop/exult.desktop \
[08:13:46] <wjp> thanks
[08:25:41] <Mr_Bones_> The X libs autoconf stuff is also sketchy
[08:27:30] <Mr_Bones_> --x-libraries needs to be passed to configure and http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-engines/exult/files/exult-1.2-x11link.patch?revision=1.1&view=markup still applies.
[08:32:25] <wjp> I don't understand this X/autoconf issue... I run gentoo at home, and have never needed that line
[08:33:22] <wjp> (nor have I ever needed the --x-libraries)
[08:35:07] <wjp> it would probably be sensible to overhaul the configure script at some point... but that's not my favourite activity :-)
[08:41:08] <Mr_Bones_> I bet it has something to do with --as-needed
[08:41:57] <Mr_Bones_> my LDFLAGS are: LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
[08:42:34] <Mr_Bones_> I think that's recently been the default except for -Wl,--hash-style=gnu which picks up other issues that I need to fix up for packages.
[08:44:13] <Mr_Bones_> without passing -x-libraries, x_libraries="-L$x_libraries -lX11 -lXext" is evaluated which ends up passing -L -lX11 -lXext to the linker. That's obviously missing a value to the -L argument.
[08:45:15] <Mr_Bones_> ah... you're right that the AC_PATH_XTRA doesn't seem to be needed though. I didn't add that and I wasn't sure what it did.\
[08:56:34] <wjp> hm, I've seen that -L$x_libraries go wrong once too, but couldn't reproduce it
[08:58:50] <Mr_Bones_> I'm not an expert at autoconf but I don't see anyplace that's supposed to set it in configure.ac. I patched out the -L part since it's been a while since the X libs have been in /usr/lib on gentoo.
[09:02:00] <wjp> hmm
[09:06:34] <wjp> it's being set to NONE near the start of the generate configure script for me, but I'm not sure by what
[09:07:08] <wjp> s/generate/generated/
[09:12:10] <Mr_Bones_> ah yes, that's where the --as-needed issue comes in.
[09:13:05] <Mr_Bones_> If I don't pass -x-libraries it stays NONE, but then -lX11 -lXext isn't added on the link line so the X-related symbols aren't able to be resolved by the linker.
[09:15:32] <Mr_Bones_> for example:
[09:15:35] <Mr_Bones_> xdrag.o: In function `Get_window_coords(_XDisplay*, unsigned long, int&, int&)':
[09:15:35] <Mr_Bones_> xdrag.cc:(.text+0xb6): undefined reference to `XQueryTree'
[09:15:35] <Mr_Bones_> xdrag.cc:(.text+0xc5): undefined reference to `XFree'
[09:15:35] <Mr_Bones_> xdrag.cc:(.text+0xf6): undefined reference to `XGetWindowAttributes'
[09:16:32] <Mr_Bones_> well, I hope this helps because now I have to go deal with a crying baby. later. ;-)
[09:26:08] --> Colourless has joined #exult
[09:26:08] --- ChanServ gives channel operator status to Colourless
[09:35:15] --> SiENcE has joined #exult
[09:44:45] <-- SiENcE has left IRC (Quit: @all: cya)
[10:03:17] <wjp> ah, yes, of course
[10:04:43] <wjp> I believe Fedora 14 has that enabled by default? I'll have to try it on there
[10:37:25] --> SiENcE has joined #exult
[11:38:42] --> dominus has joined #exult
[11:38:42] --- ChanServ gives channel operator status to dominus
[11:44:44] <dominus> wjp, do you know/remember why we don't preserve file dates when zipping the savegames?
[11:45:44] <dominus> I noticed that before but forgot about it, but when I looked at the savegame of the test of ethic reporter I couldn't determine at which date the savegame was made
[11:46:41] <wjp> isn't that stored in the savegame itself somewhere?
[11:46:47] <dominus> newgame.ver and exult.ver at least tell you with which version the game was started and saved with but at least a save date would be nice to have
[11:47:37] <dominus> ah yes it seems it gets saved somewhere
[11:47:51] <wjp> in saveinfo
[11:48:41] <wjp> not human readable, but the first byte is minute, second hour, third day of month, fourth month, and fifth+sixth year
[11:49:03] <dominus> ok, and our save/load gump reads it from there
[11:49:14] <dominus> nothing to complain anymore... :)
[11:49:50] <wjp> ah, so that ethicality thing was just an ancient snapshot; good :-)
[11:49:59] <dominus> yup :)
[11:50:16] <dominus> I was surprised to see that it was made with a snapshot from 2007 :)
[11:50:38] <dominus> doesn'T solve your acting up laptop though :)
[11:50:54] <wjp> :-)
[11:51:18] <wjp> I've been meaning to ask this for years, but does a German keyboard layout need a shift for a ' character?
[11:51:36] <dominus> you've actually asked me before :)
[11:51:41] <wjp> ah :-)
[11:51:53] <dominus> and yes, that's why the capital T always happens
[11:52:04] <wjp> I'll try to remember this time :-)
[11:52:36] <wjp> I do wonder what's broken with exult on my laptop... I guess I should first run valgrind
[11:53:27] <dominus> it was better when I used ´but I had to unlearn that, because ´isn't very good when writing the docs xml and similar stuff :)
[12:04:26] <wjp> Mr_Bones_: I committed the changes to exult.desktop
[12:23:34] --> Marzo has joined #exult
[12:45:08] <-- Kirben has left IRC ()
[13:00:55] --> Morde has joined #exult
[13:02:50] <dominus> hmm, maybe I should write a FAQ entry for the new savegame location and such.... "Where have my savegames gone?"
[13:03:16] * dominus has to do some housework and tries to think of stuff he'd rather do...
[14:37:10] <-- Sevalecpp has left IRC (Quit: Leaving)
[15:54:54] --> Sevalecpp has joined #exult
[17:45:36] --> Fingolfin has joined #exult
[17:45:36] --- ChanServ gives channel operator status to Fingolfin
[17:52:06] <Mr_Bones_> --enable-data Create the data files [default yes]
[17:52:15] <Mr_Bones_> what does that configure option actually do?
[18:00:48] <-- SiENcE has left IRC (Quit: @all: cya)
[18:22:52] --> matt_o has joined #exult
[18:34:18] <wjp> Mr_Bones_: I think it creates the .flx files in data/
[18:34:53] <wjp> I think the reason it was added was to allow you to skip that step if for whatever reason you can't (or don't want to) build the tools that create the .flx files
[18:35:16] <wjp> (but you'd then have to create those separately, since they are required to run exult)
[18:36:15] <wjp> (I'll be gone the rest of the evening)
[20:43:59] <dominus> if we taggle the configure stuff, we should also fix the flex thing that goes wrong for some people with too old flex...
[21:21:56] --> SiENcE has joined #exult
[21:26:27] <-- RadoS has left IRC (Remote host closed the connection)
[21:30:45] <-- SiENcE has left IRC (Quit: cya @all)
[21:36:17] <-- dominus has left IRC (Quit: Leaving.)
[21:37:14] <-- Fingolfin has left IRC (Quit: Fingolfin)
[21:38:31] --> dominus has joined #exult
[21:38:32] --- ChanServ gives channel operator status to dominus
[22:05:02] <-- Baastuul_ has left IRC ()
[22:15:07] --> Kirben has joined #exult
[22:15:07] --- ChanServ gives channel operator status to Kirben
[22:22:03] --> RadoS has joined #exult
[22:22:52] --> SiENcE has joined #exult
[22:45:50] --> Rottingbeef has joined #exult
[23:27:35] <-- Kirben has left IRC ()
[23:29:01] --> Kirben has joined #exult
[23:29:02] --- ChanServ gives channel operator status to Kirben
[23:34:46] --> matt_o_ has joined #exult
[23:41:04] <-- matt_o has left IRC (*.net *.split)
[23:42:38] <-- SiENcE has left IRC (Ping timeout: 245 seconds)