*** fiferboy has quit IRC | 00:00 | |
*** Venemo has joined #maemo-devel | 00:19 | |
*** SpeedEvil has quit IRC | 00:34 | |
*** SpeedEvil has joined #maemo-devel | 00:38 | |
*** Aranel has quit IRC | 00:43 | |
*** eitama has joined #maemo-devel | 00:45 | |
*** _0x471 has quit IRC | 00:55 | |
*** eitama has left #maemo-devel | 00:58 | |
*** Ian-- has joined #maemo-devel | 01:27 | |
*** Venemo has quit IRC | 01:30 | |
*** Venemo has joined #maemo-devel | 01:31 | |
*** SpeedEvil has quit IRC | 01:33 | |
*** SpeedEvil has joined #maemo-devel | 01:39 | |
*** csaavedra has quit IRC | 01:46 | |
*** Venemo has quit IRC | 02:27 | |
*** Venemo has joined #maemo-devel | 02:29 | |
*** SpeedEvil has quit IRC | 02:47 | |
*** SpeedEvil has joined #maemo-devel | 02:57 | |
*** swc|666 has quit IRC | 03:19 | |
*** GeneralAntilles has quit IRC | 03:34 | |
*** ScriptFanix has quit IRC | 03:34 | |
*** Mek has quit IRC | 03:34 | |
*** Mek has joined #maemo-devel | 03:35 | |
*** GeneralAntilles has joined #maemo-devel | 03:44 | |
*** ScriptFanix has joined #maemo-devel | 03:47 | |
*** SpeedEvil has quit IRC | 03:50 | |
*** edisson has quit IRC | 03:50 | |
*** dotblank has quit IRC | 03:50 | |
*** _0x47 has quit IRC | 03:50 | |
*** villager has quit IRC | 03:50 | |
*** SpeedEvil has joined #maemo-devel | 03:51 | |
*** edisson has joined #maemo-devel | 03:51 | |
*** dotblank has joined #maemo-devel | 03:51 | |
*** _0x47 has joined #maemo-devel | 03:51 | |
*** villager has joined #maemo-devel | 03:51 | |
*** rcampbell has joined #maemo-devel | 04:19 | |
*** azakai has quit IRC | 04:32 | |
*** Venemo has left #maemo-devel | 04:38 | |
*** SpeedEvil has quit IRC | 05:11 | |
*** SpeedEvil has joined #maemo-devel | 05:12 | |
*** rcampbell has quit IRC | 06:56 | |
*** Aranel has joined #maemo-devel | 07:00 | |
*** edisson has quit IRC | 07:21 | |
*** DocScrutinizer has quit IRC | 07:34 | |
*** DigitalPioneer has joined #maemo-devel | 07:37 | |
*** kamui__ has joined #maemo-devel | 07:43 | |
*** kamui__ has quit IRC | 07:45 | |
*** kamui__ has joined #maemo-devel | 07:46 | |
*** shinkamui has quit IRC | 07:47 | |
*** kamui__ has quit IRC | 08:32 | |
*** kamui__ has joined #maemo-devel | 08:32 | |
*** bricks has joined #maemo-devel | 09:25 | |
dotblank | Si anyone available to help me fix a bug with my application.. I think I just need a second set of eyes | 09:46 |
---|---|---|
*** Aorimn has joined #maemo-devel | 09:49 | |
*** ppenz has joined #maemo-devel | 09:50 | |
*** amigadave has joined #maemo-devel | 09:52 | |
*** Venemo has joined #maemo-devel | 10:01 | |
*** DigitalPioneer has quit IRC | 10:02 | |
Venemo | good morning! | 10:04 |
*** DigitalPioneer has joined #maemo-devel | 10:23 | |
*** pillar has quit IRC | 11:03 | |
*** shinkamui has joined #maemo-devel | 11:19 | |
*** kamui__ has quit IRC | 11:22 | |
Lullen | good morgning Venemo | 11:23 |
dotblank | Lullen, hey, I seem to have a bug in program but I can't fiqure out how to fix it | 11:27 |
Lullen | okey tell me! | 11:27 |
dotblank | Lullen, so I added playlist support to my program but I can't fiqure out why when I add another item it doesn't play | 11:29 |
Lullen | it works when you add a playlist but not a mp3 file? | 11:30 |
dotblank | https://garage.maemo.org/scm/?group_id=1669 | 11:30 |
dotblank | thats my code for my project | 11:30 |
dotblank | the issue I think lies in playlist::networkReplyFinished() | 11:30 |
dotblank | the signal never "fires" after I add a new item | 11:31 |
Lullen | okey | 11:31 |
dotblank | I can't think of any reason why the signal won't be called | 11:33 |
dotblank | connect(reply,SIGNAL(finished()),this,SLOT(networkReplyFinish())); | 11:33 |
Lullen | hmm I never done network programming : ) | 11:34 |
dotblank | yea its a little bit complicated | 11:34 |
*** csaavedra has joined #maemo-devel | 11:34 | |
Lullen | hmm | 11:35 |
Lullen | In the version I see thats outcommented | 11:35 |
dotblank | in plalist::beginDownload()? | 11:36 |
Lullen | no networkReplyFinished | 11:36 |
*** Venemo1 has joined #maemo-devel | 11:36 | |
Lullen | or | 11:36 |
*** Venemo has quit IRC | 11:37 | |
dotblank | ah I think that was on purpose | 11:37 |
Lullen | sorry, I was just reading SIGNAL(finished()) | 11:37 |
dotblank | the qDebug() << "finish"; never gets called | 11:37 |
dotblank | so I can't fiqure out why it doesn't fire the signal | 11:37 |
dotblank | what happens is that the reply sends a post request with a streamkey | 11:38 |
dotblank | then the reply from the server sends back 2 possible things | 11:38 |
Lullen | connect(reply,SIGNAL(downloadProgress(qint64,qint64)),this,SLOT(downloadSlot(qint64,qint64))); works? | 11:39 |
dotblank | Lullen, yes | 11:39 |
dotblank | actually thats a good way to debug it | 11:39 |
Lullen | strange | 11:40 |
dotblank | well it works in earlier revisions | 11:40 |
dotblank | but i'm not using the playlist class | 11:40 |
Lullen | I have to admit I do not understand a thing how this works so I am just trying to look for obvious errors | 11:42 |
dotblank | Lullen, yea its very confusing | 11:43 |
dotblank | its really complicated the fact it even works its scary | 11:43 |
Lullen | haha :) | 11:43 |
dotblank | soo much going on | 11:43 |
Lullen | My errors are so much easier :( | 11:43 |
dotblank | but still less code then your project | 11:43 |
Lullen | Ye mine is getting bigger and bigger :D | 11:44 |
dotblank | ok after more debugging I find this statement never get checked for true | 11:44 |
dotblank | b >= t*0.05 && !pList->at(currentdownloaditem)->bufferready && b/(startStreamT.msecsTo(QTime::currentTime()) + 1)*100/1024 >= 10 | 11:44 |
dotblank | the second time I add a song | 11:45 |
dotblank | Mine is just getting more and more complicated | 11:45 |
Lullen | in downloadSlot? | 11:45 |
dotblank | yes | 11:45 |
Lullen | Well if you make it, it will be awesome :) | 11:45 |
dotblank | see my media player listens for the bufferReady signal before it starts playback | 11:46 |
Lullen | so t = 0 i guess? | 11:46 |
dotblank | but it doesn't ever seem to get called the second time | 11:46 |
dotblank | no I think t != 0 | 11:47 |
dotblank | testing now | 11:47 |
Lullen | remake the if statement | 11:48 |
dotblank | odd I got it to segfault | 11:48 |
Lullen | do like if(b>= t*0.05) if(!pList->at(currentdownloaditem)->bufferready) | 11:49 |
Lullen | that only happends if you use a uninitalized instance right? | 11:49 |
dotblank | Lullen, yea.. | 11:50 |
dotblank | or an error in the stream and phonon crashes | 11:50 |
dotblank | happens rarely | 11:50 |
dotblank | very rarely | 11:51 |
Lullen | okey | 11:51 |
dotblank | can never capture the segfault with gdp running | 11:51 |
dotblank | its always when im not running the debugger... figures | 11:51 |
Lullen | strange | 11:51 |
Lullen | I have that error now or something like that I can not figure out. I get segfault when I destroy a dialog | 11:52 |
dotblank | Lullen, hmm | 11:52 |
Lullen | but outcomment line after line in that function | 11:52 |
Lullen | thats how I knew what was wrong | 11:53 |
dotblank | hmm | 11:54 |
dotblank | whoa | 11:54 |
dotblank | it never sends a bufferReady the second tim | 11:55 |
dotblank | e | 11:55 |
dotblank | even when I remove all that extra qulifiers | 11:55 |
*** eitama has joined #maemo-devel | 11:55 | |
dotblank | why.... | 11:56 |
dotblank | time for thinking cap | 11:56 |
Lullen | no idea... | 11:57 |
dotblank | !pList->at(this->currentdownloaditem)->bufferready | 11:57 |
dotblank | must be returning the state from the previous download | 11:57 |
Lullen | is currentdownloaditem right? | 11:57 |
Lullen | write it out | 11:57 |
dotblank | see what that means is that retrieve the buffer state for the currrentdownloaditem | 11:58 |
dotblank | if it hasn't been set emit the buffer ready signal | 11:58 |
dotblank | the buffer ready signal then sets the state | 11:59 |
dotblank | this->currentdownloaditem = position; | 12:00 |
dotblank | should set the current download position... | 12:01 |
Lullen | hmm | 12:02 |
Lullen | I have no idea, sorry | 12:02 |
Lullen | I have to go now | 12:02 |
Lullen | time to get drunk :> | 12:02 |
dotblank | Ah ha! | 12:05 |
dotblank | currentSkeyItem never gets set | 12:05 |
Lullen | so you found ti? | 12:06 |
Lullen | =D | 12:06 |
dotblank | maybe testing now | 12:06 |
Lullen | awesome work dude! | 12:06 |
dotblank | YES | 12:07 |
dotblank | YES!!! | 12:07 |
dotblank | FIXED IT | 12:07 |
Lullen | AWESOME :D | 12:07 |
dotblank | AHAHAHAHAH | 12:07 |
Lullen | gratz! :) | 12:07 |
dotblank | man what hard to fiqure out bug | 12:07 |
dotblank | jeez | 12:07 |
Lullen | hehe ye | 12:07 |
dotblank | that was insaine | 12:07 |
dotblank | that might be whuy it segfaults | 12:08 |
dotblank | uninitialized int | 12:08 |
Lullen | ye : ) | 12:09 |
dotblank | well I'll ttyl Lullen you need to get drunk | 12:09 |
Lullen | :) | 12:09 |
dotblank | I wish I had a beer on me to celebrate | 12:09 |
Lullen | fixing myself first :) | 12:09 |
Lullen | leaving in 20 I guess | 12:09 |
Lullen | want to look on something first? :) | 12:09 |
dotblank | sure | 12:09 |
Lullen | http://pastebin.com/bwiLHmG1 | 12:10 |
Lullen | why is ed on top? | 12:10 |
Lullen | if count > 1 | 12:10 |
dotblank | on top? | 12:11 |
dotblank | exercises.count() == 1 | 12:11 |
dotblank | if its anything but 1 it creates a new ed | 12:11 |
Lullen | no, it creates it if it is bigger then 1 :P | 12:12 |
Lullen | if(exercises.count() == 1) do not create | 12:12 |
Lullen | else does | 12:12 |
dotblank | right | 12:12 |
Lullen | but I get 2 dialogs | 12:12 |
dotblank | but if its 0 it still calls it | 12:13 |
Lullen | 1 wd and 1 ed | 12:13 |
Lullen | it will not call that function then so its ok | 12:13 |
Lullen | I want wd on top | 12:13 |
dotblank | you get 2 dialogs? | 12:13 |
Lullen | and ed under it | 12:13 |
Lullen | yes | 12:13 |
dotblank | do you still want both made? | 12:13 |
dotblank | if ed.show() is called last it should be on top | 12:14 |
Lullen | but I call wd.show() later | 12:14 |
Lullen | so wd should be on top right? | 12:14 |
dotblank | OHh | 12:14 |
Lullen | yes | 12:15 |
dotblank | I think you creating a race condition | 12:15 |
dotblank | your* | 12:16 |
Lullen | Hmm.. Maybe I should do a slot that creates the next dialog when the first dialog is done? | 12:16 |
dotblank | Lullen, yes I think that would be a better approach or don't show it untill you want it to | 12:17 |
dotblank | you could try setting focus on a dialog window | 12:17 |
Lullen | Okey | 12:18 |
Lullen | giving it 1min | 12:18 |
dotblank | Why do you want to create 2 dialogs at once? | 12:18 |
Lullen | they are called when you have done a exercise | 12:19 |
Lullen | so the first is to write in the weight | 12:19 |
Lullen | and the second is to choose the next exercise | 12:20 |
dotblank | Lullen, ah... could you make it show the next dialog after the weight is entered? | 12:20 |
Lullen | I think so | 12:20 |
Lullen | You made me understand the slot/signal system so :) | 12:21 |
dotblank | Lullen, are you using custom dialogs or are they predifined ones with signals like finished()? | 12:21 |
dotblank | :) | 12:21 |
Lullen | MMM.... first beer! 11:21am :) | 12:21 |
dotblank | its 5:21 am for me | 12:21 |
Lullen | I have to make my own signal when a button is pressed | 12:22 |
dotblank | Lullen, uyou sure.. | 12:22 |
dotblank | the button has a signal | 12:22 |
dotblank | signal(clicked()); | 12:22 |
Lullen | i ment slot :D | 12:22 |
dotblank | Lullen, oh yes | 12:22 |
dotblank | I liek the whole slot /signal thing | 12:23 |
dotblank | I think I would end up killing small animals if I had to do this in c | 12:23 |
Lullen | haha | 12:24 |
Lullen | ye I start to like it | 12:24 |
Lullen | quite usable | 12:24 |
Lullen | http://pastebin.com/JKEDuT6F | 12:24 |
Lullen | check that out thanks :D | 12:24 |
Lullen | i get segfault when adding to destroy | 12:24 |
Lullen | i do not see any reason for it :S | 12:24 |
*** eitama_ has joined #maemo-devel | 12:25 | |
dotblank | Lullen, what line has destroy | 12:25 |
dotblank | oh ok | 12:25 |
dotblank | this->hide does not destroy | 12:25 |
Lullen | no | 12:25 |
Lullen | when I edit it to this->destroy | 12:25 |
dotblank | oh | 12:25 |
Lullen | I get the segfault | 12:25 |
dotblank | yea | 12:26 |
Lullen | I do not call ed anywhere else in that program | 12:26 |
dotblank | you need toc all it outside of the program | 12:26 |
dotblank | er widgert | 12:26 |
dotblank | widget* | 12:26 |
dotblank | but its stll in the scope | 12:27 |
dotblank | it will segfault because its going to try and destroy QString name when moving out of scope | 12:27 |
dotblank | but its already been destroyed | 12:27 |
Lullen | hmm | 12:27 |
Lullen | how do I fix that? | 12:28 |
dotblank | don't call destroy from within ed | 12:28 |
Lullen | the destroy function is protected | 12:28 |
dotblank | have you tried ed->~QDialog(); | 12:29 |
dotblank | or whatevver class it was | 12:29 |
dotblank | ed->~ExerciseDialog(); | 12:29 |
dotblank | should destroy the object | 12:29 |
Lullen | where should I do it? In the signal that ed calls? | 12:29 |
dotblank | well in a slot outside of scope | 12:30 |
dotblank | like in startwindow | 12:30 |
Lullen | okey | 12:30 |
Lullen | thanks alot :D | 12:31 |
dotblank | no problem | 12:33 |
*** eitama has quit IRC | 12:35 | |
*** eitama_ is now known as eitama | 12:35 | |
*** Venemo1 has quit IRC | 12:59 | |
*** Venemo has joined #maemo-devel | 12:59 | |
*** torben_ has joined #maemo-devel | 13:02 | |
torben_ | Hi | 13:02 |
dotblank | torben_, Hi | 13:04 |
torben_ | Is it possible to get the original libc of my N900 from somewhere? I installed a new libc 2.7 from lenny and now my calendar doesn't work anymore... | 13:05 |
SpeedEvil | umm... | 13:05 |
SpeedEvil | Why did you do that? | 13:05 |
SpeedEvil | Anyway | 13:05 |
SpeedEvil | you're on what release? | 13:05 |
torben_ | ( I tried to get aiccu to work) | 13:05 |
torben_ | fremantle 1.2 - i guess. How do I find that out? | 13:06 |
SpeedEvil | http:///www.mauve.plus.com/libc-2.5.so sillly person. | 13:06 |
torben_ | Thanks. Is it possible to get the .deb-file? | 13:07 |
SpeedEvil | nope | 13:10 |
SpeedEvil | Well - not from me | 13:10 |
torben_ | apt-get check tells me: "mp-fremantle-generic-pr: Depends: libc6 (=2.5.1-1eglibc25+0m5) but 2.7-18lenny1 is installed" | 13:10 |
SpeedEvil | Just ftpd it off my n900 | 13:10 |
torben_ | That | 13:10 |
SpeedEvil | No clue on how to tell apt about it | 13:10 |
SpeedEvil | I suspect leaving it as it is will prevent any OTA of course | 13:10 |
torben_ | 's my problem: I guess that APT will have errors in future. | 13:10 |
torben_ | What do you mean with OTA? | 13:11 |
SpeedEvil | Over The Air | 13:11 |
SpeedEvil | As in PR1.3 won't install automagically | 13:11 |
torben_ | Now I have both libraries in /lib. ldconfig run without problems and created the link to the new lenny-lib. | 13:12 |
torben_ | If I remove the link, then I can't run any commands. | 13:12 |
SpeedEvil | if you don't - what happens? | 13:12 |
torben_ | How can I set the link now... | 13:12 |
SpeedEvil | ah | 13:12 |
SpeedEvil | ln isn't there in busybox? | 13:13 |
torben_ | no | 13:13 |
torben_ | ln is dynamic | 13:13 |
SpeedEvil | From a logged in shell - it should work AIUI | 13:13 |
torben_ | Is it possible to run ln somehow "by-hand"? | 13:13 |
SpeedEvil | man ld.so | 13:14 |
SpeedEvil | look up LD_PRELOAD | 13:14 |
torben_ | Hmm, I tried this already. It ended up with weird errors. I'll try now again and tell you | 13:14 |
SpeedEvil | Good luck. | 13:14 |
SpeedEvil | And in future. | 13:15 |
SpeedEvil | copy / to /home/user/chroot - and then chroot into that | 13:15 |
SpeedEvil | and then do stuff there | 13:15 |
SpeedEvil | to test at least | 13:15 |
torben_ | Thanks. Sounds very good. | 13:16 |
SpeedEvil | It's not guaranteed that all stuff will work as it does on / - but at least much does. | 13:18 |
torben_ | Doesn't work: "error wihile loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory." | 13:26 |
torben_ | And I gave him in LDD_PRELOAD the old libc... | 13:27 |
SpeedEvil | LD_PRELOAD | 13:27 |
torben_ | Why does he load the new one?! | 13:27 |
torben_ | UUppss.. yes. And again... | 13:27 |
*** polac has quit IRC | 13:27 | |
torben_ | The same error! | 13:28 |
SpeedEvil | It may not support LD_PRELOAD | 13:28 |
SpeedEvil | I guess flashing will fix it | 13:28 |
torben_ | My command line: "LD_PRELOAD="/lib/libcrypt.so.1 /lib/libc-2.5.so"; rm /lib/libc.so.6; /lib/ld-linux.so.3 /bin/ln -s /lib/libc-2.5.so /lib/libc.so.6" | 13:29 |
torben_ | If I flash the device, all my data is lost. | 13:29 |
torben_ | Where can I download a static version of ln ? | 13:30 |
torben_ | BTW: The lenny-libc works okay. Except the calendar: It ends with an internal error." | 13:32 |
torben_ | Okay, I'll try again later. | 13:38 |
torben_ | thank you all. | 13:38 |
torben_ | cu | 13:38 |
*** torben_ has quit IRC | 13:39 | |
*** polac has joined #maemo-devel | 14:04 | |
dotblank | ** No rule to make target `/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf', needed by `Makefile'. Stop. | 14:07 |
dotblank | got that error trying to upload to autobuilder | 14:07 |
Lullen | hows it going dotblank? | 14:25 |
dotblank | Lullen, try to get it built on the autobuilder | 14:26 |
dotblank | trying* | 14:26 |
Lullen | the autobuilder is a bitch | 14:26 |
dotblank | how did you get yours to work? | 14:26 |
dotblank | can I see your debian control? | 14:26 |
Lullen | I did not have that problem | 14:27 |
Lullen | sec | 14:27 |
Lullen | http://pastebin.com/zbJzztfw | 14:27 |
Lullen | Getting drunk did not go that well | 14:27 |
dotblank | hmm no idea why its not building | 14:28 |
Lullen | my cousin who was supposed to pick me up is an big ass and forgot me and now he is drunk so I need to take a taxi for like 60-100 euro :( | 14:28 |
dotblank | yikes | 14:28 |
Lullen | I sat with my autobuilder problems for a months :D | 14:28 |
Lullen | http://www.youtube.com/watch?v=TXWAv2PF1xI&feature=related | 14:29 |
Lullen | YEAH! :D | 14:29 |
dotblank | http://pastebin.com/maaWsMFs | 14:30 |
dotblank | thats my .pro file | 14:30 |
dotblank | I think the problem my lie there | 14:30 |
Lullen | its not complete | 14:32 |
Lullen | :) | 14:32 |
Lullen | but it is probebly not that, that makes it not compile | 14:32 |
*** eitama has quit IRC | 14:32 | |
dotblank | maybe its debian rules? | 14:33 |
Lullen | http://wiki.maemo.org/MADDE/Packaging | 14:33 |
Lullen | look at 7. | 14:33 |
Lullen | http://pastebin.com/xGkVpvWQ | 14:34 |
Lullen | not that there should not be any spaces, its all tabs | 14:35 |
Lullen | very important | 14:35 |
*** eitama_ has joined #maemo-devel | 14:40 | |
dotblank | ugh autobuilders... | 14:50 |
lcuk | dotblank, nothing wrong with autobuilders | 14:52 |
*** Venemo has quit IRC | 14:52 | |
dotblank | lcuk, well when it works | 14:52 |
dotblank | lcuk, just can't seem to get anything to build | 14:52 |
dotblank | everything works in my sbox | 14:53 |
lcuk | how are you uploading and why is it failing | 14:53 |
dotblank | https://garage.maemo.org/builder/fremantle/groove_0.3-1/armel.build.log.FAILED.txt | 14:53 |
dotblank | using the upload assistant | 14:53 |
lcuk | dotblank, ok so you got past the upload bit | 14:54 |
dotblank | yes | 14:54 |
lcuk | the qmake portion, is qt correctly specified in the build deps | 14:54 |
lcuk | i know it works on yourscratchbox | 14:55 |
lcuk | but the autobuilder is just the same as scratchbox - it just starts completely clean first | 14:55 |
lcuk | and has to add everything as required and specified by your package | 14:55 |
dotblank | http://pastebin.com/zkLacmey | 14:55 |
lcuk | so if you fail to specify dependencies correctly it will fail more often than your messy home system | 14:55 |
dotblank | my sbox is fairly lean | 14:56 |
dotblank | I do most of my dev in the qt creater sbox | 14:56 |
Lullen | lcuk, there is many times when qt creator compiles and the autobuilder does not. I think that is a BIG issue | 14:56 |
dotblank | but my package does build in sbox | 14:56 |
Lullen | haha yeah exactly :D | 14:57 |
dotblank | *** No rule to make target `/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf', needed by `Makefile'. Stop. | 14:57 |
dotblank | I think it has to do with debian/rules | 14:57 |
Lullen | did you take mine? | 14:57 |
Lullen | that one is from the wiki and it does work | 14:57 |
lcuk | dotblank, wheres your makefile | 14:58 |
dotblank | make is generated by qmake | 14:58 |
dotblank | makefile | 14:58 |
*** Venemo has joined #maemo-devel | 15:00 | |
*** csaavedra has quit IRC | 15:02 | |
dotblank | http://www.gossamer-threads.com/lists/maemo/developers/60982 | 15:05 |
Venemo | dotblank: I'm sorry, I just arrived, but I see you have packaging issues, right? | 15:14 |
dotblank | Venemo, correct | 15:14 |
dotblank | https://garage.maemo.org/builder/fremantle/groove_0.3-1/armel.build.log.FAILED.txt | 15:15 |
Lullen | Venemo | 15:15 |
dotblank | oh nice | 15:15 |
Lullen | did you get how I solved my problem? | 15:15 |
dotblank | I got based the first issue I had | 15:15 |
dotblank | https://garage.maemo.org/builder/fremantle/groove_0.3-1/armel.build.log.FAILED.txt | 15:16 |
dotblank | now for my new issue | 15:16 |
Venemo | Lullen, yes | 15:16 |
Lullen | good :) | 15:16 |
Venemo | Lullen, you help me avoid the same problem | 15:16 |
Venemo | helped* | 15:16 |
Lullen | been looking for you for days because I forgot to tell you | 15:16 |
Lullen | dotbland, we should create a repo that only make you have to upload a | 15:17 |
Venemo | Lullen, I was here when someone told you the solution :) | 15:17 |
Lullen | .deb | 15:17 |
Venemo | dotblank: /usr/bin/rcc: File does not exist '../reasource.qrc' | 15:17 |
Lullen | Ye I know but you might have missed it :P | 15:17 |
Venemo | dotblank is it really named 'reasource'? | 15:17 |
Venemo | dotblank: not 'resource'? | 15:18 |
dotblank | Venemo, actually I really didn't bother with it | 15:18 |
Venemo | Lullen, okay, thank you :) | 15:18 |
dotblank | Venemo, like i don't use that file at all | 15:18 |
Venemo | dotblank: then remove it from the .pro file | 15:18 |
dotblank | Venemo, I'm about to.. the parser.h error I have is related to me not setting includes correctly | 15:18 |
dotblank | k | 15:19 |
Venemo | the auto builder doesn't care if you use it or not | 15:19 |
Lullen | Venemo, you tried to help me and for that I will always try to help you | 15:19 |
Lullen | same goes for dotblank | 15:19 |
Venemo | Lullen: thanks, you are very generous :) | 15:19 |
Lullen | more wine FTW! | 15:19 |
Venemo | dotblank: can I take a look at your .pro file? | 15:19 |
*** VDVsx has joined #maemo-devel | 15:19 | |
dotblank | Venemo, sure one sec i'm fixing them | 15:20 |
Lullen | Its more about me being angry with the community not helping (been posting like 10 threads at the forum and no one helps) | 15:20 |
Lullen | just look at my qexercise thread it is like 3 ppl that talks in it :( | 15:21 |
Venemo | dotblank: the INCLUDEPATHs usually should begin with /usr/... | 15:21 |
Venemo | dotblank: see this one: http://vcs.maemo.org/svn/eve-watcher/trunk/poc/sticky-notes/sticky-notes/src/QtExtensions/QtExtensions.pri | 15:21 |
dotblank | http://pastebin.com/EQGKrbzi | 15:22 |
dotblank | this is the modified one | 15:22 |
dotblank | I forgot to change the location on the last upload to the autobuilder | 15:23 |
Lullen | does anyone of you work with programming? | 15:24 |
*** VDVsx has quit IRC | 15:24 | |
Venemo | Lullen: I do, but I don't use Qt/C++ at work | 15:24 |
dotblank | right now this my hobby | 15:25 |
dotblank | learning qt4/c++ | 15:25 |
dotblank | so far its pretty cool | 15:25 |
dotblank | im soo close | 15:28 |
dotblank | https://garage.maemo.org/builder/fremantle/groove_0.3-2/armel.build.log.FAILED.txt | 15:28 |
dotblank | Lullen, I fixed the first error by copying your debian/rules | 15:31 |
Lullen | nice | 15:35 |
dotblank | omg | 15:37 |
dotblank | it built | 15:37 |
dotblank | YES! | 15:37 |
dotblank | maemo-optify-deb: mode auto | 15:38 |
dotblank | groove: optified 0 entries, saving about 0 kB. | 15:38 |
dotblank | :( | 15:38 |
Venemo | dotblank: ? | 15:40 |
dotblank | im just wondering why optify didn't save any space | 15:41 |
*** DigitalPioneer is now known as DocScrutinizer | 15:43 | |
dotblank | oh wow ok the package still isn't right | 15:45 |
dotblank | im going to get this working | 15:46 |
*** JPohlmann has joined #maemo-devel | 15:49 | |
Venemo | dotblank: optification is done by setting target.path to a path in /opt | 15:55 |
Venemo | eg. | 15:55 |
Venemo | target.path = /opt/sticky-notes/ | 15:55 |
dotblank | ah om | 15:55 |
dotblank | ah ok | 15:55 |
Venemo | also, if it is an app, you should provide a .desktop file if you want it to have an icon in the app menu | 15:55 |
dotblank | well I found deeper issues | 15:56 |
Venemo | oh | 15:56 |
Venemo | for example? | 15:56 |
dotblank | like the .deb it generates doesn't seem to have the binary in it | 15:56 |
dotblank | before it did.. now it doesn't | 15:56 |
dotblank | kinda a big thing | 15:56 |
Venemo | omg | 15:56 |
Venemo | show me the deb | 15:56 |
dotblank | k one sec | 15:57 |
dotblank | http://encodable.com/cgi-bin/filechucker.cgi?action=landing&path=/&file=groove_0.3-2_armel.deb | 15:58 |
dotblank | its a bit odd | 15:58 |
dotblank | nvm I think I found out why the .deb file doesn't have the binary | 16:00 |
*** lizardo has joined #maemo-devel | 16:00 | |
dotblank | ok now its good | 16:01 |
*** eitama_ has quit IRC | 16:05 | |
*** fiferboy has joined #maemo-devel | 16:05 | |
*** fiferboy has quit IRC | 16:05 | |
*** fiferboy has joined #maemo-devel | 16:05 | |
Venemo | dotblank: don't worry | 16:06 |
Venemo | dotblank: it failed 10 times for me before I finally got mine to work | 16:06 |
Venemo | dotblank: then another 3 revisions till I fixed an issue with postinstall and prerm scripts :D | 16:07 |
dotblank | I think I'm finally getting this | 16:07 |
dotblank | oh jeez | 16:07 |
mortini | yeah, packaging takes time to get proper | 16:07 |
mortini | (i think with any packaging system) | 16:07 |
*** eitama has joined #maemo-devel | 16:08 | |
dotblank | I was able to build on ubuntu's buildsystem | 16:08 |
dotblank | that was really picky | 16:08 |
dotblank | took me a long time to fiquire that one out | 16:08 |
dotblank | im just amazed at how complicated the autobuilder really is | 16:11 |
dotblank | I mean wow | 16:11 |
dotblank | and how it actually works too | 16:11 |
dotblank | its scary | 16:11 |
*** eitama has quit IRC | 16:15 | |
*** ppenz has quit IRC | 16:18 | |
dotblank | groove: optified 1 entries, saving about 132 kB. | 16:22 |
dotblank | ;) | 16:22 |
Venemo | :) | 16:25 |
Venemo | congrats | 16:25 |
*** _Lucretia_ has quit IRC | 16:28 | |
*** _Lucretia_ has joined #maemo-devel | 16:32 | |
_0x47 | dotblank: you said you were building using ubuntu's buildsystem? do you mean you got rid of the scratchbox SDK thingy? | 16:35 |
dotblank | _0x47, well what I did is made a symlink into the scratchbox | 16:37 |
dotblank | so I can easily build in and out of the sbox | 16:37 |
_0x47 | dotblank: i'm having serious issues with building in the sbox, prolly due to outdated packages. So would this help me there? Can I build for armel from outside the sbox? | 16:38 |
dotblank | _0x47, no you can't build for armel outside the sbox.. I built separate binaries for my desktop x64 computer | 16:39 |
dotblank | I programed my app to be truly cross platform | 16:40 |
_0x47 | so that doesn't hepl me much :( thanks anyway | 16:40 |
_0x47 | that's a good thing :) | 16:40 |
dotblank | _0x47, no proeblem | 16:40 |
Venemo | _0x47: perhaps try to get yourself an up-to-date version of Scratchbox? | 16:40 |
_0x47 | it's pretty up to date from sbox point of view, it's just that the packages inside are damn old and I even have difficulties to satify build dependencies. or is there a way to get the sbox updated to some really new, shiny versions? | 16:42 |
dotblank | Venemo, do you have extras devel enabled on your n900? | 16:42 |
_0x47 | Venemo: also, iirc you're the c++ pro guy, right? mind looking at a compile error for me? dunno if it makes sense if you don't know most of the sources... | 16:43 |
Venemo | dotblank, of course | 16:43 |
Venemo | _0x47: I'm not a pro, at all | 16:44 |
dotblank | does apt-get install groove work? | 16:44 |
Venemo | _0x47: but I can take a look, if you give me a link | 16:44 |
Venemo | dotblank: a moment, I'll try | 16:44 |
_0x47 | Venemo: oh, you _don't_ user c++ lol | 16:45 |
_0x47 | nvm then | 16:45 |
_0x47 | use* | 16:45 |
Venemo | _0x47: I had a university semester in C and another in C++ | 16:45 |
Venemo | _0x47: I've been using Qt for a few weeks | 16:45 |
Venemo | _0x47: but, you may show me the source :) | 16:46 |
Venemo | _0x47: I gladly take a look | 16:46 |
_0x47 | Venemo: That's neat, thanks a lot. It's not a project of mine, I'm trying to port an existing project. If you don't mind I'll send you that link to a board I was already explaining the issue: http://forum.vcmi.eu/viewtopic.php?t=327 Don't hesitate to answer here, I'll let them know if you could figure it out. | 16:47 |
_0x47 | This is actually the original project site. | 16:48 |
Venemo | okay, wait a little | 16:48 |
_0x47 | sure | 16:48 |
Venemo | this seems to be the error (among many warnings): | 16:49 |
Venemo | In file included from ../hch/CMusicHandler.cpp:11: | 16:49 |
Venemo | ../hch/CMusicHandler.h:24: error: using typedef-name 'Mix_Chunk' after 'struct' | 16:49 |
_0x47 | correct | 16:49 |
_0x47 | keep in mind it builds on my ubuntu machine | 16:49 |
Venemo | okay | 16:49 |
_0x47 | let me also send you a link to the svn if you want to take a look | 16:49 |
Venemo | link to the source, pls | 16:50 |
_0x47 | Here we go: http://vcmi.svn.sourceforge.net/ | 16:50 |
_0x47 | I updated to rev 1613 in the meantime, same issue | 16:50 |
_0x47 | so no need to change the revision | 16:50 |
Venemo | hm | 16:52 |
Venemo | this is weird | 16:53 |
_0x47 | Indeed :/ | 16:53 |
Venemo | what if you put line 25 before line 23? | 16:53 |
_0x47 | Let me try | 16:53 |
_0x47 | you mean struct Mix_Chunk; before typedef struct _Mix_Music Mix_Music; ? | 16:54 |
_0x47 | in .h | 16:54 |
Venemo | no | 16:55 |
Venemo | " struct Mix_Chunk; " before "struct _Mix_Music; " | 16:56 |
_0x47 | ah ok, sry | 16:56 |
Venemo | it complains about the struct being there after the typedef | 16:57 |
Venemo | although I don't know why is that the issue, just change the order and see what happens | 16:57 |
_0x47 | That makes sense. Let me try to build, it takes a while. I'll come back here... | 16:57 |
Venemo | okay | 16:58 |
Venemo | this was just a guess, btw | 16:58 |
Venemo | it is possible that the real problem is something else | 16:58 |
*** achipa has joined #maemo-devel | 16:59 | |
*** amigadave has quit IRC | 17:07 | |
_0x47 | Venemo: The error changed slighly, let me pastebin it for you. | 17:10 |
_0x47 | Venemo: http://pastebin.com/8YnQbyLW | 17:11 |
_0x47 | God damned, my fault | 17:11 |
_0x47 | Building again... | 17:12 |
Venemo | ehhem, okay | 17:13 |
_0x47 | I messed it up, the hot weather makes me think slow I guess, 2 minutes and we should have a result. | 17:14 |
Venemo | okay, no problem | 17:14 |
Venemo | I know the feeling | 17:14 |
_0x47 | Venemo: Well the error didn't change, the source did tho. Source: http://pastebin.com/NQJMkCJC Error: http://pastebin.com/qgALyhZG | 17:18 |
_0x47 | Mix_Chunk is something from libsdl-mixer btw, so it might be a problem that the struct is declared in the CMusicHandler.h file. But if I remove the struct from the header file it complains about it being not declared. :/ | 17:20 |
Venemo | aaah | 17:20 |
Venemo | okay | 17:20 |
Venemo | so Mix_Chunk is a typedeffed name | 17:20 |
Venemo | therefore it may not be used as the name of a struct, either | 17:21 |
_0x47 | err... yes? | 17:21 |
Venemo | btw, if it is already declared any typedeffed | 17:21 |
Venemo | you should not define it at all | 17:22 |
_0x47 | That kinda makes sense, but how would you explain it builds on my Ubuntu machine? And how would you try to solve this? | 17:22 |
Venemo | what happens if you delete its declaration? | 17:22 |
Venemo | delete the line "struct Mix_Chunk;" alltogether | 17:22 |
Venemo | it is not used anywhere in the source | 17:22 |
_0x47 | I already tried that, it will complain about it being not there when used later in the .h file. | 17:23 |
_0x47 | it is | 17:23 |
Venemo | more correctly: "Mix_Chunk" is used, but "struct Mix_Chunk" is not | 17:23 |
_0x47 | let me point it out | 17:23 |
_0x47 | One guy from #vcmi told me the CMusicHandler should actually be disabled completely from what he knows. | 17:23 |
_0x47 | http://vcmi.svn.sourceforge.net/viewvc/vcmi/trunk/hch/CMusicHandler.h?revision=1558&view=markup | 17:23 |
_0x47 | line 73 and 75 | 17:23 |
Venemo | that is misleading | 17:23 |
Venemo | it is "Mix_Chunk", and not "struct Mix_Chunk" | 17:24 |
_0x47 | regarding the disabled thing, I'm wondering if it may have something to do with the existing ./configure in the sources. As I try to build a .deb I guess it might not make use of it. May it be disabled by configuration, hence letting me compile with it on my Ubuntu machine? | 17:24 |
_0x47 | ok, anyways, let me comment the struct Mix_Chunk out and show you the prob. | 17:25 |
Venemo | okay | 17:25 |
Venemo | well | 17:25 |
_0x47 | Any thoughts about the .configure thing while it compiles? | 17:25 |
Venemo | different compilers may treat these stuff differently | 17:25 |
Venemo | afaik, such declaration, and then using it that way is not valid | 17:26 |
_0x47 | Yeah, that was my best guess too, at least due to the SDK using really old stuff. | 17:26 |
_0x47 | i see | 17:26 |
*** eitama has joined #maemo-devel | 17:26 | |
_0x47 | Venemo: I have to leave. Hope you'll be here in a few days as I am gone for the weekend. Either case if I could sort it out (or someone helping me) I'll let you know too. | 17:28 |
_0x47 | sec, I'll post you the error before I leave | 17:28 |
_0x47 | (Removed struct) http://pastebin.com/SqCpzxSZ | 17:29 |
Venemo | ookay | 17:29 |
_0x47 | k g2g, thanks for your help! :) | 17:29 |
Venemo | hm | 17:29 |
Venemo | wait a minute | 17:29 |
_0x47 | ok, i'm in hurry, fast :) | 17:30 |
Venemo | _0x47: what happens if you include the header in which Mix_Chunk is declared? | 17:30 |
_0x47 | same thing, also tried. it's actually included in the .cpp | 17:30 |
Venemo | no | 17:30 |
Venemo | what happens | 17:30 |
Venemo | if you include it into that .h? | 17:30 |
Venemo | eg: still get rid of "sruct Mix_Chunk", but include the file that defines it | 17:31 |
_0x47 | yeah, i tried that already, doesn't change anything. In fact I tried all combinations of removing or adding the SDL_mixer.h and struct. | 17:32 |
_0x47 | I meant the SDL_mixer.h also in the .cpp, if that changes anything. | 17:32 |
_0x47 | Venemo: I really have to leave, people are about to hit me if I won't stand up | 17:33 |
_0x47 | I'll come back here on Sunday | 17:33 |
_0x47 | bb | 17:33 |
Venemo | okay | 17:33 |
Venemo | bb :) | 17:33 |
dotblank | Venemo, did you get a chance to see if it installs? | 17:33 |
Venemo | dotblank: I'm trying now, was busy | 17:34 |
Venemo | dotblank: sorry :) | 17:34 |
dotblank | thats ok | 17:34 |
Venemo | dotblank: installed | 17:34 |
dotblank | does it run | 17:34 |
dotblank | groove is the command | 17:34 |
Venemo | dotblank: | 17:35 |
Venemo | run-standalone.sh groove -> this | 17:35 |
dotblank | yea well there are some issues | 17:36 |
dotblank | like QNetwork seems broken in my sbox | 17:36 |
Venemo | dotblank: although it doesn't have an icon in the app menu | 17:36 |
dotblank | at least on the i366 | 17:37 |
Venemo | dotblank: I searched for Bolero, and it found it | 17:37 |
Venemo | dotblank: although nothing happens when I hit play | 17:37 |
dotblank | Venemo, give it time to play | 17:37 |
dotblank | I haven't added a progress bar yet | 17:37 |
Venemo | okay | 17:37 |
dotblank | Venemo, is it on wifi? | 17:37 |
Venemo | dotblank: yes | 17:37 |
Venemo | dotblank: doesn't seem to do anything | 17:38 |
dotblank | make sure your profile isn't on silent | 17:38 |
dotblank | and volume is up | 17:38 |
Venemo | dotblank: I'm listening through earphones | 17:38 |
Venemo | dotblank: ah, yes, the volume is very low | 17:38 |
dotblank | I had at one point a progress bar and it was super slick but I had to rewrite a lot of the program so im going to add the progress bar in the next update | 17:39 |
Venemo | although it is rather an issue with the music itself, not the app :) | 17:39 |
Venemo | dotblank: a regular song plays well | 17:40 |
Venemo | it found Nemo from Nightwish | 17:40 |
Venemo | hm | 17:40 |
Venemo | what is this, btw? | 17:40 |
Venemo | some sort of music-pirating app? | 17:40 |
dotblank | its a listen.grooveshark.com client | 17:41 |
Venemo | oh | 17:41 |
Venemo | okay | 17:41 |
Venemo | what does the "Song" button do? | 17:41 |
dotblank | it will support artist and album search | 17:41 |
Venemo | oooh | 17:41 |
Venemo | okay :) | 17:41 |
Venemo | dotblank: the playlist feature is not working, either | 17:42 |
dotblank | Venemo, yup its not added. the playlist class and core is implemented not the gui yet | 17:43 |
Venemo | dotblank: okay :) | 17:43 |
dotblank | it has some work to go but im learning c++ as I write this app | 17:43 |
Venemo | dotblank: is this a Qt app? | 17:43 |
dotblank | yes | 17:43 |
Venemo | what sort of IDE and SDK do you use? | 17:44 |
dotblank | Nokia QtCreater beta and sbox | 17:44 |
Venemo | okay | 17:44 |
dotblank | I run ubuntu 10.04 | 17:44 |
Venemo | do you use .ui files? | 17:44 |
dotblank | x64 | 17:44 |
dotblank | no | 17:44 |
Venemo | uh-huh | 17:44 |
Venemo | why not? | 17:44 |
Venemo | that would make it bloody easy for you to make UIs | 17:45 |
dotblank | I felt since it was aQt:app forms wouldn't work well with portrait modes and appear weird on other platforms | 17:45 |
Venemo | that is not the case | 17:45 |
dotblank | Venemo, plus im kinda going the hard route to learn qt4 | 17:45 |
Venemo | hm, well | 17:46 |
dotblank | Venemo, well I dopn't really know | 17:46 |
Venemo | if you listen to my opinion | 17:46 |
dotblank | I just kinda stuck with it | 17:46 |
Venemo | you should let yourself focus on the app itself, and not the UI | 17:46 |
Venemo | the .ui files is basically a convenience feature that spares you the adding of UI elements from C++ code | 17:46 |
dotblank | yea thats what I mainly been doing.. the playlist support is there just no ui yet | 17:47 |
Venemo | dotblank: I even use a .ui for sticky notes | 17:47 |
dotblank | Venemo, really? | 17:47 |
Venemo | dotblank: it has 3 buttons and a text box, but still, it makes it so much easier | 17:47 |
dotblank | Venemo, maybe I'll use UI files later or convert them all | 17:47 |
*** csaavedra has joined #maemo-devel | 17:48 | |
Venemo | dotblank: it is not something evil | 17:48 |
Venemo | dotblank: it spares you the headache of manually doing thing | 17:48 |
Venemo | dotblank: if you're doing software development, you should automate as many things about it as you can | 17:48 |
dotblank | Venemo, I see your point. its just I had no idea what the best/optimal practice is with programming yet | 17:49 |
Venemo | dotblank: no worries | 17:49 |
Venemo | dotblank: this is a very promising app :) | 17:49 |
dotblank | Althout 90% of my headaches are not with the ui elements | 17:49 |
dotblank | its the network communication | 17:50 |
dotblank | and how to layout classes without being too modular | 17:50 |
Venemo | hm | 17:50 |
Venemo | are you a beginner with programming in general, or just with Qt? | 17:51 |
dotblank | My rewrite I worry adds a lot more conditional statements which slows down performance whilst downloading | 17:51 |
dotblank | I'm a begginer | 17:51 |
dotblank | although ive fiddled with c before | 17:51 |
dotblank | nothing this scale | 17:51 |
Venemo | "a lot more conditional statements which slows down performance whilst downloading" -> what do you mean? | 17:52 |
dotblank | ok let me get an example | 17:53 |
Venemo | what do you mean by "conditional statement"? | 17:53 |
dotblank | !pList->at(this->currentdownloaditem)->bufferready gets called everytime a new packet of data arrives | 17:53 |
Venemo | and? | 17:54 |
dotblank | I just think its starting to add up because thats not the only condition | 17:54 |
Venemo | what is the condition in this stuff? | 17:54 |
dotblank | and I noticed slower performance since I added more code in that section | 17:54 |
Venemo | oh. | 17:54 |
Venemo | well, don't worry | 17:55 |
Venemo | the people in this community are very helpful | 17:55 |
dotblank | I've already gotten lots of help | 17:55 |
Venemo | first, focus on having it working | 17:55 |
dotblank | I actually went on #qt | 17:55 |
Venemo | then you can start optimizing it | 17:56 |
dotblank | and a guy helped me get phonon working with network streams | 17:56 |
dotblank | because no one really knew it could be done | 17:56 |
dotblank | at least no one tried | 17:56 |
dotblank | which I found very odd | 17:56 |
Venemo | what is phonon? | 17:56 |
dotblank | its the library I use for media playback | 17:57 |
Venemo | oh. | 17:57 |
Venemo | okay | 17:57 |
Venemo | hm | 17:57 |
Venemo | doesn't qt have something for that? | 17:57 |
dotblank | you can specify urls for download but I needed more control so I had to create my own buffers and other things to get it to work | 17:57 |
dotblank | yea its libqt-phonon | 17:57 |
dotblank | I use it | 17:57 |
Venemo | ah, okay | 17:58 |
dotblank | has some issues though | 17:58 |
dotblank | performance wise I think its a bit of a hog | 17:58 |
Venemo | well | 17:58 |
dotblank | its about 30% cpu playing music + pulse | 17:59 |
Venemo | what makes you think that the default version is quicker? | 17:59 |
Venemo | for me, it barely used the CPU | 17:59 |
dotblank | Venemo, what default version? | 17:59 |
Venemo | the one that you just give a URL | 17:59 |
dotblank | Venemo, oh that will still use the same cpu | 18:00 |
dotblank | Venemo, but there is a bug with phonon not scalling the data length internally for the size of the incoming network stream | 18:00 |
dotblank | so I had to hack phonon to get it to work | 18:00 |
dotblank | StreamIO* stream = (StreamIO*) media->currentSource().stream(); | 18:01 |
dotblank | stream->setStreamSize(pl->getBuffer(p)->size()); | 18:01 |
*** gsever has joined #maemo-devel | 18:01 | |
gsever | hello | 18:01 |
Venemo | dotblank: well okay | 18:01 |
gsever | I have some installation problems following the instructions at http://wiki.forum.nokia.com/index.php/Maemo_5_SDK_installation_for_beginners | 18:01 |
Venemo | dotblank: don't worry about it | 18:01 |
gsever | at Maemo 5 SDK installation step | 18:01 |
Venemo | dotblank: just make it work, then you can worry about optimizing | 18:02 |
dotblank | Venemo, im actually happy with it now.. I actually think it stutters less then the media player | 18:02 |
gsever | using a Ubuntu 10.04 desktop in VirtualBox | 18:02 |
Venemo | gsever: if I were you, I would try the Nokia Qt SDK | 18:02 |
gsever | hmm | 18:02 |
gsever | I want to build my own kernel :D | 18:02 |
Venemo | gsever: oh. omg. sorry then :) | 18:02 |
gsever | so I want to setup my own scratchbox env | 18:03 |
gsever | actually I did | 18:03 |
Venemo | gsever: okay | 18:03 |
gsever | http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide | 18:03 |
gsever | but but but | 18:03 |
Venemo | gsever: I have no experience with Scratchbox | 18:03 |
gsever | this guy fails me | 18:03 |
gsever | ./maemo-sdk-install_5.0.sh | 18:03 |
gsever | I am trying it for the third time | 18:03 |
Venemo | dotblank: if you ever need help with user interface design, I can help | 18:04 |
Venemo | nah, I have to go now | 18:04 |
Venemo | bye guys :) | 18:04 |
mortini | gsever: under which os? | 18:04 |
gsever | it is getting the packages, but during the installation phase it gives me bunch of errors and quit | 18:04 |
gsever | using a Ubuntu 10.04 desktop in VirtualBox | 18:04 |
mortini | 32 bit? | 18:05 |
eitama | afaik it's only supposed to run under 8.04 ? | 18:05 |
mortini | i used 9.10 and it worked fine | 18:05 |
gsever | yes 32 | 18:05 |
mortini | i'd probably try that first | 18:05 |
eitama | Maybe, but installation without bumps and problems is tested on 8.04 | 18:05 |
mortini | or if you paste the errors they might be of some help | 18:05 |
gsever | pahh can I manually install say only apt-get in scratchbox | 18:05 |
gsever | I don't need all other packages actually | 18:05 |
gsever | I should be fine getting apt-get only | 18:06 |
gsever | for kernel build | 18:06 |
gsever | I didn't see any way to build maemo kernel on N900 itself | 18:06 |
gsever | yep I will paste errors once it completes the download phase | 18:06 |
gsever | in the meantime I could try installing apt-get only in my scratchbox session | 18:07 |
*** Venemo has left #maemo-devel | 18:07 | |
gsever | I can't execute this command: [sbox-MaemoKernel: ~] > fakeroot apt-get update since apt is missing in my scratchbox | 18:10 |
gsever | nor this one apt-get source kernel | 18:10 |
*** rrlix has joined #maemo-devel | 18:14 | |
gsever | here a sample error: | 18:14 |
gsever | dpkg: error processing pulseaudio-module-hal (--configure): dependency problems - leaving unconfigured dpkg: too many errors, stopping | 18:15 |
gsever | in the end | 18:15 |
gsever | Processing was halted because there were too many errors. E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1) E: Unable to install maemo-sdk-dev on FREMANTLE_ARMEL target. E: Please check the sources.list for errors. E: Scratchbox login returned error 100. | 18:15 |
*** gsever has quit IRC | 18:19 | |
*** bricks has left #maemo-devel | 18:34 | |
*** lcuk2 has joined #maemo-devel | 18:35 | |
*** lcuk has quit IRC | 18:37 | |
rrlix | Hi, I am trying to catch some signal in my client using dbus_g_proxy_connect_signal but It doesn't work, I am using like reference the code of http://static.maemo.org/static/0/0a283372fdb911dd80aed97025304c974c97_source_code_for_the_glib_d-bus_signal_example.pdf, how I can debug that ? Can I enable some debug option to see what is happening? | 18:44 |
*** JPohlmann has quit IRC | 18:59 | |
*** gsever has joined #maemo-devel | 19:02 | |
gsever | hi again | 19:02 |
gsever | I was trying to make an apt-get work from within a scratchbox session | 19:03 |
gsever | this command from ./maemo-sdk-install_5.0.sh | 19:03 |
gsever | was failing on Ubuntu 10.04 desktop (32-bit) within virtualbox | 19:03 |
gsever | funnily, I can't fake it using: | 19:04 |
gsever | [sbox-MaemoKernel: ~] > fakeroot /scratchbox/devkits/apt-https/bin/apt-get source kernel E: Unable to determine a suitable packaging system type | 19:04 |
gsever | any ideas? | 19:04 |
*** csaavedra has quit IRC | 19:06 | |
gsever | let me ask another question | 19:06 |
gsever | is it possible to build maemo kernel from withing the maemo itself (on N900) without dealing with scratchbox and such? | 19:07 |
SpeedEvil | yes | 19:12 |
SpeedEvil | cp / /home/user/chroot (with the right flags) | 19:12 |
SpeedEvil | cd /home/user/chroot | 19:12 |
SpeedEvil | install the sdk repository | 19:12 |
SpeedEvil | (after chroot . /bin/sh) | 19:12 |
SpeedEvil | then apt-get build-essentials | 19:12 |
SpeedEvil | however - I haven't gotten the kernel I built booting | 19:13 |
SpeedEvil | I haven't tried for a while. | 19:13 |
gsever | ok let me try this thing first | 19:13 |
gsever | when I do apt-get source kernel | 19:13 |
gsever | what does it fetch from http://repository.maemo.org/pool/fremantle/free/k/kernel/ | 19:13 |
gsever | I mighty manually get the file or files to give scracthbox based setup a try | 19:14 |
SpeedEvil | no isea | 19:14 |
*** azakai has joined #maemo-devel | 19:17 | |
gsever | hehe not many kernel builders around I suppose :) | 19:18 |
*** achipa has quit IRC | 19:25 | |
gsever | interestingly | 19:28 |
gsever | when I put these two lines in my /etc/apt/sources.list | 19:28 |
gsever | deb http://repository.maemo.org/ fremantle/sdk free non-free deb-src http://repository.maemo.org/ fremantle/sdk free | 19:29 |
gsever | and when I issue out of scratchbox "apt-get source kernel" | 19:29 |
gsever | hehe it stopped complaining :D | 19:30 |
gsever | nevermind | 19:30 |
gsever | ok figured it is getting kernel_2.6.28.orig.tar.gz | 19:33 |
*** gsever has left #maemo-devel | 19:49 | |
*** csaavedra has joined #maemo-devel | 20:00 | |
*** Ian-- has quit IRC | 20:07 | |
*** Ian-- has joined #maemo-devel | 20:16 | |
*** gsever has joined #maemo-devel | 21:55 | |
gsever | hello | 21:55 |
gsever | any kernel compilers around :D | 21:55 |
gsever | could someone give some insight on this topic? http://talk.maemo.org/showthread.php?p=729367 | 22:07 |
*** csaavedra has left #maemo-devel | 22:18 | |
*** T7g has quit IRC | 23:16 | |
*** kamui__ has joined #maemo-devel | 23:19 | |
*** shinkamui has quit IRC | 23:23 | |
*** csaavedra has joined #maemo-devel | 23:24 | |
*** gsever has quit IRC | 23:27 | |
*** T7g has joined #maemo-devel | 23:29 | |
*** T7g has quit IRC | 23:30 | |
*** T7g has joined #maemo-devel | 23:32 | |
*** lizardo has quit IRC | 23:52 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!