**** BEGIN LOGGING AT Sun Jul 11 02:59:57 2010 Jul 11 03:09:51 I guess it isn't an industrial temp part :-) Jul 11 03:11:58 ~~~ Jul 11 03:20:00 is anyone here using agar? Jul 11 03:20:28 hborders: yes Jul 11 03:20:39 tman_mac: sweet. you are a lifesaver Jul 11 03:20:44 hehe ;) Jul 11 03:21:00 tman_mac: does it work in opengl mode? Jul 11 03:21:13 http://pastebin.com/LGQmsjBc Jul 11 03:21:19 This is the file I'm working with right now Jul 11 03:21:31 notice the comment about AG_VIDEO_OPENGL Jul 11 03:21:43 hborders: No, it doesn't support GLES currently. However I have been considering adding a GLES driver Jul 11 03:22:09 right now it just uses some OpenGL features that don't exist in GLES.. though I suspect it could be ported easily Jul 11 03:22:20 tman_mac: ok, cool. I wish I knew GLES so I could help Jul 11 03:22:46 second question: how are you starting agar? Can you post some examples of your inits? Jul 11 03:22:49 for now the sdl_fb driver is probably fine for most applications Jul 11 03:23:03 lemme see Jul 11 03:23:10 I'm getting flicker right now Jul 11 03:23:29 also, the hello.c app was leaving cheese when I would drag the window around Jul 11 03:23:49 I'm a total noob at agar. I'll learn the api once I'm sure I can display a clean window Jul 11 03:24:24 do you think that gles would improve performance/efficiency or not make much of a difference? Jul 11 03:24:44 the way I'm using agar is integrating it into an existing SDL application, so I grab SDL events and feed agar the ones I think it needs (I recommend this so you can trap SDL_ACTIVEEVENTs and handle your app being deactivated/reactivated) Jul 11 03:25:42 hborders: if you have somthing that's being updated constantly, it could help.. if it's mostly static, it probably won't matter.. Jul 11 03:26:24 tman_mac: I'm writing a twitter client. When scrolling, I'm guessing there would be a performance improvement Jul 11 03:26:35 yes I could see that Jul 11 03:26:41 tman_mac: Ok, so you wrote a custom event loop then Jul 11 03:27:08 tman_mac: what about initializing agar? that's my main concern. What flags did you set, and what flags won't work at all Jul 11 03:29:03 pasting some code Jul 11 03:29:47 thanks Jul 11 03:30:05 I'm happy to dump all of this onto the webosinternals wiki Jul 11 03:30:26 and clean it up a little into a hello agar for the pre Jul 11 03:31:14 :) Jul 11 03:31:16 http://webos-internals.pastebin.com/3z2vfAkU Jul 11 03:32:21 note that I create a surface in memory for Agar instead of directly using the screen.. but you could do that too if you used SDL_SetVideoMode (with w,h being 0,0) instead of CreateRGBSurface Jul 11 03:32:55 (I do that because I'm using GLES elsewhere in my app.. if you aren't don't worry about it :p) Jul 11 03:33:29 and the EventToAG() function.. a little ugly but necessary. Taken directly from agar source (the developer recommended I do this) Jul 11 03:38:23 I'm just reading through and trying to process this. it makes sense though Jul 11 03:39:41 yeah. questions? Jul 11 03:40:31 well first off, do you mind me shrinking this to its essence and putting up a wiki article about it? Jul 11 03:40:40 this could be a really great start for other people like me Jul 11 03:41:01 no not at all.. that's great. I was thinking of doing that if I ever got around to it ;) Jul 11 03:41:46 I recommend keeping in the SDL_ACTIVEEVENT stuff as an example, since many applications need to do that Jul 11 03:46:42 yeah, that was my plan Jul 11 03:47:07 that has to do with the app getting card-ified right? Jul 11 03:47:19 yeah Jul 11 03:47:44 and it has to re-draw itself on a SDL_VIDEOEXPOSE event Jul 11 03:50:50 I think other code just does an sdl display call right? Jul 11 03:51:04 I suppose there's some agar equivalent to tell agar to redraw itself Jul 11 03:53:13 hborders: yeah. for non-gl you'd probably use SDL_Flip(). for agar look for AG_WidgetUpdate() (I think) Jul 11 03:53:17 * bhuey waits for the Sprint update Jul 11 03:53:19 join #webos Jul 11 03:53:22 bah Jul 11 03:53:26 whoops :/ Jul 11 03:54:21 tman_mac: ok, well I'll try and review this and post something on the wiki. hopefully it'll help other people get started too. Jul 11 03:54:31 hborders: sounds great :) Jul 11 03:55:27 tman_mac: one last thing: is agar's use of opengl transparent to me as the consumer? If I write a custom control, does it have to use opengl commands to render or something? Or does agar have its own drawing apis that it translates into sdl or opengl? Jul 11 03:56:07 hborders: the latter. it's a pretty well-done library Jul 11 03:56:54 tman_mac: sah-weet. I'm surprised that palm doesn't just include agar with their pdk stuff Jul 11 03:57:26 tman_mac: really, I'm surprised palm doesn't just buy the widk and repackage it as pdk 2.0 Jul 11 03:57:39 lol Jul 11 03:57:48 widk is great Jul 11 03:58:01 yeah, I'm blown away by all the libs it has Jul 11 03:58:25 and I'm glad I was able to get one put in Jul 11 03:58:54 yup Jul 11 03:59:24 the whole collaborative OSS model really works for this situation :) Jul 11 04:01:20 hey everyone ... don't mean to interupt the conversation, but have an update to save/restore...anyone working on Preware? want to push an update Jul 11 04:03:10 guess that give me my answer! :-) Jul 11 04:03:58 heheh.. I'm not :p Jul 11 04:05:31 rod,you there? Jul 11 04:08:56 well,so it's in the logs, I was not able to replicate the NAN error,tried to reinstall the warthog-69 with gov5.6, all good this time, put F105,no problems at all either Jul 11 04:09:08 isolated issue I guess Jul 11 04:09:52 didn't we already know the "nan error" was because of jhos code in that one version? Jul 11 04:13:16 hey now Jul 11 04:13:27 it was 4am :p Jul 11 04:13:43 and I fixed it the next day Jul 11 04:13:49 pffft :) Jul 11 04:13:56 people went batshit crazy about it though Jul 11 04:13:59 for some reason Jul 11 04:14:04 I know Jul 11 04:14:04 they came outta the woodworks to point it out Jul 11 04:14:05 haha Jul 11 04:14:07 lol Jul 11 04:14:20 guys.. we are soon to have arch support in WIDK :) Jul 11 04:14:35 my answer is the same as bender's Jul 11 04:15:11 what, you're gonna bend it? Jul 11 04:15:14 arch as in the scm arch or multiplatform build? Jul 11 04:15:57 jhowirc: multiplatform. armv6 is working for me now. with some work on extracting the rootfs for i686, it could be added easily Jul 11 04:16:08 ah Jul 11 04:16:58 I think I have unwittingly set up most of widk for myself while trying to get kernels built Jul 11 04:17:09 bad news: when I merge to master, you all have to do a 'make clobber-armv7' :> Jul 11 04:17:27 unacceptable Jul 11 04:17:42 make make clobber invoke that Jul 11 04:17:46 :) Jul 11 04:17:56 well you can certainly do that Jul 11 04:18:07 but then you'd have to rebuild the toolchain, which isn't necessary Jul 11 04:18:40 there is already too much rebuilding so I agree Jul 11 04:18:51 my mac is about to take off.. make -j5 and the fan is going nuts :p Jul 11 04:19:17 yeah, all the svn packages have to rebuild every time for some reason Jul 11 04:19:34 I can't wait for 1.4.5 to get here so that we don't have to build kernels 4 times just to get 1 release out Jul 11 04:20:12 jhowirc: 4 times? Jul 11 04:21:10 yeah. 1.4.1 1.4.2 1.4.3 1.4.5 Jul 11 04:21:20 oh right Jul 11 04:21:21 Tman_mac: which mac? Jul 11 04:21:42 jacques: my macbook pro i5 Jul 11 04:21:43 man my sprint pre keyboard is creaking like and old man Jul 11 04:21:55 tman I'm jealous Jul 11 04:22:13 Tman_mac: ah cool, I'm considering getting one Jul 11 04:22:29 s/and/an/ Jul 11 04:22:35 yeah I love it.. the timing was right to get one so I did :) Jul 11 04:23:09 Tman_mac: are you running linux on it? Jul 11 04:23:53 jacques: in Parallels. linux is great but I <3 OSX Jul 11 04:24:33 ok I think that's how rwhitby runs it too. I would want to dual-boot Jul 11 04:25:13 whatever works for you. in fact with Parallels you can run a boot camp partition, so you could have the option to boot into it or virtualize it Jul 11 04:25:32 that's pretty nice Jul 11 04:25:36 I would use that Jul 11 04:25:37 indeed Jul 11 04:26:47 who's familiar with the workings of the WIDK build system? particuarly when it comes to these .depends.inc files.. Jul 11 04:27:13 I can see where they're generated, but not where they actually get included Jul 11 04:28:11 .depends.inc sounds like a new feature to me Jul 11 04:28:31 tman_mac: more sdl/agar questions: what is the advantage of SDL_PollEvent over SDL_WaitEvent? If there is an event in the queue, won't SDL_WaitEvent just return? Jul 11 04:28:35 (I haven't messed with WIDK in too long) Jul 11 04:30:31 hborders: yes it will. it depends on if you want for the event loop to wait for an event or not. mine doesn't; if there are no events it calls an update() function because it needs to be constantly updated and not wait for an event to update Jul 11 04:31:23 soo.. basically the event loop consists of handling any events that may or may not be waiting (inner loop) and calling update, without waiting (unless mPaused is true) Jul 11 04:31:31 yeah Jul 11 04:31:45 but that totally depends on the application Jul 11 04:31:54 so you might have your game logic running on the ui loop and thus you want it to keep spinning regardless Jul 11 04:32:08 is there a way to trigger sdl events from other threads? Jul 11 04:32:25 so I could wake up the event loop if I wanted to ask it to paint? Jul 11 04:32:56 possibly.. look in the SDL wiki under events Jul 11 04:34:13 in my case, I have a processing thread going that increments a number every time it updates.. the update code then keeps the number and compares it on the next call to determine if it needs to update Jul 11 04:35:01 maybe not the best way.. and a different approach might be better for other applications.. idk Jul 11 04:36:47 Tman_mac: what kind of app are you building? Jul 11 04:37:06 tman_mac: thanks. I'll make sure to put both into the example and explain it. Jul 11 04:38:03 jhowirc: real-time analyzer, analyzes sound data.. the process thread is what analyzes, and it increments the counter every time it is done with another period of sound data Jul 11 04:38:19 nice. Jul 11 04:38:20 and the result is then displayed Jul 11 04:38:29 it is quite intricate :) Jul 11 04:38:49 especially with the bajillion libraries it makes a use of.. Jul 11 05:08:02 Hi all... apparently I have 1.4.5 waiting. Anything special I need to do before upgrading? I'm running unixpsycho's 800 mhz kernel... Jul 11 05:53:57 moo Jul 11 05:54:05 sweet. bip works Jul 11 06:34:54 Does anyone know if Delta Dagger includes compcache stuff? Or only screenstate from Starfighter? Jul 11 06:35:05 Unix's web page doesn't help me Jul 11 06:42:22 Delta Dagger? These kernel names are starting to sound suspiciously like Debian/Ubuntu releases.. Jul 11 06:43:06 lol Jul 11 06:43:15 the names for the adult version of ubuntu are great Jul 11 06:47:22 So noone knows? :P Jul 11 08:12:16 hi Jul 11 08:14:38 is it possible to format the usb flash? Jul 11 08:15:13 it seems that my pre has a damanged filesystem Jul 11 08:15:52 hucksy: have you tried webos doctor? Jul 11 08:16:18 Or even a simple file system scan in windows Jul 11 08:17:35 nope, webos doctor dont touch the filesystem on the usb flash. I dont have windows but when its possible, i can make a mkfs on linux Jul 11 08:17:35 mhm Jul 11 08:52:26 lingfish: make sure your kernel comes from a preware feed Jul 11 08:54:50 hucksy: filesystem is checked on each boot Jul 11 08:55:13 oh ok Jul 11 08:55:13 if unrecoverable errors, the startup scripts wipe the partition Jul 11 08:56:35 or you can use meta-doctor to memboot and work on the unmounted partitions Jul 11 08:57:10 thanks! Jul 11 09:43:36 rwhitby: still there? Jul 11 09:53:55 hape: yes Jul 11 09:58:12 I send you a mail about the speechd question Jul 11 09:58:45 I whanted to ask you for your timing ideas to send navit to the autobuilder Jul 11 09:59:05 That I'm prepared to create a new thread in Precentral and watch there for questions Jul 11 09:59:35 hape: here is my proposal Jul 11 09:59:53 we create a git.../libraries/espeak.git Jul 11 10:00:19 in there, you store the source code, and the generated binaries, much like in (for instance) games/sdldoom.git Jul 11 10:00:37 we expect that the source code can be built with a Makefile in there that uses the WIDK setup Jul 11 10:01:03 hape: then build.git/nonworking/speechd/Makefile downloads it from there Jul 11 10:02:58 hape: is speechd going to have a mojo front end ? Jul 11 10:03:10 no speechd is just a service Jul 11 10:03:34 it could have a simple mojo front-end? type in words and hit a "speak" button? Jul 11 10:03:37 noradtux has the idea to add a webos service to the currnt socked based service Jul 11 10:03:59 Then it could be used by any WebOS appliaction so speak text Jul 11 10:04:01 yes, we would like to add a C service aspect to it Jul 11 10:04:55 at the moment not as a nojo app can not call it. we could only make it the way we did with espeak. call a script that speaks some predifined text Jul 11 10:06:45 We spoke about that and decidet not to do it. As it is only a service and would waist space on a allready filled up langer pages Jul 11 10:06:54 ok, but we should plan for a mojo service and application in the future Jul 11 10:07:44 mojo service is on noradtux plan Jul 11 10:08:07 as it is allready a running packground service demon. Jul 11 10:08:17 hape: espeak has a command line front-end, able to speak works from stdin, right? Jul 11 10:08:43 right. But we do not use espeak direktly right now Jul 11 10:09:01 what is the structure right now? Jul 11 10:09:17 there is a command line interface for speechd Jul 11 10:09:41 where is speechd from? Jul 11 10:09:42 speechd is the speed dispatcher. You send the text to him as fast as you what Jul 11 10:10:02 he the calles espeak as a lib to speak the text one after each other Jul 11 10:10:47 would we ever want one and not the other installed in the future ? Jul 11 10:11:16 hape: I have time now for the next couple of hours to work on this. do you? Jul 11 10:11:37 yes Jul 11 10:12:02 ok, what packages in WIDK are used? Jul 11 10:12:15 and do they work on the 'arch' branch? Jul 11 10:13:07 noradtux crated a preivate feed with your scripts Jul 11 10:13:13 http://tnx.homeip.net/~norad/myfeed/ Jul 11 10:13:35 So this are the pages as they needed in filnal Jul 11 10:13:36 now, a question about locale Jul 11 10:13:58 at the moment the makefile uses the loacle from the compiling host Jul 11 10:14:18 why does the symlink need to go through /media/internal? why not just symlink straight from /usr/lib/locale to the app dir in /media/cryptofs/apps/usr/palm/applications/org.webosinternals.locale/... ? Jul 11 10:14:31 yes Jul 11 10:15:02 The makefiles in the build git contains the needed pre/post scripts Jul 11 10:15:12 why does the symlink need to go through /media/internal? why not just symlink straight from /usr/lib/locale to the app dir in /media/cryptofs/apps/usr/palm/applications/org.webosinternals.locale/... ? Jul 11 10:16:27 The needed packages from the crosscompile git are apps/navit apps/speechd and common/locale Jul 11 10:16:56 The espeak package is part of the speechd package. The seperate espeak package is not used anymore Jul 11 10:17:37 what if someone else wants to use the espeak package without speechd? why not keep them as one package depending on another? Jul 11 10:18:10 rwhitby: the jail only allows access to the one appliaction folder in cryptos. I we link it to the locale folder in cryptfs then it is not seen in the jail Jul 11 10:18:28 to use the espeak package direktly is not supported Jul 11 10:18:55 speechd is the dispatcher frontend to get all requests Jul 11 10:19:45 if you call espeak faster as it can speak you get into trouble. speechd is taking care of this and more Jul 11 10:19:53 ok Jul 11 10:20:25 I see no reason to call espeak instead of speechd Jul 11 10:20:43 ok Jul 11 10:20:54 from the commandline you can call speexhd with the spd-say command in the seechd package fodler Jul 11 10:21:11 ok, that will work for the service then Jul 11 10:21:25 I can quickly make a mojo service and front-end using that Jul 11 10:21:47 and that package will be useful independent of navit, so it should have a good name too. Jul 11 10:23:00 Hä. The plan is to extend the exisitin speechd demon to contain the service. Not another running deamon for the service Jul 11 10:23:02 is that package compatible with the app catalog content rules? Jul 11 10:23:33 not shure, never read the app catalog content rules Jul 11 10:23:50 I agree it should be one executable speechd and service. Jul 11 10:24:14 so we need a good name for it, cause "speechd' is not an end-user friendly name (no end user knows what a daemon is) Jul 11 10:24:44 the name will cover the daemon/service, and the mojo app front-end, all in one package. Jul 11 10:24:54 At the moment speechd can be called by his C API or wia a socked. Jul 11 10:25:12 The second way is how Navit calls speechd Jul 11 10:25:14 (just like Govnah is the name of the service and front-end, and same for the Preware package now) Jul 11 10:26:25 That is the home of speechd http://www.freebsoft.org/speechd Jul 11 10:28:05 should the espeak library be packaged separately, so that someone else can replace it with a festival back-end later if they wish? Jul 11 10:28:46 we not througt about that. But it could be done Jul 11 10:30:06 hape: is the locale library complete? does it have everything it will ever need in the future, or do other applications in the future write into the same directory? Jul 11 10:30:31 Not sure if we should create on more package. I think it would be better to replace the the speechd packge with a other one that containf the festival back-end Jul 11 10:31:04 and will the locale package be used by other applications other than navit? Jul 11 10:32:32 The locale can be used by other C applaictions that uses the libc for translations Jul 11 10:33:33 is there a way to do it without needing /usr/lib/locale? cause that will never be accepted into app catalog Jul 11 10:34:13 The only need to do export LD_LIBRARY_PATH=$APP_DIR/lib:/media/internal/.local/lib before the app ist started Jul 11 10:35:04 I expect yes, not sure why noradtux sill add this link Jul 11 10:35:31 the problem is that the path is hardcoded in the libc from plam. But the files are missing Jul 11 10:39:15 I think we need a more generic solution for the /media/internal/.local directory. something that can be used by many different applications for sharing information between jails Jul 11 10:39:31 the current locale packed has all we need i think. But we could send out another on later if a language is missing Jul 11 10:40:05 ok, I understand the locale stuff now, thanks. Jul 11 10:40:37 It costed noratux some time to find this all out. Jul 11 10:43:13 ok, we now have applications/navit.git services/speechd.git and libraries/locale.git Jul 11 10:43:37 for navit, please structure the repo like the applications/preware.git repo Jul 11 10:44:03 So the sepearte gits works like the seperate packge folders in the crosscompile git? Jul 11 10:44:57 no, they work as the source and binaries git for the autobuilder, with the Makefile in preware/build.git doing the packaging Jul 11 10:50:43 so we store the pregenerated binaries there? Jul 11 10:51:45 yes Jul 11 10:52:14 if they are built precisely from the source and makefile in WIDK, then we just need a README and LICENSE to point to the source in WIDK Jul 11 10:52:45 in the long term future, when cross-compile.git and build.git are somehow merged, this will not be necessary. Jul 11 10:52:56 ok, I expected the autobuilder would do the compiling to. So I was worng Jul 11 10:53:20 for simple things like preware and govnah and saverestore and wIRC, it does. Jul 11 10:53:30 but the autobuilder does not autobuilder WIDK yet Jul 11 10:53:49 but the plan is that it will. so these repos are a temporary measure until that happens. Jul 11 10:54:08 ok, got it Jul 11 10:56:05 so we need to compile the packages then and put the resuts in the binary git repositories Jul 11 10:56:44 so the locales tar.gz is 1.7MB? Jul 11 10:57:31 ah, LC_COLLATE and LC_CTYPE are large Jul 11 11:01:06 yep they are Jul 11 11:01:44 hape: would there be an objection to renaming /media/internal/.local to another name under /media/internal ? Jul 11 11:01:54 that is why we try to include only the locale for the langs that are supportet by Palm Jul 11 11:02:06 yeah, it's a good set Jul 11 11:02:28 hape: cause we will want to use the same directory for the X server applications too Jul 11 11:02:35 Not problem from my side. We only should keep it hidden for the normal users. That the don't mess it up Jul 11 11:02:37 and the Qt ones too Jul 11 11:02:45 yes, it will be hidden Jul 11 11:02:59 bah Jul 11 11:03:26 any new developments going to hit any uberkernels soon ? Jul 11 11:03:36 nope Jul 11 11:04:20 rwhitby: question on kenal. The 1.4.5 uberkernal is still in testing or? Jul 11 11:04:36 hape: it will stay in testing until the 1.4.5 kernel source is released by palm Jul 11 11:04:50 since it is actually a 1.4.1 kernel, just packaged for installation on 1.4.5 Jul 11 11:05:44 hape: so this directory on /media/internal/. will be used by all widk applications that need to share data outside the jail Jul 11 11:06:19 so it needs to have some structure underneath it to avoid collisions and allow for easy installation and removal of items Jul 11 11:07:10 makes sense Jul 11 11:08:08 and we need to realise that it is not accessible (i.e. an access will cause an IO error) when the USB drive is active Jul 11 11:08:26 we could take it as the folder inside /. would be a root folder or? Jul 11 11:09:13 you are right. Never thourgt about that. Normaly I quit all apps before I start USB moder Jul 11 11:09:17 you are right. Never thourgt about that. Normaly I quit all apps before I start USB mode Jul 11 11:09:26 well, there are two ways to structure. by appid or by mirroring structure under / Jul 11 11:09:35 or by both (structure under appid) Jul 11 11:10:43 we also need to make sure that postinst scripts can handle being run twice, and also being run after a partial erase that removed appdir but did not remove /media/internal/.name Jul 11 11:11:35 and it should be a name that will not conflict with a name that Palm might want to use in the future Jul 11 11:11:38 is 1.4.5 out yet ? are you just prepping packages for that release ? Jul 11 11:11:51 bhuey: 1.4.5 is out in all major countries Jul 11 11:11:59 but not in the USA yet ;) Jul 11 11:12:00 :/ Jul 11 11:12:24 rwhitby: 720mhz and 24M compcache are a significant improvement for me minus the lack of storage on my original Pre Jul 11 11:12:38 thanks to you and the crew for this improvement Jul 11 11:12:46 rwhitby: yeah, it's a pain Jul 11 11:12:53 bhuey: we simply build on the kernel developers before us Jul 11 11:13:08 I wish it was released yet. Has the elimination of the TMC warning been confirmed ? Jul 11 11:13:19 lol Jul 11 11:13:36 or was it somehow delaying the inevitable and the bug is just masked Jul 11 11:13:37 ? Jul 11 11:14:02 rwhitby: still, that's a great service because me and others don't have the time to do that kind of work Jul 11 11:14:12 bhuey: I think there was probably just a memory leak somewhere in LunaSysMgr or LunaBrowserService and they've probably just fixed it Jul 11 11:14:58 I just turned the uberkernel "on" to some random guy that we were hanging out with and it impressed him Jul 11 11:15:03 rwhitby: yeah, that's a major bug Jul 11 11:15:21 i'll know for sure by monitoring govnah and the amount of swap it uses Jul 11 11:15:29 hape: so I'm thinking /media/internal/.widk/ for the name Jul 11 11:15:30 if the bugs is fixed Jul 11 11:15:41 rwhitby: fine with me Jul 11 11:15:54 now for the structure under it Jul 11 11:16:04 dtzWill: ping Jul 11 11:19:18 rwhitby: so it's confirmed that the leak is fixed ? Jul 11 11:19:26 bhuey: I don't know Jul 11 11:19:36 kind of odd that they didn't make a mention about the announcement leaks Jul 11 11:19:42 I don't even know if there was a leak or not Jul 11 11:19:44 yeah, so it's still not been confirmed Jul 11 11:20:04 defintely a leak, didn't try to track it down though Jul 11 11:20:45 I've restarted both luna and java, the leak persists Jul 11 11:20:59 I know that the TMC is based on (used ram plus used swap) / (total ram) and the omission of total swap from the denominator was intentional by Palm to keep the phone out of swap. Jul 11 11:21:06 hi Jul 11 11:21:10 noradtux: hi Jul 11 11:21:24 just reading the chat-log Jul 11 11:21:34 rwhitby: it eats swap over time Jul 11 11:21:38 noradtux: I have time tonight to get Navit sorted out into Preware Jul 11 11:21:55 noradtux: any comments or objections on the discussion so far? Jul 11 11:21:59 I get sound stutter with this uberkernel but it's worth it Jul 11 11:22:33 I am at the part where you ask if it makes sence to keep espeka as a separate package Jul 11 11:23:13 noradtux: if needed, we can split speechd into two packages with a dependency in the future, and preware will handle that gracefully on the upgrade Jul 11 11:23:33 rwhitby: well, that is an option Jul 11 11:23:34 so there is no need to split it now just for a potential swappable back-end in the future Jul 11 11:24:11 and that confirms that the package be named by speechd rather than be named by espeak Jul 11 11:24:51 noradtux: is there any way to have locale files in /usr/local/lib/locale ? Jul 11 11:24:53 rwhitby: ok, so let's keep espeak and speechd separate Jul 11 11:25:34 hmm, they are about 10 megs, my pre has just 24MB free there, so I do not think that is an option Jul 11 11:25:38 noradtux: I was thinking to keep them in a single package until someone decides in the future that they want to swap out the backend Jul 11 11:25:55 noradtux: org.webosinternals.widk does a bind mount for /usr/local Jul 11 11:26:09 rwhitby: it does? Jul 11 11:26:29 where/how Jul 11 11:27:02 noradtux: yes, the idea is that you can compile apps and libraries using the WIDK to install into /usr/local/... and then it is bind mounted by an org.webosinternals.widk dependency bootstrap package Jul 11 11:27:56 however, /usr/local is not in the jail configuration, so that has killed that dead Jul 11 11:28:49 noradtux: another idea I have had (and have implemented in meta-doctor) is to add a new certification authority to the signature verification chain, and then use the per-app jail configuration support Jul 11 11:30:26 then an app could specify in it's jail_app.conf file that it needs to access other app dirs Jul 11 11:31:38 noradtux: at the moment, the only package that uses the widk /usr/local mount is the gsmwav package Jul 11 11:32:04 Isen't there a risk in chnaing the way that the jail is working if Palm makes chnages to this later too? Jul 11 11:33:58 rwhitby: oh, so there _is_ the possibility to modify the jail on a per-package level? Jul 11 11:34:33 noradtux: I have not tested it yet, but in /usr/bin/jailer I see the signs of signature verification and jail_app.conf Jul 11 11:34:39 (btw. I've read the log now :) Jul 11 11:34:56 so I am assuming such a possibility at the moment Jul 11 11:35:11 ah, I see Jul 11 11:35:13 "Switching to validated app conf file %s" Jul 11 11:35:24 "App conf file %s signature does not validate." Jul 11 11:36:00 my guess is that jail_app.conf and jail_app.conf.sig work in the same way as normal Palm package signatures, using /etc/ssl/certs/appsigning-bundle.crt Jul 11 11:36:42 and I already have that working in meta-doctor where it makes Palm install a signed Preware package on first boot over the network Jul 11 11:36:56 (the signature part, not the jail part) Jul 11 11:37:57 do you modify that mundle? Jul 11 11:38:00 bundkle Jul 11 11:38:03 bundle Jul 11 11:38:08 yes, I add the Preware CA to it Jul 11 11:38:36 meta-doctor does that at the moment, but Preware install script could easily do it too Jul 11 11:39:28 so then anything signed by the preware.org autobuilder could have an application-specific jail configuration file Jul 11 11:39:58 can't we just append the certificats we need to that file? Jul 11 11:40:13 it needs to be a CA, not just a cert. Jul 11 11:40:48 wait, I misunderstood that statement about preware could be alble to do it too. Jul 11 11:41:02 the single preware postinst script could do it Jul 11 11:41:20 so that any packages that go through the autobuilder are signed with a cert that is then valid Jul 11 11:41:28 yes, that's what I thought Jul 11 11:42:55 so the question is whether we want to just do a /media/internal/.widk/usr/lib/locale solution, or whether we want to try for Preware-signed custom jails. Jul 11 11:43:36 well, the hidden directory would be easier Jul 11 11:44:03 and waht is the saver verion if we think about later changs of WebOS by Palm Jul 11 11:44:13 yes, and we can always seamlessly transition to the latter in the future if desired Jul 11 11:44:36 hape: well, Palm could always change anything Jul 11 11:45:25 but in the past our criteria has been to try and use the things that Palm provides in the way that they are meant to be used, without breaking any security while doing so. Jul 11 11:45:33 yes, basically you are screwed as soon as you leave the path (APIs) that palm provides you Jul 11 11:46:58 and since it seems that signed app-specific jail configurations are part of /usr/bin/jailer (a proprietary Palm creation) then one must assume they are going to use that to allow them to sign app configurations on a case-by-case basis for authors (e.g. if you submit two apps that need to work together) Jul 11 11:47:25 cause Palm can just give the jail_app.conf and jail_app.conf.sig files to the developer to be packaged up as part of the ipk Jul 11 11:47:36 yes Jul 11 11:48:01 got it Jul 11 11:48:05 but I agree that /media/internal/.widk/usr/lib/locale is the simpler solution for the short term Jul 11 11:48:22 I'd like to see jail_app.conf used somewhere before depending on it. Jul 11 11:48:47 noradtux: so, do you want to commit the current binaries to the repos I have created, and I will set up the autobuilder to package from there? Jul 11 11:48:50 agreed. btw another candidate to put into /media/internal/.widk/usr/lib/ would be libspeechd.so.2 Jul 11 11:49:08 yes, after lunch ;) Jul 11 11:49:33 or do you want me to put them in there in the structure I would prefer? Jul 11 11:49:37 I can confirm that the binaries work as they are now Jul 11 11:50:01 from the packages on your temporary feed Jul 11 11:50:06 hmm, yes, I think that would be best. I don't exactly know how you would like it Jul 11 11:50:12 yes Jul 11 11:50:16 those packages work Jul 11 11:50:26 ok, I'll do that, and change the .local path at the same time Jul 11 11:50:31 ok, i'm off, eating :) Jul 11 11:50:41 noradtux: Guten Appetit Jul 11 11:52:00 noradtux|away: what is pdl-helper? Jul 11 11:53:11 is reads the current language setting with a PDL api call and retus it as variable Jul 11 11:53:33 so we can set the needed exports for speech lang and Navit lang Jul 11 11:54:30 http://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/navit/files/pdl-helper.c Jul 11 11:54:33 is the /usr/lib/locale symlink actually needed? Jul 11 11:54:51 or is the LD_LIBRARY_PATH to /media/internal/.widk/usr/lib enough? Jul 11 11:54:56 Palm defined a new data path for PDL apps Jul 11 11:55:16 oh, do we know where that ends up Jul 11 11:55:18 ? Jul 11 11:55:40 I think the link to /usr/lib/locale is not needed, but i diden't tested it Jul 11 11:55:52 ok, I will package without it to start Jul 11 11:56:01 the less changes to Palm directories, the better. Jul 11 11:56:16 in /media/internal/appdata/org.webosinternals.navit Jul 11 11:56:34 really? /appdata, not /.appdata? Jul 11 11:56:46 that is what we get from PDL_GetDataFilePath("", buf, BUFSIZE); Jul 11 11:57:14 and it definitely does not have a dot ? Jul 11 11:57:35 yes Jul 11 11:57:48 it is visable for the user Jul 11 11:58:14 I expect they will have to change that, as soon as they get the first bug report from someone who sees the images from their PDK games appear in their Photos application ... Jul 11 11:58:29 The navit postinst script has migration code to move the data from the alpha version to the new location Jul 11 11:58:35 yes, I've seen that Jul 11 11:59:34 does navit run fine on Pre and Pixi PDK ? Jul 11 12:00:30 We only test it on the Pre as we both only have a Pre Jul 11 12:01:01 ok, I can test it on a Pixi tomorrow Jul 11 12:01:09 It should, it is not screen size depandend Jul 11 12:01:38 The wiki ist up to date with the new pathes and how to get maps Jul 11 12:01:43 I did this yesterday. Jul 11 12:09:01 he, back Jul 11 12:09:31 rwhitby: as far as I know the link is needed Jul 11 12:09:44 /usr/lib/locale is hardcoded in glibc Jul 11 12:10:08 noradtux: what is the LD_LIBRARY_PATH pointing to /media/internal in navit.sh for? Jul 11 12:11:04 currently it is not needed Jul 11 12:11:21 I intended to put libspeechd.so.2 there, though Jul 11 12:11:49 currently I package it with navit, but it should be put into a common directory by the speechd-package Jul 11 12:12:55 noradtux: shall we put an icon and changelog screen for speechd like we have for the kernel packages ? Jul 11 12:14:26 eventually to be replaced by a mojo service and demo text to speech front end app ? Jul 11 12:14:34 hmm, I don't really have an oppinion to that. but that changelog-part make ssense Jul 11 12:15:47 we can make a mojo service and front end pretty easily Jul 11 12:16:11 can we? Jul 11 12:16:24 if an app can be made to speak text, it would be a good one for the hot PDK apps Jul 11 12:16:29 I haven't really looked into mojo-services yet Jul 11 12:16:47 it surely would ^^ Jul 11 12:25:26 ok, I've pushed all three repos now Jul 11 12:34:05 noradtux: updated build.git/nonworking/locale/Makefile Jul 11 12:35:48 rwhitby: Navit can speak very well. Ok it sounds like sam on my C64 Jul 11 12:36:33 But I'm not sure if it fulfill the rules for the HotApp contest as it needs speechd and locale Jul 11 12:37:37 once it's packaged in Preware, I will talk to Palm about it. Jul 11 12:38:18 ok, but keep in mide it is not made by us. We only did the cross compile. Jul 11 12:38:40 of course Jul 11 12:39:19 speaking of which, what do you want the Maintainer field in Preware to show for these packages. WebOS Internals? your names? something else? Jul 11 12:41:01 hmm, for the time beeing I think our (nick-)names are fine Jul 11 12:41:34 wouldn't oppose webos-internals though Jul 11 12:42:28 it needs to be the address where users will turn to for support Jul 11 12:43:26 :) Jul 11 12:44:16 ok, version for locale? I guess it need to be bigger than '1' as far as Preware is concerned? Jul 11 12:45:54 how about 1.1.0 ? Jul 11 12:46:12 fine with me Jul 11 12:46:18 that's really the question. it's just the stuff from the toolchain. so maybe the correct name would be - Jul 11 12:46:47 hm Jul 11 12:46:48 WARNUNG: flashing failed, move to Token failed card Jul 11 12:46:48 err -1 "TOKEN MISMATCH: Failed to find match for Model information. Prevent user from flashing" Jul 11 12:46:54 any ideas? Jul 11 12:47:05 webos doctor 1.4.5 Jul 11 12:47:14 yep, you're flashing the wrong doctor for your device Jul 11 12:47:25 hm Jul 11 12:47:46 noradtux: what is version of toolchain then, which is larger than "1" and is X.Y.Z ? Jul 11 12:50:13 I think the toolchain is this one: arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 Jul 11 12:50:22 2007q3 Jul 11 12:50:38 7.3.51 then Jul 11 12:51:26 agreed Jul 11 12:51:34 rwhitby: nope, the version is right Jul 11 12:51:36 mh Jul 11 12:51:43 hucksy: not version, model. Jul 11 12:51:51 e.g. P101UEU Jul 11 12:52:37 oh Jul 11 12:53:07 noradtux: how about 7.3.0, then we can use .1, .2, etc for new additions Jul 11 12:53:53 is that a device model id or anything? Jul 11 12:53:59 yes Jul 11 12:54:13 written inside the battery compartment, and also in the Device Information app Jul 11 12:54:34 rwhitby: ok, looks good Jul 11 12:55:33 right, its P101UEU Jul 11 12:55:59 so i cant use the webos doctor version from the webos-internals page? Jul 11 12:56:35 you can if it's the right one Jul 11 12:57:15 oh, i see... there is no 1.4.5 for pre plus yet Jul 11 12:57:18 thanks Jul 11 12:58:19 Do we need to do something to get a entry in Precentral homebrew app list or is this part of the autobuilder? Jul 11 13:00:07 hucksy: have you tried putting your serial number in at palm.com/rom ? Jul 11 13:00:27 hape: autobuilder makes it part of preware feeds, precentral homebrew list is separate Jul 11 13:01:10 org.webosinternals.locale_7.3.0_all.ipk is now in the testing feed Jul 11 13:01:27 1 down, 2 to go. Jul 11 13:01:42 now, we need icons for speechd and navit Jul 11 13:01:47 and wiki pages Jul 11 13:02:25 http://www.webos-internals.org/wiki/Application:Navit Jul 11 13:03:10 rwhitby: I#m Jul 11 13:03:13 for navit there alredaa is one Jul 11 13:03:13 eh Jul 11 13:03:25 For navit there is one Jul 11 13:03:36 rwhitby: I'm .. so... ok... that works ;) Jul 11 13:04:24 hucksy: we need the URL so we can add it to the wiki page Jul 11 13:04:29 For speechd we could take the one from espeak http://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/espeak/files/Icon.png Jul 11 13:04:55 rwhitby: sec Jul 11 13:13:58 rwhitby: http://palm.cdnetworks.net/rom/preplus/p145r0d06302010/eudep145rod/webosdoctorp101ueu-wr.jnlp Jul 11 13:14:37 huh.. .jnlp Jul 11 13:15:19 hucksy: what carrier is that? Jul 11 13:15:27 o2 germany Jul 11 13:16:07 webOS® Doctor? for Palm® Pre? Plus for o2. Build o2.236.222, webOS 1.4.5 Jul 11 13:16:25 ok, that one was already there, under SFR. Jul 11 13:16:34 ah k Jul 11 13:16:53 but I've added it to O2 as well now Jul 11 13:22:38 noradtux: are the libsdaudio.{a,la} files needed? Jul 11 13:22:52 and the libsdaudio.so symlink is not pointing to a file that exists Jul 11 13:25:22 and are all the speech-dispatcher-modules files needed ? Jul 11 13:25:35 or just sd_espeak? Jul 11 13:26:53 rwhitby: the *.a and *.la shoutld not be needed Jul 11 13:27:14 I have removed those and the .so symlink from the repo Jul 11 13:27:28 rwhitby: we currently use sd_generic, sd_espeak doesnÄ't work, yet Jul 11 13:27:41 so can all the others be removed? Jul 11 13:27:45 yes, the symlinks are kind of pointless on vfat ;) Jul 11 13:27:59 of, sd_:dummy must stay aswell Jul 11 13:28:09 but sd_cicero and sd_festival can go away Jul 11 13:30:07 done Jul 11 13:30:47 noradtux: is there a way for me to easily test speechd without needing navit? Jul 11 13:31:09 call 'spd_say Text' Jul 11 13:31:17 that is in the seechd folder Jul 11 13:31:29 icon looks nice in the launcher :( Jul 11 13:31:34 s/:(/:)/ Jul 11 13:31:34 rwhitby meant: icon looks nice in the launcher :) Jul 11 13:32:52 lol Jul 11 13:35:28 ./spd_say Hello doesn't work Jul 11 13:36:20 hm Jul 11 13:36:45 you can enable logging in etc/speech-dispatcher/speechd.conf Jul 11 13:37:01 is the socked /tmp/speechd-sock there? Jul 11 13:37:54 ok, works Jul 11 13:38:02 mv espeak-generic.conf0000644 espeak-generic.conf Jul 11 13:38:17 some weird packaging thing. Jul 11 13:38:39 good Jul 11 13:39:52 this really needs a service and app :) Jul 11 13:40:46 indeed Jul 11 13:42:53 ok, packaging works Jul 11 13:43:05 good job Jul 11 13:43:07 and dummy app works Jul 11 13:43:16 nice :) Jul 11 13:43:18 both locale and speechd can be installed with palm-install Jul 11 13:43:55 wow, I diden't epected that. Can palm-install changes sestem files? Jul 11 13:44:14 ./spd-say "WebOS Internals. Smart. Open. Phones." Jul 11 13:44:48 hape: I know how to make it do so :) Jul 11 13:45:09 ok, what version for speechd? Jul 11 13:45:15 0.7.1 ? Jul 11 13:45:35 so either we implement the service-stuff directly in spechd or we do some kind of layer in between which has the service-interface on one side and talks to speechd thrgough the socket on the other side. the protocol of speechd works similar to smtp Jul 11 13:45:57 I think it's 0.7.1 Jul 11 13:46:37 "This daemon provides speech synthesis. At the moment, it is only used by the Navit application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future." Jul 11 13:46:46 we pull 0.,7 from git Jul 11 13:47:05 ok, it needs a wiki page Jul 11 13:47:22 hape? *grin* Jul 11 13:47:34 http://www.webos-internals.org/wiki/Application:SpeechDispatcher Jul 11 13:48:23 we need an icon for Locale for Preware too Jul 11 13:51:37 hmm, not sure where to take that from Jul 11 13:51:50 org.webosinternals.speechd_0.7.1_arm.ipk is in the testing feed Jul 11 13:52:43 * hape is on the way to the wiki ... Jul 11 13:53:28 will Navit start without maps? Jul 11 13:53:56 does speechd depend on locale? Jul 11 13:54:18 no, yes Jul 11 13:54:30 we need locale for it to understzand utf-8 encoding Jul 11 13:55:18 well, i am not sure if navit starts without a map .. Jul 11 13:55:46 ok, so speechd needs a DEPENDS then Jul 11 13:55:56 there is a example map shipped with navit. we could put that into the package Jul 11 13:56:23 we will want something so that it does something out of the bo Jul 11 13:56:24 box Jul 11 13:57:35 noradtux: so speechd understands UTF-8 ? Jul 11 13:57:55 yes. or more precisely: espeak Jul 11 13:58:48 now, will zcorder record the output from speechd? Jul 11 13:59:51 I guess that depends on pulseaudio ;) Jul 11 14:00:02 it does :) Jul 11 14:00:08 how does zcorder access the mic anyway? Jul 11 14:00:18 now, where can i host an mp3 file easily? Jul 11 14:00:56 hmm something like rapidshare I guess Jul 11 14:02:07 hape, why not have languages as brokenout/modular packages Jul 11 14:02:12 if u are trying to reduce the size of things Jul 11 14:02:52 PuffTheMagic: how can we handle the dependencdies then? Jul 11 14:03:32 rwhitby: Navit starts without a map. You get an emty screen with the OSD and can access the menu when you tap the screen. Jul 11 14:03:44 But there is no info that a map is missing.... Jul 11 14:04:14 whats deps? Jul 11 14:04:44 if u strip out the locales from glib except for like en_us and en_uk Jul 11 14:04:58 the rest could be in their own package or multiple packages Jul 11 14:05:11 i dont really need to depend on anything besides their parent package Jul 11 14:06:43 well, I just want to avoid to have to tell the user that he needs to install that german language package in order to have his program behave as he expects Jul 11 14:07:07 well Jul 11 14:07:17 either install a massive package Jul 11 14:07:24 or give the user an extra instruction Jul 11 14:07:30 best would be to have en in the locale package and then have that package install the package that matches the language configuresd in webos Jul 11 14:07:52 well that is easy to Jul 11 14:07:59 thats what gentoo does sorta Jul 11 14:08:08 you define the langs u want Jul 11 14:08:11 http://omploader.org/vNHdlNg/WebOS-Internals-SpeechDispatcher.mp3 Jul 11 14:08:13 and only those get built Jul 11 14:08:17 and if u do it after its built Jul 11 14:08:24 u can cleanup/remove the extras Jul 11 14:09:06 PuffTheMagic: gentoo isn't exactly a good comparison to webos ;) Jul 11 14:09:26 i didnt say that Jul 11 14:09:44 all i said was they deal with this issue similar to the way you want to Jul 11 14:09:56 so does debian Jul 11 14:10:30 i cant use debain long enough to discover something like that Jul 11 14:11:32 noradtux, hape: do either of you have a twitter alias? Jul 11 14:11:45 nope, me not Jul 11 14:13:26 I don't think much about this whole social networking stuff ;) Jul 11 14:14:51 http://twitter.com/webosinternals/status/18273863595 Jul 11 14:17:48 http://twitter.com/webosinternals/status/18274090854 Jul 11 14:19:19 and hape adds the wiki page, just in time :) Jul 11 14:20:45 I code, hape does the nasty stuff ;) Jul 11 14:21:43 shall I start a thread for it? Jul 11 14:22:29 for speechd? Jul 11 14:22:49 I guess a thread for the three new packages would be ok Jul 11 14:24:21 http://forums.precentral.net/showthread.php?p=2549731 Jul 11 14:26:21 ok, now onwards to Navit packaging. Jul 11 14:28:40 basic page is there http://www.webos-internals.org/wiki/Application:SpeechDispatcher Jul 11 14:29:27 hape: I have referenced that in the PreCentral thread Jul 11 14:29:38 perhaps but a reverse reference in the wiki page to the thread too Jul 11 14:33:44 rwhitby: I use twitter only in read mode for now .... Jul 11 14:35:17 dito Jul 11 14:35:38 ok, navit didn't run from the icon Jul 11 14:37:25 rwhitby: Anyting in the navit.log in the app data folder Jul 11 14:37:39 I can the defaultm map into the binary-git Jul 11 14:38:03 ok Jul 11 14:38:11 it runs from command lin Jul 11 14:38:12 e Jul 11 14:38:34 hmm, that is strange Jul 11 14:38:50 check the log in /media/internal/appdata/org.webosinternals.navit/navit.log Jul 11 14:38:54 the log size check fails when there is no log file. I'll change the postinst to touch the log file before doing the check. Jul 11 14:39:04 ok Jul 11 14:39:20 every time the same it you not test the frsh install .... Jul 11 14:39:33 s/frsh/fresh/ Jul 11 14:39:33 hape meant: every time the same it you not test the fresh install .... Jul 11 14:39:43 looks like PDL_DataFilePath ends in a /, so you get a double // in the filenames Jul 11 14:40:29 shuoldn't hurt, though Jul 11 14:43:43 seems to be fine Jul 11 14:43:50 now, I need a map of Adelaide :) Jul 11 14:45:19 interesting, it opens from icon now Jul 11 14:46:39 ok, so no need for the default-map Jul 11 14:47:18 well, it needs something, cause how to use the app is not discoverable at the moment Jul 11 14:47:24 rwhitby: Here you go for the map http://maps.navit-project.org/download/ Jul 11 14:47:54 next step for navit on the pre would be to better integrate into webos by making it a hybrid-app Jul 11 14:48:04 yep Jul 11 14:48:14 rwhitby: The problem is that you will see the default map only until the first gps data are there. Thaen it will jup to htis postion. Jul 11 14:48:29 There is a big chance that you are outside the default map ... Jul 11 14:48:29 would be easy to open some kind of firsz-use-page then Jul 11 14:49:55 I think for now the best chance we have is to put this info into the package description, including the link to the planet-extractor Jul 11 14:49:57 so we need a default map which is just the whole globe and very large scale Jul 11 14:50:21 ok, I get a osm_bbox...bin from this page. what next? Jul 11 14:50:48 still does not start of icon immediately after download Jul 11 14:51:20 what dose the log say? Jul 11 14:51:28 no log Jul 11 14:51:43 hm, that is strange Jul 11 14:54:10 palm-webos-device user.notice LunaSysMgr: {LunaSysMgr}: void IpcServer::childProcessDied(GPid, gint): pid: 11255, status 256 Jul 11 14:55:11 is the app path there with the default xml config files? Jul 11 14:55:38 oh dear, looks like Palm doesn't clean up the mounts if the app fails to start Jul 11 14:55:45 hape: no Jul 11 14:56:44 that should have been done by the navit.sh before the app is started. So momthing in the navit.sh is the problem Jul 11 14:58:32 after starting it once from the command line, it then starts fine from the icon Jul 11 14:59:54 hape: how do I install the map .bin file I just downloaded? Jul 11 15:00:19 moment checking something Jul 11 15:02:14 I expect that line goes wrong: Jul 11 15:02:16 test -e $NAVIT_USER_DATADIR/navit.xml || cp $APP_DIR/dist_files/navit*.xml $NAVIT_USER_DATADIR/ Jul 11 15:02:43 As Palm is not crating the path for you. Could that be the case? Jul 11 15:03:12 It should copy the needed config files from the app dir to the data dir Jul 11 15:04:09 Navit expects the map to be in $NAVIT_USER_DATADIR/maps/ Jul 11 15:04:53 For now you need to start navit one time without a map, that the folders are created Jul 11 15:05:18 Then you need to copy it to /media/internal/appdata/org.webosinternals.navit/maps Jul 11 15:07:32 so I have osm_bbox_138.5,-35.0,138.8,-34.8.bin in the maps dir Jul 11 15:07:41 44MB size Jul 11 15:07:43 right Jul 11 15:08:06 it will take the first bin file it findes in that folder Jul 11 15:08:40 But the *.xml files from $APP_DIR/dist_files/ needs to be in /media/internal/appdata/org.webosinternals.navit/ Jul 11 15:09:10 Navit will not start if they are not there. This are the basic config files. Jul 11 15:09:38 That is why I asked if /media/internal/appdata/org.webosinternals.navit/ is there. Jul 11 15:10:08 ah, so the postinst has to do that? Jul 11 15:12:08 hmm, yes. currently navit.sh _should_ be doing that Jul 11 15:13:27 interesting, the Car icon in Actions has my lattitude as 394N Jul 11 15:13:42 and the world icon has 34N Jul 11 15:13:58 perhaps Navit doesn't work in the southern hemisphere ... Jul 11 15:14:56 hmm, would be strange Jul 11 15:16:20 world is the point where you are on the map, car is where gps thinks you are Jul 11 15:18:31 hape: but shouldn't the map follow his position? Jul 11 15:18:36 r: in the upper right show you how good the gps is. Smaller is better Jul 11 15:18:56 rwhitby: try to initiate some navigation. the map should center on your position Jul 11 15:19:06 noradtux: I think you need a minimal quality (expect range belo 150 or so) that it jumps Jul 11 15:19:16 I can get it to show adelaide by town name Jul 11 15:19:26 but position is off the planet Jul 11 15:19:41 ok, some kind of a valid position is offcourse a prerequisite Jul 11 15:20:06 rwhitby: what dose r: reads in the upper right corner before the dot Jul 11 15:20:50 debugging non-starting at the moment Jul 11 15:23:19 /media/cryptofs/apps/usr/palm/applications/org.webosinternals.navit/navit.sh: line 25: cannot create /media/internal/appdata/org.webosinternals.navit//navit.log: Permission denied Jul 11 15:23:57 that sounds like the fstab-bug to me .. Jul 11 15:24:07 /dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0 Jul 11 15:24:28 what are the premissions on that directory?= Jul 11 15:24:29 no fstab bug on my devices :) Jul 11 15:24:42 rwhitby: I would have been surprised ;) Jul 11 15:24:46 drwxrwxrwx 3 root root 32768 Jul 11 08:15 appdata Jul 11 15:25:03 and the navit-subdir Jul 11 15:25:08 ? Jul 11 15:25:15 aha Jul 11 15:25:16 drwxr-xr-x 2 root root 32768 Jul 11 08:15 /media/internal/appdata/org.webosinternals.navit Jul 11 15:25:42 how did you create that? postinst or navit.sh? or maybe manual? Jul 11 15:26:30 ah, postinst mkdir Jul 11 15:26:40 we can fix that Jul 11 15:27:09 yeah, explains the issue :) Jul 11 15:27:30 I think the best would be to create it in the anvit.sh before we copy the default file. And also create the emty map folder Jul 11 15:27:39 perhaps a "umask 000" at the top of postinst? Jul 11 15:28:27 probably the safest thing to do Jul 11 15:28:35 noradtux: strage idea. make a Mini SDL app that only show the text that you need to copy a map to the maps folder. Start this instead of navit if the map folder is empy. Jul 11 15:28:47 Would that be only some lines or more difficult? Jul 11 15:29:08 should be easy Jul 11 15:29:38 rwhitby: why create it in post inst? We do not know there if Palm change the base folder again. We can only hardcode the name in postinst or? Jul 11 15:29:42 we know the directory to look at, so shouldn't be too hard Jul 11 15:29:55 hape: postinst does the migration Jul 11 15:30:23 can we launch a webos-app from the shell? Jul 11 15:30:28 ok, My last read version there it still was in the navit.sh.... Jul 11 15:30:49 would be much faster to code and prettier than an sdl-app, I think Jul 11 15:31:48 jep, but you raised the question I had too. Can a Mojo app be lauchend from commandline instead of navit Jul 11 15:31:57 I vote you just get oil interested in Navit ;) Jul 11 15:32:13 rwhitby: ? Jul 11 15:32:42 ok, starts now Jul 11 15:33:36 all the bs from before Jul 11 15:33:45 woops, damn trillian Jul 11 15:38:11 rwhitby: and is it working? Jul 11 15:38:36 apart from the bad coords, yes. Jul 11 15:38:47 and it is in the testing feed now Jul 11 15:40:47 great! when will it be visible on preware? Jul 11 15:41:13 5 minutes after the varnish cache times out Jul 11 15:41:47 how does speech dispatcher compare to http://forums.precentral.net/web-os-development/251434-espeak-service-text-speech.html ? Jul 11 15:43:49 that service is much less histicated as far as I know. speechd also handles multiple concurrent requests Jul 11 15:44:13 but I was considering to extend that service to use speechd Jul 11 15:44:39 I choose speechd because navit has native support for it Jul 11 15:49:06 noradtux: you know that Java will be removed from a future webOS version. Jul 11 15:49:22 Java services are a dead end. Jul 11 15:49:33 is that so? Jul 11 15:49:39 how do you know? Jul 11 15:50:25 well, do you remember when Jason R made a big fuss that he was going to quit webOS development? Jul 11 15:50:55 hmm, I didn't exactly follow that stuff .. Jul 11 15:51:10 tweeted all over the place, caused a huge media problem for Palm Jul 11 15:52:03 well, he and I found out on the same day that Java was to be removed. I started porting Preware's package manager service to C. He threatened to quit webOS development. Jul 11 15:52:03 rings a bell Jul 11 15:52:22 Palm announced it publicly recently at the developer days. Jul 11 15:53:10 following up on that stzuff is on my todo list ;) Jul 11 15:53:48 well makes sense from performance pioint-of-view Jul 11 15:56:29 also means you don't have to restart your phone connection when you install a service Jul 11 15:56:57 so they are going for one daemon per service Jul 11 15:57:06 I like that Jul 11 15:57:32 they are talking about javascript services Jul 11 15:58:14 ok, let's go for a full navit/speechd/locale install from scratch in Preware Jul 11 15:58:22 well, I guess the v8-engine would be capable of that Jul 11 15:59:13 gah, 1:30am already Jul 11 15:59:22 * hape uninstall allread done, waiting for Navit to show up in testing feed Jul 11 15:59:32 it's there now. Jul 11 15:59:34 rwhitby always burning the midnight oil Jul 11 15:59:40 rwhitby: Good morning ;-) Jul 11 15:59:46 is there special oil for that? Jul 11 16:00:05 launches from icon Jul 11 16:00:24 sounds good, feeds still laoding here Jul 11 16:01:01 rwhitby: at least you aren't melting in your room as I am ;) Jul 11 16:01:25 rwhitby: well, I don't know how tempreatures are there in australia in winter, though ... Jul 11 16:01:48 http://www.bom.gov.au/sa/forecasts/adelaide.shtml Jul 11 16:03:18 noradtux, hape: ok, you guys can do any updates you like in the testing feed now. just tag the source repo and update the version in build.git Jul 11 16:03:26 we have around 30°C here .. which is quite warm for this area Jul 11 16:03:26 all the other guys here know how to do it. Jul 11 16:03:44 ok, great Jul 11 16:03:53 installer just finished Jul 11 16:04:11 does it work? Jul 11 16:04:40 rwhitby: Working here too Jul 11 16:04:50 excellent Jul 11 16:05:06 installed all packages as planned Jul 11 16:05:15 Is it normal that Warthog 70 doesn't support the special goveners and clockspeeds? Jul 11 16:05:33 rwhitby, hape: works here, too :D Jul 11 16:07:19 Ortwin: normal and warthog are incongruous. it's a developer testbed, not an end-user kernel. Jul 11 16:08:10 rwhitby: there is only a testing uberkernal for 1.4.5 now or? Jul 11 16:08:44 * hape do not like that Govnah has that less infromation about wht is going on Jul 11 16:09:19 yes, until we get 1.4.5 kernel source code, it stays in testing for 1.4.5 Jul 11 16:09:51 I wanted to know if it's a bug or a feature. Guess it's a feature then. ;) Jul 11 16:10:16 Ortwin: honestly, I don't know. Warthog changes feature set on every version at a whim. Jul 11 16:10:38 Just depends what is up for experimentation at that point in time. Jul 11 16:11:01 rwhitby: the link in your tweet point to http://www.webos-internals.org/wiki/Application:Navit, instead of http://www.webos-internals.org/wiki/Application:Navit Jul 11 16:11:41 rwhitby: I think we should start a new thread for the first offical version. The old one contains a lot of stuff that is no valid anymore Jul 11 16:12:06 like the one you started for the Speech Dispatcher Jul 11 16:13:07 hape: if you start a new one, and point to it from the old thread, I can close the old thread. Jul 11 16:13:43 ok Jul 11 16:14:09 rwhitby: what do you think, would Palm add official support for locales if we asked them? Jul 11 16:14:20 noradtux: it's a possibility Jul 11 16:15:36 hmm Jul 11 16:18:37 hape: unless you've got a post ready to go now, I'm going to need to head to bed Jul 11 16:21:35 * rwhitby bbt Jul 11 16:21:51 noradtux, hape: great job on navit and speechd. Jul 11 16:23:41 . Jul 11 16:23:54 rwhitby: New thread is there => http://forums.precentral.net/showthread.php?p=2549826#post2549826 Jul 11 16:24:52 rwhitby: Thanks for Preware and your help today Jul 11 16:26:27 hape: old thread closed and pointer to new thread as last message Jul 11 16:26:32 Ok, if Im going to make a video (if I can find time) I need to know what Speech Dispatcher does for Navit. Is it just the voice for the turn by turn? Layman's speakhere... Jul 11 16:26:47 rwhitby: thanks :) Jul 11 16:26:59 and new thread is sticky Jul 11 16:27:25 * rwhitby bbt for real this time Jul 11 16:29:08 is the testing feed the beta feed in preware? Jul 11 16:29:25 muesli: yes, kind of Jul 11 16:29:58 noradtux: looking for navit Jul 11 16:30:40 ~testing Jul 11 16:30:41 rumour has it, testing is done - but yes, further excursions will take place elsewhere Jul 11 16:30:46 ~testing-feed Jul 11 16:30:47 i guess testing-feed is a means of testing new WebOS Internals products, documented at http://www.webos-internals.org/wiki/Testing_Feeds Jul 11 16:31:08 * hape loves infobot ;-) Jul 11 16:34:22 noradtux: hape: thanks :) Jul 11 16:34:28 shame tho, just wanted the navit package Jul 11 16:44:01 someone got the direct link to the ipkg? Jul 11 16:55:12 muesli: you will need the new locales and speech-dispatcer-packages aswell Jul 11 17:18:03 ka6sox: ping me and we'll switch the wargames to a new non sudo port. Jul 11 18:08:04 I broke this somehow.... Jul 11 19:38:28 I installed navit via preware. When I start navit from the launcher and navigate to a citiy it crashes. When I start it from commandline it works. Any idea? Jul 11 20:01:42 sebastianha: probably the fstab-problem Jul 11 20:03:11 ? whats this? Jul 11 20:03:29 I also noticed that navit does not write log files when started from launcher Jul 11 20:04:46 that's because there is a bug in the ota update from palm which prevents pdk-apps to write to the device Jul 11 20:06:14 ah, ok Jul 11 20:06:53 I will try Jul 11 20:06:55 thanks Jul 11 20:06:59 rwhitby: pong Jul 11 20:08:37 sebastianha: there are threads in the precentral- and palm-forums Jul 11 20:10:12 http://developer.palm.com/distribution/viewtopic.php?p=34750#p34750 Jul 11 20:10:15 already found it, thanks *rebooting pre* Jul 11 20:11:00 ~seen rwhitby Jul 11 20:11:02 rwhitby is currently on #webos-internals (3d 41m 11s) #oe (3d 41m 11s) #meego (3d 41m 11s) #nslu2-linux (3d 41m 11s). Has said a total of 355 messages. Is idling for 3h 44m 3s, last said: 'and new thread is sticky'. Jul 11 20:19:59 warthog-70 is built. testers needed Jul 11 20:31:25 I need to make these app clients autoreconnect Jul 11 21:42:24 arch merged to master Jul 11 21:42:37 everyone needs to do a 'make clobber-armv7' Jul 11 21:44:55 i shall give it a go Jul 11 21:45:20 :) Jul 11 21:47:41 Tman_mac: I can just do a top level make stage to make all packages for all archs? Jul 11 21:48:22 yes. well only armv6 and armv7 right now Jul 11 21:48:43 i686 still isn't supported, but when it is, you won't have to rebuild everything like you do now Jul 11 21:57:27 Why does this hate me so... Jul 11 22:12:34 ok, issue. my app client modules is failing hard. Jul 11 22:15:15 Tman_mac: it seems to stop after building glib-2.0 for both armv6 and armv7, but works fin Jul 11 22:15:17 +e wabe Jul 11 22:15:19 CAT Jul 11 22:15:27 ahem, sry Jul 11 22:15:36 Tman_mac: but works fine when you start up the bulding again Jul 11 22:17:02 zsoc: yeah there were several stops for me.. which wasn't really anything unusual.. Jul 11 22:17:14 I don't know what causes those Jul 11 22:17:57 interesting, didn't seem to have that issue when i built a few days ago... but no biggie i guess. it works fine otherwise... still chuggin' along at -j4 Jul 11 22:18:20 yep, liboil too Jul 11 22:18:25 must be an SB2 thing Jul 11 22:18:56 could be Jul 11 22:53:25 wait, should I uninstall custom kernels before OTA update Jul 11 22:53:47 if they came from somewhere other than a webos-internals feed in Preware, yes. Jul 11 22:56:34 oh i c Jul 11 22:56:42 cool then, I've got the one from preware Jul 11 22:59:17 Tman_mac: uh oh, just got a bunch of permission denied errors Jul 11 23:00:23 for some reason my tcp server does not like me Jul 11 23:03:47 zsoc: what package was it? go in and make clobber, then continue Jul 11 23:03:55 kk Jul 11 23:04:30 Tman_mac: it's hanging on cd . && /bin/sh /srv/preware/cross-compile/packages/media/libsndfile/build/armv7/missing --run aclocal-1.9 Jul 11 23:04:46 yeah, I got a hang on that too a couple of times Jul 11 23:05:15 let me know what package it is though. it's generally because svn sets mode -w on a lot of files, and copying from build/src to build/ARCH gives the errors Jul 11 23:05:32 (over existing svn files in build/ARCH) Jul 11 23:05:37 as for the hang, hm Jul 11 23:06:10 try going into the Makefile and commenting out lines 18 and 19 Jul 11 23:06:33 for me, not having that patch made it hang, apparently for someone else, having the patch made it hang.. so :/ Jul 11 23:07:06 I figured that was outdated or something and reintroduced the patch to make it work for me. Maybe I'm the odd one out though Jul 11 23:07:50 er, lines 18-20 actually Jul 11 23:11:06 GNU tools hanging.. now that's frustrating.. Jul 11 23:13:32 Tman_mac: ty Jul 11 23:15:33 * halfhalo crosses fingers hoping that this works Jul 11 23:27:36 * rwhitby bbl Jul 11 23:35:10 ok, why is this server saying there are multiple apps of the same name connected... Jul 12 00:16:06 ame Jul 12 00:18:07 hmmm… the apps are overwriting their own names with other apps Jul 12 00:29:57 enh. it appears that warthog-70 takes out phones. pushing out a -73 now. wait for the autobuilder to finish Jul 12 00:31:32 herm…. index key fail... Jul 12 00:39:03 for some reason this is not working right… and I don't like it Jul 12 00:39:12 No idea why, and its a pretty big bug Jul 12 00:53:26 Ok, i'm retarted Jul 12 00:54:14 ded Jul 12 00:54:39 I realize why i kept loosing track of on of the apps Jul 12 00:54:44 forgot to have it ping the server Jul 12 00:59:18 jhopixi: don't make fun of the retarted about their spelling ;) Jul 12 00:59:50 HEY! MY SPELLING IS PERFECTLY oh hey look at that... Jul 12 01:00:37 (psst: and don't ever mention their inappropriate use of caps lock - that's really bad form to do that) Jul 12 01:01:03 retarted = becoming a tart. again Jul 12 01:01:07 bah, caps. I can never tell when its on since the little light broke Jul 12 01:01:31 here's a clue. look at the screen. Jul 12 01:01:47 psh, no. Jul 12 01:01:49 * rwhitby is in awe of jhopixi's wisdom. Jul 12 01:02:14 must be monday morning :) Jul 12 01:02:23 hahaha @ retarted Jul 12 01:02:26 oooooooom Jul 12 01:02:27 * rwhitby is in a sarcastic mood Jul 12 01:02:48 Tman: how'd the big arch changeover go? Jul 12 01:02:53 I blame the unixpsycho Jul 12 01:03:04 I'm about to kick my computer out the window Jul 12 01:03:12 I blame going to bed at 2am Jul 12 01:03:28 rwhitby: merged it. it builds, although I had to restart make several times Jul 12 01:03:43 (which has been my experience in the past as well) Jul 12 01:04:04 zsoc reported that he was getting that when he didn't remember getting it before.. so idk Jul 12 01:05:33 certain svn applications, like speechd, need to be fixed so they don't re-checkout and rebuild each time make stage happens Jul 12 01:06:43 try/catch FAIL Jul 12 01:09:50 OR I was editing the wrong file. That works to. Jul 12 01:18:20 !!!!!! Jul 12 01:18:30 ITS NOT DROPPING ANY CONNECTIONS! Jul 12 01:24:20 Tman: it does bad things Jul 12 01:32:25 zsoc: like?? :/ Jul 12 01:38:59 Has anyone had any problems with Preware 1.1.5 ? Anyone testing it? Jul 12 01:39:11 hey Jul 12 01:39:23 rwhitby: what kind of problems ? Jul 12 01:39:47 bhuey: I'm considering making 1.1.5 a public release. hopefully there are no problems :) Jul 12 01:39:55 don't know Jul 12 01:40:10 launched it a few times, no crashes but I didn't install packages with it Jul 12 01:40:18 govnah is doing funny things Jul 12 01:40:25 like not displaying data Jul 12 01:43:23 yeah, that alpha version of govnah won't be going public any time soon Jul 12 01:44:52 Just updated to the new Warthog kernel. My Pre won't boot after installing it is there any way to recover without doctoring? Jul 12 01:45:51 it does boot, just takes long time Jul 12 01:45:58 You should be use to doctoring your testing device Jul 12 01:46:05 I know Jul 12 01:46:26 I'm just curious if there is a way to recover without doctoring I was waiting on a call :-/ Jul 12 01:48:15 well you probably should not have updated then. =) Jul 12 01:48:19 see www.webos-internals.org /wiki/Last_Resort_Emergency_BootLoader_Recovery Jul 12 01:48:19 try looking at alternative recovery. Jul 12 01:49:26 I installed warthog70, waited through the long boot, removed and all is back to stock, testing F105 too Jul 12 01:49:56 how long exactly is the boot? I waited 15 mins Jul 12 01:50:05 wait Jul 12 01:50:12 it just started laoding luna Jul 12 01:50:13 loading* Jul 12 01:50:17 it took at least 20 minutes to get to the flashing boot Jul 12 01:50:26 yep just worked Jul 12 01:50:37 how long did it take after that? Jul 12 01:50:42 it looks like that kernel boots at 125mHz Jul 12 01:50:52 gotcha Jul 12 01:51:20 after that seemed standard times, maybe a touch longer Jul 12 01:51:58 ok thanks Jul 12 01:52:05 I wasent able to post my findings as they happened cause of the stalling and lag Jul 12 01:52:22 I'm away from a reg pc Jul 12 01:55:10 rwhitby: the current draw stat was interesting Jul 12 01:55:27 draws a lot of current when I have tethering enabled Jul 12 01:57:00 not surprising, wifi and cell radios would swamp cpu current Jul 12 02:12:49 there is no reason why the kernel would boot at 125mhz since the overclock was not changed from -69 Jul 12 02:14:50 ah, I just seemed like it then,very long boot time Jul 12 02:15:47 I wonder what would cause that large of a lag and lengthy boot Jul 12 02:16:19 .config and lower set OPP Jul 12 02:17:58 were those results expected and settings intentional? Jul 12 02:22:18 no. Jul 12 02:22:27 we are looking into it now Jul 12 02:24:11 is it safe to uninstall a kernel -> reboot later -> install new kernel or should i do the what i have been doing and reboot between kernel installs? trying to save a reboot when going between warthog and f105. Jul 12 02:25:33 thx jhojho Jul 12 02:25:52 dreadchicken: yes Jul 12 02:26:18 yay logic bugs! Jul 12 02:43:45 i read that, "yay logic bugs, not" **** ENDING LOGGING AT Mon Jul 12 02:59:57 2010