[Freeciv-Dev] (PR#40443) [Freeciv-Port] 2.1.6 OSX SDL
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40443 [EMAIL PROTECTED] - Mon Aug 18 13:04:45 2008]: Responding to myself... Le 17 août 08 à 01:03, François Marlier a écrit : URL: http://bugs.freeciv.org/Ticket/Display.html?id=40443 Just a few things though, I have no clue how to define NETWORK_CAPSTRING_MANDATORY and NETWORK_CAPSTRING_OPTIONAL so I both set these to for now. Found in 'version.in', I tried setting NETWORK_CAPSTRING_MANDATORY to +2.1g and OPTIONAL to but doing will break 'Start New Game' and 'Load Game' functionnalities. What should I do? Excuse my curiousity, but why do want to define these? :) Also what is that GGZ network thing? I left them undef, if some of you can provide some basic #define values (or hints on places I can lurk to get those, Makefile.in maybe?) so I can test that GGZ thing with that port, I'm sure it will be a major improvement (is the old game tracker dead or? I can't join it). Is GGZ, GTK only for now or can it be used with SDL? Yes, GGZ is GTK-only for now. SDL support is on the wishlist but not on the roadmap yet... Oh, and if I can put right values for NEXT_STABLE_VERSION and RELEASE_MONTH or would it be overkill? Found in 'version.in', so is now fixed. cheers, Francois And... one day I'll have that gettext nls thing working! I got rid of the embed gettext 0.17 framework and compiled with provided intl, I also discovered that it needs charset.alias directory as LIBDIR... one day... This broken nsl really annoyed me, I did some progress (I guess). I generated .mo files with a recursive script using gettetxt 'msgfmt' command (basicaly doing a 'msgfmt $datadir/locale/$language_prefix/ LC_MESSAGES/freeciv.mo $filename.po'). PACKAGE is defined to freeciv so I guess Set the right environment value for LC_MESSAGES (fr_FR.ISO8859-1) on my box. Took correct locale.alias from the X11 install on my box. Generated charset.alias (though it created only a * UTF-8 line, so I changed it to * ISO-8859-1) because OS wide /usr/lib/charset.alias was empty (is it safe to leave it empty?). Put charset.alias and locale.alias in the locale folder and defined LIBDIR, LOCALDIR and LOCALE_ALIAS_PATH to $path_to_data_folder/ locale Still no go... Now I'm wondering if 'plural.y' has to be compiled (In case it has to be compiled by it's own I already know I have to use bison instead of yacc to fix a '%pure_parser' syntax error) or the plural.c (line 20): #line 1 plural.y is making some kind of inclusion so 'plural.y' doesn't have to be marked for compilation? What gettext version/package are you using? I myself got nls working on my ancient iBook after a year or so of struggling. ;) Best, ~Daniel ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] (PR#40443) [Freeciv-Port] 2.1.6 OSX SDL
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40443 Responding to myself... Le 17 août 08 à 01:03, François Marlier a écrit : URL: http://bugs.freeciv.org/Ticket/Display.html?id=40443 Just a few things though, I have no clue how to define NETWORK_CAPSTRING_MANDATORY and NETWORK_CAPSTRING_OPTIONAL so I both set these to for now. Found in 'version.in', I tried setting NETWORK_CAPSTRING_MANDATORY to +2.1g and OPTIONAL to but doing will break 'Start New Game' and 'Load Game' functionnalities. What should I do? Also what is that GGZ network thing? I left them undef, if some of you can provide some basic #define values (or hints on places I can lurk to get those, Makefile.in maybe?) so I can test that GGZ thing with that port, I'm sure it will be a major improvement (is the old game tracker dead or? I can't join it). Is GGZ, GTK only for now or can it be used with SDL? Oh, and if I can put right values for NEXT_STABLE_VERSION and RELEASE_MONTH or would it be overkill? Found in 'version.in', so is now fixed. cheers, Francois And... one day I'll have that gettext nls thing working! I got rid of the embed gettext 0.17 framework and compiled with provided intl, I also discovered that it needs charset.alias directory as LIBDIR... one day... This broken nsl really annoyed me, I did some progress (I guess). I generated .mo files with a recursive script using gettetxt 'msgfmt' command (basicaly doing a 'msgfmt $datadir/locale/$language_prefix/ LC_MESSAGES/freeciv.mo $filename.po'). PACKAGE is defined to freeciv so I guess Set the right environment value for LC_MESSAGES (fr_FR.ISO8859-1) on my box. Took correct locale.alias from the X11 install on my box. Generated charset.alias (though it created only a * UTF-8 line, so I changed it to * ISO-8859-1) because OS wide /usr/lib/charset.alias was empty (is it safe to leave it empty?). Put charset.alias and locale.alias in the locale folder and defined LIBDIR, LOCALDIR and LOCALE_ALIAS_PATH to $path_to_data_folder/locale Still no go... Now I'm wondering if 'plural.y' has to be compiled (In case it has to be compiled by it's own I already know I have to use bison instead of yacc to fix a '%pure_parser' syntax error) or the plural.c (line 20): #line 1 plural.y is making some kind of inclusion so 'plural.y' doesn't have to be marked for compilation? ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#40443) [Freeciv-Port] 2.1.6 OSX SDL
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40443 Hello, I have a new OSX version in the hood ^^ You all done a marvelous job, a long list of hacks I had to perform previously are now gone! And guess what? File loading is working great! 2.1.6 looks like a great version! Just a few things though, I have no clue how to define NETWORK_CAPSTRING_MANDATORY and NETWORK_CAPSTRING_OPTIONAL so I both set these to for now. Also what is that GGZ network thing? I left them undef, if some of you can provide some basic #define values (or hints on places I can lurk to get those, Makefile.in maybe?) so I can test that GGZ thing with that port, I'm sure it will be a major improvement (is the old game tracker dead or? I can't join it). Oh, and if I can put right values for NEXT_STABLE_VERSION and RELEASE_MONTH or would it be overkill? cheers, Francois P-S : I built it against 10.2 so maybe there are chances it will run on Jaguar and Panther, it's running ok on Tiger MacIntel for now. I didn't test it yet on PPC but I'll be able to do it later this week. I can't tell for Leopard (if someone has spare 10.5 box send it to me :P). And... one day I'll have that gettext nls thing working! I got rid of the embed gettext 0.17 framework and compiled with provided intl, I also discovered that it needs charset.alias directory as LIBDIR... one day... ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev