[Sugar-devel] [ASLO] Release Kandid-6
Activity Homepage: http://activities.sugarlabs.org/addon/4254 Sugar Platform: 0.82 - 0.88 Download Now: http://activities.sugarlabs.org/downloads/file/26920/kandid-6.xo Release notes: This release is NOT backward compatible. Some images created with former releases may be rendered different now. Fixing bugs in the rendering engine. Added a layer for rendering linear cellular automata. Added a sampler for iterated function systems. Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Sugar Commander-5
Activity Homepage: http://activities.sugarlabs.org/addon/4291 Sugar Platform: 0.82 - 0.88 Download Now: http://activities.sugarlabs.org/downloads/file/26922/sugar_commander-5.xo Release notes: There was a bug in all previous versions that prevented Sugar Commander from loading when the Journal is empty. This release just fixes that bug. Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle /works in os240py XO-1 0.88.0 Sugar
Try yum install evince-devel Don't need to restart. Gonzalo On Sun, May 30, 2010 at 3:53 PM, Thomas C Gilliard satel...@bendbroadband.com wrote: Mirabelle script created 4GB USB: Read 86 Log: traceback (most recent call last): File /usr/bin/sugar-activity, line 21, in module main.main() File /usr/lib/python2.6/site-packages/sugar/activity/main.py, line 111, in main module = __import__(module_name) File /home/liveuser/Activities/Read.activity/readactivity.py, line 25, in module import evince ImportError: No module named evince Exited with status 1, pid 1503 data (None, open file 'fdopen', mode 'w' at 0xa41f0c0, 'c156b2cd9326925b4951a77ce22b3292d99d5f43') Tried: su yum install evince: evince-2.30.1-2.fc13.i686 installed reboot same behavior after install of evince X0-1 (G1G1) os240py 0.88.0 sugar Read 86: opens with Choose an Object Download 3 books: color pdf opens bw pdf opens Deja Vue opens log: .self._document=evince factory_get_document(filepath) == Tom Gilliard satellit samy boutayeb wrote: Hi, I tried to use the Read activity (version 86) in Mirabelle (either running from within Virtualbox on a USB stick) and got the following error: Failed to start. However, the same activity (same version) do launch and opens a document correctly (e.g. a pdf or a djvu file) on a XO 1.5 with Sugar 0.84.16 (version 125). Regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Gonzalo Odiard Responsable de Desarrollo Sistemas Australes ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Testing the production use of ebooks- Try get IA Books rather then read e-books?
samy boutayeb wrote: Hi, OLPC France's folks are trying to produce real-world ebooks with the partnership of a malagasian publisher, in order to give them to our deployments in Madagascar. So, we are testing the production the use of those documents, based on James Simmons book The Readers are the Leaders ( http://en.flossmanuals.net/ReadingandSugar/Introduction ), and using as source file 2 jpeg files with mixed text color images Our observations are: 1/ jpeg pdf (1 page): production: open jpeg with gimp + print it to pdf reading: with Read: ok 2/ jpeg pdf (multipage pdf): production: convert *.jpg test_ebook.pdf reading: with Read: ok (without rotation) 3/ pdf djvu (2 pages) production: pdf2djvu -o test2.djvu test_ebook.pdf reading: on a xo with Read: ok 4/ jpeg djvu (1 page) production: c44 livre1 page3.jpg (one page by page) reading: DjView3 on a linux pc: ok reading: on a xo with Read: ok (without rotation) 5/ jpeg djvu (2 pages in batch) using the script mkdjvus.py from ( http://en.flossmanuals.net/ReadingandSugar/MakingDjVus ) résult: ugly: 1 b/w page, with the 2 source page overimposed, and resulting in a unreadable page 3 additional observations: - The reading from Read in Mirabelle (Soas3) doesnt work (the error message says Failed to start). - The rotation doesnt work on the XO 1.5 I just used Get IA Books 5.0 to do download of color/bW/DejaVue books and read them with read 86 on XO-1 G1G1 os240py (0.88.0 sugar) I just replied to your post about it versus Mirabelle Read 86 performance. (Also I noticed: Some books are not available in all three formats) (Read 86 still fails to start in Mirabelle after these downloads with the lack of evince being present.) Cordially; Tom Gilliard satellit - The Read Etexts activity doesnt see/open the pdf/djvu file FWIW, regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle /works in os240py XO-1 0.88.0 Sugar
Gonzalo Odiard wrote: Try yum install evince-devel did it on running USB: (26 pkgs with dependencies)_installed afterwards get same results...: / evince missing read 86 failed to start even if I tried to open DejaVue or Color PDF books Downloaded with Get IA Books from the journal Tom Gilliard satellit Don't need to restart. Gonzalo On Sun, May 30, 2010 at 3:53 PM, Thomas C Gilliard satel...@bendbroadband.com wrote: Mirabelle script created 4GB USB: Read 86 Log: traceback (most recent call last): File /usr/bin/sugar-activity, line 21, in module main.main() File /usr/lib/python2.6/site-packages/sugar/activity/main.py, line 111, in main module = __import__(module_name) File /home/liveuser/Activities/Read.activity/readactivity.py, line 25, in module import evince ImportError: No module named evince Exited with status 1, pid 1503 data (None, open file 'fdopen', mode 'w' at 0xa41f0c0, 'c156b2cd9326925b4951a77ce22b3292d99d5f43') Tried: su yum install evince: evince-2.30.1-2.fc13.i686 installed reboot same behavior after install of evince X0-1 (G1G1) os240py 0.88.0 sugar Read 86: opens with Choose an Object Download 3 books: color pdf opens bw pdf opens Deja Vue opens log: .self._document=evince factory_get_document(filepath) == Tom Gilliard satellit samy boutayeb wrote: Hi, I tried to use the Read activity (version 86) in Mirabelle (either running from within Virtualbox on a USB stick) and got the following error: Failed to start. However, the same activity (same version) do launch and opens a document correctly (e.g. a pdf or a djvu file) on a XO 1.5 with Sugar 0.84.16 (version 125). Regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle /works in os240py XO-1 0.88.0 Sugar
Hola/Hi Gonzalo, Le dimanche 30 mai 2010 à 16:07 -0300, Gonzalo Odiard a écrit : Try yum install evince-devel Don't need to restart. Gonzalo Thank you, I tried both (evince evince-devel) but without success. Regards samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle /works in os240py XO-1 0.88.0 Sugar
May be installing gnome-python2-evince ? Gonzalo On Sun, May 30, 2010 at 4:36 PM, samy boutayeb s.bouta...@free.fr wrote: Hola/Hi Gonzalo, Le dimanche 30 mai 2010 à 16:07 -0300, Gonzalo Odiard a écrit : Try yum install evince-devel Don't need to restart. Gonzalo Thank you, I tried both (evince evince-devel) but without success. Regards samy -- Gonzalo Odiard Responsable de Desarrollo Sistemas Australes ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle / gnome-python2-evince helps, Read86 starts but error: no attribute 'set _screen_dpi'
Gonzalo Odiard wrote: May be installing gnome-python2-evince ? That may be it.. Read now starts to Choose and Object screen. now get error: AttributeError: 'env.View' object has no attribute 'set _screen_dpi' Tom Gilliard satellit Gonzalo On Sun, May 30, 2010 at 4:36 PM, samy boutayeb s.bouta...@free.fr wrote: Hola/Hi Gonzalo, Le dimanche 30 mai 2010 à 16:07 -0300, Gonzalo Odiard a écrit : Try yum install evince-devel Don't need to restart. Gonzalo Thank you, I tried both (evince evince-devel) but without success. Regards samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Testing] os240py - collaboration over wireless
Perhaps Tomeu can provide some insight into this issue? El Sat, 29-05-2010 a las 13:34 -0700, Thomas C Gilliard escribió: This appears similar to my results here with an XO-1 /VM and Soas Mirabelle: from: sugar-devel@lists.sugarlabs.org I just connected wirelessly 1- ) Mirabelle USB Started Chat as shared in Mirabelle 2- )Blueberry.vmx Joined 3- ) XO-1 os230py (Sugar 0.88.0) Joined XO-1 saw all connections colors and text Blueberry saw 1/2 of connections with color balance were plus text Mirabelle saw only its own broadcasts in color all others were ?plus text Is Mirabelle configured to require the Gadget Service? Tom Gilliard satellit Telepathy log: 1275085638.929632 WARNING s-p-s.presenceservice: Error fetching buddy properties for handle 99 keyid/db81d25ebff2f9e8c47c792b86c9584af31c601e: org.freedesktop.Telepathy.Error.NetworkError: Server does not provide Gadget Buddy service There was no collaboration available using the adhoc network connection, or the link-local (no jabber listed on CP Network screen) I could see the avitar of originating user and his application icon on the second computer and join but was not able to get a working cursor on either chat or write. There must be a bug in collaboration when not using the Jabber presence connection. Tom Gilliard satellit Mikus Grinbergs wrote: Simple test of collaboration using two Sugar-0.88_on_F11 XO-1 systems: I don't know why os240py has three 'Mesh' icons in Neighborhood View. The systems connected automatically on Mesh channel 1 -- they showed each other in Neighborhood View, and I could 'ping' between them. BUT, Activities seemed unable to use this 'Mesh' connection. [For instance, Chat-66 came up as off-line - and I appeared to have NO WAY to change that status.] I was able to make the two systems Friends of each other; I was able to extend invitations via Friends View between systems -- but although the invitee could launch the indicated Activity, there was no collaboration - the respective Activities were not in communication with each other - very frustrating. [When Neighborhood sharing was activated for an Activity, the Join this icon did NOT appear in the Neighborhood View of the other system.] I then, on one system, clicked on 'Create new wireless network' in the palette on the gray circle in Frame bottom -- that assigned the same IP address (on the new network) as was being shown on the 'Mesh' icon in Frame -- and set up a NEW network icon in the Neighborhood Views of both systems. On the other system I clicked on this new icon in Neighborhood View - that assigned the same IP address (on the new network) as was being shown (on that other system) on the 'Mesh' icon in Frame. Now, Activities were able to make use of this new network connection. I tested Chat-66 and Write-67. Collaboration worked as I expected. Given that system-to-system collaboration works on the new wireless network, and appears NOT to work on the 'Mesh' network -- why provide an obsolete interface that serves primarily to cause frustration in users ? mikus ___ Testing mailing list test...@lists.laptop.org http://lists.laptop.org/listinfo/testing -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] ANNOUNCE: Sugar 0.88 for the XO-1
On 26 May 2010 06:16, Peter Robinson pbrobin...@gmail.com wrote: On Tue, May 25, 2010 at 5:25 PM, Bernie Innocenti ber...@codewiz.org wrote: Hello everyone, we've just started a new development cycle aimed at providing Sugar 0.88 for the XO-1. Our focus is stability and usability for deployments, although we're also attempting to merge a couple of low-risk features developed in Uruguay. Full details are here: http://wiki.sugarlabs.org/go/Deployment_Team/Sugar-0.88_Notes Is F-11 still the base OS for this? Peter Just for my knowledge, does Fedora have an equivalent to Ubuntu's long-term support releases? Without thinking too deeply about the implications, it make sense (to me) to peg XO development to something that's stable over a few years. That way package versions etc will be widely known and consistent. /me reads [1]. Apparently not. Is there anyway to achieve something similar without needing to pay for RHEL, which is probably a bit of an overkill? Best regards, Tim McNamara @timClicks [1] http://news.cnet.com/Long-term-Fedora-Linux-support-ending/2100-7344_3-6146604.html ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] ANNOUNCE: Sugar 0.88 for the XO-1
CentOS ? On Sun, May 30, 2010 at 5:19 PM, Tim McNamara paperl...@timmcnamara.co.nzwrote: On 26 May 2010 06:16, Peter Robinson pbrobin...@gmail.com wrote: On Tue, May 25, 2010 at 5:25 PM, Bernie Innocenti ber...@codewiz.org wrote: Hello everyone, we've just started a new development cycle aimed at providing Sugar 0.88 for the XO-1. Our focus is stability and usability for deployments, although we're also attempting to merge a couple of low-risk features developed in Uruguay. Full details are here: http://wiki.sugarlabs.org/go/Deployment_Team/Sugar-0.88_Notes Is F-11 still the base OS for this? Peter Just for my knowledge, does Fedora have an equivalent to Ubuntu's long-term support releases? Without thinking too deeply about the implications, it make sense (to me) to peg XO development to something that's stable over a few years. That way package versions etc will be widely known and consistent. /me reads [1]. Apparently not. Is there anyway to achieve something similar without needing to pay for RHEL, which is probably a bit of an overkill? Best regards, Tim McNamara @timClicks [1] http://news.cnet.com/Long-term-Fedora-Linux-support-ending/2100-7344_3-6146604.html ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Gonzalo Odiard Responsable de Desarrollo Sistemas Australes ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle
On Sun, May 30, 2010 at 7:22 PM, samy boutayeb s.bouta...@free.fr wrote: Hi, I tried to use the Read activity (version 86) in Mirabelle (either running from within Virtualbox on a USB stick) and got the following error: Failed to start. However, the same activity (same version) do launch and opens a document correctly (e.g. a pdf or a djvu file) on a XO 1.5 with Sugar 0.84.16 (version 125). I'm sorry to report this as a known error. We only noticed this very late in the release cycle and got surprised by this. As it turns out, this is apparently due to major API changes in gnome-python-evince. There's a ticket open at bugs.sl.o: http://bugs.sugarlabs.org/ticket/1900 If anybody could help with the porting, I bet Sayamindu would appreciate it. --Sebastian Regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle
Hi Sebastian, Le dimanche 30 mai 2010 à 23:37 +0200, Sebastian Dziallas a écrit : I'm sorry to report this as a known error. We only noticed this very late in the release cycle and got surprised by this. As it turns out, this is apparently due to major API changes in gnome-python-evince. There's a ticket open at bugs.sl.o: http://bugs.sugarlabs.org/ticket/1900 If anybody could help with the porting, I bet Sayamindu would appreciate it. OK, it's a case for the upcoming Sugar World Coup, then ! Regards, Samy --Sebastian Regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Read 86 failed to start in Mirabelle
Yes! Prepare your teams! Gonzalo On Sun, May 30, 2010 at 7:10 PM, samy boutayeb s.bouta...@free.fr wrote: Hi Sebastian, Le dimanche 30 mai 2010 à 23:37 +0200, Sebastian Dziallas a écrit : I'm sorry to report this as a known error. We only noticed this very late in the release cycle and got surprised by this. As it turns out, this is apparently due to major API changes in gnome-python-evince. There's a ticket open at bugs.sl.o: http://bugs.sugarlabs.org/ticket/1900 If anybody could help with the porting, I bet Sayamindu would appreciate it. OK, it's a case for the upcoming Sugar World Coup, then ! Regards, Samy --Sebastian Regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Gonzalo Odiard Responsable de Desarrollo Sistemas Australes ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Testing the production use of ebooks- Try get IA Books rather then read e-books?
Thomas, If Read in Mirabelle can't do DjVu it's because the DjVu plugin to evince is missing. Evince itself is present if it can read PDFs. I hope that can be fixed in Mirabelle, because DjVu is a good format for e-books. James Simmons On Sun, May 30, 2010 at 2:16 PM, Thomas Gilliard satel...@attglobal.net wrote: samy boutayeb wrote: Hi, OLPC France's folks are trying to produce real-world ebooks with the partnership of a malagasian publisher, in order to give them to our deployments in Madagascar. So, we are testing the production the use of those documents, based on James Simmons book The Readers are the Leaders ( http://en.flossmanuals.net/ReadingandSugar/Introduction ), and using as source file 2 jpeg files with mixed text color images Our observations are: 1/ jpeg pdf (1 page): production: open jpeg with gimp + print it to pdf reading: with Read: ok 2/ jpeg pdf (multipage pdf): production: convert *.jpg test_ebook.pdf reading: with Read: ok (without rotation) 3/ pdf djvu (2 pages) production: pdf2djvu -o test2.djvu test_ebook.pdf reading: on a xo with Read: ok 4/ jpeg djvu (1 page) production: c44 livre1 page3.jpg (one page by page) reading: DjView3 on a linux pc: ok reading: on a xo with Read: ok (without rotation) 5/ jpeg djvu (2 pages in batch) using the script mkdjvus.py from ( http://en.flossmanuals.net/ReadingandSugar/MakingDjVus ) résult: ugly: 1 b/w page, with the 2 source page overimposed, and resulting in a unreadable page 3 additional observations: - The reading from Read in Mirabelle (Soas3) doesnt work (the error message says Failed to start). - The rotation doesnt work on the XO 1.5 I just used Get IA Books 5.0 to do download of color/bW/DejaVue books and read them with read 86 on XO-1 G1G1 os240py (0.88.0 sugar) I just replied to your post about it versus Mirabelle Read 86 performance. (Also I noticed: Some books are not available in all three formats) (Read 86 still fails to start in Mirabelle after these downloads with the lack of evince being present.) Cordially; Tom Gilliard satellit - The Read Etexts activity doesnt see/open the pdf/djvu file FWIW, regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Sugar on a Stick v3 how did we do? release review meeting
Reminder: This meeting is tomorrow! (Or depending on your timezone, today.) Monday, May 31, 1900 UTC in #sugar-meeting. Send notes and comments if you can't make it, but we hope to see you there! --Mel On Fri, May 28, 2010 at 10:26 AM, Mel Chua m...@melchua.com wrote: How did the Mirabelle release cycle go? We're gearing up for making v4, and want to know what went well and what could have been better - everything from technical to deployment to documentation to process sustainability to... well, really, everything! Our next weekly meeting (Monday May 31, 1900 UTC in #sugar-meeting on irc.freenode.net) will be about exactly that. We announced this date several weeks back, but now that the release is out and the meeting date near, it's time for a reminder. If you can't make the meeting, no worries (especially since Monday is a holiday in the US). This meeting is intended to get as much feedback out at one time as possible; release planning for v4 is a separate meeting (June 7th, again at 1900 UTC) that will take the feedback from this release review into account. Anything sent in before that meeting will be considered during the initial v4 planning session. if you can't make the meeting (or even if you can) and have thoughts or suggestions you'd like to share, please send them to s...@lists.sugarlabs.org or add them directly to the agenda, http://wiki.sugarlabs.org/go/Sugar_on_a_Stick_meetings#Agenda (which includes links to the email feedback I've seen so far). Note that you need to be a member of the soas list to post to it, so if you aren't subscribed, feel free to email it just to me with a request to forward to the list, and I'll do so. I'm only gathering feedback that appears on the soas list, though, in order to preserve my sanity - so if you reply to any of the other lists, we may not see it in time. The three questions to answer: 1. What went well with Mirabelle? 2. What didn't? 3. How would you change things? And then, of course, whatever else you'd like to write. --Mel, who was somehow inadvertently persuaded by Peter and Sebastian to chair this meeting ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Tecnologia] More Sugar 0.88 bugs to work on
Yes, screenshot was working fine. On Sat, May 29, 2010 at 11:40:32PM -0400, Bernie Innocenti wrote: El Fri, 28-05-2010 a las 16:05 +1000, James Cameron escribi??: ** (sugar-session:3122): WARNING **: Grab failed, another application may already have access to key 'altTab' Oh, yeah... I think I get it now: it's just a race condition between the shell and metacity: 1) we run metacity 2) we run the shell 3) metacity grabs alt-TAB 4) the shell goes idle and invokes setup_keyhandler_cb in sugar-session 5) KeyHandler tries to grab alt-TAB, but fails 5) the shell receives the window-manager-changed event 6) the shell tells metacity to hand off alt-tab So it seems we could solve the issue by moving the initialization of the KeyHandler into setup_keyhandler_cb. I figured something like that might have been happening, I even tried installing matchbox and configuring /usr/bin/sugar to use it. But no luck. Where is the code that does 6 above? Did I really see a sleep before metacity? Fixing a race with sleep is risky. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Patch: use standard cursors in Paint
This patch change: * Show the shape and the size with the pencil, brush, eraser and rainbow. * Center this tools at the cursor coordinates I think it's more usable than before. My idea is enable the change of the size of the selected tool from the unused keys whith the circles in the XO. There are other bugs related like OLPC #8864 and OLPC #2154 Sorry, the comment say OLC 296, but its Sugarlabs #296 Gonzalo 2. doesn't properly fix sugarlabs.org #296, some additional tuning of coordinates may be needed; drawing effect still appears at an offset, From 91f7f7e3ad0311c030c18052654f061f3df3e1df Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard godi...@gmail.com Date: Mon, 31 May 2010 00:56:59 -0300 Subject: [PATCH] fix OLPC #296 --- Area.py| 29 +- Desenho.py | 78 --- 2 files changed, 60 insertions(+), 47 deletions(-) diff --git a/Area.py b/Area.py index 44edebb..e81fcdc 100644 --- a/Area.py +++ b/Area.py @@ -176,6 +176,11 @@ class Area(gtk.DrawingArea): ##Shapes will be filled or not? self.fill = True +# variables to show the tool shape +self.drawing = False +self.x_cursor = 0 +self.y_cursor = 0 + def setup(self, width, height): Configure the Area object. @@ -256,8 +261,22 @@ class Area(gtk.DrawingArea): widget.window.draw_drawable(self.gc,self.pixmap_temp,area[0],area[1],area[0],area[1],area[2],area[3]) else: widget.window.draw_drawable(self.gc,self.pixmap,area[0],area[1],area[0],area[1],area[2],area[3]) +self.show_tool_shape(widget) return False +def show_tool_shape(self,widget): + +Show the shape of the tool selected for pencil, brush, rainbow and eraser + +if self.tool['name'] in ['pencil','eraser','brush','rainbow']: +if not self.drawing: +size = self.tool['line size'] +if self.tool['line shape'] == 'circle': +widget.window.draw_arc(self.gc_brush, False, self.x_cursor - size/2, self.y_cursor - size/2, size, size, 0, 360*64) +else: +widget.window.draw_rectangle(self.gc_brush, False, self.x_cursor - size/2, self.y_cursor - size/2, size, size) + + def mousedown(self,widget,event): Make the Area object (GtkDrawingArea) recognize that the mouse button has been pressed. @@ -304,14 +323,17 @@ class Area(gtk.DrawingArea): self.last = [] self.d.eraser(widget, coords, self.last, self.line_size, self.tool['line shape']) self.last = coords +self.drawing = True elif self.tool['name'] == 'brush': self.last = [] self.d.brush(widget, coords, self.last, self.line_size, self.tool['line shape']) self.last = coords +self.drawing = True elif self.tool['name'] == 'rainbow': self.last = [] self.d.rainbow(widget, coords, self.last, self.rainbow_counter,self.line_size, self.tool['line shape']) self.last = coords +self.drawing = True elif self.tool['name'] == 'polygon': self.configure_line(self.line_size) if self.polygon_start == False: @@ -347,6 +369,8 @@ class Area(gtk.DrawingArea): y = event.y state = event.state +self.x_cursor,self.y_cursor = int(x), int(y) + coords = int(x), int(y) if state gtk.gdk.BUTTON1_MASK and self.pixmap != None: @@ -419,6 +443,8 @@ class Area(gtk.DrawingArea): self.configure_line(self.line_size) self.d.heart(widget,coords,True,self.tool['fill']) else: +if self.tool['name'] in ['brush','eraser','rainbow','pencil'] : +widget.queue_draw() if self.tool['name'] == 'marquee-rectangular' and self.selmove: size = self.pixmap_sel.get_size() xi = self.orig_x @@ -520,10 +546,11 @@ class Area(gtk.DrawingArea): self.d.heart(widget,coords,False,self.tool['fill']) self.enableUndo(widget) -if self.tool['name'] == 'brush' or self.tool['name'] == 'eraser' or self.tool['name'] == 'rainbow' or self.tool['name'] == 'pencil' : +if self.tool['name'] in ['brush','eraser','rainbow','pencil'] : self.last = [] widget.queue_draw() self.enableUndo(widget) +self.drawing = False self.desenha = False def undo(self): diff --git a/Desenho.py b/Desenho.py index e5ecf48..c9a134b 100644 --- a/Desenho.py +++ b/Desenho.py @@ -110,20 +110,8 @@ class Desenho: widget.desenha = False -if(shape == 'circle'): -widget.pixmap.draw_arc(widget.gc_eraser, True, coords[0], coords[1], size, size, 0, 360*64) -
Re: [Sugar-devel] ANNOUNCE: Sugar 0.88 for the XO-1
On Mon, May 31, 2010 at 12:19 AM, Tim McNamara paperl...@timmcnamara.co.nz wrote: On 26 May 2010 06:16, Peter Robinson pbrobin...@gmail.com wrote: On Tue, May 25, 2010 at 5:25 PM, Bernie Innocenti ber...@codewiz.org wrote: Hello everyone, we've just started a new development cycle aimed at providing Sugar 0.88 for the XO-1. Our focus is stability and usability for deployments, although we're also attempting to merge a couple of low-risk features developed in Uruguay. Full details are here: http://wiki.sugarlabs.org/go/Deployment_Team/Sugar-0.88_Notes Is F-11 still the base OS for this? Peter Just for my knowledge, does Fedora have an equivalent to Ubuntu's long-term support releases? Without thinking too deeply about the implications, it make sense (to me) to peg XO development to something that's stable over a few years. That way package versions etc will be widely known and consistent. /me reads [1]. Apparently not. Is there anyway to achieve something similar without needing to pay for RHEL, which is probably a bit of an overkill? This is going to be one of the largest challenges. From Redhat's point of view, Fedora is an innovative upstream. when we land on a specific Fedora versions we will have to make the commitment to support it for a specific period of time. On the bright side Sugar on Fedora on the XO is self limiting to a very small set of hardware and a reasonably small set of packages. Expensive but not prohibitive. david Best regards, Tim McNamara @timClicks [1] http://news.cnet.com/Long-term-Fedora-Linux-support-ending/2100-7344_3-6146604.html ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Testing the production use of ebooks- Try get IA Books rather then read e-books?
Le dimanche 30 mai 2010 à 20:48 -0500, James Simmons a écrit : Thomas, If Read in Mirabelle can't do DjVu it's because the DjVu plugin to evince is missing. Evince itself is present if it can read PDFs. I hope that can be fixed in Mirabelle, because DjVu is a good format for e-books. -rw-rw-r-- 1 samy samy 2119496 2010-05-28 22:58 livre1page3.jpg -rw-rw-r-- 1 samy samy 1738816 2010-05-28 22:57 livre1page6.jpg -rw-r--r-- 1 samy samy 446378 2010-05-28 22:33 test_ebook.djvu -rw-r--r-- 1 samy samy 3818867 2010-05-28 18:58 test_ebook.pdf One advantage from the djvu format, at least in this particular case (an ebook built from 2 jpeg pages), is that the djvu file is smaller then the pdf file. Regards, Samy James Simmons On Sun, May 30, 2010 at 2:16 PM, Thomas Gilliard satel...@attglobal.net wrote: samy boutayeb wrote: Hi, OLPC France's folks are trying to produce real-world ebooks with the partnership of a malagasian publisher, in order to give them to our deployments in Madagascar. So, we are testing the production the use of those documents, based on James Simmons book The Readers are the Leaders ( http://en.flossmanuals.net/ReadingandSugar/Introduction ), and using as source file 2 jpeg files with mixed text color images Our observations are: 1/ jpeg pdf (1 page): production: open jpeg with gimp + print it to pdf reading: with Read: ok 2/ jpeg pdf (multipage pdf): production: convert *.jpg test_ebook.pdf reading: with Read: ok (without rotation) 3/ pdf djvu (2 pages) production: pdf2djvu -o test2.djvu test_ebook.pdf reading: on a xo with Read: ok 4/ jpeg djvu (1 page) production: c44 livre1 page3.jpg (one page by page) reading: DjView3 on a linux pc: ok reading: on a xo with Read: ok (without rotation) 5/ jpeg djvu (2 pages in batch) using the script mkdjvus.py from ( http://en.flossmanuals.net/ReadingandSugar/MakingDjVus ) résult: ugly: 1 b/w page, with the 2 source page overimposed, and resulting in a unreadable page 3 additional observations: - The reading from Read in Mirabelle (Soas3) doesnt work (the error message says Failed to start). - The rotation doesnt work on the XO 1.5 I just used Get IA Books 5.0 to do download of color/bW/DejaVue books and read them with read 86 on XO-1 G1G1 os240py (0.88.0 sugar) I just replied to your post about it versus Mirabelle Read 86 performance. (Also I noticed: Some books are not available in all three formats) (Read 86 still fails to start in Mirabelle after these downloads with the lack of evince being present.) Cordially; Tom Gilliard satellit - The Read Etexts activity doesnt see/open the pdf/djvu file FWIW, regards, Samy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel