/srv/irclogs.ubuntu.com/2010/09/08/#ubuntu-sugarteam.txt

GeeXainhey guys02:43
dfarningGeeXain, hello03:13
GeeXainhey d03:25
GeeXaingot a question maybe you may be able to help me with03:25
GeeXaini have an OLPC laptop which i installed teapot's optimized version of Ubuntu 8.10 (Intrepid) on.03:25
GeeXainnow what i would like to do is actually run some of the Sugar Activities/Apps on the Ubuntu end without emulation03:26
dfarningGeeXain, I can't really recommened any packages older than the one for maverick:(03:27
GeeXainah03:27
GeeXainis there any tutorials that explain how to install one of these apps on my version of ubuntu?03:28
GeeXaineven to test it out03:28
GeeXaini've bascially just trying to find out how to add the olpc sugar repository into my copy of ubuntu with no luck there either.03:29
dfarningyou can use the iso at http://download.sugarlabs.org/usr/03:30
GeeXainokay, thanks03:31
dfarningor if you are running ubuntu 10.10 install ubuntu-sugar-remix03:32
GeeXainyeah, i'll just have to wait till an optimized version of ubuntu 10.10 comes out for the OLPC03:33
dfarningGeeXain, if you need help with either of these please type dfarning  my computer will beep at me to get my attention.03:33
dfarningGeeXain, yes the XO1 and xo1.5 need some kernel patching to work correctly with ubuntu.03:34
GeeXainokay, lol, thanks03:38
GeeXaingot to go03:38
=== bernie_afk is now known as bernie
=== bernie is now known as bernie_afk
dipankaralsroot, ping15:02
alsrootdipankar: hi15:02
dipankaralsroot, hi, I need your help in cutting short a function in python15:03
alsrootsure15:03
dipankaralsroot, just a minute, let me search the archive page15:03
dipankaralsroot, here: http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026664.html15:04
dfarningdipankar, text should wrap at 80 chars.15:05
alsrootdipankar: whats the problem?15:05
dipankardfarning, alsroot : If I wrap the text in 80 characters, I hope it doesn't cause any problem15:06
alsrootdipankar: btw if you  remove timeout argument, you will get line shorter then 80 :)15:06
dfarningdipankar, it is a custom held over from when CRTs were 80 char wide....15:07
dipankaralsroot, I can't remove the timeout argument15:07
* alsroot very happy to have 80 standard, I can see two files on the same screen15:07
alsroot..split horizontally15:08
dipankaralsroot, heh. I also love my wide screen LCD monitor15:08
alsrootdipankar: but can you use socket._GLOBAL_DEFAULT_TIMEOUT directly?15:08
dipankarlets me see two files at a time too15:08
* dfarning not that clever.... I use dual monitors.15:09
alsroots/horizontally/vertically/15:10
dipankaralsroot, I think we can do that too15:11
dipankarset the time out in TimeoutHTTP15:11
alsrootdipankar: I guess silbe just meant that there is no need in setting timeout in runtime, having constant value is enough15:12
dipankaralsroot, ohk15:13
alsroot..as python constant15:13
=== bernie_afk is now known as bernie
dipankaralsroot, I am changing the file and pasting it in a sec.15:13
dipankaralsroot, here : http://paste.ubuntu.com/490369/15:15
dipankaralsroot, line 4015:15
alsrootdipankar: if I got silbe right (which is also my own preference), just use REGISTER_TIMEOUT in 4315:17
dipankaralsroot, :) that will cause the line to exceed 80 char. Let me try15:17
dipankaralsroot, now? http://paste.ubuntu.com/490375/15:21
alsrootdipankar: it seems that you use \t char in patch, in python, it is important to use either space or tabs. Since all source use 4 spaces you need to follow this15:23
dipankaralsroot, I have used tabs.15:24
alsrootdipankar: just use pylint and pep8.py to check if everything is ok15:24
alsrootor http://wiki.sugarlabs.org/go/Activity_Team/Sugar_Lint, which does these all by one call15:24
dipankaralsroot, I think there is somthing wrong with the paste.ubuntu.com15:30
dipankarI have given tabs15:30
dipankarbut it shows as long spaces15:30
alsrootdipankar: I mean you need to replace all tabs by 4 spaces, entirely sugar code follow this rule15:31
dipankaralsroot, ohk. I think I have set tabs to 4 spaces only :)15:32
dipankaryup: tab width set to 4 spaces15:32
manusheelkandarpk: Hi Kandarp.15:37
kandarpkmanusheel sir: hello15:39
manusheelkandarpk: Kandarp, can you test Martin's patch at sugar-jhbuild?15:41
dipankaralsroot, now ? http://paste.ubuntu.com/490385/15:41
manusheelkandarpk: And, our patch too. Thank you.15:41
kandarpkmanusheel sir: ok.15:41
manusheelkandarpk: First, our patch.15:41
dipankaralsroot, I removed all the tabs and put in 4 spaces15:41
alsrootdipankar: in other cases patch looks fine in my vision15:43
dipankaralsroot, 'other cases' ? :P15:44
alsroot..the rest of patch15:44
=== bernie is now known as bernie_afk
=== kandarp_ is now known as kandarpk
manusheelkandarpk: Any help needed?15:52
kandarpkmanusheel sir: I think I accidently deleted the patch file while cloning the jhbuild yesterday15:53
manusheelkandarpk: Not an issue. You did send it for review. Isn't it?15:55
kandarpkmanusheel sir: yes, using that15:56
manusheelkandarpk: Great.15:56
kandarpkmanusheel sir: is it necessary to build jhbuild after making changes to test ?16:21
kandarpkit is taking around 20min16:22
manusheelkandarpk: Yes.16:24
manusheelkandarpk: Around?16:40
kandarpkmanusheel sir: yes16:40
manusheelkandarpk: Did it work?16:40
kandarpkmanusheel sir: analysing16:41
kandarpkmanusheel sir: showing wierd behaviour16:41
manusheelkandarpk: Ok.16:43
manusheelkandarpk: Would you like to touch base with tch on it?16:43
manusheelkandarpk: Can you join #olpc-paraguay?16:43
kandarpkmanusheel sir: not sure how to ask16:44
kandarpkmanusheel sir: give me 5 min.16:44
manusheelkandarpk: Sure.16:45
kandarpkmanusheel sir: tch has uploaded a new patch with changes suggested by silbe after reviewing patch submitted by us16:53
manusheelOk. Can you apply that patch and see if that works.16:56
manusheelkandarpk: We can talk to tch about it.16:56
manusheelkandarpk: I am not sure whether his patch works or not.16:57
kandarpkmanusheel sir: it is almost identical to the one we have made16:57
kandarpkhis patch should work16:57
manusheelkandarpk: Cannot guarantee.16:58
manusheelkandarpk: It has been revised 3 times.16:58
manusheelkandarpk: I hope it works.16:58
kandarpkmanusheel sir: what should we do ?16:58
manusheelkandarpk: Is the patch that we made worked?16:59
kandarpkmanusheel sir: almost16:59
kandarpkmanusheel sir: for user activities16:59
manusheelkandarpk: Great. Did you add description and one-line summary for the patch?17:00
kandarpkinstead of hiding the Erase option, it isn't showing any option on right clicking on the activity icon17:00
manusheelkandarpk: Any idea on how we can resolve it?17:01
kandarpkmanusheel sir: let me browse through the log files17:02
manusheelkandarpk: Sure.17:03
kandarpkmanusheel sir: there was an error in my patch17:07
kandarpkmanusheel sir: building again17:07
ishankandarpk, alsroot: I ran jhbuild build command  but now its rebuilding the telepathy elements as well17:07
ishanis there a problem?17:07
kandarpkishan: it does on my system too17:08
ishankandarpk, it was not doing before17:08
kandarpkmanusheel sir: shall I directly try the patch submitted by tch ?17:08
manusheelalsroot: Is it an issue? ^^17:08
manusheelkandarpk: How about our patch?17:08
manusheelkandarpk: Did it work?17:08
kandarpkmanusheel sir: I'll need to build again17:09
alsrootmanusheel: not sure (I don't use jhbuid), but in anycase it would be useful to build custom tp17:09
manusheelkandarpk: Sure, you can try his patch too.17:09
dfarningkandarpk, something pretty handy is http://wiki.sugarlabs.org/go/Development_Team/Jhbuild#Using_ccache_to_speed_up_rebuilds17:09
manusheelalsroot: Should we open a feature request for the same?17:10
dfarningit caches builds so it speeds of the process of rebuilding pretty significantly.17:10
kandarpkdfarning: ok, thanks17:11
alsrootmanusheel: ask silbe, maybe he has place about speed up jhbuild17:11
alsroot*plans17:11
manusheelalsroot: Is Silbe around today?17:12
* alsroot knows nothing about his plans17:13
ishanalsroot, around?17:14
manusheelalsroot: Sure. Absolutely fine.17:15
alsrootishan: you see :)17:15
ishanalsroot, check http://pastebin.com/Bb0HSkJx17:15
alsrootishan: I guess sugar/src/jarabe/util is not git root directory17:17
alsrootishan: btw for what reason you are trying to remove git local repo?17:17
alsroot.git direcotry should be in sugar/17:18
ishanalsroot, have to recreate a patch17:18
alsrootishan: reimplement you mean?17:18
alsrootor recreate only patch file from git history?17:19
ishanalsroot, i^^17:19
alsrootishan: did you commit your patch to local repo?17:20
ishanalsroot, no17:20
ishanalsroot, did you mean the patch file made earlier?17:20
alsrootishan: if I got you right, you: changed some files, committed them, need to recreate patch -- right ?17:21
ishanalsroot, right17:21
alsrootishan: rollback git history by one commit(your prev. patch) by `git reset HEAD^`17:22
ishanalsroot, done17:23
alsrootishan: so you see pristine git history with your prev patch in local (not committed) state, tweak it and commit once more17:23
alsroots/with your prev patch/without your prev patch/17:23
ishanalsroot, thanks17:24
alsrooterr.., ok you got it :)17:24
alsroot*me17:24
kandarpkmanusheel sir: our patch is working now17:25
manusheelkandarpk: Excellent.17:25
manusheelkandarpk: Did you accomodate the points on description and one-line summary about which I had send in the e-mail?17:26
kandarpkmanusheel sir: let me recheck17:26
manusheelkandarpk: Sure.17:26
kandarpkmanusheel sir: sent you the patch file, please have a look17:29
manusheelkandarpk: Sure. Definitely.17:29
kandarpkwill be back in 15min.17:29
manusheelkandarpk: Can you re-send it to an alternate e-mail address?17:30
manusheelDidn't receive it.17:30
=== kandarp_ is now known as kandarpk
manusheelkandarpk: around?17:59
ishan_alsroot, around?18:14
alsrootishan_: yup18:14
ishan_alsroot, for the http://bugs.sugarlabs.org/ticket/30518:14
ishan_i have made the changes in sugar-100.gtkrc18:15
ishan_but while making patch the git doesnt identifies .gtkrc files18:15
ishan_so if we add the file using git add -f sugar-100.gtkrc and commit and make patch18:16
manusheelmukul: Hi Mukul.18:16
manusheelAround?18:16
ishan_the whole file is present in the patch file18:16
mukulmanusheel sir: Yes18:16
alsrootishan_: there are no .gtkrc files in sources, these files are automatically generated from artwork/gtk/theme/gtkrc.em18:16
mukulmanusheel sir: Did you check the reply to the SL #2300?18:16
manusheelmukul: Reading Silbe's reviews.18:16
alsrootishan_: you need to patch this file18:16
ishan_alsroot, check http://pastebin.com/VE0TakJX18:17
mukulmanusheel sir: Ok18:17
ishan_alsroot, can you guide me how?18:17
alsrootishan_: it is regular text file, and similar to gtkrc files (I didn't code this part of sugar)18:18
ishan_alsroot, Is there anyway of creating patch which could just reflect the changes i made in the file instead of the whole file?18:19
ishan_whole file being added in the patch18:19
mukulishan_, I would recommend you to do the whole process again. I guess you used rm -rf .git18:20
ishan_mukul, no18:20
alsrootishan_: could you rephrase18:20
alsrootishan_: all you need is making your changes in gtkrc.em file18:21
ishan_alsroot, i did that18:21
alsroot..and build artwork18:21
ishan_alsroot, okay18:21
ishan_alsroot, do you know who wrote the .gtkrc file18:35
alsrootishan_: nope, I just tweaked some values, nothing more18:36
ishan_alsroot, no problem18:36
ishan_disable the gallery again18:39
ishan_oops wrong message18:40
lfaraonemanusheel: has neeraj had a chance to work on updating u-s-r?18:58
manusheellfaraone: Neeraj has not been well recently. Let me check with him.18:59
manusheellfaraone: He was working yesterday.18:59
manusheellfaraone: He hasn't been around today.19:00
manusheellfaraone: Neeraj is online right now.19:01
manusheellfaraone: Asking him to join.19:01
manusheelneeraj: Hi Neeraj.19:01
lfaraoneneeraj: can you update us on your progress with updating the -meta pacakge?19:01
neerajmanusheel sir, hi.19:02
neerajlfaraone, i did uploaded the patch on the same day when david updated the seeds on usr.sugarlabs.19:04
neerajoh.. I just opened the bug on lp and saw ur comment. Sorry I lost track of this bug. I was mainly looking on sugar--0.88 bugs :(.. will updated it in a min19:07
lfaraoneneeraj: no worries.19:10
neerajlfaraone, for adding report bug feature in ubuntu, we needed an icon. I downloaded bug-buddy icon from http://webcvs.freedesktop.org/svg-icons/lila/gnome/scalable/.19:50
neerajI have modified the bug-buddy.svg file. I wanted to ask that do I need to add any copyright details for this icon?19:51
neerajdfarning, apport should trigger sucrose-0.88 or sugar-0.88?20:30
manusheelneeraj: dfarning is not around right now.20:33
neerajmanusheel, ok.20:33
dfarningneeraj, pong20:54
neerajdfarning, using sucrose-0.88.. fine?20:55
dfarningneeraj, yes20:55
neerajlfaraone, when u come back, then please review the modified patch for bug 624592.20:56
ubot2Launchpad bug 624592 in ubuntu-sugar-remix-meta (Ubuntu) "request all packaged activities be installed by default on USR (affects: 1) (heat: 10)" [Critical,Confirmed] https://launchpad.net/bugs/62459220:56
neerajdfarning, For report bug button-> http://i.imgur.com/Xt5CW.png and http://i.imgur.com/zJkB2.png.21:20
dfarningneeraj_, I would suggest not including the author and copy right information to the user in the control panel.  That is not something users care about.  Unless they are specifically looking at the about panel21:26
dfarningneeraj_, bug the bug icon is pretty cool!21:26
dfarningbut the bug.....21:26
neeraj_dfarning, ok. Then I will remove the copyright information and will included Press Ok to continue only.21:29
neeraj_"Press Ok to continue"21:29
=== bernie_afk is now known as bernie
neeraj_alsroot, ping23:43
alsrootneeraj_: yup23:43
neeraj_alsroot, I was working on creating a patch for adding report bug feature in sugar on ubuntu. Now, the code is ready.23:45
neeraj_Now, I d/l the sugar-0.88 package and made changes http://paste.ubuntu.com/490595/23:45
neeraj_alsroot, the problem is that the new packages (read deb files) are not reflecting the changes properly, even though they are present in the debdfif file.23:47
alsrootneeraj_: sorry, you'd better to ask lfaraone, /me is not specialist in this case :)23:48
neeraj_The change in src/jarabe/controlpanel/gui.py if reflected in new python-sugar package, but the new file in sugar/data/icons and sugar/extensions are not present in sugar-session23:48
neeraj_alsroot, ok , np :)23:48
lfaraoneneeraj_: well, you might need to explicitly install the file.23:49
alsrootneeraj_: I guess I know whats the problem, you need to tweak Makefile.am files as well23:50
neeraj_lfaraone, I did installed all files using *.deb. Also I opened the sugar-session*.deb file. The new files are not present there.23:51
lfaraoneneeraj_: right, I mean install the file in the package, what alsroot was saying.23:51
dfarninglfaraone, when you get a chance can you please review moon.23:54
lfaraonedfarning: will do.23:56
dfarninglfaraone, thanks23:57
neeraj_lfaraone, Ok. I tried to look at makefile.in file. I must say I have not that kind of expertise in bash to make changes in file myself. Can you help me in making required changes in it?23:59

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