IRC log of #maemo-devel for Thursday, 2010-03-18

*** SpeedEvil has quit IRC00:03
*** jebba has left #maemo-devel00:17
*** dazo_afk has quit IRC00:18
*** SpeedEvil has joined #maemo-devel00:19
*** tbf has quit IRC00:24
*** dazo has joined #maemo-devel00:30
*** dazo is now known as dazo_afk00:31
*** Aranel has quit IRC00:56
*** Aranel has joined #maemo-devel00:57
*** Aranel has quit IRC00:57
*** Aranel has joined #maemo-devel00:57
*** Mek has quit IRC01:11
*** GlennD has quit IRC01:22
*** Mek has joined #maemo-devel01:27
*** kamui__ has joined #maemo-devel01:46
*** lbt has quit IRC01:48
*** shinkamui has quit IRC01:49
*** edisson has quit IRC02:00
*** BabelO has quit IRC02:07
*** njsf_ has joined #maemo-devel02:08
*** njsf_ has quit IRC02:10
*** njsf_ has joined #maemo-devel02:14
*** Pavel has quit IRC03:13
*** rsalveti has quit IRC03:25
*** Pavel has joined #maemo-devel03:26
*** rsalveti has joined #maemo-devel04:03
njsf_Hi all. Anyone know where I could find the sequence that makes bluetooth select/activate the sw08 keyboard? I have an old Palm BT keyboard I'd like to add the layout for and use :D04:52
*** shinkamui has joined #maemo-devel05:03
*** kamui__ has quit IRC05:07
*** arakthor has quit IRC05:11
*** njsf_ has quit IRC06:15
*** thomaz has joined #maemo-devel06:26
zgoldCan anybody think of a quick way to figure out ow many apps are in C vs python in Fremantle extras or extras-devel ?06:29
*** zgold has quit IRC07:19
*** scoopr has quit IRC07:19
*** ieatlint has quit IRC07:19
*** lcuk has quit IRC07:19
*** Wolfie has quit IRC07:19
*** lardman has quit IRC07:19
*** tommost_ has quit IRC07:19
*** DocAvalanche has joined #maemo-devel07:30
*** DocScrutinizer51 has quit IRC07:30
*** Docscrutemp has joined #maemo-devel07:31
*** Docscrutemp is now known as DocScrutinizer5107:31
*** DocScrutinizer has quit IRC07:31
*** Acedip has joined #maemo-devel07:52
*** Acedip has joined #maemo-devel07:53
*** sleipnir has joined #maemo-devel08:32
*** silverbullet has joined #maemo-devel09:05
*** BabelO has joined #maemo-devel09:06
silverbullethi , anyone there ?09:07
silverbulleti have a question about compilation09:08
silverbulletumm, i am writing code in madde, in windows 7 .. . i included glib.h in my source file and "mad make" says it cant find glib.h09:08
*** scoopr has joined #maemo-devel09:14
*** lcuk has joined #maemo-devel09:14
*** Wolfie has joined #maemo-devel09:14
*** zgold has joined #maemo-devel09:14
*** lardman has joined #maemo-devel09:14
*** tommost_ has joined #maemo-devel09:14
*** ieatlint has joined #maemo-devel09:14
*** sleipnir has quit IRC09:16
*** sleipnir has joined #maemo-devel09:16
*** bricks has joined #maemo-devel09:17
*** lbt has joined #maemo-devel09:27
*** silverbullet has quit IRC09:28
*** sleipnir has quit IRC09:33
*** ppenz has joined #maemo-devel09:49
*** frals has quit IRC10:06
*** zgold has quit IRC10:11
*** frals has joined #maemo-devel10:16
*** zgold has joined #maemo-devel10:19
*** dazo_afk is now known as dazo10:21
*** spliffy_ has joined #maemo-devel11:12
*** spliffy has quit IRC11:13
*** kodomo has joined #maemo-devel11:15
*** kodomo_ has quit IRC11:18
*** SpeedEvil has quit IRC11:24
*** SpeedEvil has joined #maemo-devel11:25
*** DocAvalanche is now known as DocScrutinizer11:25
*** DocScrutinizer has quit IRC11:26
*** DocScrutinizer has joined #maemo-devel11:26
cataskadoes any one know uiemo example out there?11:57
lcukcataska, mm?12:18
*** tbf has joined #maemo-devel12:23
*** rsalveti has quit IRC12:45
*** barfoos has joined #maemo-devel12:46
barfoosis there a guide on how to write stable desktop widgets?12:47
barfoosi wonder if i have done everything right. my application sometimes hangs with hildon-home hogging the cpu12:48
barfoosi can't make out the cause, even if i run it (it's a pthon script) from the console12:49
barfoosthere is no exception thrown an no unusual output12:49
cataskalcuk: yeap, uiemo example12:50
barfoosany tips or pointers? do i have to implement some methods, so that hildon-home-plugin runs stable?12:52
barfoosi took recaller.py as example12:54
*** lizardo has joined #maemo-devel12:55
lcukcataska, you will have to lookup yourself, ive never heard of it so port it and make noise on the forums to drum up support12:58
*** go1dfish_ is now known as go1dfish13:03
*** lupine_85 has quit IRC13:03
*** lupine_85 has joined #maemo-devel13:04
*** lupine_85 has quit IRC13:06
*** lupine_85 has joined #maemo-devel13:09
*** rsalveti has joined #maemo-devel13:12
*** Tuxprobe has joined #maemo-devel13:17
Tuxprobehi all13:17
*** fregl has quit IRC13:18
*** fregl has joined #maemo-devel13:18
Tuxprobei am trying to finalize my .deb package from a from-scratch automake environment13:19
*** Acedip has joined #maemo-devel13:19
lcukfire away Tuxprobe13:19
Tuxprobebut when i do dpkg-buildpackage the resulting package cannot be installed via the package-manager on my device (nor in sdk)13:19
Tuxprobei think i am missing the .desktop and .service files somewhere13:20
lcukmake package in normal scratchbox, then make package in your custom one (for identical source)13:20
lcukextract and diff13:20
lcukand you will confirm13:20
Tuxprobethe problem is, when i run 'make distcheck', these files are not included in the tarball13:21
Tuxprobei distcheck to tar files, then unpack in a different directory to setup debian/ folder, is'nt this the smarter way?13:22
Tuxprobelcuk the package is a new developed application, nothing to do diff :)13:23
lcuksure there is13:23
lcukcreate .deb once from scratchbox ( call it a.deb)13:23
lcukcreate .deb once from n900int ( call it a.deb)13:23
lcukcreate .deb once from n900int ( call it b.deb)13:24
lcuksorry13:24
Tuxprobe'n900int'??13:24
lcukyes you are making debs internally on your n900 arent you?13:25
lcukor did i misunderstand your question13:25
Tuxprobewell ultimately yes - but for now, the goal is to create the basic files needed in an automake environment - fit to create applications on maemo13:26
Tuxprobewas following this : http://www.forum.nokia.com/document/maemo_4_0/13:27
Tuxprobeunder application installation -> packaging tools13:28
Tuxprobeif you pull up this tutorial, and see the menu item ' application installation -> packaging tools -> automake configuration'13:29
Tuxprobeit states something about .service and .desktop files in the Makefile.am13:29
Tuxprobeoh, i think im getting it now... :)13:37
TuxprobeEXTRA_DIST will prolly make my day13:38
Tuxprobewell, i DO have another question13:45
Tuxprobe:)13:45
Tuxprobestill there lcuk? know anything about creating desktop plugins (widgets)?13:45
lcukTuxprobe, apologies, im fighting my own battles too13:45
lcukbest hting is to review existing widgets and their configuration13:45
Tuxprobeno apologies needed13:45
lcukim not sure too many are python tho13:46
Tuxprobeyea, indeed.. well, ive gotten so far as to beeing able to build and install using the cairo-clock 'helloworld'13:47
lcukthats reasonable enough13:48
lcukpeople normally have problems with dependencies13:48
Tuxprobethats not quite the problem for me13:48
Tuxprobei am used to creating libraries with libtool and automake - never the less..13:48
Tuxprobein the clock plugin, a special _LTLIBRARIES macro is used13:49
Tuxprobeso ive got this makefile.am:13:50
Tuxprobedesktoplib_LTLIBRARIES = widget/libtvguide-widget.la13:50
Tuxprobedesktoplibdir = $(HILDON_DESKTOP_LIB_DIR)13:50
Tuxprobewidget_libtvguide_widget_la_SOURCES = widget/widget.h widget/widget.c13:50
Tuxprobewidget_libtvguide_widget_la_LIBADD = $(DTVGUIDE_LIBS)13:50
Tuxprobebut when doing make, paths are messed up - libtool states 'only absolute paths are allowed' :/13:51
lcukseems like other packages have same13:53
lcukjust googled libtool maemo "absolute paths" and have patches from random places seemingly confirming13:54
Tuxprobewell, yea14:01
Tuxprobeim thinking i might have to disable 'SUBDIRS' macro and implement all make definitions in the topdir/Makefile14:02
Tuxprobebut not quite sure i got it right :)14:02
scooprI wonder why application manager doesn't occasionally do a `apt-get clean`, for me that was the difference between being able to install firmware upgrade or not (also had to remove the gles1 libs, that's a mystery "feature" as well for me)14:11
lcukscoopr, theres changes afoot to that end :)14:13
lcukbut apt-get clean doesnt do everything14:13
scooprright'o14:13
Tuxprobeneed autoremove as well imho14:21
*** edisson has joined #maemo-devel14:49
*** Khertan has joined #maemo-devel15:19
*** lostinmirkwood has joined #maemo-devel15:27
lostinmirkwoodIs this the right place to ask packaging/garage questions?15:41
*** bricks has quit IRC16:05
jeremiahyes16:11
jeremiah-16:14
*** lostinmirkwood has quit IRC16:16
Khertanso ... bug #9494 ... :)16:18
Khertansorry still happen16:18
*** flukebox has joined #maemo-devel16:22
*** th0br0 has quit IRC16:52
*** kamui__ has joined #maemo-devel17:03
*** sopsnips has joined #maemo-devel17:05
*** sopsnips has left #maemo-devel17:05
*** shinkamui has quit IRC17:07
*** Acedip has quit IRC17:11
*** VDVsx has joined #maemo-devel17:12
*** flukebox has quit IRC17:12
*** flukebox has joined #maemo-devel17:18
*** dazo is now known as dazo_afk17:40
*** DocScrutinizer51 has quit IRC17:41
*** Docscrutemp has joined #maemo-devel17:41
*** Docscrutemp is now known as DocScrutinizer5117:41
*** Aranel has quit IRC17:42
flukeboxCan we do a reset of user account on scratchbox of maemo5 sdk account ?17:45
*** ppenz has quit IRC17:59
*** th0br0 has joined #maemo-devel18:14
*** sardaukar has joined #maemo-devel18:53
sardaukarhello18:53
*** encompass has joined #maemo-devel18:54
sardaukarneed help from an experienced maemo software packager... plz18:54
encompassI need to make a setting change to my boot configuration in ubuntu for scratchbox to work... could someone help me there?18:54
encompassI can't seem to find the menu.lst in ubuntu anymore18:55
encompassit's been a few years18:55
*** lardman is now known as lardman|gone18:55
flukeboxCan we do a reset of user account on scratchbox of maemo5 sdk account ? ?? Please help18:55
Khertansardaukar, depends on what you want to do ?19:08
*** VDVsx has quit IRC19:08
*** barfoos_ has joined #maemo-devel19:08
sardaukarI have this port, just built it19:08
sardaukarbut have NO idea where to start to pack it19:09
Khertanhttp://lh6.ggpht.com/_s8TET2AXZOA/S6Fh2Nzw1FI/AAAAAAAAAsM/VRlc9RlnMpM/Screenshot-20100317-235659.png <<<< IF someone know how to set the color of the border of the textview ... thx19:10
Khertansardaukar, http://wiki.maemo.org/Uploading_to_Extras19:11
*** barfoos has quit IRC19:11
sardaukarok, thanks19:13
*** achipa has quit IRC19:21
*** sardaukar has quit IRC19:25
*** Mek has quit IRC19:28
*** encompass has quit IRC19:33
*** Mek has joined #maemo-devel19:42
*** DocScrutinizer51 has quit IRC20:11
*** Docscrutemp has joined #maemo-devel20:11
*** Docscrutemp is now known as DocScrutinizer5120:11
*** Ian-- has quit IRC20:13
*** sleipnir has joined #maemo-devel20:16
*** Ian-- has joined #maemo-devel20:23
*** zgold has quit IRC20:36
Tuxprobehiya, anyone able to pass a pointer?20:44
Tuxprobei need info on how the HD_DEFINE_PLUGIN and HD_DEFINE_PLUGIN_MODULE macros work20:45
*** aboyer has quit IRC20:48
*** zgold has joined #maemo-devel20:54
*** rsalveti has quit IRC20:57
spliffy_hi there!21:07
*** spliffy_ is now known as spliffy21:07
spliffymaybe someone can point me in the right direction. i use pygst and my app can play sound the whole day long, in different usage cenarios. i can make calls while it's speaking and use the media player. but when i tap on "music" in the player, my app begins to hang and use 100% cpu21:11
spliffystrange, isn't it?21:12
*** fluemo has quit IRC21:14
*** fluemo has joined #maemo-devel21:14
spliffynot much action in here. are most developers using other channels?21:22
*** flukebox has quit IRC21:26
spliffyi had imagined there was an active community. :(21:27
*** sopsnips has joined #maemo-devel21:36
*** sopsnips has left #maemo-devel21:36
Tuxprobespliffy visit #maemo for a more frequent response :)21:37
Tuxprobeim no expert but it seems like a filedescriptor is locked on an event, like when accepting a call21:39
Tuxprobehence your gst plugin looses rights over it21:39
Tuxprobespliffy: can you provoke a scenario?21:40
spliffyTuxprobe: thanks for you response. i thought i could provoke it through loading of all songs in media player, but not reliably so21:42
Tuxprobedo you grasp the idea of 'owning' filedescriptors?21:43
spliffyi have it running all day and when i drive home (using fm radio and media player) i hangs most of the time.21:43
spliffyit's a hildon home widget btw21:43
Tuxprobesound pretty nice :)21:43
Tuxprobewhen i encounter deadlocks like that, i use 'strace21:44
spliffyTuxprobe: filedescriptors would only be a problem if two apps want to play the same sound file? am right? i'm no expert there21:44
Tuxprobei beleive it is 'strace -p `pgrep myplugin`'21:44
Tuxprobeno, the filedescriptor is your snd output device21:45
spliffyahh .. good to know. i knew strace, but it didn't come to my mind21:45
spliffymost of the time though it's continues playing after i close the other sound playing app21:45
Tuxprobeit works like a FIFO in most ways, so 'only' one program can send data into the speakers at a time21:45
Khertanit s a well know bug21:46
Khertanwhich is still not fixed21:46
spliffybut isn't pulse communicating through ip?21:46
Khertansame probleme with mplayer, vectormine, solarwolf21:46
Khertanand many other21:46
spliffyi thought it could handly multiple input streams simultaneously?21:46
Khertanyep it could21:47
spliffyok21:47
spliffyif it were configured to?21:47
Tuxprobewell.. it does so by queing the bits to send to the filedescriptor..21:47
Tuxprobethere is only ONE /dev/snd/pcmX21:47
spliffyhum, ok21:48
spliffyKhertan: thanks :)21:48
Tuxprobesounds like it could be a problem in the sound server khertan?21:48
spliffydamn, i wrote a http(s) polling widget... it would be so cool if it ran reliably21:48
Tuxprobepolling is 3v0l ;)21:49
spliffyyes, but sometimes it helps :)21:49
Tuxprobethats exactly why the cpu goes 100% when deadlocks occurs21:49
spliffyi only poll every n seconds21:50
spliffyohhh... i think i see the problem21:50
Tuxprobetry run the strace :)21:50
spliffyi will thanks so far :)21:51
Tuxprobethink its 'FD_READ' you should look for21:51
Tuxprobenp.21:51
spliffyand if this is the problem. all i could possibly do to resolve it would be workarounds?21:51
Tuxprobethough - if its a common problem, it may not be your process you should strace21:51
spliffyif i understood correctly21:52
spliffykk21:52
Tuxprobemaybe lsof (a bit extreme outputwise) tells you which process has problems if strace dont say nuttin :)21:53
spliffygrep is my friend :)21:53
Tuxprobeworkaround: if you kill the application and restart it - will the 100% cpu drop?21:53
spliffyyes. if i start it from console.21:54
spliffyit's a hildon destop plugin21:54
Tuxprobeoh - kind of tricky then i guess :)21:54
spliffyif i start it through the menu i don't see the python process and have to kill hildon21:54
spliffys/hildon/hildon-home/21:54
spliffyoh yeah :)21:55
Tuxprobeyea, to be able to debug properly, must run the proc from terminal21:55
* spliffy nods21:55
Tuxprobeok, then workaround: identify which lines of code causes problems21:56
spliffyi use audio for logging. it could be everywhere :)21:56
Tuxprobefigure out how to check if it is hung (im guessing you have multiple threads)21:56
spliffyyes. one for the gui and one for every http request21:57
Tuxprobethen if a problem occurs, 'restart' your 'sound daemon thread'21:57
spliffyhum, should i have one? :D21:57
Tuxprobehow do you issue sound? by events?21:58
spliffyyes... might be a good idea to move audio out of the http request thread21:58
Tuxprobek, if its inside network requests - timeouts are often used21:59
spliffyright21:59
Tuxprobeso if sound hangs - so will your download21:59
Tuxprobekill the http request if it takes too long and your sound deadlock hopefully dies as well? :)21:59
spliffythat would be nice. i'm not that experienced with thread. and it's also my first python script :)22:00
*** VDVsx has joined #maemo-devel22:00
Tuxprobebut I dont know nuttin mate - just my 50 cents while i wait for my tvshow heeh22:00
spliffyhehe.. it did help very much though :-)22:01
Tuxprobegood to know :)22:02
Tuxprobeif your fork http request into threads - the gnomevfs could help tell you when data has arrived22:03
Tuxprobes/your/you22:03
spliffyhmm... another new area for me, but i'll look into it if strace/lsof don't help22:04
scooprstrange, (in madde) gcc supports neon intrisincs, but g++ doesn't?22:05
*** fluemo has quit IRC22:20
*** ihalip has joined #maemo-devel22:27
Tuxprobescoopr neon is an ARM mult cpu-feature or something?22:40
Tuxprobethis is from g++ Lite 'getting started':22:43
TuxprobeTo enable generation of NEON vector code specify -ftree-vectorize -mfpu=neon22:43
Tuxprobe-mfloat-abi=softfp. -mfpu=neon also enables generations of VFPv3 scalar floating-point22:43
Tuxprobecode.22:43
*** DocScrutinizer51 has quit IRC22:50
*** Docscrutemp has joined #maemo-devel22:50
*** Docscrutemp is now known as DocScrutinizer5122:50
*** lizardo has quit IRC22:51
*** ihalip has left #maemo-devel22:56
*** DocScrutinizer51 has quit IRC22:57
*** Docscrutemp has joined #maemo-devel22:58
*** Docscrutemp is now known as DocScrutinizer5122:58
*** sleipnir has quit IRC23:34

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