IRC log of #maemo-devel for Tuesday, 2010-07-06

*** fiferboy has quit IRC00:03
*** edisson has quit IRC00:08
Venemois it necessary for the auto-builder to have my source in a folder called "src", or anything that can be build with dpkg-buildpackage can suffice?00:20
*** lardman has joined #maemo-devel00:21
*** Mobsan has quit IRC00:23
*** t7g__ has joined #maemo-devel00:28
*** t7g_ has quit IRC00:30
*** kW has quit IRC00:34
*** SpeedEvil has quit IRC00:34
w00t_Venemo: the latter00:37
Venemow00t_: thx00:47
w00t_:)00:47
Venemohm00:48
Venemowhat is the name of the dbus library00:48
VenemoC:\Users\Timur>mad pkg-config --cflags dbus00:48
VenemoPackage dbus was not found in the pkg-config search path.00:48
VenemoNo package 'dbus-glib' found00:48
VenemoI need the dbus/dbus-glib.h00:48
*** SpeedEvil has joined #maemo-devel00:49
Venemoaaah, found it00:52
Venemoit is called dbus-100:52
*** lizardo has quit IRC00:53
*** lizardo has joined #maemo-devel01:05
*** lbt has quit IRC01:10
*** lbt has joined #maemo-devel01:11
*** lizardo has quit IRC01:14
*** kW has joined #maemo-devel01:24
*** minglis has joined #maemo-devel01:27
*** mirr0r has quit IRC02:07
*** mirr0r has joined #maemo-devel02:08
*** lardman has quit IRC02:09
*** minglis has quit IRC02:12
*** SpeedEvil has quit IRC02:13
*** minglis has joined #maemo-devel02:25
*** csaavedra has quit IRC02:28
*** Venemo has quit IRC02:33
*** minglis has quit IRC02:42
*** SpeedEvil has joined #maemo-devel02:48
*** minglis has joined #maemo-devel02:55
*** kW has quit IRC03:24
*** lbt has quit IRC03:42
*** lbt has joined #maemo-devel03:43
*** minglis has quit IRC04:34
*** shinkamui has joined #maemo-devel05:20
*** kamui__ has quit IRC05:24
*** Pahan has joined #maemo-devel05:27
*** Pahan is now known as Pavel05:27
*** OptX has joined #maemo-devel06:13
*** malcolmci has joined #maemo-devel06:37
dotblankWhere are the icons for the window manager?06:42
*** DocScrutinizer has quit IRC07:33
*** DocScrutinizer has joined #maemo-devel07:33
*** Acedip has joined #maemo-devel07:46
*** Aranel has joined #maemo-devel07:59
*** Aranel has quit IRC07:59
*** rcampbell_ has joined #maemo-devel08:02
*** rcampbell_ has quit IRC08:11
*** malcolmci has quit IRC08:13
*** malcolmci has joined #maemo-devel08:31
*** schasch has joined #maemo-devel08:48
*** OptX has left #maemo-devel09:01
*** ppenz has joined #maemo-devel09:09
*** _Lucretia_ has quit IRC09:54
*** bricks has joined #maemo-devel09:56
*** w00t_ has quit IRC10:02
*** w00t_ has joined #maemo-devel10:02
*** w00t_ is now known as Guest2479810:02
*** csaavedra has joined #maemo-devel10:39
*** swc|666 has quit IRC11:45
*** strmnOptX has joined #maemo-devel12:29
*** strmnOptX has left #maemo-devel12:31
*** _Lucretia_ has joined #maemo-devel13:13
*** achipa has joined #maemo-devel13:39
*** Guest24798 is now known as w00t_13:55
*** w00t_ has quit IRC13:55
*** w00t_ has joined #maemo-devel13:55
*** bricks has quit IRC13:59
*** bricks has joined #maemo-devel14:02
*** bricks has quit IRC14:05
*** minglis has joined #maemo-devel14:11
*** bricks has joined #maemo-devel14:14
*** kW has joined #maemo-devel14:22
*** kW has quit IRC14:34
*** SpeedEvil has quit IRC15:08
*** SpeedEvil has joined #maemo-devel15:35
*** fiferboy has joined #maemo-devel15:58
*** fiferboy has quit IRC15:58
*** fiferboy has joined #maemo-devel15:58
*** lizardo has joined #maemo-devel16:00
*** lardman|gone is now known as lardman16:27
*** malcolmci has quit IRC16:31
*** kW has joined #maemo-devel16:33
*** minglis has quit IRC16:35
*** edisson has joined #maemo-devel16:49
_0x47Anyone here?16:53
lcukno16:56
_0x47lol17:01
_0x47lcuk: any chance you know how to successfully import a project into ESbox?17:02
lcuknever used esbox17:02
_0x47hm, k thanks anyways.17:03
_0x47w00t_: Did you?17:03
*** schasch has quit IRC17:11
lardmanany thoughts on the fact that QDesktopServices::OpenURL() will open a .vcf file in the browser as text as opposed to using the contacts app (which is what happens if you open it in hildon filemanager)?17:16
lardmanor anyone successfully used abook in a Qt app?17:18
*** kamui__ has joined #maemo-devel17:20
*** shinkamui has quit IRC17:23
_0x47lardman: My guess is that OpenURL() always tries to open a parameter with the default browser. You'd probably have to use something like OpenFile() or just Open()17:32
_0x47Dunno how it might be called17:32
lardmanare those provided by desktopservices? I didn't see them17:32
_0x47I have no idea, but there should be something like this, maybe it's called Run() or so17:32
_0x47OpenURL() sounds wrong for that purpose tho17:33
lardmanI'll have a look at the docs17:33
_0x47is the filemanager open source?17:33
_0x47then you could just look into that one and see how it's achieved there...17:33
lardmanyeah, I was thinking that, but I've no idea where the backend source is17:34
_0x47maybe the cuteexplorer works too17:34
lardmanhttp://doc.qt.nokia.com/4.6/qdesktopservices.html#openUrl - should work for apps too17:34
lardmanI looked at that, I think that's where I got DesktopServices from17:35
_0x47... appropriate Web browser...17:35
lardmanread further17:35
_0x47that's the prob, isn't it?17:35
_0x47o sec17:35
lardmanah, cuteexplorer uses hildon_mime_open_file()17:37
lardmanand specifically avoids QDesktopServices::openUrl17:37
lardmanI'll have to try that method again, but it did nothing when I tried it yesterday17:38
_0x47i guess the openUrl() function relies on the links the browser has. If the browser doesn't know how to open the vcf, it will not work17:38
lardmanperhaps I made a mistake somewhere17:38
_0x47:)17:38
lardmanno, iirc it uses the hildon mime services in the backend17:38
_0x47lardman: if you don't mind i'd have a question for you...17:38
lardmango for it17:38
_0x47if am trying to use esbox to debug a application17:39
_0x47ever did that before?17:39
lardmannever used it I'm afraid17:39
_0x47hm, maybe you still could help me. the problem is not really related to esbox17:39
lardmanok17:39
_0x47actually, i am importing an existing project, which builds using the makefiles given. esbox complains about some constants not being defined. it seems the makefiles are ignored17:40
_0x47i'm a bit confused how i could probably make it use the makefiles :/17:40
_0x47how would you normally compile using a makefile?17:41
_0x47or is it guessed if you just type "make"?17:41
lardmanjust issue the command "make"17:41
_0x47hmm, i c17:41
lardmanassuming the Makefile is named Makefile17:41
_0x47that's weird then17:41
_0x47yeah, it is17:41
lardmanis this C or C++ code?17:41
_0x47C++17:41
lardmanoh17:41
lardmanqmake then I guess is what it expects17:41
lardmanor some wierdness - Qt I suppose?17:42
_0x47i guess the problem might be that it's a project consiting of three projects17:42
lardmanthat should be ok as long as the Makefile calls all the appropriate other Makefiles17:42
_0x47hmm, let me play with that a bit more...17:43
_0x47guess it's just as minor configuration issue or something...17:43
_0x47thanks!17:43
lardmannp (not sure I've helped mind you! ;))17:44
*** Mek has quit IRC17:50
*** Acedip has quit IRC18:03
*** ptl has quit IRC18:03
*** Mek has joined #maemo-devel18:05
*** bricks has left #maemo-devel18:06
*** ptl has joined #maemo-devel18:15
*** ptl has joined #maemo-devel18:15
*** ppenz has quit IRC18:17
*** Ian-- has quit IRC18:20
*** lardman is now known as lardman|gone18:55
*** dreda has joined #maemo-devel18:58
*** silbo_ has joined #maemo-devel19:01
*** swc|666 has joined #maemo-devel19:28
*** achipa has quit IRC19:33
*** Acedip_ has joined #maemo-devel19:44
*** lardman has joined #maemo-devel20:09
*** Ian-- has joined #maemo-devel20:16
*** Acedip_ is now known as Acedip20:32
*** lizardo has quit IRC20:36
*** Acedip has quit IRC20:44
*** Acedip has joined #maemo-devel20:44
*** lardman has quit IRC20:48
*** lardman has joined #maemo-devel21:00
lardmanhmm, where are the docs for hildon-mime I wonder....?21:10
*** Acedip has quit IRC21:13
lardmanI'm not overly fond of hildon-mime21:18
*** lizardo has joined #maemo-devel21:28
lardmanschool boy question here, never actually having attended a programming class other than FORTRAN21:37
lardmanin a for loop, what does --i do?21:37
lardmancould I do for(i=10; i>0;--i) and start at 9, or does it make no difference here?21:38
lardmanhmm, from my C book, looks like it does nothing21:42
lcukyes lardman does nothing21:43
lcukdifferent to expected anyway21:43
lcukit only matters if you use it in a compound operation21:43
lardmanodd how some loops are written ++i and others i++ then21:43
lardmanjust to confuse those who've not studied the details I guess ;)21:44
lcukyeah lol21:44
lcukreason for offbyone errors ;)21:44
lcukint i=10;   printf("%d\n",--i); j=i;    will print 9 and j will be 921:44
lcukint i=10;   printf("%d\n",i--); j=i;    will print 10 and j will be 921:45
lardmanyeah21:50
lardmanI got that one, was really wondering if there was some secret way the increment is dealt with in the for loop21:51
lardman:)21:51
lardmanreal langs don't have for loops of course, just gotos ;)21:51
Mekin c++ there is actually an argument to use pre-increment instead of post-increment if you use iterators instead of simple integers21:51
Mek(pre-increment can be more efficient then)21:52
lardmanwhy is that?21:52
Mekbecause there both ar just method calls, and can thus have radically different implementations, although usually the main difference is that post-increment has to make a copy of the previous value, while pre-increment can just return the same instance21:53
lcuklardman, old cpus used to perform subtraction faster than addition - or some such21:53
lardmanif it's part of the for loop, presumably it could be optimised anyway no matter what you write?21:53
*** Acedip has joined #maemo-devel21:53
lardmanassuming a post/pre increment/decrement operator produces the same effect, respectively21:54
Mekwell, post and pre can't produce the same effect, post has to return a copy of the previous value, pre can just return a reference to the current value (in c++ that is)21:55
Mekso unless the compiler can inline them, it can't optimize that copy away21:55
lardmanyeah I get that, but in a for loop, as both an post and pre increment produce the same effect, I can't see why it can't be sorted automatically21:56
lardmanor perhaps it's too late in the day and I'm missing something21:56
*** achipa has joined #maemo-devel22:14
*** BluesLee has joined #maemo-devel22:24
*** BluesLee has quit IRC22:27
*** ruskie has quit IRC22:51
*** ruskie has joined #maemo-devel22:51
*** Acedip has quit IRC22:51
*** t7g__ has quit IRC23:15
*** Lullen has joined #maemo-devel23:35
*** lizardo_ has joined #maemo-devel23:37
*** lizardo has quit IRC23:38
*** lizardo_ is now known as lizardo23:52
*** silbo_ has quit IRC23:52

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