--- Log opened Fri May 30 00:00:09 2014 01:28 #navit: < Navit> The following compiles failed: http://download.navit-project.org/logs/navit/wince_arm/svn/navit-svn-5792.failed 01:28 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 01:53 -!- rd_ [~rd@p57B49B1A.dip0.t-ipconnect.de] has joined #navit 01:57 -!- _rd [~rd@p57B49011.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 04:35 -!- rd_ [~rd@p57B49B1A.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 06:05 -!- xenos1984 [~quassel@131.237.196.88.dyn.estpak.ee] has joined #navit 07:02 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has joined #navit 07:54 -!- rd_ [~rd@p57B49B1A.dip0.t-ipconnect.de] has joined #navit 07:56 -!- Sicelo [Sicelo@unaffiliated/sicelo] has quit [Ping timeout: 240 seconds] 07:57 -!- Sicelo [Sicelo@gets.high.on.ircspeed.net] has joined #navit 08:21 #navit: < xenos1984> hm... looks like i partially traced back why navit does not translate some of the menu items to estonian (or other languages - at least for me), even though there are translations on the .po.in file 08:21 #navit: < xenos1984> - the translations are missing from the .mo file 08:22 #navit: < xenos1984> - they are also missing from the .po file generated by cmake 08:22 #navit: < xenos1984> - they are missing from the navit.pot file which is used to filter from .po.in to .po 08:23 #navit: < xenos1984> - they appear only in navit_shipped.xml and nowhere else in the code 08:23 #navit: < xenos1984> - they do not appear in the navit_shipped.c generated from navit_shipped.xml, which should extract those strings to be translated 08:24 #navit: < xenos1984> - the navit_shipped.glade just seems to be a copy of navit_shipped.xml, so i have no idea what it does 08:25 #navit: < xenos1984> - navit_shipped.(c|glade) are generated from the source code by some cmake magic that i don't understand 08:25 #navit: < xenos1984> so from here on i have no idea how to get any further... 08:55 -!- drlizau [~liz@billiau.net] has joined #navit 09:25 -!- j_f-f [~quassel@orion2589.server4you.de] has quit [Ping timeout: 252 seconds] 09:27 -!- j_f-f [~quassel@orion2589.server4you.de] has joined #navit 10:51 #navit: < woglinde> hi xenos 10:53 #navit: < woglinde> xenos what items are they? 11:18 #navit: < xenos1984> hi woglinde, for example, Actions, Settings, Route, About, Quit... 11:19 #navit: < xenos1984> looks like those which are only in the internal gui layout in the cdata section of navit_shipped.xml 11:22 #navit: < xenos1984> i guess the string(REGEX REPLACE "...CDATA" " " OUTPUT_LINES "${OUTPUT_LINES}") rule in navit_xml_parser_glade.cmake is supposed to catch them, but i can't see how this should work 11:25 #navit: < woglinde> hm glade is legacy anyway 11:26 #navit: < woglinde> maybee you could look up how it was made with autotools 11:26 #navit: < woglinde> and port that to cmake 11:28 #navit: < xenos1984> i think i may have found the solution... i will give it a try 11:29 #navit: < xenos1984> apparently i need to install intltool 11:32 #navit: < xenos1984> hm... that did not fix it 11:33 #navit: < xenos1984> woglinde: as far as i can see autotools uses just the same command to generate navit.pot 11:34 #navit: < xenos1984> apparently XGETTEXT_GLADE is not set, and so the navit_shipped.glade is not included 11:45 #navit: < xenos1984> hm... manually adding navit_shipped.glade to the list of sources did not solve the problem either... 11:46 #navit: < xenos1984> /data/C/navit/navit/build/po/navit_shipped.glade:9: The root element is not allowed in a valid Glade file 11:47 #navit: < xenos1984> here we go... apparently xgettext fails to parse navit_shipped.glade 12:05 #navit: < xenos1984> wth? for whatever reason this crazy cmake logic turned & into & without the semicolon in navit_shipped.glade, and so the file cannot be read anymore... 12:07 #navit: < xenos1984> the call to sed by the autotools version does not have this effect 12:18 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 12:30 #navit: < xenos1984> ok, fixed the semicolon problem, but still get the "The root element is not allowed in a valid Glade file" error and the file is not interpreted... 13:15 #navit: < xenos1984> so... apparently gettext version 18.1.1 (used in ubuntu 12.04) swallowed more or less everything, but version 18.3.1 (used in ubuntu 14.04) comes with different glade parsers and checks for a valid glade file 13:17 #navit: < woglinde> haha 13:17 #navit: < woglinde> damn tools 13:17 #navit: < woglinde> *g* 13:18 #navit: < xenos1984> indeed ;) why do people change them to do what they are supposed to do, instead of just letting them do what they are actually used for? ;) 13:19 #navit: < xenos1984> it's like making it impossible to use a screwdriver as a hammer, just to support a larger number of screws... 13:22 #navit: < woglinde> hm smells like cut and paste error 13:22 #navit: < woglinde> + {".route", "destroy", "", "", "", "", request_route_destroy}, 13:22 #navit: < woglinde> + {".route", "dup", "", "", "", "", request_route_dup}, 13:22 #navit: < woglinde> + {".search_list","destroy", "", "", "", "", request_search_list_destroy}, 13:22 #navit: < woglinde> + {".search_list","destroy", "", "", 13:22 #navit: < woglinde> in revision 5791 13:30 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has quit [Ping timeout: 276 seconds] 14:09 -!- woglinde [~henning@24-134-58-61-dynip.superkabel.de] has joined #navit 14:15 #navit: < woglinde> re 16:39 -!- tryagain [~tryagain@178.216.76.89] has joined #navit 16:40 -!- aboutGod [~aboutGod@static-72-66-66-50.washdc.fios.verizon.net] has joined #navit 16:45 -!- aboutGod [~aboutGod@static-72-66-66-50.washdc.fios.verizon.net] has left #navit [] 18:01 #navit: < tryagain> xenos1984 would something like this help you? http://pastebin.com/HS8yhMPc 18:03 #navit: < xenos1984> tryagain: i guess it would ;) i had the same thought, but i was not sure whether removing the newlines would break something, since they are also present in the .po files 18:03 #navit: < tryagain> ah...:( 18:04 #navit: < xenos1984> tryagain: and i guess also the names of the vehicle profiled need to be translated - they are not cought by this rule 18:04 #navit: < xenos1984> *profiles 18:04 #navit: < tryagain> yep 18:08 #navit: < xenos1984> i thought maybe a short xslt file could be used to make a real glade output file, but i haven't looked up yet what format glade / gettext would expect 18:10 #navit: < tryagain> if we could use xslt, we can do c output 18:10 #navit: < xenos1984> ah, good point, indeed 18:10 #navit: < tryagain> currently, navit is able to compile without xslt processor... But does anybody use this? 18:11 #navit: < woglinde> hm 18:11 #navit: < xenos1984> hm... good question... i also wonder whether multiline strings would work this way in c output 18:11 #navit: < tryagain> anyway, navit.xml will not be produced if no xslt processor present 18:47 -!- woglinde [~henning@24-134-58-61-dynip.superkabel.de] has quit [Ping timeout: 255 seconds] 19:22 -!- mlechner [~mlechner@p54BA901B.dip0.t-ipconnect.de] has joined #navit 19:48 #navit: < tryagain> xenos1984 http://pastebin.com/kxyZGaBS 19:50 #navit: < xenos1984> tryagain: looks good, let me try that :) 19:57 -!- mlechner [~mlechner@p54BA901B.dip0.t-ipconnect.de] has quit [Quit: Verlassend] 20:07 #navit: < xenos1984> tryagain: great, almost perfect! only one is not cought... let me see... 20:12 #navit: < xenos1984> now this looks fancy 20:12 #navit: < xenos1984> in gui_internal_command.c is the string "Latitude Longitude" 20:13 #navit: < xenos1984> in all translation files there is "Longitude Latitude" 20:13 #navit: < xenos1984> so the patch is working perfectly ;) 20:14 #navit: < tryagain> iirc there was a misspelling in internal gui 20:14 #navit: < xenos1984> ah, i see 20:20 -!- drlizau [~liz@billiau.net] has joined #navit 20:20 #navit: < xenos1984> looks like Latitude Longitude is the correct order 20:20 #navit: < xenos1984> so i guess one needs to change it in the translations... 20:21 #navit: < xenos1984> i wonder whether there is a quick and simpler way to do this than reversing the order manually everywhere 20:30 #navit: * xenos1984 is trying it with sed 20:30 #navit: * tryagain wonders if all exsisting translations really require this chanage 20:31 #navit: < tryagain> * some may have already fixed order in translation 20:32 #navit: < xenos1984> according to grep from the newest svn they all need it 20:32 #navit: < xenos1984> do you think in launchpad there could be some translation which is not in svn yet? 20:36 #navit: < tryagain> i mean somebody could have entered properly ordered string in their language, while translating our string having wrong order 20:37 #navit: < xenos1984> hm... possible... i guess that means one would have to check all of them by hand... 20:38 #navit: < xenos1984> but do you think turning them all around for now would improve things or make them worse? at least estonian needs a turn ;) 20:42 #navit: < tryagain> well, in general i guess it's better to leave unknown languages as is and let people on launchpad to do the job 20:43 #navit: < tryagain> we probably have to ping kazer to update pot on launchpad 20:47 #navit: < xenos1984> hm... i see... 20:50 #navit: < Navit> mdankov * r5793 /trunk/navit/CMakeLists.txt /trunk/navit/cmake/navit_xml_parser.cmake /trunk/navit/po/CMakeLists.txt: Fix:core:Do not depend on XGettextGlade ability to process broken glade input to fetch translatable strings from navit_shipped.xml. http://sourceforge.net/p/navit/code/5793/ 20:51 #navit: * tryagain cleaned it up a bit before commiting 20:51 #navit: < xenos1984> good :) 20:55 -!- woglinde [~henning@e179068183.adsl.alicedsl.de] has joined #navit 20:57 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 21:12 -!- tryagain [~tryagain@178.216.76.89] has quit [Remote host closed the connection] 21:16 #navit: < xenos1984> huh? what's wrong now? the current svn version does not show me any translations 21:17 #navit: < xenos1984> oh, we still need to search for gettext in the main CMakeLists.txt! 21:27 #navit: < Navit> xenos1984 * r5794 /trunk/navit/CMakeLists.txt: Fix:Core:Re-enable search for gettext in main CMakeLists.txt. http://sourceforge.net/p/navit/code/5794/ 21:27 -!- _rd_ [~rd@p57B4840D.dip0.t-ipconnect.de] has joined #navit 21:29 -!- rd_ [~rd@p57B49B1A.dip0.t-ipconnect.de] has quit [Ping timeout: 265 seconds] 21:47 -!- _rd_ [~rd@p57B4840D.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 22:09 -!- xenos1984 [~quassel@131.237.196.88.dyn.estpak.ee] has quit [Remote host closed the connection] 22:34 -!- latouche [~Latouche@reverse-169.fdn.fr] has quit [Read error: Connection reset by peer] 22:58 -!- woglinde [~henning@e179068183.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] --- Log closed Sat May 31 00:00:09 2014