[Sugar-devel] Bundlebuilder dev command

2013-09-15 Thread Daniel Narvaez
Hello,

as discussed in another thread, the sugar-toolkit bundlebuilder dev command
is not respecting the SUGAR_ACTIVITIES_PATH (a fix for that landed in
sugar-toolkit-gtk3 recently).

I wonder if we should just drop the dev command, and suggest to develop
directly in sugar-build/activities (or ~/Activities when outside
sugar-build). All that the command does is to create a symlink anyway, if
someone really wants they can do that themselves easily... As it is, the
dev command feels like unnecessary magic to me.

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


[Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
Hello,

I am building an activity based on OLPCGames 1.6, so I downloaded the
version 1.6, and used the skeleton in order to generate my project
fondations.

But the project contains a symlink (added during the project generation) to
a subfolder of OLPCGame folder, the one containing classes defining
OLPCGame library (OLPCGameRoot/olpcgames).

So i am wondering if, in order to push my project to my sugar labs
gitorious account, I need to exclude this symlink, or if I must keep it.

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


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Walter Bender
Another issue that activity developers encounter is lack of access to
~/Documents. xdg-user-dir find the chroot home rather than the
developer's home.

Also, for some reason, I cannot get the debug file to be read by
sugar. I've tried updating it in sugar-build, in /var/broot, and
~/.sugar but it seems to be ignored :(

-walter

On Sat, Sep 14, 2013 at 7:18 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
 On 15 September 2013 01:15, Gonzalo Odiard gonz...@laptop.org wrote:

 On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez dwnarv...@gmail.com
 wrote:
  With the latest sugar-build the user installed activities are in
  sugar-build/activities.
 

 Outside of broot?


 Well, both inside and outside (the sugar-build directory is bind mounted
 inside the chroot).

 ___
 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


Re: [Sugar-devel] Bundlebuilder dev command

2013-09-15 Thread Walter Bender
developers should be able to grok sugar-build/activities (as long as
it is documented -- see PR-41).

-walter

On Sun, Sep 15, 2013 at 4:13 AM, Daniel Narvaez dwnarv...@gmail.com wrote:
 Hello,

 as discussed in another thread, the sugar-toolkit bundlebuilder dev command
 is not respecting the SUGAR_ACTIVITIES_PATH (a fix for that landed in
 sugar-toolkit-gtk3 recently).

 I wonder if we should just drop the dev command, and suggest to develop
 directly in sugar-build/activities (or ~/Activities when outside
 sugar-build). All that the command does is to create a symlink anyway, if
 someone really wants they can do that themselves easily... As it is, the dev
 command feels like unnecessary magic to me.

 --
 Daniel Narvaez



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


Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread Daniel Narvaez
The symlink points somewhere outside your activity directory?


On 15 September 2013 14:08, laurent bernabe laurent.bern...@gmail.comwrote:

 Hello,

 I am building an activity based on OLPCGames 1.6, so I downloaded the
 version 1.6, and used the skeleton in order to generate my project
 fondations.

 But the project contains a symlink (added during the project generation)
 to a subfolder of OLPCGame folder, the one containing classes defining
 OLPCGame library (OLPCGameRoot/olpcgames).

 So i am wondering if, in order to push my project to my sugar labs
 gitorious account, I need to exclude this symlink, or if I must keep it.

 Regards.

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




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


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com wrote:

 Another issue that activity developers encounter is lack of access to
 ~/Documents. xdg-user-dir find the chroot home rather than the
 developer's home.


Are you using ~/Documents to exchange stuff between your main desktop and
sugar?


 Also, for some reason, I cannot get the debug file to be read by
 sugar. I've tried updating it in sugar-build, in /var/broot, and
 ~/.sugar but it seems to be ignored :(


Hmm something seems broken, a sugar-build/home/default/debug file is
supposed to exist, and at least here I don't see one. Probably one more bug
I didn't manage to fix with my set of patches.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bundlebuilder dev command

2013-09-15 Thread Daniel Narvaez
Link to the pull request? I don't see it in the sugarlabs/ list.


On 15 September 2013 14:16, Walter Bender walter.ben...@gmail.com wrote:

 developers should be able to grok sugar-build/activities (as long as
 it is documented -- see PR-41).

 -walter

 On Sun, Sep 15, 2013 at 4:13 AM, Daniel Narvaez dwnarv...@gmail.com
 wrote:
  Hello,
 
  as discussed in another thread, the sugar-toolkit bundlebuilder dev
 command
  is not respecting the SUGAR_ACTIVITIES_PATH (a fix for that landed in
  sugar-toolkit-gtk3 recently).
 
  I wonder if we should just drop the dev command, and suggest to develop
  directly in sugar-build/activities (or ~/Activities when outside
  sugar-build). All that the command does is to create a symlink anyway, if
  someone really wants they can do that themselves easily... As it is, the
 dev
  command feels like unnecessary magic to me.
 
  --
  Daniel Narvaez



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org




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


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:15, Daniel Narvaez dwnarv...@gmail.com wrote:

 On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com wrote:

 Another issue that activity developers encounter is lack of access to
 ~/Documents. xdg-user-dir find the chroot home rather than the
 developer's home.


 Are you using ~/Documents to exchange stuff between your main desktop and
 sugar?



What about sugar-build/home/documents? It should be possible to make that
work.




 Also, for some reason, I cannot get the debug file to be read by
 sugar. I've tried updating it in sugar-build, in /var/broot, and
 ~/.sugar but it seems to be ignored :(


 Hmm something seems broken, a sugar-build/home/default/debug file is
 supposed to exist, and at least here I don't see one. Probably one more bug
 I didn't manage to fix with my set of patches.


Yeah one stupid mistake on my side and a more tricky bug... I'll see if I
can just move this to the sugar script, it should be called as early as
possible and it should look nicer in a shell script anyway.

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


Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
yes, it points to a folder above.


2013/9/15 Daniel Narvaez dwnarv...@gmail.com

 The symlink points somewhere outside your activity directory?


 On 15 September 2013 14:08, laurent bernabe laurent.bern...@gmail.comwrote:

 Hello,

 I am building an activity based on OLPCGames 1.6, so I downloaded the
 version 1.6, and used the skeleton in order to generate my project
 fondations.

 But the project contains a symlink (added during the project generation)
 to a subfolder of OLPCGame folder, the one containing classes defining
 OLPCGame library (OLPCGameRoot/olpcgames).

 So i am wondering if, in order to push my project to my sugar labs
 gitorious account, I need to exclude this symlink, or if I must keep it.

 Regards.

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




 --
 Daniel Narvaez

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


Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread Daniel Narvaez
I know nothing about olpcgames but I wouldn't put that symlink in git. It
will just be a broken symlink for people that clone the repository...


On 15 September 2013 16:14, laurent bernabe laurent.bern...@gmail.comwrote:

 yes, it points to a folder above.


 2013/9/15 Daniel Narvaez dwnarv...@gmail.com

 The symlink points somewhere outside your activity directory?


 On 15 September 2013 14:08, laurent bernabe laurent.bern...@gmail.comwrote:

 Hello,

 I am building an activity based on OLPCGames 1.6, so I downloaded the
 version 1.6, and used the skeleton in order to generate my project
 fondations.

 But the project contains a symlink (added during the project generation)
 to a subfolder of OLPCGame folder, the one containing classes defining
 OLPCGame library (OLPCGameRoot/olpcgames).

 So i am wondering if, in order to push my project to my sugar labs
 gitorious account, I need to exclude this symlink, or if I must keep it.

 Regards.

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




 --
 Daniel Narvaez





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


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:44, Daniel Narvaez dwnarv...@gmail.com wrote:


 Yeah one stupid mistake on my side and a more tricky bug... I'll see if I
 can just move this to the sugar script, it should be called as early as
 possible and it should look nicer in a shell script anyway.


https://github.com/sugarlabs/sugar/pull/100
https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/40
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Daniel Narvaez
On 15 September 2013 15:44, Daniel Narvaez dwnarv...@gmail.com wrote:

 On 15 September 2013 15:15, Daniel Narvaez dwnarv...@gmail.com wrote:

 On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.comwrote:

 Another issue that activity developers encounter is lack of access to
 ~/Documents. xdg-user-dir find the chroot home rather than the
 developer's home.


 Are you using ~/Documents to exchange stuff between your main desktop and
 sugar?



 What about sugar-build/home/documents? It should be possible to make that
 work.


The only other alternative I can think of is to mount ~/Documents inside
the chroot. I'm not really keen about that though, because if you (or
sugar-build) accidentally deleted the chroot with ~/Documents mounted, you
would also delete it's content from the host system... I'm not sure if
there is a way around that, I think it's also the reason I decided to mount
only sugar-build instead of the whole user home...
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Pushing a project built onto OLPCGames onto github : files to exclude ?

2013-09-15 Thread laurent bernabe
Ok, thanks,

so I'll exclude this symlink.

Regards


2013/9/15 Daniel Narvaez dwnarv...@gmail.com

 I know nothing about olpcgames but I wouldn't put that symlink in git. It
 will just be a broken symlink for people that clone the repository...


 On 15 September 2013 16:14, laurent bernabe laurent.bern...@gmail.comwrote:

 yes, it points to a folder above.


 2013/9/15 Daniel Narvaez dwnarv...@gmail.com

 The symlink points somewhere outside your activity directory?


 On 15 September 2013 14:08, laurent bernabe 
 laurent.bern...@gmail.comwrote:

 Hello,

 I am building an activity based on OLPCGames 1.6, so I downloaded the
 version 1.6, and used the skeleton in order to generate my project
 fondations.

 But the project contains a symlink (added during the project
 generation) to a subfolder of OLPCGame folder, the one containing classes
 defining OLPCGame library (OLPCGameRoot/olpcgames).

 So i am wondering if, in order to push my project to my sugar labs
 gitorious account, I need to exclude this symlink, or if I must keep it.

 Regards.

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




 --
 Daniel Narvaez





 --
 Daniel Narvaez

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


Re: [Sugar-devel] Bundlebuilder dev command

2013-09-15 Thread Walter Bender
https://github.com/sugarlabs/sugar-docs/pull/43

On Sun, Sep 15, 2013 at 9:17 AM, Daniel Narvaez dwnarv...@gmail.com wrote:
 Link to the pull request? I don't see it in the sugarlabs/ list.


 On 15 September 2013 14:16, Walter Bender walter.ben...@gmail.com wrote:

 developers should be able to grok sugar-build/activities (as long as
 it is documented -- see PR-41).

 -walter

 On Sun, Sep 15, 2013 at 4:13 AM, Daniel Narvaez dwnarv...@gmail.com
 wrote:
  Hello,
 
  as discussed in another thread, the sugar-toolkit bundlebuilder dev
  command
  is not respecting the SUGAR_ACTIVITIES_PATH (a fix for that landed in
  sugar-toolkit-gtk3 recently).
 
  I wonder if we should just drop the dev command, and suggest to develop
  directly in sugar-build/activities (or ~/Activities when outside
  sugar-build). All that the command does is to create a symlink anyway,
  if
  someone really wants they can do that themselves easily... As it is, the
  dev
  command feels like unnecessary magic to me.
 
  --
  Daniel Narvaez



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org




 --
 Daniel Narvaez



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


Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?

2013-09-15 Thread Walter Bender
On Sun, Sep 15, 2013 at 9:15 AM, Daniel Narvaez dwnarv...@gmail.com wrote:
 On 15 September 2013 14:12, Walter Bender walter.ben...@gmail.com wrote:

 Another issue that activity developers encounter is lack of access to
 ~/Documents. xdg-user-dir find the chroot home rather than the
 developer's home.


 Are you using ~/Documents to exchange stuff between your main desktop and
 sugar?

Yes.. Used by, for example, the Background cpsection. It is an
integral part of Sugar that would be nice to be able to test in the
devel environment.


 Also, for some reason, I cannot get the debug file to be read by
 sugar. I've tried updating it in sugar-build, in /var/broot, and
 ~/.sugar but it seems to be ignored :(


 Hmm something seems broken, a sugar-build/home/default/debug file is
 supposed to exist, and at least here I don't see one. Probably one more bug
 I didn't manage to fix with my set of patches.



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


[Sugar-devel] [ASLO] Release Markdown Activity-2

2013-09-15 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4705

Sugar Platform:
0.100 - 0.100

Download Now:
http://activities.sugarlabs.org/downloads/file/28767/markdown-2.xo

Release notes:
- Changed markdown editor font to Monospace
- Added an insert text button which allows users to insert text/markdown 
content into the activity.



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] Sugar on a $100 tablet!

2013-09-15 Thread Ruben Rodríguez
2013/9/11 George Hunt georgejh...@gmail.com:
 I have a nexus, and I'm anxious to learn how to swap out OS, reload stuff,
 etc.

The first step is to install Ubuntu on it, you can follow this howto:
https://wiki.ubuntu.com/Nexus7/Installation

But I recommend following the procedure to install Multirom to have
dual boot instead:
http://forum.xda-developers.com/showthread.php?t=2011403
The only downside is that it seems to interfere with Android system
updates, so you need to upgrade your Android rom manually after that.

Backup and be patient, it takes some time.

When you have ubuntu running on the nexus, activate the
on-scren-keyboard (small icon on the top bar), open the terminal,
install ssh and connect to it. Become root and run this script:
http://ubuntu.activitycentral.com/install_sugar_on_nexus_7.sh

This will set some configs, install a bunch of packages including
Sugar, and install some activities as well.

There are some bugs (mainly in the journal) I'm working in, but it is
already pretty usable. Please report your findings! :)

 Does Ubuntu talk directly to the hardware?

Yes. The first part of the procedure installs ubuntu in the android
storage space (a file containing a disk image with ubuntu inside). The
bootloader then is able to run it instead of android by using kexec.
This means there is no emulation, you use Ubuntu as if it was
installed on the machine by itself, and no Android software runs
alongside it.

 If so, how much variation is there in the hardware? If most tablets are based 
 on arm SOC's, this might
 work across many hardware platforms.

There is a lot of variation between SOC's, in particular you will have
to fight with the graphics support, the bootloader, the power
management...
A recent Linus rant on the topic:https://lkml.org/lkml/2013/9/9/562
I hope that ARM SoC hardware designers all die in some incredibly
painful accident

In any case with more or less effort we can make sugar work on any
machine that already runs GNU/Linux. In the case of the nexus I
understand Canonical and Google partnered to make it work as a
development exercise. But new arm devices running
standard-non-android-distros appear every day, and several platforms
are already becoming popular, so it is a path worth exploring.

-- 
Rubén Rodríguez
Activity Central: http://activitycentral.com

Facebook: https://activitycentral.com/facebook
Google+: https://activitycentral.com/googleplus
Twitter: https://activitycentral.com/twitter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel