IRC log of #maemo-devel for Monday, 2010-04-19

*** SpeedEvil has quit IRC00:03
*** SpeedEvil has joined #maemo-devel00:03
*** RAAFAT has joined #maemo-devel00:10
*** VDVsx has quit IRC00:12
*** VDVsx has joined #maemo-devel00:13
*** Joonas has quit IRC00:22
*** VDVsx has quit IRC00:23
*** Lu_N900 has quit IRC00:24
*** lukkash1 has quit IRC00:27
*** Lu_N900 has joined #maemo-devel00:28
*** Milhouse has quit IRC00:38
*** Lu_N900 has quit IRC01:12
*** dragon900 has joined #maemo-devel01:23
dragon900hi01:23
*** achipa has quit IRC01:28
*** frals has quit IRC02:13
*** frals has joined #maemo-devel02:14
*** SpeedEvil has quit IRC02:39
*** SpeedEvil has joined #maemo-devel02:58
*** psybermonkey has joined #maemo-devel03:23
*** swc|666 has quit IRC03:25
*** njsf_1 has joined #maemo-devel03:28
*** njsf_1 is now known as njsf_03:28
*** njsf_ has joined #maemo-devel03:28
*** swc|666 has joined #maemo-devel03:39
*** njsf_ has left #maemo-devel03:40
*** t7g__ has quit IRC04:05
*** T7g has joined #maemo-devel04:08
*** Ken-Young has quit IRC05:16
*** dragon900 has quit IRC06:29
*** psybermonkey has quit IRC06:45
*** dragon900 has joined #maemo-devel06:52
*** psybermonkey has joined #maemo-devel06:52
*** psybermonkey has quit IRC06:54
*** DocScrutinizer has quit IRC07:33
*** DocScrutinizer has joined #maemo-devel07:33
*** aboyer has joined #maemo-devel08:42
*** tealbird1 has joined #maemo-devel08:46
*** Aranel_ has quit IRC09:10
*** Aranel has joined #maemo-devel09:10
*** Aranel has joined #maemo-devel09:10
*** dragon900 has quit IRC09:18
*** bricks has joined #maemo-devel09:21
*** RAAFAT has quit IRC09:25
*** psybermonkey has joined #maemo-devel09:51
*** ppenz has joined #maemo-devel09:58
*** tbf has joined #maemo-devel10:30
*** swc|666 has quit IRC10:30
*** Joonas has joined #maemo-devel10:31
*** psybermonkey has quit IRC11:02
*** dazo_afk is now known as dazo11:14
*** amigadave has joined #maemo-devel11:18
*** Joonas has quit IRC11:38
*** Joonas has joined #maemo-devel11:41
*** fluxper has joined #maemo-devel11:54
fluxperhello everyone11:55
fluxperanyone here eager to give maemo developing advice? :)11:55
lcukpeople will gauge their eagerness based on the simplicity of answering the question personally11:56
lcukask away11:56
fluxperwell, i'm trying to get started with a desktop widget11:56
fluxperam i currect in my assumption that anything 'slidey' won't work because all sliding is being interpreted as a change desktop gesture?11:57
fluxper(if my coding is as bad as my typing, i might as well give up right now.. ;)11:57
fluxper...assuming that's correct, i tried to put up some pushbuttons (via Qt, mind you), but there's something odd going on: the first click on a button never activates it, only subsequent ones. does anyone have an idea what the problem might be?11:59
lcukooh fluxper im not sure! qt widgets are in infancy - but there are some examples, do they exhibit the same problem?12:00
fluxperyes, that's what i thought.. didn't see any examples with buttons yet12:01
fluxperbut i didn't look all too thoroughly yet12:01
lcukask around in #qt-maemo they might have more knowledge about which examples to check etc12:01
fluxperoh, ok, didn't know about that one12:01
fluxperthanks12:01
*** psybermonkey has joined #maemo-devel12:10
*** achipa has joined #maemo-devel12:30
*** Acedip has joined #maemo-devel12:30
*** simeoni has quit IRC12:35
*** Acedip has quit IRC12:44
*** SpeedEvil has quit IRC12:59
achipadoes anyone know what the mad-developer thingy is based on ? sbrsh ? or ?13:00
*** Acedip has joined #maemo-devel13:03
*** simeoni has joined #maemo-devel13:10
*** Acedip has quit IRC13:12
*** SpeedEvil has joined #maemo-devel13:18
*** SpeedEvil has quit IRC13:18
*** SpeedEvil has joined #maemo-devel13:18
*** Acedip has joined #maemo-devel13:24
*** Acedip has quit IRC13:31
*** psybermonkey has quit IRC13:38
*** dymaxion has quit IRC13:46
*** Acedip has joined #maemo-devel13:47
*** Acedip has quit IRC14:03
*** jliu has left #maemo-devel14:11
*** Acedip has joined #maemo-devel14:15
*** Acedip has quit IRC14:35
*** dragon900 has joined #maemo-devel14:56
*** imironchik has joined #maemo-devel15:11
imironchikHi, guys. I need help. Ia anobody know how to handle camera hardware key events?15:11
SpeedEvilsee camkeyd15:12
SpeedEvilI don't think it's possible to override the camera key fully pressed event opening the camera though15:13
SpeedEvilat least not without replacing nokia stuff15:13
imironchikI've heared abot camkeyd15:15
imironchikBut I can't find theirs sources15:15
imironchikCam you link me up to the sources?15:16
SpeedEvilnope15:16
SpeedEvilhttp://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=camkeyd+source15:16
imironchikI was there. Only binaries15:20
imironchikshotcutd very useful in this case...15:22
imironchikhere sources: http://repository.maemo.org/extras- devel/pool/fremantle/free/source/s/shortcutd15:22
imironchikthx for yours replies15:23
*** imironchik has quit IRC15:26
*** tukku has joined #maemo-devel15:59
*** fluxper has quit IRC16:00
*** tukku has quit IRC16:01
*** rsalveti has quit IRC16:04
*** njsf_ has joined #maemo-devel16:27
*** imironchik has joined #maemo-devel16:41
imironchikHi. Can anybody explain me where is service name, object path, interface of the DBus here: /org/freedesktop/Hal/devices/platform_cam_focus? Thx16:42
imironchikAbd sorry for the offtopic16:42
*** rsalveti has joined #maemo-devel16:44
*** imironchik has quit IRC17:04
*** ppenz has quit IRC17:05
*** lizardo has joined #maemo-devel17:10
*** SpeedEvil has quit IRC17:16
*** SpeedEvil has joined #maemo-devel17:19
*** njsf_ has quit IRC17:36
*** SpeedEvil has quit IRC17:47
*** psybermonkey has joined #maemo-devel18:03
*** psybermonkey has quit IRC18:03
*** Joonas has quit IRC18:12
*** lcuk has quit IRC18:13
*** lcuk has joined #maemo-devel18:14
*** Joonas has joined #maemo-devel18:16
*** achipa has quit IRC18:29
*** bricks has left #maemo-devel18:37
_Lucretia_I keep seeing mentions of emulated tools being run in the build process, what are these exactly?18:38
*** _Lucretia_ has quit IRC18:52
*** amigadave has quit IRC18:56
*** SpeedEvil has joined #maemo-devel18:59
*** _Lucretia_ has joined #maemo-devel19:19
*** amigadave has joined #maemo-devel19:24
*** amigadave has left #maemo-devel19:24
joorinlucretia, its the evil called scratchbox that uses qemu to run armel binaries.19:37
joorinlucretia, it uses binfmt_misc in the kernel to make it happen (if i understood the setup properly).19:42
_Lucretia_ok19:47
_Lucretia_but I don't even understand why it's running armel binaries during a build anyway, this is a cross build ffs!19:47
joorinlucretia, if the armel binary is the one thats capable of generating armel binaries, thats how youll do it. i dont like it either.19:48
joorinlucretia, cross compiling has its own meaning here.19:48
*** Aranel has quit IRC19:48
lcuknahh cross compilation is one thing - making an entire toolkit operate and get ARMEL related answers at each stage of the build is completely different19:49
joorinlcuk, yes, i agree, but "cross compilation" is the name used by many when talking about what scratchbox does.19:50
joorinlcuk, as ive said before, an x86 compiler that generates armel binaries is what id like.19:51
joorinlcuk, but at the moment im going to see what i can do with the rootstrap i moved to the n900. compiling works fine but there is the issue with include files.19:51
joorinlcuk, sadly work and social things take too much time to really get going.19:53
lcukjoorin, dont most of hte linux packages require a complete build environment tho?19:55
lcukie, i believe gcc + a pre build standard libaray allows it to generate necessary binaries19:55
*** swc|666 has joined #maemo-devel19:56
_Lucretia_from what I can see, the toolchain is x86: /scratchbox/compilers/cs2007q3-glibc2.5-arm7/libexec/gcc/arm-none-linux-gnueabi/4.2.1/cc1: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped19:56
* _Lucretia_ is confused19:56
joorinlcuk, if i get the include files where i want them, im getting somewhere.19:57
joorinlucretia, compile something with that compiler and check the binary...19:57
joorinlucretia, if its an x86 compiler that generates armel binaries, i have misunderstood quite close to everything.19:58
_Lucretia_file a.out19:59
_Lucretia_a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped19:59
joorinlucretia, or im just overlooking some package with the compiler im looking for.19:59
* joorin is getting tired now.19:59
_Lucretia_that was Built using /scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/arm-none-linux-gnueabi-gcc hello.c19:59
lcukjust get over scratchbox and move on20:00
_Lucretia_lcuk: I would love to20:00
lcukor if you dont at least you have a working build toolchain to compare against20:00
lcukand poke around at20:00
joorinlcuk, im on my way to get over scratchbox, by creating my own development environment. ;)20:00
lcuki did that last year20:00
joorinlucretia, could you check which package that compiler comes from?20:00
lcukon device simplified my mind20:00
_Lucretia_lcuk: how did you do it?20:00
lcuknative armel build system20:01
lcukapt-get install build-essential20:01
_Lucretia_joorin: that compiler comes from the codesourcery stuff20:01
_Lucretia_lcuk: you built on an arm system?20:01
lcuk600mhz is almost 10x faster than my amiga ever used to be20:01
joorinlucretia, scratchbox lists lists a whole lot of packages. if i could find the one with that binary in it, thing would look interesting.20:02
* _Lucretia_ doesn't fancy compiling gcc on an n90020:02
lcukits in a repository already20:02
_Lucretia_joorin: it's listed in the maemo-scratchbox-*.sh20:02
lcukbut meh20:02
joorinlucretia, yes, but you did the install, i assume, so youd be able to ask the packaging system which package the binary belong to. or couldnt you?20:03
* _Lucretia_ is not up on debian commands, hang on20:03
joorinlucretia, looking in all packages to find which one has that is possible but youve done the install.20:03
joorinthe equivalence of rpm -qf /path/to/binary20:04
_Lucretia_in the install script, there are mentions of both scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.14-2-i386.tar.gz and scratchbox-toolchain-cs2007q3-glibc2.5-arm7_1.0.14-2_i386.deb20:05
joorinlucretia, ok. then i guess ill have to check that one. thank you for looking.20:05
joorinbut in tgz shape, it looks like source. no fun to compile it.20:08
_Lucretia_dpkg -S arm-none-linux-gnueabi-gcc20:08
_Lucretia_dpkg: *arm-none-linux-gnueabi-gcc* not found.20:08
_Lucretia_joorin: no, the shell script downloads the binaries20:09
joorinlucretia, so __download_source_tarball is just a scare?20:09
joorinmeh, im sure its easy to convert .deb to whatever.20:10
_Lucretia_what do you mean, scare?20:14
joorini was just trying to see how one would go about not having to compile things and overlooked converting the deb binary packages to something else, like a plain tar.gz and put wherever i want.20:15
*** t-tan has joined #maemo-devel20:16
joorinthe tiny 2GByte partition will sure be very full.20:16
_Lucretia_Joonas: debs are iirc, ar archives I think20:16
joorinbut for now i think i should just shut up and tinker a bit. ;)20:16
_Lucretia_there is a way to extract the 3 files from a deb, the data.tgz will be the one with all the files in20:16
_Lucretia_tbh, it should be possible to build a compiler outside of sb and use it inside20:18
joorinindeed.20:18
joorinbut if i get a binary in my lap, ill use it to get fast builds.20:18
joorinand if i expose the development environment to the n900, ill be able to run the result directly.20:18
_Lucretia_i'll let you know if I get anywhere20:21
_Lucretia_joorin: you on linux right?20:21
joorinlucretia, indeed.20:21
* _Lucretia_ is reinstalling scratchbox cos his install might be fucked20:21
joorin357MBytes of compiler goodness. oh my.20:25
joorini do wonder how this differs from the rootstrap apart from the binary status. hohum, ill tinker a bit more.20:26
joorinoh my, hello world compiled by native compiler to armelv7 in the blink of an eye. no its starting to look interesting.20:28
joorin"now"20:28
_Lucretia_you working with the sb sdk?20:29
joorinlucretia, abusing it more likely.20:29
_Lucretia_afaik, the rootstrap contains a basic fs for bootstrapping the boot of the n900, this is used on boot, which then gets switched over to the actualy fs20:29
joorinlucretia, i see.20:30
_Lucretia_in the install I see this: Saving to: `/tmp/scratchbox-toolchain-cs2007q3-glibc2.5-arm7_1.0.14-2_i386.deb'20:30
_Lucretia_and that file is now in /tmp20:31
joorinwhat im looking for now is the hildon, gtk and qt include files to be able to compile for those.20:32
joorinwhat would be the dev package in RPM lingo.20:32
_Lucretia_er, this is debs not rpms20:35
joorinlucretia, yes, i know. ;)20:35
joorinlucretia, but i have no idea how deb packages are divided when it comes to binaries and include files. in the RPM world, itd be the dev package that id download.20:35
*** t7g_ has joined #maemo-devel20:36
joorinlucretia, but this is something of a special case.20:37
_Lucretia_in debian, the development files are separated into a *-devel* deb20:37
_Lucretia_that includes all incude files20:37
joorinlucretia, ok.20:37
_Lucretia_there are then debug deb's which include debug builds of libs20:38
_Lucretia_iirc, rpm separates bin and devel too20:38
joorinlucretia, but in this case, is it hildon-devel.deb im looking for or something from the SDK or something from the scratchbox install?20:38
_Lucretia_joorin: apt-cache search hildon20:38
_Lucretia_from within sb20:38
joorinlucretia, ha i been running debian, that might have worked, alas im running fedora.20:38
joorinoh well, time to eat. tinkering will have wait a bit.20:40
joorinlucretia, thank you for your help.20:40
*** T7g has quit IRC20:40
_Lucretia_joorin: but, sb uses debian tools20:41
joorinlucretia, and i do my best to ignore that. ;)20:54
*** kkito has quit IRC21:07
*** dazo is now known as dazo_afk21:09
*** silbo___ has joined #maemo-devel21:42
joorinlucretia, you wouldnt happen to know the exact name of the maemo-sdk-dev deb file you downloaded?21:42
joorinapt-get update fails for me...21:43
joorinand i dont get why http://repository.maemo.org/dists/fremantle/sdk is protected from directory listing. is there anything secret in there?21:47
joorinall this talk about debian being the open and free platform, pfff...21:55
joorinbut really, why hide a repository?21:56
joorinand apt-get has no verbose flag apart from showing fancy version number.21:58
*** Miniscalope has joined #maemo-devel22:01
*** Miniscalope has left #maemo-devel22:02
SpeedEvilBlame incompetence - or nobody thinking when setting up the webserver.22:03
*** edisson has joined #maemo-devel22:03
*** swc|666 has quit IRC22:04
*** lukkash has joined #maemo-devel22:07
joorinspeedevil, well, its a punishment if all that stands between me and hildon, gtk+ and qt includes (with libraries) is hidden like that.22:08
joorinbut i guess apt-get fails for some debian specific reason.22:09
joorinapt-get update22:10
joorinIgn http://repository.maemo.org fremantle/sdk Release.gpg22:10
joorin12% [Working]FATAL -> Could not set non-blocking flag Bad file descriptor22:10
joorinE: Method http has died unexpectedly!22:10
joorinmeh.22:10
joorineither apt-get is crap at reporting errors or some other error is broken.22:11
joorinbut as it stand now, i can develop command line applications. thats a start at least.22:13
*** VDVsx has joined #maemo-devel22:14
joorinim thinking about exploring a bit, like with this proximity meter.22:14
joorinive seen some DBus daemon for it but feels like cheating.22:14
joorinand the accelerometer is interesting.22:15
joorini even gt that Nokia token thingy and added it to /etc/apt/sources.list22:17
joorinand its cute how Nokia and Apple share the same clause about never being responsible to pay more than 10USD in damages if they fuck things up.22:18
_Lucretia_joorin: I downloaded the shell scripts from forum.nokia22:32
*** t-tan has quit IRC22:38
*** swc|666 has joined #maemo-devel22:51
joorinlucretia, do you have a log of the deb packages that were downloaded while installing the SDK?23:20
joorinlucretia, or do you perhaps still have them in your /tmp or wherever you placed them?23:20
joorinand changing the method to ftp in sources.list makes no difference. ;(23:31
joorinconnection refused.23:31
joorinoh my. after creating /dev/null with mknod, apt-get runs just fine.23:37
joorinthis is so much fun. ;)23:38
*** VDVsx has quit IRC23:38
*** silbo___ has quit IRC23:44
joorinand installing nokia-binaries put me juuust over 1GByte of data. with some errors, of course.23:46
joorinso, id say im all set for developing whatever i want after i fix the broken dependencies in regards to dynamically linkable libraries.23:47
joorinand after i make the compiler play nice. oh my.23:51
*** lizardo has quit IRC23:51

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!