[02:36] dfarning, around? [02:36] lfaraone, around? [02:52] dfarning, ?? [03:13] dipankar, goodmorning [03:13] goodmorning dfarning [03:13] just saw your email [03:14] happy that work has been divided [03:14] :) [03:14] Does it make sense? [03:14] yup sure. Actually Manu Sir explained me before hand on phone [03:15] Ah great. I really didn't understand until I wrote it down. [03:16] dipankar, whenever you are ready we can start poking at the mouse patch. [03:17] yup [03:17] dfarning, we can start right now. I think we have an hour or so. [03:18] before you and Luke go to sleep :) [03:18] great are you familar with the patch system? [03:19] no dfarning, I am not aware of that. Have documentation by Chirag, but not clear. [03:20] dipankar, ok the standard way to share modification in linux is via 'patches' [03:20] ok [03:20] the little piece of code that we solveing the mouse issue was called a patch. do you still have the link for it? [03:22] dipankar, can you review the explanation of patch at http://en.wikipedia.org/wiki/Patch_(Unix) [03:25] dfarning, I lost the link. Let me check the logs [03:25] ok I found the patch example at http://bugs.sugarlabs.org/ticket/1544#comment:16 [03:26] dipankar, found it ^^ [03:27] dfarning, got it [03:28] http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/0.86/1544.patch [03:28] oops.. didn't see yours.. :) [03:32] ok dfarning, I went through the wiki page [03:32] does it make a little sense? [03:33] I guess I got the idea. Its similar to patches for computer games. They release patches to fix some bugs. [PS: I used to play __a lot__] [03:34] if we look at the existing patch we see that the changed file is in /usr/bin/sugar-session [03:34] :) [03:34] so we need to get the source for that package [03:35] we can use the command apt-get -u source sugar-session-0.88 to get it [03:35] one second David. I need to be on desktop [03:35] dipankar, ok just ping me when you are ready [03:36] actually USR installed on Desktop [03:36] David.. how about icome in 5 minutes.. [03:37] fine [03:44] dfarning, I am on my desktop :) [03:45] ok try download the source with the command given above. [03:46] ok.. dfarning let me first check the sugar-session file [03:47] dfarning, something opened up, but nothing is coming onit [03:47] dipankard, what do you mean? [03:48] dfarning, Its like, when I did above $cd /usr/bin/ [03:49] then $sugar-session [03:49] a window opened up [03:49] like the sugar [03:49] but icons on it [03:50] ok you went to the /usr/bin dir and ran the command 'sugar-session' [03:51] yes [03:51] and the session failed to start? [03:51] no [03:51] it started [03:51] but with no icons [03:51] only gray background [03:51] Ahh.. I see its the bug you told me [03:52] ahh. are you in a terminal in gnome? [03:52] yup [03:53] dfarning, I am not getting the directory you are mentioning [03:53] ok then that is the problem sugar-session will not run properly inside gnome. Instead you have to sugar-emulator [03:53] :( [03:54] sugar-emulator is a thin 'wrapper' which set up the sugar session with the existing gnome session. [03:54] ok.. sugar-emulator is working great [03:56] when you sellect the sugar 'session' from the log in screen it directly calls sugar-session [03:57] ok lets use an editor to look at the sugar-session file [03:57] ok [03:57] got it [03:58] opened it [03:59] ok now let's look at what changed in the patch [03:59] ok [03:59] client.set_string('/apps/metacity/general/mouse_button_modifier', [03:59] 7 - 'disabled') [03:59] 8 + '') [04:00] the - and + mean that the stuff on line 7 was replaced with the stuff on line 8 [04:00] so now we need to go to the sugar-session file and look for that line [04:01] hmmm looks similar to line 233. [04:01] what in on line 232 and 233 in your file? [04:02] I lost track dfarning, Let me rewind a bit. The first part line 7 and 8 are from patch file? [04:02] right? [04:02] yes [04:02] my bad.. I was looking at sugar-session file :( [04:03] got it now? [04:03] yup. on both files [04:04] what in on line 232 and 233 in your file? [04:04] yes David. 232 and 233 [04:04] * lfaraone is back. [04:05] hi lfaraone [04:05] does line 233 contain 'disabled') [04:05] yes David. 233 contains 'disabled' [04:07] hey lfaraone glad you are back I was starting to explain patching a packaging by show what we are trying to change in the /usr/bin/sugar-session file. [04:07] dipankard, the entire point of our patch is to change that line to '') :) [04:08] ok.. :) But why? I mean what does client.get_string() actually do? [04:09] lfaraone, would you mind walking dipankard though the process of creating a package patch? [04:10] dipankard I am not exactly sure, in this instance we are just using a existing patch written by alsroot to fix our package :) [04:10] ohk.. dfarning.. [04:11] I guess the file name in consideration is written on the top of the patch file [04:11] followed by the line no. where the modification is to be done [04:11] and finally what is the modification required. [04:12] yes and the third line is the line number of the orginal changes [04:12] dipankard: yes. rather than being written by hand, it's generated programmatically. [04:12] lfaraone, ok I'll shut up and listen:) [04:12] ok lfaraone, like we have dch for changelog entry [04:13] dipankard: yes. git has built-in support for patch generation. [04:13] ok [04:14] dipankard: so you have the unpacked sources of the Debian package in your current directory, right? [04:15] lfaraone, : I think no. which package shall I download? [04:15] using debcheckout? [04:15] lfaraone, we were look at the file in /usr/bin (its final install detestation) rather than as part of a package [04:16] dipankard: sugar-0.88, I think. [04:18] ok lfaraone just a minute [04:20] btw lfaraone, how do you delete whole folder in Ubuntu? [04:20] I always get a msg : 'Folder not empty' while doing 'shift + del' [04:21] dipankard: I have not seen that message. [04:22] :) [04:22] lfaraone, It will take sometime (slow internet speed here) [04:23] ^^ Package downloading [04:25] dipankard: okay, in the interim, I'll go into some explanation. [04:25] sure lfaraone, that will be great [04:26] dipankard: there are a variety of ways to modify upstream sources in Debian packages. The most obvious is to change the file directly in the source package. [04:26] dipankard: This is seen as a poor practice by many because it both creates problems when rebasing on a new upstream version (you lose the changes) and makes it harder to inspect the chagnes made. [04:27] ok [04:27] dipankard: therefore, a number of patch systems have been created. [04:27] dipankard: a quick overview of them is at http://wiki.debian.org/debian/patches [04:28] dipankard: the one that people seem to be standardizing on now is "3.0 (quilt)" [04:28] dipankard: this uses a patch system called quilt that Debian's dpkg now supports natively. Therefore, it requires no additional dependencies during build. [04:29] dipankard: when you look at the page I linked, you see a column, "Accepts diff -u output" [04:29] ok [04:29] dipankard: diff is the program typically invoked to create diffs. (and is used by git to create diffs). What does the '-u' option do? [04:31] I think it is to decide the file type or something related to unicode [04:32] I am unable to recall it 'unicode' or 'unified'.. something like that lfaraone [04:32] dipankard: well, according to the man page for diff(1), it outputs a "unified diff". This is what we're seeing in the patch that was linked. [04:32] dipankard: in the future, if you're unsure about a command option, running "man " and looking through the resulting page is usually a good way to start. [04:32] ok [04:33] got it lfaraone [04:33] dipankard: so according to the table, 3.0 (quilt), the patch system we're using in sugar-0.88, accepts that output without any modifications. [04:34] lfaraone, a doubt here.. by 'accepts' what are you referring? [04:34] :) lfaraone runs a tight ship when he is teaching. I wouldn't want to miss and assignments for him:) [04:34] s/and/any/ [04:35] dipankard: you can provide that as a patch to the application. [04:36] dipankard: We store patches for Debian packages in a folder debian/patches/ [04:36] yup.. [04:37] dipankard: so since we know that the patch that we're working with is accepted natively by 3.0 (quilt), we can just include the file in debian/patches/. [04:37] dipankard: so that quilt knows the order in which to apply patches, we also have to add the patch file name to debian/patches/series. [04:38] ok. [04:38] got it [04:38] dipankard: I'll be back in 15 minutes. Try and download the patch, add it to the series, and attempt a build of the pacakge. (hint: for the package build you'll need to use "git-buildpackage --git-ignore-new" to avoid git complaining about the lack of a commit) [04:39] ok lfaraone I will try [04:41] dfarning, I am setting up clocks to be in sync with you [04:42] can you please tell me your city [04:42] >? [04:42] also time zone can be useful.. [04:42] I am in the same time zone as chicago -- Central Standard Time [04:44] dipankar you can set the clock in gnome to point to several areas. [04:44] dfarning, done that.. :) [04:44] I have set clocks for Luke and yours [04:45] cool I use it all the time (no pun intended) [04:45] my.. you have one hour time difference among yourselves.. :) [04:47] yes nearly neighbors. well halfway across the country [04:47] :) [04:49] dfarning, How do make a .patch file.. its so confusing [04:49] have to take care of line numbers too [04:49] ? [04:51] dipankar in this case I think that you can just download the one alsroot make and stick in the the /debian/patches/ dir [04:51] where is the download dfarning ? I seem to not find it on that page [04:51] http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/0.86/1544.patch [04:53] lfaraone, might have a clever way of doing it.... but I would just click 'raw blob data' and cut and paste the results in to a file on my local machine [04:54] :) [04:54] dfarning: I just cd'd into the releveant directory and did "wget http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/raw/fad664ab8f1b068f4f38a3871944a7dd3aa6284b/patches/0.86/1544.patch" [04:57] lfaraone, you must forgive me. I am almost 40 and technology confuses me:) [04:57] :) [04:57] ok dfarning, copied the patch [04:58] now shall I add it at the end of the series file? [04:58] yes. [05:00] then I think you will be ready to run git-buildpackage with the proper flags. [05:00] dfarning: add the file name to the series file, yes. putting the patch itself in its own file in debian/patches/ :) [05:00] * dipankard [05:02] lfaraone, Then the build system just iterates though the list of patches in the series files and applies them in order when the package is being built? [05:02] dfarning: Yes. [05:03] ok lfaraone / dfarning : done with the first two steps: [05:03] now to run the packaging [05:03] dipankard: aside, you should read http://pkg-perl.alioth.debian.org/howto/quilt.html at some point so you understand how quilt works in general. [05:05] hey lfaraone : shouldn't we use -S too with the flags? [05:05] dipankard: use -S when you want to do a source upload. In this case, we want to check that the patch was applied when the package is built. [05:06] ok [05:09] dipankar you are going to have to slow down. You are nearly done with you and neeraj's work queue:) [05:09] ok lfaraone : some error on dependencies.. http://paste.ubuntu.com/455295/ I think I missed something [05:10] dfarning: okay, so install the missing dependency listed, right? [05:10] i suppose luke is referring to me :) [05:11] python empy [05:11] yes [05:11] that is correct [05:12] :( How do I add the dependency now. I only know they are in debian/control file [05:12] dipankard: you should install them on your local system using apt-get. [05:13] ohk [05:13] lfaraone: What is the use of 'python-empy' [05:13] ? [05:14] dipankar: that's a good question. I've no idea off the top of my head, but it's needed for Sugar to build :) To find out the utility of a package, use "aptitude show " [05:15] lfaraone: ok.. :) This is very __big__ package.. [05:15] http://packages.debian.org/search?keywords=python-empy [05:17] dfarning: I had a talk with neeraj [05:17] dipankar yes [05:17] last night [05:17] he told me he may not be able to join us before 4pm IST [05:18] so he told if patching is urgent then I continue with it [05:19] ok, that is fine it will give you the chance to teach him how to upload a package:) [05:19] yeah sure [05:20] I always to document every new process that I learn here so that team members can go through it too. :) [05:20] *have to [05:20] ok lfaraone: I am left with signing now [05:20] debsign :) [05:21] dipankar on my matrix I tried to identify special skills so that person can teach others as the team grows. [05:21] ohk.. [05:22] dfarning, I guess from next week (after this week's work) we will have to stick to the matrix then :) [05:22] no problem :) [05:23] dipankar well we still need manu to agree that it is a sane way of organizing our efforts:) [05:23] dfarning / lfaraone : I had a question in mind : the dependencies that the packages are associated with. Are they needed to be installed on my local machine while building? [05:24] dipankar: build-deps do. [05:25] ok that means there are more than one dependencies : packages and build.. [05:26] lfaraone, I thought build-deps were automatically installed at build time if they are listed in the control file? [05:26] package dependencies are not required to be installed on local machine while building a package [05:26] dipankar: on the build daemons, yes. but on the machines of us mere mortals, no. [05:26] dipankar: Yeah. There are a set of deps for the source package, and a different set of deps for each bin package. [05:26] dipankar there are two types of dependencies build time and run time [05:26] :) [05:27] ok, [05:27] dfarning, I am done with the package. [05:28] need some one to try it (test) for mouse bug removal :) [05:28] kandarpk, are you around? [05:28] yes [05:29] dipankar you can just install the package in our your own system and make sure that line 232 of /usr/bin/sugar-session is the new value. [05:29] hi kandarpk Sir, can you please try the package? I am sending it over to you. [05:30] We proved that change worked a couple of hours ago. [05:30] dipankar: you can also use file-roller to inspect the deb. all a deb is is an archive with some other files worked. [05:30] oh yeah.. [05:30] forgot about file roller [05:30] dipankar: basically, inside a deb, there is a data and a control archive. look in data then in usr/bin/sygar-session. [05:31] * lfaraone is out for the night, it's 00h30 here. [05:32] kandarpk, are you going to try to install a debian test system today? [05:32] dfarning, yes [05:32] dipankar how does the archive look? [05:32] lfaraone, : what was the syntax for file roller? file-roller [05:32] I'll install a debian system [05:33] kandarpk, great ping me if you have questions [05:33] dfarning, thanks [05:34] I'll ask if face any problem [05:34] dipankar yes that is correct [05:34] dfarning, strange it is not opening.. [05:34] dipankar, couldn't receive the files you sent [05:35] dipankar try clicking on the file in the file manager. [05:35] I am sending it through here, It is showing me connection error [05:36] dipankar, are they meant to fix the mouse problem ? [05:36] yes [05:38] ok [05:38] dipankar I think you have to install the binutils for fileroller to open .deb files [05:38] binutils package [05:38] dipankar, my problem was fixed yesterday so wont be able to test them [05:38] ohk.. [05:39] kandarpk.. [05:39] :) [05:39] you can mail them to ankur [05:39] dfarning, this is strange.. which tarball to open?? [05:41] dipankarit will be named something like sugar-.88 and end with .deb [05:43] dfarning, shoould I install the stable release or the testing distribution of debian ? [05:43] dfarning, [05:43] lfaraone, [05:43] checking done [05:43] patch was successful [05:44] dipankar, well done :) [05:44] thanks kandarpk , [05:44] kandarpk, we want to test against the testing distro [05:44] dfarning, lfaraone : I am signing the package and uploading them to ppa [05:44] ok [05:45] dipankar nice. did you edit the changelog to indicate that you added a patch and then increased the version number [05:48] dfarning, nope.. just tested. I guess I have run the buildpackage again with source only so that it can be uploaded to PPA. [05:48] *have to [05:49] dipankar those build flags confuse me:( [05:50] :) I am too confused with them a bit [05:50] I guess -S is for the source only. [05:50] and is important for ppa upload [05:53] dfarning, I see you sent it new tasks :) [05:54] dipankar I had to add the activity circle or you would be done by noon:) [05:54] haha :) I was thinking of taking sometime off [05:55] no problem [05:55] I will work a little bit slower this time [05:55] :) [05:55] I sent manu a list of other bugs that I think he will assign today or tomorrow. [05:56] ok dfarning :) [05:58] I guess you should have some sleep :) dfarning Its nearing 0000 hrs there [05:59] dipankar I was going to stay up until you uploaded the package and then go to bed:) [05:59] ohk.. [05:59] I am changing the changelog [06:00] making the source only package [06:01] dipankar your successes are creating the momentum for the rest of the team and project. It does not hurt that Luke is a savant:) [06:03] dfarning, I am glad that I am living up to team's expectations. Luke and you are very experienced. I am very happy to be working with you guys [06:05] dipankar yes, I think that I will go to bed now so that I can be up by 6 in case anyone else needs help tomorrow. [06:05] good night [06:05] dfarning, the package is rejected.. :P [06:06] I will try to solve this myslef now [06:06] you can have some rest :) [06:06] ggod night [06:06] *good [06:07] dfarning, good night [06:08] kandarpk sir, you around? [06:08] yup [06:08] will you try patching? [06:08] and uploading the package to ppa? [06:11] wont be able to do that [06:11] have to leave at 11:15 [06:11] no problem :) [06:11] send me the link [06:11] lets to the package [06:12] actually its all in IRC (here only) [06:12] you have open-up the log and follow up the steps :) [06:12] send me the package then [06:12] ok [06:13] I guess I should handle it :), after all its already 10:45 [06:13] hmm [06:13] sorry [06:13] I hope you don't mind that :) [06:14] see you in the evening then :) [06:14] bye sir [06:14] ok [06:14] bye [11:49] good afternoon neeraj_gupta [11:51] good afternoon dfarning [11:53] I am ready for completing the mouse-bug task. [11:54] Please let me know exactly how should I proceed..? [11:55] neeraj_gupta, hmmm how far did dip get this morning? [11:55] hmm.. I don't know.. I haven't talked to him since last night.. [11:56] hmm.. should I ask him? and if lfaraone guided him.. then I can look at the ubuntu-sugar seeta log.. [11:57] neeraj_gupta, looks like he uploaded the package and it sucessfully built about two hours ago:) [11:57] see https://launchpad.net/~sugarteam/+archive/ppa/+packages [11:57] oh.. great :) [11:58] I will ask him the procedure.. or read the documentation to clear my doubts :) [11:59] Yes, we worked then channel so everything should be logged. [12:01] neeraj_gupta, do you have something else you want to learn or work on? [12:07] dfarning, I am going through the log and will try to do these things first.. I guess it will take max to max 20-30 min.. [12:08] If u have something on which I can work or learn right now [12:08] then tell me.. [12:09] I have a lots of free time till Monday morning :) [12:10] neeraj_gupta, ok, I will be around most of the day, just ping me. I am looking into the the issue of why starting the usr.desktop leaves the desktop grey. we can start on that when you are ready. [12:11] I am ready now :).. I don't think I have any important work for the next 6-8 hrs :) [12:12] Whenever you feel like that we can start fixing then ping me :) preferably first on seeta id.. My vm remains minimized mostly :) [12:13] neeraj_gupta, ok :) Can you start by upgrading your system so we pull in the latest packages. [12:13] hmm.. I just updated my whole lucid and USR.iso installation.. [12:15] neeraj_gupta, have you updated lucid since dipankar upload the new sugar session package? [12:17] I updated my lucid(on which USR is installed) like 3-4 hrs ago.. let me run it again.. apart from running upgrade and update command do I need to check anything? [12:18] like in software sources? [12:19] neeraj, have you update software sources to include ubuntu-proposed to fix the gdm bug we were talking about yesterday? [12:20] k [12:22] sugar-session package is getting upgraded.. [12:22] ubuntu-proposed ? pre-released update? [12:24] dfarning, for including ubuntu-proposed fix, which filed I should check in software-sources.. [12:24] As far as I am able to figure out, you are telling me about pre-released updates(under updates) [12:24] neeraj_gupta, I would select -updates, -proposed, and -backports [12:25] k.. :) [12:27] neeraj_gupta, yes that is correct -proposed is the bleed edge fixes, -updates is stuff that has lived in -proposed for a couple of weeks and not caused any problems and -backports is work that has been done for the next release of ubuntu (10.10) and then backported to 10.04 [12:28] ok.. thanks for elaborating :).. [12:28] I will get dc for a min.. I am switching to high speed connection for downloading these updates.. [12:39] dipankar, good after noon:) [12:39] hi dfarning, good morning :) [12:40] dipankar, are you ready to help neeraj fix the problems with the usr.desktop? [12:41] dfarning, okay, but is it possible if we could move slow a bit? [12:41] dipankar, I can explain what is wrong and you can work together to fix it. With the emphasis on you explaining and neeraj doing:) [12:42] dfarning, okay.. [12:42] dipankar, sure. is your mind full from working with lfaraone? [12:43] dipankar, neeraj the problem that we are working on is the fact that when you run usr.desktop the desktop is grey. [12:44] going to the logs it shows that some thing is wrong with the icons [12:44] this makes us wonder why the Sugar desktop works while the usr remix fails [12:46] for this we track down where the files which start the xsession live. /usr/share/xsessions [12:46] dfarning, how do we run usr.desktop? is it similar to running sugar-emulator? [12:48] from there we compare the contents of Sugar.desktop and usr.desktop and see that the problem is the sugar.desktop correctly calls a 'wrapper' script called sugar instead of directly call sugar session. [12:48] change the calles to sugar-session to sugar and it will work:) [12:48] how was that for slow:) [12:49] dipankar, you run usr.desktop from the login screen... the package ubuntu-sugar-remix must be installed [12:49] oops [12:50] got it [12:50] has the session bug been removed? [12:51] sugar is actully a thin wrapper to sugar-session the exact same way sugar-emulator is a wrapper to sugar-session. [12:51] dipankar, if you update to -proposed the gdm bug is automatically fixed [12:52] confused :( [12:52] okay [12:52] I am running updates [12:52] done dfarning [12:53] dipankar, make sure [12:53] you have checked pre released updates [12:53] how do I log out now?? :) [12:53] I am stuck in the icon less environment :P [12:54] So to system->administrator->software sources-> pre-released updates [12:54] dipankar, I just power cycle the machine when that happens :( [12:54] So*-> Go [12:54] hehe.. [12:55] neeraj, I will try that in a minute [12:57] neeraj, I will be here to answer any questions. But let's see if you guys can work through this issue together. to debuggin and fixing process is almost the same as what dipankar did yesterday and earilier today to fix the mouse button issue. [12:58] neeraj, while we are waiting for dipankar to update. Can you: [12:58] 1 clear your log dir [12:59] dfarning, for this also, we will need to create patch after making necessary changes.. [12:59] 2 restart the usr.desktop. [12:59] 3 check the status of the logs to see what went wrong [13:00] neeraj, I will tell you the patch [13:00] dipankar, k.. [13:00] neeraj, yes we will need to create a patch and rebuild the package. [13:00] dipankar, ok i'll shut up and leave you guys alone until you have questions:) [13:01] neeraj, i still am unable to find the GDM update.. [13:01] dfarning, ok.. dipankar my interned connection is giving me problem.. update process will get finish in 1hr or so :( [13:01] hmm [13:01] try sudo apt-get upgrade gnome-session [13:03] okay working [13:03] but running only this upgrade will not solve the purpose(as my gnome session is still crashing).. [13:03] hmm.. [13:04] Currently I am updating/upgrading my whole system after selection the pre-release packages about which I told you earlier [13:04] hopefully that will help :) [13:04] hey.. [13:05] that would take me ages to complete [13:06] dfarning, what exactly we have to download for session bug removal [13:06] neeraj, yes you may have to update a lot of stuff. The session bug was fix upstream as part of a fix to the package GDM (gnome desktop manage) [13:07] see http://en.wikipedia.org/wiki/GNOME_Display_Manager for more info. [13:08] I think the required package name is gdm :) [13:09] dfarning, there's no package coming by that name :P [13:10] dipankar, can you try apt-get install gdm ? [13:11] actually I am installing gnome-sessino [13:11] *session [13:12] right now [13:14] dipankar, is it still download ? if so you can just kill the process -- once it starts installing it is rather danerous to kill :( [13:14] donw [13:14] *done [13:14] killed it :) [13:14] hello manusheel dipankar finished the mouse bug and now neeraj and he are working on the usr.desktop is grey bug. [13:14] dfarning: Great to hear. [13:14] hi manusheel sir [13:14] dipankar: Hi Dipankar. [13:14] Great work. [13:14] good afternoon manusheel sir :) [13:14] we are currently going thought the update process to insure our machines are upto date. [13:14] neeraj: Good afternoon Neeraj. [13:15] dfarning: I have started the gdm update :) [13:15] done [13:15] okay dfarning it worked. [13:16] there is nothing more frustrating than spending all day working on a bug and finding out someone allready fixed it.... [13:16] dipankar, great [13:16] :) Thats ture [13:16] neeraj, how is your update coming? [13:17] dfarning, still 20 min.. should I kill it and update gdm only? [13:17] I am in sugar right now and my brother has started playing with the robot activity :P [13:17] on desktop [13:19] neeraj, better finish the entire update just to be safe. [13:20] dfarning, ok. [13:20] but while you are waiting you can download the source to ubuntu-sugar-remix and look at the contents of /usr/share/xsessions/ [13:21] dfarning, you mean download the source of usr. [13:21] ? [13:22] dfarning, I tried sudo apt-get source ubuntu-sugar-remix [13:26] but its giving an error.. unable to find the ubuntu-sugar-remix meta package [13:26] dipankar, the source of the package ubuntu-sugar-remix from the ppa [13:26] neeraj you can do one more thing too.. [13:26] debcheckout ubuntu-sugar-remix [13:26] okay dfarning. [13:26] neeraj, sometimes that fails for files in the ppa, dipankar can explain a differerent way of downloading the source that works better with the PPA [13:26] dfarning, just a confusion. Is usr in debain universe. Otherwise debcheckout may fail [13:28] dipankar, oops I forgot to mention the ubuntu-sugar-remix only exists in the ubuntu ppa and not upstream in debian. [13:30] :) Looks like I am getting the hang of both the universe :) [13:30] dipankar, neeraj :) I am going to get a cup of coffee while you sort this out. I'll be back in 15 minutes. [13:46] dipankar, neeraj :) I am back from my coffee break. how is the source download coming? [13:46] we are confused dfarning [13:46] dipankar, about what? [13:46] we are not getting the u-s-r package exactly. [13:47] it is supposed to be downloaded from here : https://launchpad.net/~sugarteam/+archive/ppa/+packages [13:47] but it has u-s-r-meta package [13:49] dipankar, are you able to download the -meta package? [13:50] yes [13:50] dfarning, : I have downloaded that [13:51] dipankar, oops it looks like you want the -default-settings package [13:52] What we are looking for is the sessions I guess :).. [13:52] no problem I will download that package too, [13:52] :) [13:52] neeraj [13:52] neeraj, please follow dfarning's advice [13:53] done dfarning [13:54] dipankar, can look in the source package and see the /usr/bin/xsessions dir? [13:55] dfarning, I have looked in all directories [13:55] but did not find the one above [13:56] dfarning, finally my lucid is updated :) [13:56] dipankar, what command did you use to download th -settings source [13:56] dipankar, ok.. lemme download it [13:56] neeraj, +1 [13:56] dget -xu https://launchpad.net/~sugarteam/+archive/ppa/+files/ubuntu-sugar-remix-default-settings_0.0.1ubuntu1.dsc [13:56] I think I missed on the source [14:01] dfarning, quick review.. We are fixing the bug of mission icons.. which occur when when we select usr as session at starting [14:02] dfarning, I am getting cannot find source of package of 'u-s-r-meta' [14:02] neeraj, yes that is correct. [14:02] when using sudo apt-get source u-s-r [14:02] Now for fixing it.. first we look at the sugar.desktop file present at usr/share/xsessions [14:02] and the usr.desktop file from the package we just downloaded [14:03] neeraj, yes both correct [14:03] we see whats missing and make the changes in the default settings usr.desktop file [14:03] k.. [14:03] dipankar, I followed you command and got a ubuntu-sugar-remix-default-settings-0.0.1ubuntu1/ dir [14:04] yes dfarning [14:04] dipankar, in that dir there is a usr.desktop file . the developer (me) took a short cut when creating the package:( [14:05] how ? [14:06] dfarning, I changed some permissions of the file usr.desktop and it changed to Ubuntu Sugar Remix! [14:07] dipankar, because the package is so simple I put everything in the base dir rather than making a full directory tree inside the package. [14:07] :) dfarning, so what's now? [14:08] dfarning, we have to change every occurrence of sugar-session to sugar only in usr.desktop? [14:08] okay neeraj, got it [14:09] oops, my bad. i thought you said we have to do the above :P [14:09] yes, that is correct [14:10] dipankar, do you know how to make a patch by hand [14:10] I think I can. [14:11] but have to refer one [14:11] :) [14:11] *refer to one [14:13] hmmm. since there is no upstream to this package, you can just make the change to the code, update the , changelog and rebuild the package. [14:14] hmm.. [14:14] dipankar, no need to patch this one. [14:14] ohk dfarning, I think I got what you are saying. [14:15] For patching we need a source tar ball from Debian Universe [14:15] dipankar, yes [14:15] can't we push this package to debian? [14:17] dipankar, nope it is 'Ubuntu-Sugar-Remix-*' It contains specific settings and configurations to make Sugar work correctly on Ubuntu. Debian does not care about ubuntu stuff because ubuntu is downstream from debian [14:18] dfarning, is there any significant difference between sugar and ubuntu sugar remix option which is given at the start? [14:18] dfarning, got it from ur last reply :) [14:19] dfarning, you mean to say, Debian doesn't care what we do with it's packages? [14:20] I mean, anyone can use them for any purpose (I guess thats why it is Open Source) :) [14:21] dipankar, +1, Ubuntu does a lot of polishing to debian packages to make them more useable and friendly. debain developers are less concerned about the polish than there are about technical stuff. [14:22] s/there/they/ [14:23] dipankar, yes as long as the downstream abides by the GPL anyone can do what every they want with an upstreams code. [14:23] dfarning, so we are using the same codes of sugar and making some of our own (emulator) to produce u-s-r?? [14:23] but keeping the system as Ubuntu is mind. [14:25] dipankar, Yes, we are using 99% of the same code and 99.9% of the same code as debian. We are only making slight modification to a) make it run better on ubuntu b) make it look more polished and c) fix bugs. [14:27] dipankar, and as often as possiable we will try to push b and c upstream... ever change or patch we maintain is an expense. We want to keep expenses down by working as closely as possible with upstreams. [14:28] dfarning, I will go through the log in which lfaraone explained about patching.. After that I will try to patch this with dipankar :) [14:29] dipankar, a couple of years ago RedHat was maintaining over 10,000 local patches to their version of the kernel! Very expensive. Now they try to keep the patch count down to a couple of hundred [14:30] neeraj, great. [14:30] neeraj, did you edit the file as use.desktop file as necessary? [14:30] Apart from replacing "sugar-session" to "sugar", in usr.desktop file, do we need to make any other change? [14:30] yup [14:30] I did that.. [14:31] neeraj, in the bottom line I would change usr.desktop to Ubuntu Sugar Remix [14:32] neeraj, what do you think the bottom line does? [14:32] ok.. [14:32] Name[en_US]=usr.desktop [14:34] I was about to ask you the same ques.. [14:34] as when I log in into ubuntu sugar remix [14:34] it was written there as ubunut-sugar-remix [14:34] not usr.desktop [14:35] I am not sure what exactly the last line signifies .. [14:38] dfarning: I have joined through chatzilla [14:38] neeraj: you there? [14:39] neeraj, sorry about that, dipankar was having some trouble with lag. I was looking into it and loged myself off by mistake [14:39] dfarning, np :) [14:40] neeraj: dfarning : am I on IRC? [14:40] neeraj, when ever you see something of the form en_US it probobly refers to a translation. [14:40] dipankar, yes I see you [14:40] yup.. [14:40] thank god :) [14:40] But what was the exact need of putting that translation line.. [14:41] I mean default was en only.. [14:41] k.. I think i got it.. If some one explicitly select en_us.. then he might see usr.desktop? [14:41] am i right or wrong? [14:41] in this case since my LANG setting is en_US I get the ugly 'usr.desktop' in my log in screen. [14:42] :) [14:42] so if you fix that it will be prettier for me. [14:43] dfarning, got it.. [14:43] neeraj, next you will need to make a entry to the changelog [14:43] neeraj, and bump up the version number [14:44] In the change log.. what should I write.. Till now I was just bumping the version no. [14:44] hmm.. * Fixed no icon issue in ubuntu-sugar-remix session? [14:45] +1 [14:45] dipankar, are you back without too much lag? [14:46] dfarning: Now its much better [14:47] dipankar, good, I think you can set which freenode mirror you connect to. some are really slow, but I am not sure how to do that. [14:47] neeraj, are you using dch to edit the change log? [14:48] hmm.. naah.. doing it manually.. [14:50] 0.0.1.ubuntu1 -> 0.0.1ubuntu2 [14:50] neeraj: try using dch -i, otherwise it is a pain to add the date :P [14:50] he he.. date - R [14:50] will give date in required format.. :) [14:50] yup.. but the copy paste and the format.. [14:51] tell me how should I do it using dch -i :) [14:51] neeraj, yes I think dch is handy. [14:51] go to the source tree of the package where you will find the debian dolfer [14:51] *folder [14:51] I have used it once which fixing browser bug :) [14:51] in terminal [14:51] k [14:52] now run 'dch -i' in that directory [14:54] see its ready made :P [14:55] neeraj, are you ready to build the package? [14:55] wait.. for 1 min.. :) [15:01] sorry.. was on phone.. [15:01] k.. I have made the changes [15:03] dfarning, there is an extra file with name changelog.dch.save [15:03] should I delete it? [15:04] how did that generate? [15:04] neeraj, yes anything ending in .save is a temp backup [15:05] dipankar_ I would guess that neeraj left the dch editor open for over 10 minutes (while he was on the phone ) and it made an autosave. [15:05] dfarning, ok [15:06] dfarning, I tried to apply this fix manually [15:06] but somehow usr got deleted from the login sessions option [15:06] dfarning, finally I have made the following changes [15:07] 0.0.1.ubuntu1 -> 0.0.1ubuntu2 [15:08] * Fixed No icon issue in ubuntu-sugar-remix session [15:08] *New upstream release [15:08] dipankar_ did you power cycle the computer. It is safer to power cycle when working with the session. [15:08] changed the Maintained field in control file [15:08] ok.. [15:08] will try that [15:09] neeraj, that looks good. time to build the package. [15:09] debuild -S? [15:10] debuild -S -sa [15:11] ok [15:13] dfarning, no use :( [15:13] ok.. build successful.. [15:14] but still I have nt done something related to patch (quilt 3.0).. (I m yet to read the complete log :() [15:14] neeraj_ can you email the .deb to test before you upload it. neeraj said he was having trouble. [15:15] opps dipankar_ did you say you cnanged a permission a couple of hours ago? [15:15] dipankar I just tested the manual changes and they worked fine. [15:15] quilt is different method [15:16] err.. deb file? [15:16] I got tar.gz file.. that should work.. should I sent it to u? [15:16] send .deb file :) across to me.. through IRC only [15:16] right click on my name and send files option [15:16] :) [15:17] use the dipankar_ [15:17] dfarning, didn't get you [15:17] hmm.. dipankar when I build the package.. I only got tar.gz file [15:17] .changes [15:17] .dsc [15:17] not *.deb file [15:17] oops I forgot. [15:17] dipankar_ does neeraj have to do anything special to create a .deb as opposed to sources [15:18] I guess tar ball file will do the same work as of deb file..? [15:18] -S/ -S -sa make only source packages for ppa upload [15:18] for debian upload you need to run debuild [15:18] only [15:19] do one thing copy only the u-s-r-default-settings folder to another directory [15:19] and run debuild once again [15:19] on that folder [15:20] dfarning, I changed permission on laptop :) I am trying things on virtual box on desktop [15:21] dipankar_ hmm I am going to log off and test again. back in a minute. [15:21] did u got the deb file? [15:22] neeraj, can you please send it again? [15:22] wait.. [15:22] I logged of.. [15:23] hmm :) [15:23] dfarning, I did it away with some changes here and there :P [15:24] now it is starting [15:24] dipankar_, I just tried again and it worked great. [15:24] dipankar_, great. === dipankar_ is now known as dipankar [15:25] :) [15:25] neeraj, send the file across [15:25] .deb one [15:25] I want to try it after intentionally screwing the file up :P [15:26] neeraj, as soon as you have the new package uploaded we can close this bug. [15:26] hmm.. should I dput the *changes file right now? [15:26] dipankar, sending u the deb file in a min [15:27] sure [15:28] neeraj, before you do that dipankar can show you how to fix .dput.cnf to prevent a class of upload errors. [15:29] sure [15:29] dipankar, do you remeber what you changed the incoming line to? [15:29] dipankar, and why:) [15:31] neeraj when that change is done you are ready to upload:) [15:32] ohk [15:32] neeraj [15:32] k.. I read the conversation between u ppl.. when lfaraone told the exact problem :) [15:32] dipankar, yes [15:32] it is always not necessary to change the changelog file [15:32] just to get it passed through ppa software [15:32] while uploading [15:33] k [15:33] so we use the method of override method in dput [15:33] e.g the s-p-s service which went faulty by our experiments [15:34] so we downloaded the package source by jonas [15:34] actually we downloaded the s-p-s package from Debian [15:34] :P [15:34] kk [15:35] and repacked it as it is with out making any change in changelog [15:35] file and control file [15:35] hmm.. control file? [15:35] I mean u didn't build it up..? [15:35] in which we change the maintainer name [15:35] in debian folder [15:36] k.. [15:36] neeraj, we have to build it again for sure [15:36] but from the unmodified source [15:36] thats why we used git-packaging [15:37] it added an advantage that we need not worry about the .orig tar ball [15:37] unlike debuild [15:38] I will send a detailed documentation by tomorrow :). [15:38] hmm.. ok [15:38] But for now lets concentrate on the override in dput method [15:38] dipankar, this package is not set up to use git-buildpackage. I didn't know how to do it when I created the package:( [15:40] dfarning, I guessed so :). To be able to use git on a package we must have the package on git [15:40] which I guess is not there. [15:40] :( [15:40] I was just suggesting to add ubuntu/lucid to the incoming var to prevent all the cant find unstable errors:) [15:41] hmm.. just wondering.. should I try to put the changes file right now and see the error message? I guess,it will do no harm.. [15:41] for the current package we won't require the override method [15:41] neeraj_ +1 [15:41] as neeraj has already changed the changelog [15:41] :) [15:42] neeraj_ give it a shoy [15:42] *shot [15:42] ok.. [15:42] dfarning, in the meantime, whats the next bug? [15:42] :P [15:45] neeraj_ : whats the status? [15:45] got mail.. accepted [15:46] great [15:48] neeraj yep it is building at https://launchpad.net/~sugarteam/+archive/ppa/+build/1813483 [15:50] dipankar, since you are rather ahead of scheudal:) how about you chose between a) building a new iso. b) fixing the missing activity circle or c) fixing the (sometimes) borken f1-f4 keys? [15:51] dfarning, :) I have already tried making an iso [15:51] neeraj it is done build at https://launchpad.net/~sugarteam/+archive/ppa/+build/1813483 [15:51] dfarning, I would like to try building new iso .. I have n't tried it yet .. [15:51] :) [15:52] I would take up the activity circle. [15:52] bug [15:52] :) [15:52] sounds good for both. [15:53] dipankar, I'll let you poke around on your own [15:53] dfarning, just need a starting pointer. [15:53] neeraj sounds good lets get started. [15:53] where is the display file kept (in which directory?) [15:54] dfarning : I mean where will I find the display config files? [15:54] just this pointer [15:54] dipankar, my best suggestion is to ask alsroot on #sugar he is the guy that wrote the activity_bundle installer:) [15:55] ok [15:55] dipankar, if he is not around I'll try to help:) [15:55] isn't he here too :) [15:56] dipankar, yes, he is, but becuase this is closely related to sugar it make more sense to ask it there, that way someone else might jump in and help. [15:57] ohk [15:57] :) [15:57] dfarning: activity_bundle? [15:57] see alsroot is here :) [15:57] dipankar, please send me the documentation for building iso.. I m unable to find it..(still searching) [15:57] no problem just a sec [15:58] neeraj, sent it [15:58] dipankar, ty :) [15:58] hello alsroot [15:58] dipankar: hi [15:58] alsroot, dipankar is working on a bug where the activites don't show up in the activity circle but are visible in the list view.... [15:59] yes alsroot, some pointers on how to start will be helpful [15:59] neeraj, ping me when you have reviewed the documentation. And we can get started. [16:00] dipankar: does shell.log contain any errors? [16:00] let me check [16:03] dfarning, I will ping you after 15 min.. dinner time :) [16:03] alsroot: there is an import error : No module named xklavier [16:04] dipankar: thats an error but may not interfere with activities list, are there any over errors? [16:06] alsroot: I have pasted the log file here : http://paste.ubuntu.com/455514/ [16:09] dipankard: hmm.. something is really bad, 38 line [16:10] alsroot: line 38.. hmm.. [16:11] dipankard: could you pastebin `python -c 'import sugar.datastore; print sugar.datastore.__dict__'` output [16:13] dipankard: sorry, python -c 'from sugar.datastore import datastore; print datastore.__dict__' [16:13] alsroot: ohk just a sec :) [16:14] alsroot: The link : http://paste.ubuntu.com/455518/ [16:15] alsroot: btw it would be nice if you could provide some info on the error [16:15] :) [16:16] dipankard: no ideas.. [16:17] alsroot: then it is really bad [16:18] dipankard: could you pasterbin list of installed packages? [16:19] dfarning, I am ready for building new iso.. [16:19] alsroot: you mean under sugar? [16:19] neeraj_, lets swith to #seeta so we don't disturbe alsroot and dipankard [16:20] dipankard: not sure how sugar packages are named in deb, so just entirely output of `dpkg-query -l` [16:21] alsroot, we are installing activity bundles that same way that soas stick does it. [16:22] dfarning: dipankard: I mean, that in python cmd output, there is "/usr/lib/python2.6/dist-packages/sugar/datastore/dbus_helpers.pyc" and I can't find datastore/dbus_helpers.py in sugar sources [16:22] alsroot they are currntly in one big package called sugar-activities [16:23] dfarning: looks like datastore/dbus_helpers.pyc relates to glucose [16:23] alsroot: a big list :) http://paste.ubuntu.com/455522/ [16:24] dipankard: btw what package contains /usr/lib/python2.6/dist-packages/sugar/datastore/dbus_helpers.pyc ? [16:24] alsroot, ok thanks, it must be a build error. [16:25] dfarning: dipankard, btw "python-carquinyol-0.88 0.87.1-1" is really old, what about using 0.88.1 release [16:27] alsroot added to this weeks task... if you see anything else we need to do please let me know and we can work on it next week. [16:27] :) [16:28] ..debian peopel really like to rename upstream packages.. not so useful at the end [16:28] alsroot: during sugar installation there were some problems encountered which I ignored [16:28] but they were all related to acitivities [16:29] dfarning, alsroot: btw how to check for a particular file's package? [16:31] alsroot, dfarning: there is another problem coming up: [16:32] sucrose-0.88 is unable to be installed [16:32] *installed -> upgraded [16:33] dipankard: to find package by file "dpkg-query -S " [16:33] thanks alsroot [16:34] dipankard: whats the full output with "sucrose-0.88 is unable to be installed" error? [16:35] alsroot: unresolved dependencies [16:35] http://paste.ubuntu.com/455525/ [16:35] ^^ dependency list [16:37] dipankard: looks like the problem is python-xklavier [16:37] ok [16:39] alsroot: but it's saying xklavier is not installable [16:40] dipankard: the probelm is xklavier? [16:40] :) [16:40] dipankard: btw what package contains /usr/lib/python2.6/dist-packages/sugar/datastore/dbus_helpers.pyc? [16:40] I am getting package not found on terminal [16:40] oops [16:40] typo [16:41] dpkg: /usr/lib/python2.6/dist-packages/sugar/datastore/dbus_helpers.pyc not found. [16:41] dipankard: what about /usr/lib/python2.6/dist-packages/sugar/datastore/dbus_helpers.py then [16:42] alsroot: not found [16:44] dipankard: dfarning: at the end I think datastore error is about really outdated sugar packages e.g. "python-sugar-toolkit-0.88 0.87.1-1" [16:45] alsroot : ok.. thanks for helping us out [16:45] np [16:45] dfarning, around? [16:46] sorry, looks like we should start by updating python-sugar-toolkit to the latest version in debian [16:47] dipankard are you up to that? [16:47] dfarning, what about tomrrow ? I am really tired today [16:47] after dinner I am planning to sleep [16:47] that will first thing in the morning [16:48] dipankar that would be great. I'll see you tommow thanks for your great work [16:49] thanks dfarning. See you tomorrow. Have a nice day [16:49] dipankar thank you and see you tomorrow [17:15] kandarpk, how is it going with the debian test system? [17:16] I am downloading it [17:16] will install it in about an hour [17:16] kandarpk, ok i am going to lunch and will be back in about an hour [17:16] ok