**** BEGIN LOGGING AT Tue Aug 23 02:59:56 2011 Aug 23 06:21:48 rrix: welcome. Aug 23 06:21:48 Suddenly everything makes more sense, lol Aug 23 06:22:08 it's much quieter in here. we don't allow end-users. Aug 23 06:22:23 Right. I always wondered how you guys got work done in there... Aug 23 06:22:23 this will be the best place to discuss ideas with dtzWill and myself Aug 23 06:22:51 Ok Aug 23 06:22:57 * rrix dredges up his patches Aug 23 06:23:48 I have, so far, a oneliner for the xterm build makefile: http://fpaste.org/MzR4/ Aug 23 06:24:57 along with xterm-launcher patch http://fpaste.org/MzR4/ which adds the tweaks json file and some nasty bashmagick to xecutah.sh Aug 23 06:25:16 woop, that patch has some extras, it looks liek Aug 23 06:25:35 http://fpaste.org/s8J3/ <== Aug 23 06:25:56 dtzWill suggested this earlier today and I rolled with it, so it's more about implementation details than anything else. Aug 23 06:26:02 Parsing luna-send in bash sucks Aug 23 06:27:16 luna-send has another switch for more machine-readable output Aug 23 06:27:41 try -f Aug 23 06:27:55 or maybe not. might be easier without it Aug 23 06:28:10 rrix: anyway, yeah, send me your ssh key Aug 23 06:28:27 Ok, incoming Aug 23 06:30:33 * rrix fires up touchpad emu Aug 23 06:33:08 That's... a little better Aug 23 06:33:16 rrix: key added. git@git.webos-internals.org:subdir/repo.git Aug 23 06:33:18 Still requires some bashmagick to parse though Aug 23 06:33:24 Yepperdo Aug 23 06:33:59 Should I push these or wait for dtzWill 's feedback? Aug 23 06:35:39 well, slightly nicer, let's try that bashmagick Aug 23 06:35:53 after I handle some gsoc stuff really quickly Aug 23 06:36:50 is that still happening now? Aug 23 06:37:06 Final evaluations are this week Aug 23 06:37:15 * rrix has to go prod some mentors to evaluate their students :( Aug 23 06:47:00 well, that's nice -f output gets mangled in my shell script :\ Aug 23 06:49:33 I just suck at bash actually. Aug 23 06:49:37 * rrix shuts up and goes to make coffee Aug 23 06:53:34 rixx, where are you? Aug 23 06:53:38 east coast? Aug 23 06:53:46 ka6sox: Arizona Aug 23 06:54:08 rwhitby: while you're tweeting about the fakesites, probably want to retweet this, too, just in case. https://twitter.com/trsohmers/status/105876389697290240 Aug 23 06:54:41 I have android followers in Phoenix, but not enough to keep a scumbag like that from making some money :\ Aug 23 06:54:46 rrix: nah, anyone who trusts anything on craigslist deserves what they get Aug 23 06:55:00 lol, this is true Aug 23 06:56:10 yeah, coffeetime Aug 23 07:36:22 Does the preware build machine have scratchbox installed? Aug 23 07:41:04 I need to build a complicated project and I always use sb2, would it be enough to alias the compiler commands to the cross compiler equivalents and run make? Headed to bed, will check livelogs tomorrow. Aug 23 07:41:59 unfortunately, this channel is not logged Aug 23 07:59:43 lol Aug 23 08:30:18 do you want it logged? Aug 23 08:31:48 dtzWill: rwhitby: gonna push my changes tomorrow. Need to sleep and haven't trusted myself with git for a few hours now, lol Aug 23 08:32:01 rrix: no worries **** BEGIN LOGGING AT Tue Aug 23 09:06:07 2011 Aug 23 12:49:21 . Aug 23 15:27:05 rrix: yay you tweaks-ified it! :D Aug 23 15:28:49 dtzWill, that looks like what we talked about 3-4months ago :D Aug 23 15:29:12 ka6sox-zzzz: haha, yep! only he actually did it \o/ Aug 23 15:29:53 yes, unlike me...a lazy bastard who never does anything. **** BEGIN LOGGING AT Tue Aug 23 16:51:08 2011 Aug 23 18:44:26 Aug 23 07:41:59 unfortunately, this channel is not logged Aug 23 18:44:32 http://logs.nslu2-linux.org/livelogs/wosi-dev.txt Aug 23 18:44:49 error454, that was fixed last night :D Aug 23 18:45:01 haha Aug 23 19:29:28 rwhitby: dtzWill: I just pushed to preware/build and x11/xterm-launcher Aug 23 23:21:22 rrix: thanks for the patch. how do we prevent root command injection ? Aug 23 23:24:10 Oh, dag nabit Aug 23 23:24:42 rwhitby: I will look at that in five minutes after I get this Handspring Visor I found to boot Aug 23 23:25:00 lol visor Aug 23 23:25:07 i know Aug 23 23:26:09 dtzWill: so should we do keyboard enable using a tweaks variable too? Aug 23 23:27:13 mmmm, tweaks Aug 23 23:28:27 rwhitby: zomg that's so easy it's delicious Aug 23 23:28:29 lol Aug 23 23:28:32 suuure Aug 23 23:28:37 and while we're at it Aug 23 23:28:40 preferred keyboard size Aug 23 23:28:41 lol Aug 23 23:28:47 (including none) Aug 23 23:40:50 right...so that means FS for us BT Keyboarders... Aug 23 23:43:35 ka6sox: indeed, the build i made you is just changing a boolean flag Aug 23 23:43:51 the code was written with these features in minds, just never figured out a useful way to control the knob Aug 23 23:44:00 tweaks is nice b/c that means it's configurable, but not dynamically so Aug 23 23:44:03 which is probably fine Aug 23 23:44:09 (for now) Aug 23 23:44:51 I thought that showing the keyboard was compiled in Aug 23 23:44:56 That'd be awesome Aug 23 23:45:56 rrix: it is, i'm saying there's no reason it has to be Aug 23 23:46:03 and for those that asked i've been providing builds with it compiled out Aug 23 23:46:41 Ahh, nice Aug 23 23:46:49 Having it in tweaks would be a lot nicer :) Aug 23 23:47:03 and yeah, that's a good idea :) Aug 23 23:52:39 if someone can help me tweaks-ify it i can make the xserver interpret these as command line options Aug 23 23:53:15 I can do the tweaks end of it Aug 23 23:53:37 deson't tweaks need to understand the nature of the option? Aug 23 23:53:38 dtzWill, as it is now...when you create the xserver in xecutah it assigns the display=:0 right? Aug 23 23:53:45 ka6sox: yeppers Aug 23 23:54:19 good...then its a short put from there to multiple xservers in separate cards with apps. Aug 23 23:54:46 \o/ Aug 23 23:55:16 * ka6sox checks to see if xecutah is node or c service based. Aug 23 23:55:36 ka6sox: c, i believe? Aug 23 23:55:58 yep Aug 23 23:56:51 rrix: oh cool you define a tweaks file Aug 23 23:56:53 and it supports enums Aug 23 23:56:54 hooray Aug 23 23:57:04 errr "ListSelector", w/e Aug 24 00:02:22 -vkb {"off","xs","s","m","l"}? Aug 24 00:06:14 Yup Aug 24 00:07:09 (working on this while my 'real' work compiles ;)) Aug 24 00:08:03 insert xkcd joke Aug 24 00:08:07 * rrix goes to engrave his new knife Aug 24 00:08:16 rrix: exactly Aug 24 00:08:25 errr the xkcd part anyway ^.^ Aug 24 00:09:43 anyone have that table of keyboard sizes somewhere? Aug 24 00:16:13 * rrix sighs Aug 24 00:16:19 This place is so disorganized right now Aug 24 00:16:28 * rrix decides to hack on stuff Aug 24 00:16:43 your space or us? Aug 24 00:16:51 My space Aug 24 00:17:20 Oh I gues I"m getting food Aug 24 00:20:19 L - 393, M - 340, S - 291, XS - 243 Aug 24 00:20:21 for future reference Aug 24 00:20:33 via https://developer.palm.com/distribution/viewtopic.php?f=70&t=16560 Aug 24 00:20:39 idk if same across portrait/landscape, here's hoping Aug 24 01:03:24 YAY keyboard tweakification here we come Aug 24 01:03:30 (prelim testing of the -vkb option is a win) Aug 24 01:09:37 sweet Aug 24 01:10:06 dtzWill: I think we outline the keyboard mapping limitations (limited by the Palm keyboard) in the documentation and then do a public release. Aug 24 01:10:57 iirc there's something about bluetooth keyboards that doesn't work Aug 24 01:11:06 various keys, or something? Aug 24 01:11:38 arrow keys for sure. Aug 24 01:12:00 ctrl+() modifier doesnt' work either. Aug 24 01:12:01 ka6sox: do any of the arrow keys work? Aug 24 01:12:09 lemme check Aug 24 01:12:24 ka6sox: can you run Xsdl+xev and tell me if any of the bt keys that don't work generate events? Aug 24 01:12:40 my understanding is the up arrow crashes Xsdl, but i think the rest just don't do anything? Aug 24 01:13:07 okay...let me find out how to do that. Aug 24 01:13:18 although i'm not sure if the control modifier on bt should block public release or not--either way that'd be useful Aug 24 01:17:54 Any preware environment Makefile ninjas in here? Aug 24 01:18:26 error454: HP hasn't assigned me a belt yet. Aug 24 01:18:36 lol Aug 24 01:19:24 rwhitby: I'm trying to determine the best way to build FFmpeg via this Makefile. Typically I run sb2 and just run make, not sure how that translates to a cross-compile environment Aug 24 01:21:35 If I could invoke scratchbox in the build it would be a lot easier Aug 24 01:24:57 error454: use the WIDK to build it, then drop the binary in a repo for inclusion in the build.git build Aug 24 01:25:03 see VBA for an example Aug 24 01:25:48 error454: note that we need the build process in the preware/cross-compile.git repo, validated by a third party, before we accept the built binary Aug 24 01:26:09 best we can do at the moment, unfortunately. Aug 24 01:26:47 rwhitby: what's the difference between having the build in the cross-compile.git repo vs building it in the preware/apps/ffmpeg makefile? Aug 24 01:27:16 * halfhalo wonders how hard it would be to get node being built and an ipk of it made. WIDK built node is faster than palm-built node Aug 24 01:27:39 error454: autobuilder doesn't have sb2 set up Aug 24 01:32:13 * rrix tr -cd '[:alnum:] [:space:]' 's the input to xecutah.sh Aug 24 01:32:34 rwhitby: stripping out all not-alnum and not-space characters should suffice, yah? Aug 24 01:32:45 I don't see why Tweaks values would need them. Aug 24 01:33:18 . Aug 24 01:33:21 rrix: what now? Aug 24 01:33:38 rrix: if something needs more, we can incrementally add Aug 24 01:33:58 dtzWill: rwhitby reminded me that it's possible to inject in to xecutah.sh using Tweaks Aug 24 01:34:18 rwhitby: right, isn't that what you already did in xterm-launcher? Aug 24 01:34:42 errr Aug 24 01:34:53 s/rwhitby/rrix/ Aug 24 01:34:57 :3 Aug 24 01:35:05 No, I just stripped out all the json Aug 24 01:35:34 it'd still be possible to inject in to it by setting the value in the tweaks db to, like "; rm -rf /" Aug 24 01:37:33 ohhh i see. you're saying that it's a vulnerability b/c tweaks/something posing as tweaks could inject bad things? Aug 24 01:37:40 hrm. Aug 24 01:37:51 Right Aug 24 01:37:55 I just pushed a fix for that. Aug 24 01:38:10 * rrix bbl Aug 24 01:38:44 dtzWill: I'm not sure if the tweaks service only responds to the app, so we may be overcautious Aug 24 01:45:33 can't hurt Aug 24 01:46:11 mmhmm Aug 24 01:46:14 rwhitby: Does /srv/preware/cross-compile/ exist on the build machine? Aug 24 01:48:29 no Aug 24 01:50:02 What should I point sys-root and prefix to then? Aug 24 01:55:48 error454: you do the cross-compile.git build yourself Aug 24 01:56:29 up,down,left,right keys on the TP keyboard do NOT crash X Aug 24 01:57:00 its ignoring the ctrl+{} and returning the base key code Aug 24 01:57:16 so a ctrl+a is 61 and so is a Aug 24 01:57:16 rrix: http://git.webos-internals.org/preware/build/commit/?id=3c7c4087409599a9e3a87a6f834b4c77e738b371 Aug 24 01:57:29 i think that second path should be ...tweaks.prefs/preferences Aug 24 01:57:34 ka6sox: oh damn Aug 24 01:57:44 okay then idk if they send 'control' modifier, i'll have to inspect it myself later Aug 24 01:57:56 (or figure something out) Aug 24 01:58:02 if it worked then i could've hooked up bindings Aug 24 01:58:07 ka6sox: tyvm, useful information. Aug 24 01:58:22 still mapping...gimme a few more minutes Aug 24 01:58:25 rrix: i'm following your tweaks changes as a guide ;) Aug 24 01:58:27 ka6sox: kk :) Aug 24 01:58:35 I have a tail on the capture file. Aug 24 02:01:51 rrix: only mentioning it instead of fixing, b/c i've never done tweaks stuff myself Aug 24 02:02:39 Did i bork my commit? Aug 24 02:03:17 rrix: nbd, i just wasn't sure Aug 24 02:03:29 By jove you're right Aug 24 02:03:35 * rrix was using http://www.webos-internals.org/wiki/Application:Tweaks#Sample_JSON_File as a guide Aug 24 02:03:56 oh, also annoyingly enough it's in testing/xterm Aug 24 02:03:56 okay dtzWill it appears as if Luna sucks up ctrl/symbol/the *entire* top row Aug 24 02:03:57 How do I test build Makefiles? Aug 24 02:04:01 not testing/x11-xterm-launcher Aug 24 02:04:27 wait what? Aug 24 02:04:37 rrix: in preware/build.git Aug 24 02:04:52 rrix: and yes, the we /were/ all on drugs when we architected that. Aug 24 02:05:00 I'm so confuzzled Aug 24 02:05:05 jokes aside, that's an artifact of switching a few times Aug 24 02:05:08 rrix: sorry :( Aug 24 02:05:24 the preware/build.git change you made Aug 24 02:05:24 why would you do that ;) Aug 24 02:05:33 was to testing/x11-xterm-launcher/Makefile Aug 24 02:05:44 and i'm saying that's outdated for ..lameness reasons Aug 24 02:05:45 I guess it's my fault I didn' read the logs first Aug 24 02:05:50 and should be in testing/xterm/Makefile Aug 24 02:05:54 Ok Aug 24 02:06:09 rrix: i'm okay with you making the 'mistake' of thinking we had that structured reasonably Aug 24 02:06:17 tbh i'm not sure why it's still there at this point, think for legacy devices Aug 24 02:06:27 Should it be in build target or postinst target while I'm in here? Aug 24 02:06:38 brb, quick work scrum Aug 24 02:06:59 eh, nevermind, I don't have anything to report Aug 24 02:07:21 haha Aug 24 02:07:45 dtzWill: please move the legacy packages to the obsolete dir Aug 24 02:07:54 dtzWill: since we know this works on all devices now Aug 24 02:08:33 errr Aug 24 02:08:34 does it? Aug 24 02:08:34 kk Aug 24 02:08:51 rrix: if you're making changes, lmk--and lmk when you're done. Aug 24 02:08:58 just pushed, I'm done Aug 24 02:09:12 (imagine what you're doing is quick and i wanna avoid odd merge changes with you editing files ijust moved away) Aug 24 02:09:12 in preware/build Aug 24 02:09:12 hehe Aug 24 02:09:12 kk Aug 24 02:09:17 perfect,ty Aug 24 02:09:21 dtzWill, I am done with this... Aug 24 02:09:25 I can send you the file if you want. Aug 24 02:09:39 ka6sox: great, that'd be wonderful. webos@wdtz.org Aug 24 02:09:44 got it. Aug 24 02:12:19 guess i should tag xterm then Aug 24 02:13:38 rrix: you want to be credited, and is 'rrix' preferred? Aug 24 02:15:15 go go gadget package building Aug 24 02:15:18 sigh i broke the usb on my desktop Aug 24 02:15:19 >_> Aug 24 02:15:58 well to be clear, and defend my honor, i had a usb cord plugged into front and a friend stepped on it while intoxicated Aug 24 02:16:04 but result is i can't reliably novaterm anymore Aug 24 02:16:07 * dtzWill wants novassh Aug 24 02:16:12 palm-install-via-ssh Aug 24 02:19:46 dtzWill: That's fine yup Aug 24 02:20:04 I take it it works? (I don't know how to test preware/build Aug 24 02:20:05 rrix: kk Aug 24 02:20:11 rrix: not exactly, but close enough. testing atm. Aug 24 02:20:22 not exactly==build-wise, i'll let you konw about the actual tweaksness shortly Aug 24 02:20:37 meep Aug 24 02:20:51 rr==roadrunner? Aug 24 02:21:01 haha Aug 24 02:22:09 does xterm usually take a second to show up? Aug 24 02:22:18 i guess since we force the user to hop around, doesn't really hurt Aug 24 02:22:19 :P Aug 24 02:22:20 Thereabout. luna-send has a delay, though. Aug 24 02:22:34 about .5 - .75 second by my count Aug 24 02:22:34 yeah, taht's waht i was concerned with. Aug 24 02:22:47 kk, and that seems to be what i'd guess it to be from informal/quick testing Aug 24 02:22:47 It did do two calls to luna-send in my first version, that sucked Aug 24 02:22:48 mmmkay Aug 24 02:22:51 ah Aug 24 02:22:52 haha Aug 24 02:23:23 I'm not sure there's much we could do about that .5-.75 though.. Aug 24 02:23:35 dtzWill, will email that when I get home...class time now Aug 24 02:23:43 rwhitby: does preware's install package option (the manual install) run the postinst? Aug 24 02:23:48 ka6sox: glhf :) Aug 24 02:24:08 dtzWill: yep Aug 24 02:24:39 mkay Aug 24 02:24:52 ended up with a file having 000644 appeneed to it, weird. Aug 24 02:25:26 hmm, again. Aug 24 02:25:31 bwah Aug 24 02:25:40 rrix: almost certainly not your fault, gimme a sec Aug 24 02:25:47 i'm debuggin more out-loud than i should ^.^ Aug 24 02:26:33 hehe, no worries Aug 24 02:26:41 ...the hell?? Aug 24 02:26:41 lol Aug 24 02:26:44 >.< Aug 24 02:26:56 If it was my fault there's something more confusing with y'all's build process than I thought... :) Aug 24 02:27:05 dtzWill: that happens if you build on osx and the pathnames are too long Aug 24 02:27:22 well i don't have osx :( Aug 24 02:27:33 hrm Aug 24 02:27:42 so you're saying if i push this than the autogbuilder won't have that problem? :3 Aug 24 02:27:42 lol Aug 24 02:28:01 but the pathnames is a good candidate for being too long Aug 24 02:29:44 I should probably set up a dualboot or get WIDK working in Fedora instead of hating on VMs all day long Aug 24 02:32:06 rrix: i'm getting xterm launched with things lke -fg lue and -bg lac Aug 24 02:32:52 o.O Aug 24 02:33:01 * rrix reinstalls from git Aug 24 02:33:13 well i cna give you luna-send results Aug 24 02:33:18 and we can fix the tr/cut stuff? Aug 24 02:34:29 * rrix has luna-send stuff, looking at things right now Aug 24 02:35:28 http://privatepaste.com/95e9cee5c2 Aug 24 02:35:39 here i get 'lue' Aug 24 02:35:39 lol Aug 24 02:35:41 http://privatepaste.com/7f5a31f508 Aug 24 02:35:42 by 'here' Aug 24 02:35:42 i mean Aug 24 02:35:43 on the tp Aug 24 02:35:44 :\ Aug 24 02:35:51 let me fire up ssh Aug 24 02:37:05 rrix: http://privatepaste.com/e9e2a7951c Aug 24 02:37:26 lol wtf Aug 24 02:38:29 oh, the device dosen't support those [:alnum:][:space:] things Aug 24 02:39:03 does seem to support a-zA-Z0-9 Aug 24 02:39:21 (do we want spaces, anyway?) Aug 24 02:39:22 fraaaah Aug 24 02:39:25 busybox :( Aug 24 02:39:42 hehe yep Aug 24 02:39:48 (i'll fix) Aug 24 02:40:29 Ok Aug 24 02:41:15 o.O i can't ssh to my touchpad on this wifi anyways Aug 24 02:41:53 actually, brackets don't work either Aug 24 02:42:09 so tr -cd 'a-zA-Z0-9' Aug 24 02:42:09 sed isn't a part of busybox is it? Aug 24 02:43:31 maybe, but this works for now. Aug 24 02:43:41 rwhitby: any thoughts on wth is going on with this 0000644 thing? Aug 24 02:44:21 sed is a part of busybox, but it'd probably work Aug 24 02:44:28 just sed out anything evil Aug 24 02:46:41 sigh, stupid 0000644 being appended to the filename Aug 24 02:48:41 looks like permissions mask Aug 24 02:48:54 yah Aug 24 02:49:08 i hear y'all, but why is that appended :( Aug 24 02:49:33 it's definitely not in the .tar Aug 24 02:49:36 ustar format? Aug 24 02:49:43 woot, derped my ubuntu chroot Aug 24 02:51:11 dtzWill: I believe it's something in the OSX tar Aug 24 02:51:30 rrix: okay looks like this works Aug 24 02:51:40 only issue is this packaging thing :/ Aug 24 02:51:53 dtzWill: I know that building on linux always fixes that problem Aug 24 02:51:54 rwhitby: hmm, okay. i'm not running osx, i'll look into it. Aug 24 02:52:03 dtzWill: what are you building on? Aug 24 02:52:03 i'm on linux. maybe it's my tar ^.^ Aug 24 02:52:10 rwhitby: linux, but not the ubuntu we expect. Aug 24 02:52:13 strange, very. Aug 24 02:52:35 rrix, rwhitby: should the ubuntu xterm deal be updated as well? Aug 24 02:52:37 tweaks-ified? Aug 24 02:52:45 or do we expect people to use that and launch their own things, or.....? Aug 24 02:52:53 hmmm Aug 24 02:52:57 I don't see how adding it could hurt Aug 24 02:53:14 yeah, please add it, using the same tweaks values Aug 24 02:53:30 The exact same ones, or different keys? Aug 24 02:53:37 er, you know what I mean Aug 24 02:53:40 rrix: same, i think. Aug 24 02:53:42 same Aug 24 02:53:43 * rrix nods Aug 24 02:54:04 well here goes nothing Aug 24 02:54:04 lol Aug 24 02:54:44 * rrix injects values in to dtzWill 's tweaks db Aug 24 02:55:06 rrix: lol Aug 24 02:55:12 rrix: how's that? Aug 24 02:55:27 magick or something. Aug 24 02:55:36 anyway, maybe solutoin is for the chroot wrapper deal to invoke same xterm deal Aug 24 02:55:48 meh guess i could just copy the tweaks code lol Aug 24 02:57:49 ... my touchpad is redownloading the ubuntu chroot image at 580b/s ~_~ **** ENDING LOGGING AT Wed Aug 24 02:59:57 2011