Re: [Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread S. Daniel Francis
El may 19, 2013 7:40 p.m., "Alan Jhonn Aguiar Schwyn" 
escribió:
> And package the new version for Debian based systems??

Experimental... that package could be used by your own risk in Debian Sid
or Ubuntu 13.x
http://packages.debian.org/experimental/libwebkit2gtk-3.0-0
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Getting karma to work with sugar-activity-html

2013-05-19 Thread James Cameron
On Sun, May 19, 2013 at 10:03:42PM +0200, Daniel Narvaez wrote:
> Just realized that sugar-launch is probably supposed to be always
> launched inside a sugar-terminal, inside the shell, so the
> environment should be fine there.

Yes, that is the only way I have used it.

-- 
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] Requiring test coverage for new code

2013-05-19 Thread James Cameron
On Sat, May 18, 2013 at 02:36:13PM -0300, Manuel Quiñones wrote:
> [...]
> I would also like to express my view on contributions.  We should
> not block any valuable contribution.
> 
> Suppose that a child finds a bug, then modifies a file in the XO and
> then sends the modified file to us in a email with a brief
> description.  Very welcome! I would say.
> 
> For this kind of occasional contributions, we (regular contributors)
> should take over and do the procedure by ourselves, and also add the
> testing.

+1

Include in your definition of "child" any developer who has the time
to discover and fix the root of the problem but not the time to do
learn git, avoid injecting unwanted changes, make a patch, mail it,
register for github, make a pull request, follow up on lack of action
on pull request, translate review comments into their own language,
overcome the disheartening, rebase the patch, fight with git again,
succeed in a pull request, get a late review about pep8 failure,
repeat the whole process, then go back and add tests, raise a ticket
because the release engineer wants one for tracking reasons, ... only
to find the next release doesn't have the fix.  ;-)

-- 
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] Requiring test coverage for new code

2013-05-19 Thread James Cameron
On Sat, May 18, 2013 at 06:21:54PM +0200, Daniel Narvaez wrote:
> Marco would do 2 and then consider if we can move to 1.
> Manuel would like 2.
> Walter would be happy with 2, as long as there is guidance.
> Gonzalo and James doesn't seem happy about requiring tests at all.

No, I don't mind requiring tests, but I don't think the reasons you gave
were supported by evidence.  I wanted to see that evidence, that's all.

-- 
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] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread Alan Jhonn Aguiar Schwyn

>> If instead compile it, we install as a dependency?
>> Or the installed version is old?
>
>The installed version is old. The options to solve the really long building 
>time are: using the buildbot to get pre-compiled >dependencies (similar to 
>binary snapshots, but only for non-sugar components) or building on Fedora 19 
>which has already packaged >Webkit2.
And package the new version for Debian based systems??  
  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread S. Daniel Francis
El may 19, 2013 6:03 p.m., "Alan Jhonn Aguiar Schwyn" 
escribió:
>
> Hi,
>
> I'm not have a slow computer (I think) but never can finish the compile
of webkit.
> Once time takes 3 hours and continues compiling: 3 hours with my 2 cores
at 95 ~ 100% of use!!
> I'm tire of that and do "ctrl+c", go to system.json, add a rule: if
distro != ubuntu13.10..

Linux From Scratch says that the estimated compilation time is 55 SBU [1]
which can be more than one day in slow boxes.

> In my case of use never use webkit (but maybe someone wants to use).
>
> If instead compile it, we install as a dependency?
> Or the installed version is old?

The installed version is old. The options to solve the really long building
time are: using the buildbot to get pre-compiled dependencies (similar to
binary snapshots, but only for non-sugar components) or building on Fedora
19 which has already packaged Webkit2.

I like both.

Cheers,
Daniel.

[1] http://www.linuxfromscratch.org/blfs/view/svn/x/webkitgtk.html
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread Alan Jhonn Aguiar Schwyn
Hi,
I'm not have a slow computer (I think) but never can finish the compile of 
webkit.Once time takes 3 hours and continues compiling: 3 hours with my 2 cores 
at 95 ~ 100% of use!!I'm tire of that and do "ctrl+c", go to system.json, add a 
rule: if distro != ubuntu13.10..In my case of use never use webkit (but maybe 
someone wants to use).
If instead compile it, we install as a dependency?Or the installed version is 
old?
Regards!
Alan
Date: Sun, 19 May 2013 13:41:16 +0200
From: dwnarv...@gmail.com
To: sugar-devel@lists.sugarlabs.org
Subject: [Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

Hey,

It seems like building webkitgtk is a bit of a pain for many people. I would 
like people feedback on how bad of an obstacle it really is and about a couple 
of possible solutions:


1 Have buildbot generate snapshots of the base system dependencies which most 
people are unlikely to want to modify anyway and upload those. It would 
probably be a system.img file which you would put in your sugar-build 
directory. With that file present, the external sugar dependencies would not be 
downloaded and built at all.


2 Officially support Fedora 19, disable the webkitgtk build there and suggest 
people for which building webkigtk is too much to use Fedora19.

Thoughts? Would you use 1/2 if it was available?

-- 
Daniel Narvaez



___
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] Getting karma to work with sugar-activity-html

2013-05-19 Thread Daniel Narvaez
On 19 May 2013 21:42, Daniel Narvaez  wrote:

> 4 Somehow fix sugar-launch to work properly with html activities. The
> websocket communication is not working right because it requires the
> key/port variables which are in the shell environment and sugar-launch is
> not running in there.
>

Just realized that sugar-launch is probably supposed to be always launched
inside a sugar-terminal, inside the shell, so the environment should be
fine there. With sugar-runner --test-command, the command is launched
outside the shell instead, which breaks things.

Perhaps we should just add a --run-test argument to the sugar script and
use that in sugar-runner. With such argument the shell would run the
command asynchronously, watch its exit status and return it.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Getting karma to work with sugar-activity-html

2013-05-19 Thread Daniel Narvaez
Hello,

I think the easiest approach is probably to

1 Install an empty html activity, say sugar-html-test module, bundle_id
org.sugarlabs.HTMLTestActivity.

2 Make sugar-activity-html support the --uri option. This is what I have
right now

-self._web_view.load_uri("activity://%s/index.html" %
self._bundle_id)
+if handle.uri:
+self._web_view.load_uri(handle.uri)
+else:
+self._web_view.load_uri("activity://%s/index.html" %
+self._bundle_id)

3 Fix sugar-launch to handle the --uri argument

4 Somehow fix sugar-launch to work properly with html activities. The
websocket communication is not working right because it requires the
key/port variables which are in the shell environment and sugar-launch is
not running in there.

5 Run with something like

sugar-runner --test-command "sugar-launch org.sugarlabs.HTMLTestActivity
--uri $url_to_karma_server"

Probably wrapped in a friendlier script.

I put together something like this in a very hacky way and it seems to
launch sugar-html-graphics test fine.

I haven't tried to do 4 though. I'm not sure how to do it best. We could
proxy the variables using org.laptop.Shell but I'm not too happy about how
sugar-launch is done in general... supporting two pretty different
application launch code paths complicate things. I wonder if it wouldn't be
better to go through the shell also for sugar-launch. We can get the pid
back and attach gdb.

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


Re: [Sugar-devel] Unit tests in Sugar HTML

2013-05-19 Thread Daniel Narvaez
Figured out. I had first tried to install it from git, but without running
the grunt file. Then I installed from npm, but the git built was stuck in
the cache... Confusing!


On 19 May 2013 18:31, Daniel Narvaez  wrote:

> Can't quite get karma to work
>
>
> INFO [karma]: Karma server started at http://localhost:9876/
> WARN [watcher]: Pattern
> "/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/adapter/jasmine.js"
> does not match any file.
> WARN [watcher]: Pattern
> "/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/adapter/require.js"
> does not match any file.
> WARN [web server]: 404:
> /home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/static/testacular.js
> WARN [web server]: 404:
> /home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/static/testacular.js
>
> Looks like testacular.js and jasmine are not installed. Tried both 0.8.5
> in git and from npm.
>
>
>
> On 13 May 2013 16:22, Manuel Quiñones  wrote:
>
>> Hello,
>>
>> As I am currently implementing sugar palettes in HTML, I want to get
>> the logic right, so I need unit tests.  Then I started to investigate
>> unit testing in javascript.
>>
>> After looking for a bit, I decided to give a try to Jasmine framework,
>> which is AngularJS choice.
>>
>> http://pivotal.github.io/jasmine/
>>
>> My first attempt was running the tests in the command line with
>> jasmine-node.
>>
>> https://github.com/mhevery/jasmine-node
>>
>> But soon I realized that testing without access to the DOM is very
>> limited.  For example, a palette needs to add a  to the document.
>>  And my second test failed in jasmine-node because of that.
>>
>> So I went for Karma (previously named Testacular).
>>
>> http://karma-runner.github.io/
>>
>> It was easy to configure using RequireJS like is documented in:
>>
>> http://karma-runner.github.io/0.8/plus/RequireJS.html
>>
>> And it works!  You can try installing Karma (npm install -g karma) and
>> then checking out in my clockjs activity.
>>
>> git checkout git://github.com/manuq/clockjs.git
>> cd clockjs/lib/sugar-html-graphics
>> karma start
>>
>> And then point a browser to the URL in the output, which points to Karma
>> server.
>>
>> --
>> .. manuq ..
>> ___
>> 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] Unit tests in Sugar HTML

2013-05-19 Thread Daniel Narvaez
Can't quite get karma to work

INFO [karma]: Karma server started at http://localhost:9876/
WARN [watcher]: Pattern
"/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/adapter/jasmine.js"
does not match any file.
WARN [watcher]: Pattern
"/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/adapter/require.js"
does not match any file.
WARN [web server]: 404:
/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/static/testacular.js
WARN [web server]: 404:
/home/dnarvaez/Development/sugar-build/build/out/install/lib/node_modules/karma/static/testacular.js

Looks like testacular.js and jasmine are not installed. Tried both 0.8.5 in
git and from npm.



On 13 May 2013 16:22, Manuel Quiñones  wrote:

> Hello,
>
> As I am currently implementing sugar palettes in HTML, I want to get
> the logic right, so I need unit tests.  Then I started to investigate
> unit testing in javascript.
>
> After looking for a bit, I decided to give a try to Jasmine framework,
> which is AngularJS choice.
>
> http://pivotal.github.io/jasmine/
>
> My first attempt was running the tests in the command line with
> jasmine-node.
>
> https://github.com/mhevery/jasmine-node
>
> But soon I realized that testing without access to the DOM is very
> limited.  For example, a palette needs to add a  to the document.
>  And my second test failed in jasmine-node because of that.
>
> So I went for Karma (previously named Testacular).
>
> http://karma-runner.github.io/
>
> It was easy to configure using RequireJS like is documented in:
>
> http://karma-runner.github.io/0.8/plus/RequireJS.html
>
> And it works!  You can try installing Karma (npm install -g karma) and
> then checking out in my clockjs activity.
>
> git checkout git://github.com/manuq/clockjs.git
> cd clockjs/lib/sugar-html-graphics
> karma start
>
> And then point a browser to the URL in the output, which points to Karma
> server.
>
> --
> .. manuq ..
> ___
> 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] [PATCH sugar-terminal] Use json instead of simplejson

2013-05-19 Thread Daniel Narvaez
Thanks Daniel, buildbot is happy now.


On 19 May 2013 01:41, Daniel Francis  wrote:

> Thanks for your patch!
>
> This code isn't used at the moment due some regressions with the Vte
> dynamic
> bindings. I know it breaks the buildbot, so I applied it as
> 74097db3becc980b68b29b2c51a740934e85adc5
>
> Cheers,
> Daniel Francis.
>



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


Re: [Sugar-devel] Remove sugar-html-core from guthub

2013-05-19 Thread Daniel Narvaez
Looks like the move had failed, probably because I already had a fork. Now
gone for real.


On 19 May 2013 16:50, Daniel Narvaez  wrote:

> I thought I add moved it to my personal GitHub (didn't dare directly
> killing it) but I have just seen it in the admin interface too. I will
> check when GitHub goes back working here.
>
>
> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>
>> As the sugar-html-core is now splited into sugar-html-activity and
>> sugar-html-bus, its no point keeping it after the split.
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
> --
> Daniel Narvaez
>
>


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


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
All modules added to the new Contributors group.


On 19 May 2013 16:48, Daniel Narvaez  wrote:

> I added you to the contributors group which is pull only. Does that give
> you what you need?
>
> I'm not sure if I added any module to the group, I was editing and GitHub
> stopped working on my crappy connection. I will add them when it's back
> anyway.
>
>
> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>
>> I noticed that sugarlabs was removed from my listed organizations on
>> github. Is it possible to add me as a member too? If its not too much to
>> ask!
>>
>>
>> On Sun, May 19, 2013 at 4:13 PM, Daniel Narvaez wrote:
>>
>>>  I tested it now. There was a couple of leftovers in sugar-html-activity
>>> and sugar-html-template. I pushed fixes for these. I went without a review
>>> for the sake of avoiding regressions. If anyone has comments I'm happy to
>>> fix them now, but they was really simple changes.
>>>
>>>
>>> https://github.com/sugarlabs/sugar-html-template/commit/0cbfd247a99a58ad53caf2fe67576781a89abe00
>>>
>>> https://github.com/sugarlabs/sugar-html-activity/commit/fef4b7e8e42019ffc28f4463d8a047ddb4e0c69a
>>>
>>>
>>> On 19 May 2013 11:05, Aneesh Dogra  wrote:
>>>
 I am done! I guess! I haven't yet tested the html activity yet, because
 I have a crappy net connection and sugar-build is taking centuries to
 download everything. But if you can do the tests. Then I guess I am done!


 On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:

> Let me know when you are done so I can go ahead with the rest of your
> patches.
>
>
> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>
>> Temporarily made you an owner :) You should be able to go ahead.
>>
>>
>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>
>>> Hey,
>>>
>>> That way I can transfer the newly created sugar-html-bus [1] and
>>> sugar-html-activity [2] to the organization's repo.
>>>
>>> [1]: https://github.com/lionaneesh/sugar-html-bus
>>> [2]: https://github.com/lionaneesh/sugar-html-activity
>>> --
>>> Thanks
>>> Aneesh Dogra (lionaneesh)
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>>
>
>
> --
> Daniel Narvaez
>



 --
 Thanks
 Aneesh Dogra (lionaneesh)

>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>>
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
> --
> Daniel Narvaez
>
>


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


Re: [Sugar-devel] Remove sugar-html-core from guthub

2013-05-19 Thread Daniel Narvaez
I thought I add moved it to my personal GitHub (didn't dare directly
killing it) but I have just seen it in the admin interface too. I will
check when GitHub goes back working here.

On Sunday, 19 May 2013, Aneesh Dogra wrote:

> As the sugar-html-core is now splited into sugar-html-activity and
> sugar-html-bus, its no point keeping it after the split.
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


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


[Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
I added you to the contributors group which is pull only. Does that give
you what you need?

I'm not sure if I added any module to the group, I was editing and GitHub
stopped working on my crappy connection. I will add them when it's back
anyway.

On Sunday, 19 May 2013, Aneesh Dogra wrote:

> I noticed that sugarlabs was removed from my listed organizations on
> github. Is it possible to add me as a member too? If its not too much to
> ask!
>
>
> On Sun, May 19, 2013 at 4:13 PM, Daniel Narvaez wrote:
>
>>  I tested it now. There was a couple of leftovers in sugar-html-activity
>> and sugar-html-template. I pushed fixes for these. I went without a review
>> for the sake of avoiding regressions. If anyone has comments I'm happy to
>> fix them now, but they was really simple changes.
>>
>>
>> https://github.com/sugarlabs/sugar-html-template/commit/0cbfd247a99a58ad53caf2fe67576781a89abe00
>>
>> https://github.com/sugarlabs/sugar-html-activity/commit/fef4b7e8e42019ffc28f4463d8a047ddb4e0c69a
>>
>>
>> On 19 May 2013 11:05, Aneesh Dogra  wrote:
>>
>>> I am done! I guess! I haven't yet tested the html activity yet, because
>>> I have a crappy net connection and sugar-build is taking centuries to
>>> download everything. But if you can do the tests. Then I guess I am done!
>>>
>>>
>>> On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:
>>>
 Let me know when you are done so I can go ahead with the rest of your
 patches.


 On 19 May 2013 10:38, Daniel Narvaez  wrote:

> Temporarily made you an owner :) You should be able to go ahead.
>
>
> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>
>> Hey,
>>
>> That way I can transfer the newly created sugar-html-bus [1] and
>> sugar-html-activity [2] to the organization's repo.
>>
>> [1]: https://github.com/lionaneesh/sugar-html-bus
>> [2]: https://github.com/lionaneesh/sugar-html-activity
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
> --
> Daniel Narvaez
>
>


 --
 Daniel Narvaez

>>>
>>>
>>>
>>> --
>>> Thanks
>>> Aneesh Dogra (lionaneesh)
>>>
>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


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


[Sugar-devel] Remove sugar-html-core from guthub

2013-05-19 Thread Aneesh Dogra
As the sugar-html-core is now splited into sugar-html-activity and
sugar-html-bus, its no point keeping it after the split.
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Aneesh Dogra
I noticed that sugarlabs was removed from my listed organizations on
github. Is it possible to add me as a member too? If its not too much to
ask!


On Sun, May 19, 2013 at 4:13 PM, Daniel Narvaez  wrote:

>  I tested it now. There was a couple of leftovers in sugar-html-activity
> and sugar-html-template. I pushed fixes for these. I went without a review
> for the sake of avoiding regressions. If anyone has comments I'm happy to
> fix them now, but they was really simple changes.
>
>
> https://github.com/sugarlabs/sugar-html-template/commit/0cbfd247a99a58ad53caf2fe67576781a89abe00
>
> https://github.com/sugarlabs/sugar-html-activity/commit/fef4b7e8e42019ffc28f4463d8a047ddb4e0c69a
>
>
> On 19 May 2013 11:05, Aneesh Dogra  wrote:
>
>> I am done! I guess! I haven't yet tested the html activity yet, because I
>> have a crappy net connection and sugar-build is taking centuries to
>> download everything. But if you can do the tests. Then I guess I am done!
>>
>>
>> On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:
>>
>>> Let me know when you are done so I can go ahead with the rest of your
>>> patches.
>>>
>>>
>>> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>>>
 Temporarily made you an owner :) You should be able to go ahead.


 On Sunday, 19 May 2013, Aneesh Dogra wrote:

> Hey,
>
> That way I can transfer the newly created sugar-html-bus [1] and
> sugar-html-activity [2] to the organization's repo.
>
> [1]: https://github.com/lionaneesh/sugar-html-bus
> [2]: https://github.com/lionaneesh/sugar-html-activity
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


 --
 Daniel Narvaez


>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>>
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
>
> --
> Daniel Narvaez
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread Walter Bender
I'd go for options 2 and 3 (just adding a comment in the build process
warning people that building webkigtk take a *long* time. So those who
want to build it themselves will know to be patient.

-walter

On Sun, May 19, 2013 at 7:41 AM, Daniel Narvaez  wrote:
> Hey,
>
> It seems like building webkitgtk is a bit of a pain for many people. I would
> like people feedback on how bad of an obstacle it really is and about a
> couple of possible solutions:
>
> 1 Have buildbot generate snapshots of the base system dependencies which
> most people are unlikely to want to modify anyway and upload those. It would
> probably be a system.img file which you would put in your sugar-build
> directory. With that file present, the external sugar dependencies would not
> be downloaded and built at all.
>
> 2 Officially support Fedora 19, disable the webkitgtk build there and
> suggest people for which building webkigtk is too much to use Fedora19.
>
> Thoughts? Would you use 1/2 if it was available?
>
> --
> Daniel Narvaez
>
> ___
> 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


[Sugar-devel] [sugar-build] Is webkitgtk becoming a barrier?

2013-05-19 Thread Daniel Narvaez
Hey,

It seems like building webkitgtk is a bit of a pain for many people. I
would like people feedback on how bad of an obstacle it really is and about
a couple of possible solutions:

1 Have buildbot generate snapshots of the base system dependencies which
most people are unlikely to want to modify anyway and upload those. It
would probably be a system.img file which you would put in your sugar-build
directory. With that file present, the external sugar dependencies would
not be downloaded and built at all.

2 Officially support Fedora 19, disable the webkitgtk build there and
suggest people for which building webkigtk is too much to use Fedora19.

Thoughts? Would you use 1/2 if it was available?

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


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
 I tested it now. There was a couple of leftovers in sugar-html-activity
and sugar-html-template. I pushed fixes for these. I went without a review
for the sake of avoiding regressions. If anyone has comments I'm happy to
fix them now, but they was really simple changes.

https://github.com/sugarlabs/sugar-html-template/commit/0cbfd247a99a58ad53caf2fe67576781a89abe00
https://github.com/sugarlabs/sugar-html-activity/commit/fef4b7e8e42019ffc28f4463d8a047ddb4e0c69a


On 19 May 2013 11:05, Aneesh Dogra  wrote:

> I am done! I guess! I haven't yet tested the html activity yet, because I
> have a crappy net connection and sugar-build is taking centuries to
> download everything. But if you can do the tests. Then I guess I am done!
>
>
> On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:
>
>> Let me know when you are done so I can go ahead with the rest of your
>> patches.
>>
>>
>> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>>
>>> Temporarily made you an owner :) You should be able to go ahead.
>>>
>>>
>>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>>
 Hey,

 That way I can transfer the newly created sugar-html-bus [1] and
 sugar-html-activity [2] to the organization's repo.

 [1]: https://github.com/lionaneesh/sugar-html-bus
 [2]: https://github.com/lionaneesh/sugar-html-activity
 --
 Thanks
 Aneesh Dogra (lionaneesh)

>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>



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


[Sugar-devel] Question when creating an html activity from template

2013-05-19 Thread Daniel Narvaez
>No AMD/CommonJS dependencies detected for:
lib/sugar-html-graphics>/karma.conf.js
>List any dependencies, comma separated, no spaces:
>What global to use for exported value []:

It's sort of annoying/confusing. I guess we need to make volo ignore the
karma files somehow.

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


Re: [Sugar-devel] Webkit drag and drop bug

2013-05-19 Thread Daniel Narvaez
I think we are not actually hitting the issue anymore with get_uris(), but
anyway, a patch is landing upstream to fix the get_data case too.


On 4 April 2013 23:54, Daniel Narvaez  wrote:

> Hello,
>
> I opened a bug about the issue with dragged links having a \x00 at the end.
>
> https://bugs.webkit.org/show_bug.cgi?id=113962
>
> I'm not really a gtk drag drop or a webkit expert, but that really seems
> like the issue to me. Let's see if someone comments.
>
> Might be worth trying if selection.get_uris() works around the issue. I'm
> not too hopeful though, because the implementation is using the length.
>
> Otherwise I guess we will have to write a Webkit patch.
>
> --
> Daniel Narvaez
>



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


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
All pushed, thanks! I haven't tested yet either tbh, I have a build in
progress too. Will test when that's done.


On 19 May 2013 11:05, Aneesh Dogra  wrote:

> I am done! I guess! I haven't yet tested the html activity yet, because I
> have a crappy net connection and sugar-build is taking centuries to
> download everything. But if you can do the tests. Then I guess I am done!
>
>
> On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:
>
>> Let me know when you are done so I can go ahead with the rest of your
>> patches.
>>
>>
>> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>>
>>> Temporarily made you an owner :) You should be able to go ahead.
>>>
>>>
>>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>>
 Hey,

 That way I can transfer the newly created sugar-html-bus [1] and
 sugar-html-activity [2] to the organization's repo.

 [1]: https://github.com/lionaneesh/sugar-html-bus
 [2]: https://github.com/lionaneesh/sugar-html-activity
 --
 Thanks
 Aneesh Dogra (lionaneesh)

>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>



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


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Aneesh Dogra
I am done! I guess! I haven't yet tested the html activity yet, because I
have a crappy net connection and sugar-build is taking centuries to
download everything. But if you can do the tests. Then I guess I am done!


On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez  wrote:

> Let me know when you are done so I can go ahead with the rest of your
> patches.
>
>
> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>
>> Temporarily made you an owner :) You should be able to go ahead.
>>
>>
>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>
>>> Hey,
>>>
>>> That way I can transfer the newly created sugar-html-bus [1] and
>>> sugar-html-activity [2] to the organization's repo.
>>>
>>> [1]: https://github.com/lionaneesh/sugar-html-bus
>>> [2]: https://github.com/lionaneesh/sugar-html-activity
>>> --
>>> Thanks
>>> Aneesh Dogra (lionaneesh)
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>>
>
>
> --
> Daniel Narvaez
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
Let me know when you are done so I can go ahead with the rest of your
patches.


On 19 May 2013 10:38, Daniel Narvaez  wrote:

> Temporarily made you an owner :) You should be able to go ahead.
>
>
> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>
>> Hey,
>>
>> That way I can transfer the newly created sugar-html-bus [1] and
>> sugar-html-activity [2] to the organization's repo.
>>
>> [1]: https://github.com/lionaneesh/sugar-html-bus
>> [2]: https://github.com/lionaneesh/sugar-html-activity
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
> --
> Daniel Narvaez
>
>


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


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Daniel Narvaez
Temporarily made you an owner :) You should be able to go ahead.

On Sunday, 19 May 2013, Aneesh Dogra wrote:

> Hey,
>
> That way I can transfer the newly created sugar-html-bus [1] and
> sugar-html-activity [2] to the organization's repo.
>
> [1]: https://github.com/lionaneesh/sugar-html-bus
> [2]: https://github.com/lionaneesh/sugar-html-activity
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


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


Re: [Sugar-devel] [sugar-build] Regarding the patch e814c36

2013-05-19 Thread Daniel Narvaez
Sorry for the confusion. I've been a bit sloppy with sugar-build logs
because I was the only contributor until a couple of weeks ago... I will
try to improve now :)

On Sunday, 19 May 2013, Aneesh Dogra wrote:

> Nevermind. I forked my repo at a very unfortunate time. The commiter
> forgot to add new files. This was fixed in [1]
>
> [2]:
> https://github.com/sugarlabs/sugar-build/commit/f6b858ddc4608f3a03d5a62dd02c3ee8cfca9348
>
>
> On Sun, May 19, 2013 at 7:20 AM, Aneesh Dogra 
> 
> > wrote:
>
>> I don't really get what the patch [1] is intended to do? I mean I see it
>> deleting all the json files which specifies the packages to download.
>>
>> I am sorry if I am missing something important, but the commit message
>> isn't enough to explain what its trying to do.
>>
>> [1]:
>> https://github.com/lionaneesh/sugar-build/commit/e814c3639413216c683325f9817d5c485a8ad0e1
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


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


Re: [Sugar-devel] [sugar-build] Issues while building libsoup

2013-05-19 Thread Daniel Narvaez
Can you try with a clean clone? I've moved things around a lot in the last
few days and it might be stale state somewhere. The fedora buildbot seems
happy.

On Sunday, 19 May 2013, Aneesh Dogra wrote:

> Hello List,
>
> I am facing some problems building libsoup. I am running fedora 18 with
> git head version of sugar-build. Has someone else faced this problem before?
>
> I notice that sugar-build pulls the latest version of glib and builds it,
> so this problem seems to be caused with some other issue. I have no clue
> how to fix this! Thanks in advance for any help.
>
> Log:
>
> * Building libsoup
>
> Command failed, tail of
> /home/aneesh-sugardev/sugar-build/logs/build-141.log
>
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.16... yes
> checking for GLIB - version >= 2.36.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log
> for the
> *** exact error that occured. This usually means GLIB is incorrectly
> installed.
> configure: error: GLIB 2.36.0 or later is required to build libsoup
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>


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


[Sugar-devel] [sugar-build] Issues while building libsoup

2013-05-19 Thread Aneesh Dogra
Hello List,

I am facing some problems building libsoup. I am running fedora 18 with git
head version of sugar-build. Has someone else faced this problem before?

I notice that sugar-build pulls the latest version of glib and builds it,
so this problem seems to be caused with some other issue. I have no clue
how to fix this! Thanks in advance for any help.

Log:

* Building libsoup

Command failed, tail of /home/aneesh-sugardev/sugar-build/logs/build-141.log

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.36.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
configure: error: GLIB 2.36.0 or later is required to build libsoup


-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel