Re: [Sugar-devel] RFC:Simple Help widget for activities

2012-03-12 Thread Manuel Quiñones
Hi Gary, hi everybody,

El día 9 de marzo de 2012 21:09, Gary Martin
 escribió:
> Hi Manuel,
>
> On 9 Mar 2012, at 03:36, Manuel Quiñones wrote:
>
>> Hi Gonzalo,
>>
>> El día 7 de marzo de 2012 09:37, Gonzalo Odiard  
>> escribió:
>>> We receive many times request about adding help in the activities,
>>> and if is true Sugar propose a exploratory approach,
>>> not all the people learn in the same way,
>>> and there are people who prefer a little guidance.
>>>
>>> For the development we need a simple api, and easy i18n,
>>> and a non obtrusive experience for the user.
>>>
>>> Inspired by the DescriptionItem, I was experimenting with a widget to add
>>> simple help to activities.
>>> This is not:
>>> * A manual
>>> * Lessons
>>> * Tips
>>> Is a short startup help for the activity.
>>
>> I think tips can be better than direct guidance.  "Do this, then do
>> that" manner is counterproductive for exploration.  Of course tips can
>> be ordered in a convenient way, is a matter of manners.  Would be
>> better to see each section at once instead of a large scrollable list.
>> I imagine a slideshow with back/forward buttons.
>>
>> Also I think visual help can be used instead of text when possible, so
>> would be great if the widget allows it.  Images can be understand by
>> early children, and are universal, so no need to translate.  Of course
>> a little paragraph below the image can be convenient too.
>>
>> Here is a mockup I did for the same activity with this ideas:
>>
>> http://dev.laptop.org/~manuq/simple_help_mock.png
>>
>> What do people think?
>
> I think Gonzalo's mockup is a more attainable goal for most activities, it's 
> using standard UI feature designs as used already else where in Sugar, and 
> introduces no new metaphors (e.g. the iOS/iTunes like page dots). The trick 
> (in either case) will be to keep them short and to the point, too much text, 
> or too much fine detail and few will read much of them – writing the one for 
> Calculate or Write is going to be a challenge to get right ;-)

I think we should not be afraid to add new metaphors if this allows a
better user experience to the children.  I find an image with
highlights, circled items and lines, a better explanation for an
interaction than just text.  Of course text-only can be left as a
fallback, and we can concentrate in designing nice startup graphics
for the core activities.  I would like to see the text-only also
having this slideshow view, so there is not too much text shown at the
same time inside a scrolled window.  Separated by sections / tips.

> At a side note, many iOS apps take the startup help route where they provide 
> a graphical overlay that indicates what each button does (sometimes several 
> overlays are needed for each different app view). These provide plenty of 
> flexibility to the developer for the types of information they include (mixed 
> text, graphics, even animation), and they place the help in context next to 
> the real widgets; however they are harder to localise for more than a few 
> languages and require reliable alpha compositing support for fullscreen 
> overlays (ideally through hardware). Folding this information into a single 
> palette, as per Gonzalo's mockup, looses the spacial information context 
> (though the existing palette hints are still there for context if needed), 
> but it seems a good design for us to provide some additional information and 
> help point a user in the right direction.

Yes, that help in context is so much more nice because it shows next
to the real widgets.  I think something similar is doable now with the
GtkOverlay widget, but only for GTK+3.

OK!  I will try to resume the topics raised in this thread.

I think we should distinguish A. a startup help, and B. a complete
documentation for an activity.

A is for helping the children to get started quickly, should be inside
the activity, and should not be exhaustive.  That is, should not
describe the most advanced topics (just gets you started).  I will
focus on this one (A).

Ideally this would not be needed, as the child with her/his curiosity
is able to discover the usage just by touching buttons and seeing the
results in the screen, that is, interacting.  But for complex
interactions that require a few steps, will be helpful, if the
activity design can't get simpler.  To put a bad design example of my
own, the stamps in Paint: first make a selection, then select the
stamp tool, then change size, then stamp.. ouch, hard to discover and
such a simple tool.

Also, for getting started, filling the blank canvas with samples would
be better than a startup help.  For example in Jukebox, we can start
with a playlist of all the medias in the Journal.

For B. either mallard (like GNOME does) or a wiki page can be used.
We can add a shortcut in the activities to open them.

Back to A, the current possibilities are:

- gonzalo's code with text and icons in a scroll
- my mockup, a slideshow of startup tooltips with graphics

Re: [Sugar-devel] [PATCH] Record: stop recording with the same shutter key in gamepad

2012-03-12 Thread James Cameron
On Mon, Mar 12, 2012 at 10:28:18PM -0300, Manuel Qui?ones wrote:
> You raised an interesting point.  So I was between two options: using
> the same game key O for start recording/stop recording, and using
> another game key, like [] or X .  I decided to go for the first one
> because 1. that seemed to me analogous to the record button of a real
> camera and 2. that seemed similar than using the buttons on the
> screen, which looked like a toggle.  But I think you have a point
> in...

A real camera often has a recording in progress indicator.  We don't
have that, because our privacy LED for the camera is lit even before
recording starts.

> If we use the same reasoning as with the gamepad but with the buttons
> in the screen, then should we put the two buttons side by side, and
> make one insensitive while the other is active? or a toggle is ok in
> the screen?

Since the display gives some state feedback, the overload is not as
important.

-- 
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] Record: stop recording with the same shutter key in gamepad

2012-03-12 Thread Manuel Quiñones
Hi James,

El día 12 de marzo de 2012 19:43, James Cameron  escribió:
> On Mon, Mar 12, 2012 at 05:02:10PM -0300, Manuel Qui??ones wrote:
>> Use the same shutter key in gamepad to stop the recording.
>>
>> This is for bug #3360 .
>
> Nak.
>
> Your patch binds the stop recording function to the O game key.
>
> I suggest instead that you bind it to the X game key, so that an
> accidental double press of the O game key does not cause a short
> recording, and so that the O game key does not act as a toggle.

You raised an interesting point.  So I was between two options: using
the same game key O for start recording/stop recording, and using
another game key, like [] or X .  I decided to go for the first one
because 1. that seemed to me analogous to the record button of a real
camera and 2. that seemed similar than using the buttons on the
screen, which looked like a toggle.  But I think you have a point
in...

> The problem with using a push button as a toggle is that the learner is
> forced to remember, without the display visible, whether the toggle is
> on or off.  This can lead to inverted state; where a series of videos
> are recorded consisting entirely of the time periods between those that
> should have been recorded.

...that happened to me with a real camera.  When I was back at home
and watched the footage, I hated the overloaded button.

> The use of the X game key would also be consistent with the use of X to
> mean stop.
>
> The X game key is easily found by touch, as it is on the other side of
> the game key diamond, just above the power button.
>
> On the other hand, the symbol for stop on screen is a square.  That
> would suggest the square game key may be also used.

I think I would go for the X button because it is easier to press.

> The same sound is used for both start and stop.  A different sound for
> stop would be another improvement.
>
> Lastly, I think bug #3360 would also be addressed by moving the start
> button to the same position that the stop button currently holds.
>
> This also might address a different problem that is sometimes seen: when
> the start button is pressed, there is a short time during which the
> previous recording "Saving" progress bar is made visible.

Yes, also have no sense to have the start button centered aligned, and
the stop button on the left.

If we use the same reasoning as with the gamepad but with the buttons
in the screen, then should we put the two buttons side by side, and
make one insensitive while the other is active? or a toggle is ok in
the screen?

If we have consensus and the maintainer allows me, I'll be happy to
work in the previous topics: a. new stop sound and b. buttons
alignment.

Thank you very much for the review James!

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Board activity for Sugar activities

2012-03-12 Thread Alexandro Colorado
During one of the excercises we thought about having network
activities for network interactivity. Something that Sugar is very
inclined to do, but would need to learn if there are building block we
can re-utilize.

What we want is that users using an activity (like Maze) can broadcast
their score and a board can list the user and their score so they can
compete in realtime.

The idea is that it's not limited to maze, but other activities-games.

Anyone can help me develop further this idea?

-- 
Alexandro Colorado
OpenOffice.org Español
http://es.openoffice.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Record activity

2012-03-12 Thread Chris Leonard
On Mon, Mar 12, 2012 at 10:02 AM, Gonzalo Odiard  wrote:
> Hi Daniel,
> Record do not start in os4, because the last version packaged use
> class instead of exec in activity.info
> and is deprecated.
> The change is already in git, can you package a new version?
> If you are busy I can do it, if you want.
> Btw, I have sent you a little patch to solve a gettext error, did you
> received it?


Record POT generation is still throwing an error

http://bugs.sugarlabs.org/ticket/3201#comment:2

Although this may be the bug you are referring to:

http://bugs.sugarlabs.org/ticket/2696

It would be great to resolve these.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH] Record: stop recording with the same shutter key in gamepad

2012-03-12 Thread James Cameron
On Tue, Mar 13, 2012 at 09:43:15AM +1100, James Cameron wrote:
> On Mon, Mar 12, 2012 at 05:02:10PM -0300, Manuel Qui??ones wrote:
> > Use the same shutter key in gamepad to stop the recording.
> > 
> > This is for bug #3360 .
> 
> Nak.

To be exact, since I'm not maintainer, I can't Nak.  But consider my
post a review comment.  ;-}

-- 
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] Record: stop recording with the same shutter key in gamepad

2012-03-12 Thread James Cameron
On Mon, Mar 12, 2012 at 05:02:10PM -0300, Manuel Qui??ones wrote:
> Use the same shutter key in gamepad to stop the recording.
> 
> This is for bug #3360 .

Nak.

Your patch binds the stop recording function to the O game key.

I suggest instead that you bind it to the X game key, so that an
accidental double press of the O game key does not cause a short
recording, and so that the O game key does not act as a toggle.

The problem with using a push button as a toggle is that the learner is
forced to remember, without the display visible, whether the toggle is
on or off.  This can lead to inverted state; where a series of videos
are recorded consisting entirely of the time periods between those that
should have been recorded.

The use of the X game key would also be consistent with the use of X to
mean stop.

The X game key is easily found by touch, as it is on the other side of
the game key diamond, just above the power button.

On the other hand, the symbol for stop on screen is a square.  That
would suggest the square game key may be also used.

The same sound is used for both start and stop.  A different sound for
stop would be another improvement.

Lastly, I think bug #3360 would also be addressed by moving the start
button to the same position that the stop button currently holds.

This also might address a different problem that is sometimes seen: when
the start button is pressed, there is a short time during which the
previous recording "Saving" progress bar is made visible.

> @@ -238,11 +238,18 @@ class Record(activity.Activity):
>  self._toolbar_controls.set_quality(data.get('quality', 0))
>  
>  def _key_pressed(self, widget, event):
> -if self.model.ui_frozen():
> -return False
> -
>  key = event.keyval
>  
> +if self.model.ui_frozen():
> +# game key O stops if recording:
> +if self.model.get_state() == constants.STATE_RECORDING:
> +if key == gtk.keysyms.KP_Page_Up:
> +if self._shutter_button.props.visible:
> +if self._shutter_button.props.sensitive:
> +self._shutter_button.clicked()
> +else:
> +return False
> +
>  if key == gtk.keysyms.KP_Page_Up: # game key O
>  if self._shutter_button.props.visible:
>  if self._shutter_button.props.sensitive:

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release FotoToon-11

2012-03-12 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4253

Sugar Platform:
0.86 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/27913/fototoon-11.xo

Release notes:
Show the controls in the rectangle with dashes like in the other globes. 
(Gonzalo Odiard)
Change rotate icon (Gonzalo Odiard)
Add a title rectangle globe (Gonzalo Odiard)
Implement rotation of movement lines (Gonzalo Odiard)
Add one option to add movement lines (Agustin Zubiaga & Gonzalo Odiard)
Improved activity icon (Manuel Quiñones)



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] [OLPC-AU] Browse is old

2012-03-12 Thread Mikus Grinbergs
I don't use it day-to-day, but for more than two years now I've been 
installing (via 'rpm') the "midori" browser in all the XO-1 builds that 
have ever been made available.  My intent has been to have at least one 
(not counting "Surf") webkit-based browser for comparison purposes.


Depending upon the base-build content, sometimes additional dependencies 
(packages) needed to be installed to let "midori" run -- but I've always 
had this non-Gecko browser available on my XO systems.


mikus

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error compiling with jhbuild

2012-03-12 Thread Manuel Kaufmann
On Mon, Mar 12, 2012 at 16:52, Gonzalo Odiard  wrote:
> I strongly suggest you install Fedora 16 in a vm if you want use
> sugar-jhbuild.

:(

So, there is no way to compile sugar with jhbuild in Debian Testing, am I right?

I would like to compile it on Debian.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH] Record: stop recording with the same shutter key in gamepad

2012-03-12 Thread Manuel Quiñones
Use the same shutter key in gamepad to stop the recording.

This is for bug #3360 .

Signed-off-by: Manuel Quiñones 
---
 record.py |   13 ++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/record.py b/record.py
index 5c06f20..6ec9fcf 100644
--- a/record.py
+++ b/record.py
@@ -238,11 +238,18 @@ class Record(activity.Activity):
 self._toolbar_controls.set_quality(data.get('quality', 0))
 
 def _key_pressed(self, widget, event):
-if self.model.ui_frozen():
-return False
-
 key = event.keyval
 
+if self.model.ui_frozen():
+# game key O stops if recording:
+if self.model.get_state() == constants.STATE_RECORDING:
+if key == gtk.keysyms.KP_Page_Up:
+if self._shutter_button.props.visible:
+if self._shutter_button.props.sensitive:
+self._shutter_button.clicked()
+else:
+return False
+
 if key == gtk.keysyms.KP_Page_Up: # game key O
 if self._shutter_button.props.visible:
 if self._shutter_button.props.sensitive:
-- 
1.7.7.6

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Manuel Kaufmann
On Mon, Mar 12, 2012 at 16:51, Gonzalo Odiard  wrote:
> Moderation? Are you logged? In what trac did you created the ticket?

Yes, I'm logged in.

This one is the trac:

 * https://bugs.sugarlabs.org/

and I get the link from here:

 * http://wiki.sugarlabs.org/go/Jhbuild

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error compiling with jhbuild

2012-03-12 Thread Manuel Kaufmann
On Mon, Mar 12, 2012 at 16:45, Gonzalo Odiard  wrote:
> What distro are you using?

Oh sorry, I forgot to mention this.

I'm using Debian Testing

> The code in sugar-toolkit-gtk3 depends on the last code in fedora,
> and many other distros do not have it packaged.

What should I do?

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error compiling with jhbuild

2012-03-12 Thread Gonzalo Odiard
I strongly suggest you install Fedora 16 in a vm if you want use
sugar-jhbuild.

Gonzalo

On Mon, Mar 12, 2012 at 4:47 PM, Manuel Kaufmann  wrote:

> On Mon, Mar 12, 2012 at 16:45, Gonzalo Odiard  wrote:
> > What distro are you using?
>
> Oh sorry, I forgot to mention this.
>
> I'm using Debian Testing
>
> > The code in sugar-toolkit-gtk3 depends on the last code in fedora,
> > and many other distros do not have it packaged.
>
> What should I do?
>
> --
> Kaufmann Manuel
> Blog: http://humitos.wordpress.com/
> PyAr: http://www.python.com.ar/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Gonzalo Odiard
Moderation? Are you logged? In what trac did you created the ticket?

Gonzalo

2012/3/12 Manuel Kaufmann 

> 2012/3/12 Manuel Quiñones :
> > Great you solved it, humitos.  What's the ticket number?
>
> I don't know yet because it's waiting for moderation.
>
> --
> Kaufmann Manuel
> Blog: http://humitos.wordpress.com/
> PyAr: http://www.python.com.ar/
> ___
> 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] Error compiling with jhbuild

2012-03-12 Thread Gonzalo Odiard
What distro are you using?
The code in sugar-toolkit-gtk3 depends on the last code in fedora,
and many other distros do not have it packaged.

Gonzalo

On Mon, Mar 12, 2012 at 4:34 PM, Manuel Kaufmann  wrote:

> Hello,
>
> I'm trying to compile sugar with jhbuild and I'm getting this error
> (traceback)
>
> [humitos] [/srv/sugar-jhbuild]$ ./sugar-jhbuild build
> Updating sugar-jhbuild...
> Already up-to-date.
> Updating upstream jhbuild...
> Already up-to-date.
> Warning: unknown distro version, automatic fallback to unstable.
> *** Checking out sugar-datastore *** [2/22]
> git remote set-url origin git://
> git.sugarlabs.org/sugar-datastore/mainline.git
> git remote update origin
> Fetching origin
> git pull --rebase
> Current branch master is up to date.
> *** Skipping sugar-datastore (package and dependencies not updated) ***
> [2/22]
> *** Checking out sugar-toolkit-gtk3 *** [3/22]
> git remote set-url origin
> git://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3.git
> git remote update origin
> Fetching origin
> git pull --rebase
> Current branch master is up to date.
> *** Configuring sugar-toolkit-gtk3 *** [3/22]
> ./autogen.sh --prefix /srv/sugar-jhbuild/install --libdir
> '/srv/sugar-jhbuild/install/lib'
> You should update your 'aclocal.m4' by running aclocal.
> intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
> ln: fallo al crear el enlace simbólico «5:[m4]/intltool.m4»: No existe
> el fichero o el directorio
> cp: no se puede crear el fichero regular «5:[m4]/intltool.m4»: No
> existe el fichero o el directorio
> intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to
> '5:[m4]/intltool.m4'
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i686-pc-linux-gnu file names to
> i686-pc-linux-gnu format... func_convert_file_noop
> checking how to convert i686-pc-linux-gnu file names to toolchain
> format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linke

Re: [Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Manuel Kaufmann
2012/3/12 Manuel Quiñones :
> Great you solved it, humitos.  What's the ticket number?

I don't know yet because it's waiting for moderation.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Error compiling with jhbuild

2012-03-12 Thread Manuel Kaufmann
Hello,

I'm trying to compile sugar with jhbuild and I'm getting this error (traceback)

[humitos] [/srv/sugar-jhbuild]$ ./sugar-jhbuild build
Updating sugar-jhbuild...
Already up-to-date.
Updating upstream jhbuild...
Already up-to-date.
Warning: unknown distro version, automatic fallback to unstable.
*** Checking out sugar-datastore *** [2/22]
git remote set-url origin git://git.sugarlabs.org/sugar-datastore/mainline.git
git remote update origin
Fetching origin
git pull --rebase
Current branch master is up to date.
*** Skipping sugar-datastore (package and dependencies not updated) *** [2/22]
*** Checking out sugar-toolkit-gtk3 *** [3/22]
git remote set-url origin
git://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3.git
git remote update origin
Fetching origin
git pull --rebase
Current branch master is up to date.
*** Configuring sugar-toolkit-gtk3 *** [3/22]
./autogen.sh --prefix /srv/sugar-jhbuild/install --libdir
'/srv/sugar-jhbuild/install/lib'
You should update your 'aclocal.m4' by running aclocal.
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
ln: fallo al crear el enlace simbólico «5:[m4]/intltool.m4»: No existe
el fichero o el directorio
cp: no se puede crear el fichero regular «5:[m4]/intltool.m4»: No
existe el fichero o el directorio
intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to
'5:[m4]/intltool.m4'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to
i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wa

Re: [Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Manuel Quiñones
El día 12 de marzo de 2012 16:26, Manuel Kaufmann  escribió:
> On Mon, Mar 12, 2012 at 16:08, Manuel Kaufmann  wrote:
>> I have no idea what's the problem here. Can you help me?
>
> I installed "gobject-introspection" package and this problem dissappeared.
>
> I reported this in the bug tracker.
>

Great you solved it, humitos.  What's the ticket number?

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Manuel Kaufmann
On Mon, Mar 12, 2012 at 16:08, Manuel Kaufmann  wrote:
> I have no idea what's the problem here. Can you help me?

I installed "gobject-introspection" package and this problem dissappeared.

I reported this in the bug tracker.

Thanks,

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Syntax error in ./configure jhbuild file

2012-03-12 Thread Manuel Kaufmann
Hello,

I'm new in this list but I've worked some time ago in the OLPC project.

This time I'm trying to compile sugar with jhbuild but I'm getting
this error when I run "./sugar-jhbuild build"

checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  af am ar ay bg bi bn_IN bn
ca cpp cs da de dz el en es fa_AF fa ff fil fr gu ha he hi ht hu id ig
is it ja km ko kos mg mi mk ml mn mr ms mvo nb ne nl pa pap pis pl ps
pt_BR pt qu ro ru rw sd si sk sl sq sv sw ta te th tpi tr tvl tzo ug
ur vi wa yo zh_CN zh_TW
./configure: line 13292: syntax error near unexpected token `1.30.0'
./configure: line 13292: `GOBJECT_INTROSPECTION_CHECK(1.30.0)'
*** Error during phase configure of sugar-toolkit-gtk3: ##
Error running ./autogen.sh --prefix /srv/sugar-jhbuild/install
--libdir '/srv/sugar-jhbuild/install/lib'*** [3/22]


I have no idea what's the problem here. Can you help me?


-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Testing of Fedora-17-Beta-TC1-x86_64-Live-XFCE with Sugar 0.95.4

2012-03-12 Thread Thomas C Gilliard

Tested 03/12/2012
Acer Aspire ONE N450 with external USB Hard Disk install.

Updates  done from CP\Software Update

There seem to be quite a few activities not starting from f17 fedora 
downloads.


XFCE has no log out or shutdown that work need to go to console and su 
shutdown-h now to quit


Tom Gilliard
satellit_

===Fedora-17-Beta-TC1-x86_64-Live-XFCE with Sugar 0.95.4===
 Fedora-17-Beta-TC1-x86_64-Live-XFCE.iso Boot CD
 Edited Wireless and added WEP ASCII password
 set wireless IPv6 to "ignore" 
https://bugzilla.redhat.com/show_bug.cgi?id=801052

 Install to HD:
 use whole disk non LVM
 Boot
 Add/Remove Programs - sugar
 check all pertinent activities
 Menu/education/sugar
 Sugar emulator starts:
 sugar-desktop starts  and wireless AP is already configured.
 Wireless stays connected
 Values from Live CD seem to be transferred to install.
About My Computer
 Fedora release 17 (Beefy Miracle)
 0.95.4
 V1.05

Activities

 Key = ok started and saved to journal
  version update  Error
 read   97   failed to start after 
selecting something

 write  77   78 ok
 maze  15 ok
 implode  10  11 ok
 physics 9 ok
 pippy   4546 ok
 view slides8 failed to start
 etoys116 starts and reports error
 speak  3637 ok
 memorize   39 ok
 tamtamSynthlab 5262 ok
 tamtamediy62 okno sound
 tamtamjam 5262 okno sound
 tamtammini5162 okno sound
 ruler19 ok
 stopwatch   14 ok
 terminal  35 ok
 visualmatch35 ok
 browse  131   132 ok
 labyrinth  11failed to start
 abacus31 failed to start
 paint   3739 failed to start
 calandario4 5 ok
 turtle art   136 ok
 measure 36 ok   oscilloscope shows sounds
 calculate 38 ok
 typing turtle29 ok
 get ia books  3failed to start
 irc10 ok   have to start 2nd time 
to log in?

 finance  3failed to start
 connect   22failed to start
 infoslicer  11 ok  search "olpc" works
 pukllanapac  8 ok
 jukebox   23 ok
 record 93  failed to start
 moon   13 ok
 flip sticks12 ok
 clock 7 ok
 chat73 74 ok
 portfolio 21 ok
 log  26 27 ok
 image viewer 19 ok
 playgo 5  failed to start

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GCompris on Sugar 0.94

2012-03-12 Thread Aleksey Lim
On Fri, Feb 03, 2012 at 09:32:54PM +0100, Lionel Laské wrote:
>  
> 
> Hi all,
> 
>  
> 
> It seems that no GCompris activity works on 0.94.
> 
> All activities exit with an error on “pygobject_register_sinkfunc is
> deprecated” in the Log.
> 
> On the website, compatibility is mention  from 0.82 to 0.90.
> 
> Is there a known issue ?
> 
> Is there any existing fix ?

Recent (12.01) GCompris was uploaded to Sweets Distribution.
It can be installed from sweets-gcompris and
sweets-gcompris-administration packages [1].


[1] http://wiki.sugarlabs.org/go/Activities/GCompris#Install

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Finger Puppets

2012-03-12 Thread Manuel Quiñones
I wonder if kids are aware of how great the XO looks with finger
puppets in the antennas.

http://manuq.com.ar/sblog/finger-puppets/

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Record activity

2012-03-12 Thread Gonzalo Odiard
Hi Daniel,
Record do not start in os4, because the last version packaged use
class instead of exec in activity.info
and is deprecated.
The change is already in git, can you package a new version?
If you are busy I can do it, if you want.
Btw, I have sent you a little patch to solve a gettext error, did you
received it?
Regards,

Gonzalo
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse is old

2012-03-12 Thread Manuel Quiñones
El día 12 de marzo de 2012 08:32, Peter Robinson
 escribió:
> On Mon, Mar 12, 2012 at 4:58 AM, Sridhar Dhanapalan
>  wrote:
>> On 3 March 2012 23:52, Sridhar Dhanapalan  wrote:
>>> Browse is old and not useful for a lot of newer content. Our
>>> communities are creating content in HTML5, an effort that we want to
>>> encourage.
>>>
>>> However, Browse is based on the Gecko in engine in Firefox 3.6, which
>>> is far behind the times. I know that is is being ported to WebKit [1]
>>> as part of the GTK+3 transition. However, it'll be at least a year
>>> before we roll out a GTK+3 version of Sugar in our schools. What can
>>> we do in the interim?
>>>
>>> We can load a different Web browser, especially since now since saved
>>> files can be shared with the journal via the Documents/ directory [3].
>>>  The best I've found is an Opera wrapper from Flavio [2]. It scores
>>> much higher than Browse for HTML5 compliance [4], but nowhere near as
>>> much as Firefox 10 or Chromium 17. Also, Opera is proprietary
>>> software.
>>>
>>> Sridhar
>>>
>>>
>>> [1] http://wiki.sugarlabs.org/go/Features/WebKit
>>> [2] http://activities.sugarlabs.org/en-US/sugar/addon/4503
>>> [3] http://wiki.sugarlabs.org/go/0.94/Notes#Easier_file_exchange..
>>> [4] http://html5test.com/
>>
>>
>> Bernie raised an interesting idea. Would it be reasonable to backport
>> the WebKit Browse to the OLPC OS 11.3? We could statically link the
>> dependencies in the bundle.
>
> Personally I think it's unlikely as the webkit Browse depends on newer
> versions of webkitgtk3/gtk3/glib2/gobject-introspection that just
> aren't in Fedora 14 and in a lot of cases conflict with the versions
> in Fedora 14. Browse depends on things that aren't even in Fedora 16
> so it would likely be a lot of work to get it working, even as a
> static build.

Yes as Peter says, is unlikely that the current effort porting Browse
to WebKit using gobject introspection can be ported again to static
bindings.  Mainly because is work in progress, and will require a lot
of work.  Please look forward for the GTK3 version, hope we can land
in deploys as soon as possible.

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Implode-11

2012-03-12 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4086

Sugar Platform:
0.82 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/27912/implode-11.xo

Release notes:
Toolbar icons redesign, and lots of translations added.


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] Implode activity patches, maintainership and release

2012-03-12 Thread Manuel Quiñones
El día 12 de marzo de 2012 00:58, Gonzalo Odiard  escribió:
> Thanks Joe.
> I hope we can count with you when you have more time!
>
> Gonzalo
>
> 2012/3/11 
>
>> Hi Manuel,
>>
>> Sorry, I've been meaning to review the patches, but I haven't had time to
>> get a testing environment set up.  I've added you to the repo, so you
>> should be able to review and commit now.

Thank you very much Joe, just pushed the patches and released version 11.

Cheers,

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Disable the XO keyboard

2012-03-12 Thread Paul Fox
danny wrote:
 > I'm thinking one solution for Augustin could be a small activity that had
 > two buttons.  One button would "Disable Keyboard" when clicked, which would
 > execute the commands you gave. The other would "Enable Keyboard".  Each
 > would just trigger the appropriate commands via os.system() .
 > 
 > Can a sugar activity being run off a thumbdrive make the changes required
 > in /sys/devices/platform/i8042/serio0? If so, this seems like a reasonable

well, writing to those sysfs nodes require root.  your Activity
could work if the commands run from os.system() were prefaced with
"sudo".  that would work for many, but not all, XO owners.

i think:
 # echo -n auto > bind_mode
 # echo -n reconnect > drvctl
might work.  the first one might be all that's necessary.

paul

 > solution. We could create and send the activity, he could load it on via
 > USB, copy and run it all using the touchpad. Won't have to type a thing!
 > 
 > Before I go experimenting with this though, I was hoping someone could let
 > me know what commands should be run to re-enable the keyboard!
 > 
 > Danny Iland
 > 
 > On Sun, Mar 11, 2012 at 11:20 AM, Paul Fox  wrote:
 > 
 > > walter wrote:
 > >  > On Sun, Mar 11, 2012 at 12:59 PM, Agustin Zubiaga Sanchez
 > >  >  wrote:
 > >  > > Hello,
 > >  > > I've a XO with a broken keyboard (writes: ] steadily)
 > >  > > I have to wait a week to send to fix, and I thought I could connect an
 > >  > > external
 > >  > > keyboard so I have to disable the internal keyboard...
 > >  > >
 > >  > > ¿Somebody can help me to disable the XO keyboard?
 > >  >
 > >  > You don't need to disable the XO keyboard in order to use an external
 > >  > keyboard, but if the key is stuck, then you will probably have to
 > >  > disconnect the ribbon cable, which will also disable the touch pad. Do
 > >  > you have a USB mouse?
 > >
 > >
 > > hmm.  normally i would say to do this, to disable the keyboard:
 > ># cd /sys/devices/platform/i8042/serio0
 > ># echo -n manual > bind_mode
 > ># echo -n none > drvctl
 > >
 > > but i think walter is right -- if there's a stuck key, you won't
 > > be able to run those commands.   unless you can ssh to the machine,
 > > of course.  :-)
 > >
 > > paul
 > >
 > >  >
 > >  > -walter
 > >  > >
 > >  > > Thanks!
 > >  > >
 > >  > > Sorry, my English isn't good...
 > >  > >
 > >  > > ___
 > >  > > Sugar-devel mailing list
 > >  > > Sugar-devel@lists.sugarlabs.org
 > >  > > http://lists.sugarlabs.org/listinfo/sugar-devel
 > >  > >
 > >  >
 > >  >
 > >  >
 > >  > --
 > >  > Walter Bender
 > >  > Sugar Labs
 > >  > http://www.sugarlabs.org
 > >  > ___
 > >  > Sugar-devel mailing list
 > >  > Sugar-devel@lists.sugarlabs.org
 > >  > http://lists.sugarlabs.org/listinfo/sugar-devel
 > >
 > > =-
 > >  paul fox, p...@laptop.org
 > >
 > > ___
 > > Sugar-devel mailing list
 > > Sugar-devel@lists.sugarlabs.org
 > > http://lists.sugarlabs.org/listinfo/sugar-devel
 > >
 > >

=-
 paul fox, p...@laptop.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse is old

2012-03-12 Thread Peter Robinson
On Mon, Mar 12, 2012 at 4:58 AM, Sridhar Dhanapalan
 wrote:
> On 3 March 2012 23:52, Sridhar Dhanapalan  wrote:
>> Browse is old and not useful for a lot of newer content. Our
>> communities are creating content in HTML5, an effort that we want to
>> encourage.
>>
>> However, Browse is based on the Gecko in engine in Firefox 3.6, which
>> is far behind the times. I know that is is being ported to WebKit [1]
>> as part of the GTK+3 transition. However, it'll be at least a year
>> before we roll out a GTK+3 version of Sugar in our schools. What can
>> we do in the interim?
>>
>> We can load a different Web browser, especially since now since saved
>> files can be shared with the journal via the Documents/ directory [3].
>>  The best I've found is an Opera wrapper from Flavio [2]. It scores
>> much higher than Browse for HTML5 compliance [4], but nowhere near as
>> much as Firefox 10 or Chromium 17. Also, Opera is proprietary
>> software.
>>
>> Sridhar
>>
>>
>> [1] http://wiki.sugarlabs.org/go/Features/WebKit
>> [2] http://activities.sugarlabs.org/en-US/sugar/addon/4503
>> [3] http://wiki.sugarlabs.org/go/0.94/Notes#Easier_file_exchange..
>> [4] http://html5test.com/
>
>
> Bernie raised an interesting idea. Would it be reasonable to backport
> the WebKit Browse to the OLPC OS 11.3? We could statically link the
> dependencies in the bundle.

Personally I think it's unlikely as the webkit Browse depends on newer
versions of webkitgtk3/gtk3/glib2/gobject-introspection that just
aren't in Fedora 14 and in a lot of cases conflict with the versions
in Fedora 14. Browse depends on things that aren't even in Fedora 16
so it would likely be a lot of work to get it working, even as a
static build.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [REMINDER] Development team meeting --- 13. March 2012 (15:00 UTC)

2012-03-12 Thread Simon Schampijer

Hi,

tomorrow we will have our weekly development team meeting: This week 
topics are:


* status of the GTK3 port [1]
* current status of the development cycle [2]
* future development items

Time: 13. March 2012 (15:00 UTC)
Place: #sugar-meeting (freenode)

Regards,
   Simon

PS: this week I will be strict about limiting the meeting to an hour as 
I have another meeting right after this one. But I think this is a good 
exercise to keep the meeting focused in any case.


[1] http://wiki.sugarlabs.org/go/Features/GTK3
[2] http://wiki.sugarlabs.org/go/0.96/Roadmap
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel