Re: [Sugar-devel] Starting a new web activity : problem when closing activity, and with icon design

2014-12-10 Thread laurent bernabe
Hi,

so I've done a git pull (simply calling git pull on my project root
directory), but I've still got problems for closing the activity.

As for the project creation, i've launched the command written in the
documentation

___

 volo create simple-tictactoe-activity ./sugar-web-template

__

Regards

2014-12-10 12:46 GMT+01:00 Lionel Laské :

>
> Yes, you need to git pull from your local repository to see my changes.
>
> Regarding missing libraries, I'm not sure to understand why. I guessed
> that you've done a wrong copy of the sugar-web-template but libraries are
> not in the repository [1]. So not sure that a pull on sugar-build could
> change the problem.
> However, how do you create your activity ? Do you really call "volo create
> my-activity ./sugar-web-template" like described here [2] ?
>
>   Lionel.
>
> [1] https://github.com/sugarlabs/sugar-web-template
> [2] https://github.com/sugarlabs/sugar-docs/blob/master/activity.md
>
> 2014-12-09 22:13 GMT+01:00 laurent bernabe :
>
>> Hi Lionel,
>>
>> Thank you very much, I've merged your pull request.
>> Do I need to pull the changes from my repository ? (I am asking, as it is
>> my very first pull merge from a repository)
>>
>> As for the missing libraries, do you advice me to do a pull on
>> sugar-build, so that one new activity won't miss these ?
>>
>> Regards
>>
>> 2014-12-09 22:02 GMT+01:00 Lionel Laské :
>>
>>>
>>> Hi Laurent,
>>>
>>> I've worked on your icon issue and solved it (sent you a pull request
>>> [1]).
>>> Shortly, some needed js library was missing: domReady.js, text.js and
>>> webL10n.js.
>>> It's why it doesn't work.
>>> I've also replaced the sugar-web library version by the one working both
>>> on Sugar and Sugarizer.
>>> Tested on Sugarizer, it works now.
>>>
>>> Best regards from France.
>>>
>>>   Lionel.
>>>
>>> [1] https://github.com/loloof64/olpc-simple-tictactoe-activity/pull/1
>>>
>>> 2014-12-03 15:40 GMT+01:00 :

 Date: Wed, 03 Dec 2014 10:50:05 +
 From: Iain Brown Douglas 
 To: laurent bernabe 
 Cc: Sugar Devel , Lionel Lask?
 
 Subject: Re: [Sugar-devel] Starting a new web activity : problem when
 closing activity, and with icon design
 Message-ID: <1417603805.3476.2.camel@vey-waldorf>
 Content-Type: text/plain; charset="UTF-8"

 You could eliminate that by substituting a known working .svg borrowed
 from another activity.

 Iain
 On Wed, 2014-12-03 at 11:16 +0100, laurent bernabe wrote:
 > My intuition is that I've misued stroke and fill entities, though I
 > processed the icon with the sugariconify script.
 > Indeed, in Sugarizer, my activity icon is different than the others
 > (screenshot provided).
 >
 >
 > Regards
 >
 > 2014-12-03 1:00 GMT+01:00 laurent bernabe >>> >:
 > Hi,
 >
 >
 > I've replaced the content of
 >
  /activities/simple-tictactoe-activity/lib/sugar-web folder
 with the /activities/ActivityTemplate/lib/sugar-web folder.
 > But I still can't close my application with the stop button.
 >
 >
 > Even after having restarted the chrome navigator (keeping the
 > flag --allow-access-from-files).
 >
 >
 > Regards
 >
 > 2014-12-02 19:04 GMT+01:00 Lionel Lask?
 > :
 > It's a nice first start.
 > Now replace your lib/sugar-web directory with the one
 > from lib/ActivityTemplate directory.
 > It should work.
 >
 >
 >   Lionel

>>>
>>> ___
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>
>>
>> --
>> Laurent Bernabé
>>
>> laurent.bern...@gmail.com
>>
>
>


-- 
Laurent Bernabé

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


Re: [Sugar-devel] Widget to show a notification message with a link

2014-12-10 Thread Jerry Vonau

> On December 9, 2014 at 6:59 AM Gustavo Duarte 
> wrote:
>
>
> I checked this file, and there are these entries, already, as is showed
> bellow.
>
> text/html                                  org.laptop.WebActivity
> application/xhtml+xml             org.laptop.WebActivity
> application/xml                        org.laptop.WebActivity
>
> However, it doesn't work, Firefox is opened when I click on a link of
> notification message.
>

Note that x-scheme-handler/http is not present, did you try adding:
x-scheme-handler/http                   org.laptop.WebActivity
to mime-defaults?

The result *should be* the same as changing the default with xdg-mime but
just for the sugar processes, that is your goal correct?

> May be this behaviour could be, due
>
> 1) Sugar is running in Ubuntu.
>
> 2) Only happens on links inside notification messages, no other way to
> test open a link comes on my mind, at this moment.
>
> I'll try on Sugar running on XO/Fedora

From Sebastian reply,

xdg-open http://sugarlabs.org/

Prior to adding the above line the webpage would not load at all(closes
terminal). This appears to work with the altered mime-defaults as above on
XO's here but it doesn't look like the browse activity, more
like epiphany.

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


[Sugar-devel] [ASLO] Release CrossWord-1

2014-12-10 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4760

Sugar Platform:
0.98 - 0.102

Download Now:
http://activities.sugarlabs.org/downloads/file/29039/crossword-1.xo

Release notes:



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] Starting a new web activity : problem when closing activity, and with icon design

2014-12-10 Thread Iain Brown Douglas
On Wed, 2014-12-03 at 19:42 +0100, laurent bernabe wrote:
> Hi
> 
> 
> I am aware this could be the solution.
> Meanwhile, I would like to use a custom icon, as the idea behind the
> icon I designed is more related to my activity.
> 
> 
> In fact :
>  1. In a first time, I used black lines for the cell lines, and
> blue/red colors for circles and crosses
>  2. I replaced all tokens fill color (circles and crosses) by
> green color
>  3. Then I tried to follow the sugar icon guidelness, replacing
> black color with stroke-color entity, and green color with
> fill-color entity, first manually, then removing all changes
Hi Laurent,

Did you try opening your .svg in a text editor to look for clues? 

Iain

>  1. and trying with sugariconify script instead.


> So my guess is that I did the wrong choice for fill and stroke colors,
> when creating entities.


> 
> Regards
> 
> 2014-12-03 11:50 GMT+01:00 Iain Brown Douglas
> :
> You could eliminate that by substituting a known working .svg
> borrowed
> from another activity.
> 
> Iain
> On Wed, 2014-12-03 at 11:16 +0100, laurent bernabe wrote:
> > My intuition is that I've misued stroke and fill entities,
> though I
> > processed the icon with the sugariconify script.
> > Indeed, in Sugarizer, my activity icon is different than the
> others
> > (screenshot provided).
> >
> >
> > Regards
> >
> > 2014-12-03 1:00 GMT+01:00 laurent bernabe
> :
> > Hi,
> >
> >
> > I've replaced the content of
> >
>  /activities/simple-tictactoe-activity/lib/sugar-web 
> folder with the /activities/ActivityTemplate/lib/sugar-web 
> folder.
> > But I still can't close my application with the stop
> button.
> >
> >
> > Even after having restarted the chrome navigator
> (keeping the
> > flag --allow-access-from-files).
> >
> >
> > Regards
> >
> > 2014-12-02 19:04 GMT+01:00 Lionel Laské
> > :
> > It's a nice first start.
> > Now replace your lib/sugar-web directory
> with the one
> > from lib/ActivityTemplate directory.
> > It should work.
> >
> >
> >   Lionel
> >
> > 2014-12-02 11:04 GMT+01:00 laurent bernabe
> > :
> > Hi again,
> >
> >
> > Restarting my computer, I was
> finally able to
> > run sugarizer in my chrome instance.
> > Meanwhile, I can't close my
> application
> > (Simple Tic Tagardsc Toe).
> >
> >
> > regards
> >
> > 2014-12-01 18:42 GMT+01:00 laurent
> bernabe
> > :
> > I am just using the
> "modified" chrome
> > instance (with allow access
> from
> > file), but I am still
> getting the same
> > errors in the navigator
> console.
> >
> >
> >
> >
> > Regards
> >
> > 2014-12-01 15:57 GMT+01:00
> Lionel
> > Laské
> :
> >
> >
> > 2014-12-01 15:25 GMT
> +01:00
> > laurent bernabe
> >
>  :
> >
> >
> > So it seems
> that the
> > option is
> not taken
> > into account
> from my
> > Chrome
> instance.
> > I will look
> for
> > another way
> (like in
> >
>  settings:// ?) to set
> > this option.
> >
> >
> > Ensure that no other
> instance
> > is running. If one
> instance is
>   

Re: [Sugar-devel] Problem in Developing Environment

2014-12-10 Thread Gonzalo Odiard
What is your linux distribution?
Can you attach the log files in the directory build/logs/ ?

Gonzalo

On Wed, Dec 10, 2014 at 2:57 AM, Rajeev Nagarwal 
wrote:

> Respected Sugar-Team,
>
> I am having some problems in setting up Sugar developing environment. I
> have strictly followed the instructions given on your web, but whenever I
> type './osbuild' command it says 'another instance of osbuild is running'
> and then nothing happens.
>
> It would be very kind of you, if someone help me out or lookout for the
> problem. An early reply would be very helpful.
>
> Thank You,
>
> With Regards,
>
> Rajeev Nagarwal
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel