**** BEGIN LOGGING AT Fri Oct 30 02:59:58 2009 Oct 30 03:00:12 why isn't it complaining about -llunaservice? Oct 30 03:01:11 idk why it dont complain about that but it does about glib Oct 30 03:01:24 egaudet: but i probably forgot that i put the so in that archive Oct 30 03:01:30 i mean Oct 30 03:01:42 i didnt intend to redistribute that .so Oct 30 03:01:45 but its there Oct 30 03:01:53 in usr/lib Oct 30 03:02:38 ah I thought I searched for it and didn't find it Oct 30 03:02:52 ok Oct 30 03:03:10 i have a wIRCd binary Oct 30 03:03:19 :D Oct 30 03:07:42 Installer was re-released? Oct 30 03:10:14 http://zsync.moria.org.uk/ Oct 30 03:10:29 egaudet: yep, it's up to 0.0.2 Oct 30 03:10:54 what major changes came this time! Oct 30 03:10:56 super speed? Oct 30 03:11:39 egaudet: colour scheme I believe ... Oct 30 03:12:05 it's hard to tell - the SVN repository deletes and re-adds every file on each revision Oct 30 03:12:31 that's lame Oct 30 03:12:56 where's this svn? Oct 30 03:13:42 nvm got it Oct 30 03:14:54 does anyone know a lot about gpl? Oct 30 03:15:54 richard stallman does ... Oct 30 03:18:59 got rid of startup scene Oct 30 03:19:52 or was that added in preware 095 Oct 30 03:21:44 that has not been released in preware yet Oct 30 03:37:45 man what a day Oct 30 03:38:34 egaudet: ? Oct 30 03:38:58 dBsooner, ? Oct 30 03:39:05 you haven't pushed? Oct 30 03:39:10 send me postinst and Makefile Oct 30 03:39:18 lol Oct 30 03:39:19 did you make prerm? Oct 30 03:39:23 not yet Oct 30 03:39:32 won't take a sec though Oct 30 03:54:16 ust signed up for UbuntuOne..auto sync files across all ubuntu machines.. 2GB free cloud storage, web mgmt at https://one.ubuntu.com/files/ Oct 30 03:55:30 egaudet: http://www.dbtrunk.com/postinst Oct 30 03:55:36 egaudet: http://www.dbtrunk.com/prerm Oct 30 03:55:45 egaudet might look at that prerm Oct 30 04:01:02 egaudet: Oct 30 04:02:01 prerm and postinst are made in common.mk.. Oct 30 04:02:12 so does the sed replacement have to take place in there? Oct 30 04:02:13 ? Oct 30 04:02:24 build/all/CONTROL/prerm Oct 30 04:02:35 yea same place the APP_DIR and PATCH_NAME gets inserted Oct 30 04:02:39 right Oct 30 04:02:40 and the prerm needs change Oct 30 04:03:21 so what do we do? Define the "EXTRA_FILES" in Makefile Oct 30 04:03:32 then in build/all/CONTROL/prerm Oct 30 04:04:01 do an if [ ${EXTRA_FILES} != "" ] then sed replace... fi? Oct 30 04:04:15 alright we need a re-do postinst maybe too Oct 30 04:04:34 ? Oct 30 04:04:36 image replacement is not a autopatch technology controlled only thing Oct 30 04:04:51 huh? Oct 30 04:05:12 I'm not sure we want to blindly backup and recover Oct 30 04:05:40 I don't like this at all Oct 30 04:06:14 sigh Oct 30 04:06:38 What other options do we really have? Oct 30 04:07:09 OK imagine this... a patch that also updates an image Oct 30 04:07:15 Hi rod Oct 30 04:07:23 yet a theme changes that image too Oct 30 04:07:28 it's not necessarily a conflict Oct 30 04:07:36 thewhitetower: i would say hi 'rwhitby', so it pings him. Oct 30 04:07:53 and then what if just the image wanted to update, not the patch. I still want to get image replacement into different package ideally. Oct 30 04:08:00 although if that's not possible and we need to do it in the scripts Oct 30 04:08:18 rwhitby has already said it's not possible. Oct 30 04:08:23 do we md5sum the existing image first? Do we save a new image md5sum Oct 30 04:08:26 that depends don't work the way we wanted them to Oct 30 04:08:31 he said it's not possible to use depends in that manner Oct 30 04:08:35 thewhitetower: hi Oct 30 04:08:46 egaudet + rwhitby i have a question for you Oct 30 04:08:47 didn't say it was impossible to do packages like this. Oct 30 04:08:53 42 Oct 30 04:08:59 do you think I could use a pointer as a unique id/token Oct 30 04:09:08 like as a key in a hashmap Oct 30 04:09:24 Hi mate - managed to get myself through the activation in German and through the various set-up screens and have managed to change the language to english Oct 30 04:10:05 thewhitetower: did you do the meta-doctor to change the keyboard? Oct 30 04:10:35 no mate - havent had a chance as yet - not quite sure how to do it Oct 30 04:11:52 PuffTheMagic, a pointer is just an 8 bit field, sure why not Oct 30 04:12:04 egaudet: I don't know man. I mean we can backup only md5sum'd original files.. Oct 30 04:12:18 but what about non-originals? Oct 30 04:12:56 egaudet: also, i memset a struct.... do i still need to malloc it first? Oct 30 04:12:59 dBsooner, I think we can back up whatever file is there fine, but only remove if the file hasn't changed or something. Oct 30 04:13:10 PuffTheMagic, depends Oct 30 04:13:29 ahh Oct 30 04:13:29 what's in the struct Oct 30 04:13:49 if you have pointers that have no allocated memory yet then yea Oct 30 04:14:03 pointers to functions Oct 30 04:14:08 egaudet: store "replaced" image in the package dir.. Oct 30 04:14:17 PuffTheMagic, no alloc needed then Oct 30 04:14:37 md5sum "original" and "package backed up", if they are equal, replace. Oct 30 04:14:43 s/replace/restore/ Oct 30 04:14:43 dBsooner meant: md5sum "original" and "package backed up", if they are equal, restore. Oct 30 04:14:58 only need to allocate if you need space for what the pointer is pointing too. Oct 30 04:15:16 but it's just going to be pointing to something that already exists in memory Oct 30 04:15:27 one hopes! Oct 30 04:16:04 dBsooner, why md5sum original? Oct 30 04:16:31 let me rephrase that Oct 30 04:16:50 backup, overwrite, md5sum new, save md5sums file. on removal, recover iff current file matches saved md5sums Oct 30 04:16:54 thewhitetower: do you have a linux box handy? Ubuntu preferably? Oct 30 04:17:09 thewhitetower: are you on GTalk by chance? Oct 30 04:17:15 egaudet: yes Oct 30 04:17:22 egaudet: that's what I meant.. in a nutshell. Oct 30 04:17:31 and EPR recovers regardless Oct 30 04:17:45 so there's the "out" Oct 30 04:17:48 egaudet: yeah Oct 30 04:17:53 egaudet: that makes sense Oct 30 04:18:00 egaudet: that would keep a "themed" image in place Oct 30 04:18:21 should be blow out the .webosinternals.orig if the md5sum's don't match? Oct 30 04:18:51 but then do we really want to stop the entire package from uninstalling just because the images were changed Oct 30 04:19:12 nope Oct 30 04:19:13 what if it's a case where the user wants the theme'd image but not the patched functionality anymore Oct 30 04:19:13 let it uninstall Oct 30 04:19:26 exactly Oct 30 04:19:27 so leave the images Oct 30 04:19:28 let it uninstall Oct 30 04:19:30 and leave the image Oct 30 04:19:33 but EPR will still screw it up Oct 30 04:19:38 blow out the .webosinternals.orig Oct 30 04:19:46 but think down the road Oct 30 04:19:48 then you lose the backup Oct 30 04:19:56 we want THEMES to be EPR whipable. Oct 30 04:20:15 yea but we don't control that, we may HOPE it, but that's not up to us Oct 30 04:20:54 true Oct 30 04:20:56 but you can build the spec that they can choose to follow Oct 30 04:21:03 oil: true as well Oct 30 04:21:11 rwhitby, oil, can we get a new metadata field? Oct 30 04:21:17 ? Oct 30 04:21:20 egaudet: depends Oct 30 04:21:24 like "MARRIED" or something, like an inter-depends Oct 30 04:21:28 no thats nt metadata Oct 30 04:21:30 xD Oct 30 04:21:53 that was to rwhitbys "depends" reply not to your question... Oct 30 04:21:57 I'm not sure it even makes sense at this point but thinking aloud Oct 30 04:22:52 so whats the difference between that and saying something depends on it and vice versa? Oct 30 04:23:14 because we want the package to get removed if either fail Oct 30 04:23:19 none of the married packages could be installed without the others Oct 30 04:23:25 A and B go in together and leave together Oct 30 04:23:26 egaudet: so far we've been able to get ipkgs compatible with standard ipkg behaviour. Oct 30 04:23:32 if A installs first and B fails, A needs removed. Oct 30 04:23:41 egaudet: I'd rather not add something that only Preware understands ... Oct 30 04:23:46 it probably doesn't make sense anyway Oct 30 04:24:00 basically you just want depends to act differently... Oct 30 04:24:13 if A and B need to be installed and removed together, then just put them in one package ... Oct 30 04:24:16 nevermind, it was a flawed idea Oct 30 04:24:29 yea rwhitby exactly Oct 30 04:24:58 I am with rwhitby on the idea of "not adding something that only Preware understands." Oct 30 04:25:09 rwhitby, do you see anything wrong with blowing away the backup image on removal if the image was modified but still exists Oct 30 04:25:11 egaudet: if we come up with an AutoPatch upgrade which can handle patches and themes interchangeably, then I think AnOutsider would go for it Oct 30 04:25:23 rwhitby: what if you don't? Oct 30 04:25:26 err.. Oct 30 04:25:29 egaudet: ^^ Oct 30 04:25:44 well AnOutsider is also not the only themer Oct 30 04:25:54 What about the next time that file wants to get replaced.. and .webosinternals.orig already exists? Oct 30 04:25:57 egaudet: he and us are the only ones that create ipkgs Oct 30 04:26:02 and Jason is already using patches in QI theme installs Oct 30 04:26:17 QI uses AP for patches inside themes though I believe Oct 30 04:27:25 Well I guess I like that best then. Don't recover the backup image if it was changed, but leave the backup file for EPR Oct 30 04:27:41 still continue to remove patch though Oct 30 04:27:49 do i need to do anything special to convert an "int" into a "unsigned short" Oct 30 04:27:56 egaudet: but what if a patch after that wants to change that same file? Oct 30 04:28:02 and the .webosinternals.orig is already there? Oct 30 04:28:08 overwrite it? Oct 30 04:28:27 PuffTheMagic, just cast it as long as you know your int doesn't overflow the short Oct 30 04:28:41 its a port number Oct 30 04:28:50 so what is the max port 65000 something Oct 30 04:28:50 simple cast should be fine Oct 30 04:28:56 ports can be up to 65535 Oct 30 04:29:11 egaudet: i figured out how to simplify things a ton Oct 30 04:29:17 i was making it way way to complicated Oct 30 04:29:18 dBsooner, what do you mean patch after that wants to change the same file? Oct 30 04:29:25 simplification good Oct 30 04:29:39 so we install A which overwrites image, then theme that image, then remove A which removes patch but not image and keeps backup Oct 30 04:29:49 then install A again would fail because we already have a backup... hmm Oct 30 04:30:19 PuffTheMagic, talking about wIRCd? Oct 30 04:30:21 oil: yeah 1 call Oct 30 04:30:24 egaudet: yeah Oct 30 04:30:29 egaudet: first patch creates this.png.orig, theme installs and changes this.png, unisntall patch and md5sum != so .png.prig is not recoverred, but left in place, Oct 30 04:30:38 patch 2 now wants to touch this.png.orig.. Oct 30 04:30:51 s/this.png.orig/this.png/ Oct 30 04:30:52 dBsooner meant: patch 2 now wants to touch this.png.. Oct 30 04:31:14 egaudet: exactly Oct 30 04:31:26 so you should either blow it out Oct 30 04:31:36 or force overwrite of .orig Oct 30 04:31:59 this is why i HATE file REPLACEMENT Oct 30 04:32:09 the most important thing is either to fail-safe or continue in a way that still allows EPR to work. Oct 30 04:32:17 I agree Oct 30 04:32:28 then I would say allow the .orig to be overwritten Oct 30 04:32:29 which means neither blowing away or force overwrite of orig Oct 30 04:32:35 sigh Oct 30 04:32:42 dBsooner, then your EPR recovers themed file Oct 30 04:32:46 so what if patch A wants to install again Oct 30 04:32:46 and no way to EPR back to original file Oct 30 04:33:05 so only back orig file Oct 30 04:33:09 and leave it Oct 30 04:33:11 we could just not copy the image over Oct 30 04:33:19 yeah Oct 30 04:33:21 good idea Oct 30 04:33:35 I mean there's no good way to solve this without themes agreeing with us Oct 30 04:34:00 if we were designing it for sure so that all image replacement was following this methodology it would be one thing, but to support multiple outside influences on images it's tough Oct 30 04:34:09 I'd say EPR sTill !compatible with Themes. :D Oct 30 04:34:22 that if you Run EPR it MIGHT break your theme. ;) Oct 30 04:34:44 egaudet: s/tough/next to impossible/ Oct 30 04:34:46 well EPR's first line in descriptions says --UNINSTALL THEME FIRST-- Oct 30 04:34:59 yep Oct 30 04:35:07 so screw the whatif's Oct 30 04:35:08 I don't care about breaking the theme with EPR Oct 30 04:35:27 ok .. scenario 1) Oct 30 04:35:29 EPR getting back to state prior to first touching the file for each file Oct 30 04:35:34 yes Oct 30 04:36:01 i'd say first run on install, backup to .orig if its not there Oct 30 04:36:14 reagardless if its a webOS original or "themedA" imaged Oct 30 04:36:18 then leave it Oct 30 04:36:34 dump the md5sum into info Oct 30 04:37:02 on removal, if md5sum's match, mv the .orig back over to . Oct 30 04:37:19 if md5sum's don't match, leave both files as is Oct 30 04:38:30 ... Oct 30 04:38:38 and then on 2nd install attempt? Oct 30 04:39:20 so on install if backup file exists, who cares Oct 30 04:40:22 yep Oct 30 04:41:50 http://webos.pastebin.com/m27bf536c Oct 30 04:42:25 meh didn't do md5sum nvm Oct 30 04:50:41 egaudet: got it yet? Oct 30 04:51:05 got the postinst Oct 30 04:51:07 working on prerm Oct 30 04:51:10 k Oct 30 04:52:30 This will officially make AutoPatch ready for themes Oct 30 04:52:34 you realize that right? Oct 30 04:58:19 postinst: http://webos.pastebin.com/d5d2fe4d0 Oct 30 04:58:28 prerm: http://webos.pastebin.com/m1ce96e8a Oct 30 05:01:19 mv $file.webosinternals.orig $file Oct 30 05:01:22 needs -f Oct 30 05:01:28 just in case Oct 30 05:02:17 no Oct 30 05:02:35 oh i see Oct 30 05:02:38 you rm'd it Oct 30 05:02:38 rm -f $file directly preceding it Oct 30 05:02:45 lol, I skipped tha tline Oct 30 05:03:10 and the busybox cp/mv I think will just blindly overwrite anyway Oct 30 05:03:59 wow.. princess leah is old Oct 30 05:04:09 egaudet looks good Oct 30 05:04:15 dBsooner, nice, was just thinking that Oct 30 05:04:48 egaudet, i confirm the funny functionality of the busybox cp/mv :) Oct 30 05:04:54 and she wasn't fat in the 70's.. Oct 30 05:05:01 and I dind't think she had boobs Oct 30 05:05:30 egaudet: what about removing the md5sum from the md5sums.patched? Oct 30 05:05:39 it's in the app dir Oct 30 05:06:12 so it gets blown away after removal Oct 30 05:06:16 oh. ok. Oct 30 05:08:13 ok I need sleep Oct 30 05:08:16 want me to send you the files? Oct 30 05:08:17 lol Oct 30 05:08:23 yeah Oct 30 05:08:37 another day of thinking and testing, maybe push tomorrow night Oct 30 05:08:42 k Oct 30 05:09:05 whats' your email Oct 30 05:09:08 * PuffTheMagic is disapointed with the mount of patch talk Oct 30 05:09:22 daniel.beames@dbtrunk.com Oct 30 05:09:29 or dbsooner@dbtrunk.com Oct 30 05:09:35 or webos-patches@dbtrunk.com Oct 30 05:09:38 * oil thinks there need to be more wirc talk xD Oct 30 05:09:43 or rod@webos-internals.org Oct 30 05:10:01 or opengl talk Oct 30 05:10:02 * dBsooner wants a hostname cloack! :( Oct 30 05:10:06 wtf my attach button doesn't work in yahoo firefox ubuntu karmic Oct 30 05:10:14 s/cloack/cloak/ Oct 30 05:10:21 lol Oct 30 05:10:27 oh yea.. karmic launched public today Oct 30 05:10:38 dBsooner: u can get a free one Oct 30 05:10:38 sudo apt-get dist-upgrade Oct 30 05:10:41 so what's the odds of a fully functional wIRC by Monday? Oct 30 05:10:46 PuffTheMagic: I want a cool one Oct 30 05:10:48 dBsooner: i mean.... u can get one right now Oct 30 05:10:54 dBsooner: i want a cool one Oct 30 05:11:09 PuffTheMagic: ^^ Oct 30 05:11:19 egaudet: by the 31st is my goal Oct 30 05:11:28 sweet Oct 30 05:13:42 I lost novaterm Oct 30 05:18:38 PuffTheMagic: have you done anything with the gui yet? Oct 30 05:18:45 oil: nope Oct 30 05:18:50 ok Oct 30 05:19:03 egaudet: u gonna have time to work on the service at all tomorrow/saturday? Oct 30 05:19:12 I should yea Oct 30 05:19:27 Not much going on this weekend Oct 30 05:19:54 http://img202.imageshack.us/img202/4793/screensy.png Another screenshot if you didn't see the first 2 they are here (http://img257.imageshack.us/img257/8679/screentl.png). Fun quick app. Oct 30 05:21:45 dBsooner, you get the files Oct 30 05:22:33 * oil <<3 that the service is being worked on Oct 30 05:32:05 egaudet: yep Oct 30 05:32:11 and Im asleep now. :D Oct 30 05:32:41 dBsooner: the last email address you wrote does not exist ... Oct 30 05:32:49 sNF Oct 30 05:32:50 DANG Oct 30 05:32:54 I tried anyway. :D Oct 30 05:34:38 how do you install palm novacom these days Oct 30 05:36:29 Has Palm changed their novacom driver? Oct 30 05:36:36 anyone know how the media framework functions? I need to figure out how the media server checks to see what pictures/audio/video is available and in the correct format to display in the music app / photo app / video player app Oct 30 05:36:43 I installed both palm sdk and palm novacom on ubuntu Oct 30 05:36:52 and I can't novaterm to my pre Oct 30 05:36:55 if the wifi driver is gpl, does palm have to release source mods? Oct 30 05:36:57 egaudet, why not? Oct 30 05:37:07 failed to connect to server Oct 30 05:37:08 egaudet, novacom -t open tty:// Oct 30 05:37:44 novacom service isn't running on my PC Oct 30 05:37:53 how do I Oct 30 05:37:53 droO: any modifications to GPL code must be released on request to those whom the binary was distributed to Oct 30 05:38:40 so i can request sd8xxx.ko source modifications? Oct 30 05:38:41 ;o Oct 30 05:38:47 droO: so your best avenue (if you are a Pre owner) is to send an email to the opensource palm email address listed on opensource.palm.com and ask for it. make sure you clarify what license anything they send you is. Oct 30 05:38:56 when i do modinfo sd8xxx.ko it says gpl Oct 30 05:39:02 er modinfo sd8xxx Oct 30 05:39:18 droO: real people read and respond to the palm opensource email address. Oct 30 05:39:28 egaudet, what package is installed according to apt? Oct 30 05:39:34 awesome :) Oct 30 05:39:42 how do I list packages with apt Oct 30 05:39:48 well i was originally told that the pre was using a closed source version of the marvell driver Oct 30 05:39:50 I installed palm-sdk and palm-novacom Oct 30 05:39:55 but when i did modinfo it says gpl so.. ;o Oct 30 05:40:05 droO: e.g. http://git.webos-internals.org/?p=libraries/luna-headers.git;a=blob;f=README Oct 30 05:40:41 nice im going to email asap :) thanks Oct 30 05:41:13 egaudet, what's the exact error? Oct 30 05:41:24 droO: and just like those - whatever source you get please let us know so we can host it Oct 30 05:41:34 error for what? Oct 30 05:41:45 novaterm just says failed to connect to sever Oct 30 05:41:47 server* Oct 30 05:41:54 and palm-emulator says novacom service isn't running Oct 30 05:42:01 egaudet, wait, are you running windows? Oct 30 05:42:04 no Oct 30 05:42:07 ubuntu Oct 30 05:42:08 karmic Oct 30 05:42:16 hm. Oct 30 05:42:26 egaudet, exact output of novacom -t open tty:// > Oct 30 05:42:30 er, without the > Oct 30 05:42:39 same thing Oct 30 05:42:46 "failed to connect"? Oct 30 05:42:50 I thought before I had to do initctl start novacomd or whatever Oct 30 05:43:01 * zsoc ponders Oct 30 05:43:04 no, shouldn't Oct 30 05:43:12 you have a physical pre connected via usb? Oct 30 05:43:12 the palm site now says to do "sudo stop palm-novacom" and start Oct 30 05:43:17 but i get no such service Oct 30 05:43:29 there is no such server, those docs must be old Oct 30 05:43:32 *service Oct 30 05:43:35 and when the palm-novacom package installed I looked at the output and it tried to stop/start that same thing but no such service Oct 30 05:43:59 so are you trying to connect to an emulator or a pre? Oct 30 05:44:04 hey guys Oct 30 05:44:06 wanna see something Oct 30 05:44:09 PuffTheMagic, no Oct 30 05:44:24 those instructions can't be old Oct 30 05:44:32 the newest palm-sdk package does NOT have the novaterm binary Oct 30 05:44:40 egaudet, well i don't have that service either and my novacom works fine :P Oct 30 05:44:49 zsoc, well don't ever remove it :P Oct 30 05:44:57 because they messed something up, or Karmic did Oct 30 05:45:02 egaudet, lol. double check devmode and all that stuff? Oct 30 05:45:08 yea Oct 30 05:45:11 I never take out of devmode Oct 30 05:45:48 PuffTheMagic, I want to see Oct 30 05:45:52 odd Oct 30 05:47:14 aggrivating Oct 30 05:48:48 hmph Oct 30 05:49:24 * jauderho looks for a car charger that does not cost $$$ Oct 30 05:49:53 do not buy the one from monoprice. 1 failed for me and the 2nd started smoking.... Oct 30 05:50:00 jauderho monoprice. Oct 30 05:50:16 jauderho, I bought mine from monoprice and it just flat out doesn't work anymore Oct 30 05:50:16 weird -- everything I've ever gotten from them worked great. Oct 30 05:50:24 worked for like a week or 2 and that's it Oct 30 05:50:33 trust me I WANTED the monoprice one to work but no dice Oct 30 05:50:42 and they only carry one rated for 1A Oct 30 05:51:12 how does the upstart work, how do I get an upstart script to go Oct 30 05:51:12 the second one started smoking as soon as i plugged it in Oct 30 05:51:19 made me sad. Oct 30 05:51:21 initctl start? Oct 30 05:51:41 maybe this? http://www.amazon.com/gp/product/B0018Q2WL0 Oct 30 05:51:46 we need 500ma right? Oct 30 05:51:50 1A Oct 30 05:52:11 1000mAh. 500 will charge but takes forever Oct 30 05:56:49 egaudet: can you whois wIRCd_user2 Oct 30 05:57:36 PuffTheMagic, thanks, i have your ip now ;) Oct 30 05:57:46 ooooohhhh Oct 30 05:58:53 no such nick Oct 30 05:59:03 What's the deal with upstart scripts Oct 30 05:59:23 am I suppose to be able to just initctl start