Samuel Greenfeld | 25 Apr 06:10 2015

XO Fedora 22 Beta work

At James' suggestion I looked a bit into a Fedora 22 beta build.  I have found the following problems so far getting the RPM dependencies worked out:
  • olpc-library needs to depend on python-jinja2, not python-jinja.  The olpc-library RPM also was removed from Fedora, perhaps due to lack of changes & abandonment.
  • totem-mozplugin no longer exists and was intentionally removed.  Given Firefox supports various media codecs internally this might not be a problem for it (apart for vmeta?); but I don't know what webkit-based Browse uses for media players.
  • xorg-x11-drv-keyboard and -mouse have been replaced by xorg-x11-drv-libinput.  See https://fedoraproject.org/wiki/Changes/LibinputForXorg
  • 14.1.0 has custom F20 systemd binaries, but I am having trouble finding information as to why.  If they have relevant changes they need to be ported to F22 if not already present because using the F20 systemd binaries breaks all sorts of library dependencies.

Patches have been written for the first three that I could submit.

We need to come up with a clear direction as to what volunteers and/or OLPC want & would actually use for updated XO builds.  I only have the time to focus on one set of images.

_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Gonzalo Odiard | 24 Apr 22:19 2015

Important SoaS: Fedora will redesign his Spins page

This post can be important for SoaS


They are asking for feedback, and probably will need info/screenshot/images
from us.
Who can follow this issue?

--
Gonzalo Odiard

SugarLabs - Software for children learning 
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Tony Anderson | 24 Apr 20:17 2015
Picon
Picon

Start an activity from another,, activity

Hi,

Not to beat a dead horse, but what is the current version of Sugar? I am 
using 0.98. I assume that Sugarlabs considers the current version to be
more recent. Possibly 0.104.  However, no version past 0.98 is available 
for the XO-1.

What is the current version of Read? On ASLO it is 92.

I would be happy to limit this discussion to the features of the current 
version - it we establish a clear definition of what is the current 
stable release.
The traditional official site is http://wiki.laptop.org/go/Releases 
which shows the current stable release as 13.2.1. Sadly this page and 
the associated release notes
do not mention the release level of Sugar. I suppose users are supposed 
to download, flash and then discover.

Tony

On 04/24/2015 06:00 PM, sugar-devel-request <at> lists.sugarlabs.org wrote:
> Which version of Sugar and Read are you using?  This discussion is
> supposed to be about the current version of Sugar and Read, for
> planning the next version.  You have to be familiar with the current
> version to be part of the discussion.
Samuel Greenfeld | 24 Apr 15:28 2015

Fedora Flock Conference

Are we planning to do anything with Sugar at the Fedora Flock Conference (August 12-15, Rochester NY - www.flocktofedora.org) this year?

The call for talks just ended although it might be possible to sneak one in.

Depending on interest there may be a bus from the RedHat Westford, MA office to the conference.

---
SJG
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Tony Anderson | 23 Apr 13:49 2015
Picon
Picon

Re: [Feature] Start an activity from another, activity

Hi, Gonzalo

This capability has been included in Sugar from day one in the form of 
sugar-launch. Sugar launch can be executed by any activity using the 
Python subprocess module. I have added support for the options -o and 
-u. The first launches with a specified (Journal) object_id. The second 
launches with a specified uri. I haven't used the -u option, but -b 
works well.

I sent an email earlier, but it may have been lost somewhere.

Tony

On 04/22/2015 08:31 PM, sugar-devel-request <at> lists.sugarlabs.org wrote:
> Message: 1
> Date: Wed, 22 Apr 2015 15:14:03 -0300
> From: Gonzalo Odiard<godiard <at> sugarlabs.org>
> To: "Sam P."<sam.parkinson3 <at> gmail.com>
> Cc: Sugar-dev Devel<sugar-devel <at> lists.sugarlabs.org>, Manuel Qui?ones
> 	<manuq <at> laptop.org>
> Subject: Re: [Sugar-devel] [Feature] Start an activity from another
> 	activity
> Message-ID:
> 	<CAJ+iPVTEyOStNzndrV3GuT4M5-TBeWZ-KTr1K+2-8jn__9ff9Q <at> mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>> >
>> >
>> >* It would be nice to have it integrate with the New ASLO and prompt when
>> >the user doesn't have an activity and must download one.  The New ASLO has
>> >data sorted by bundle ID and is collecting mime types for all activities,
>> >meaning we have all the data required to make this work.  The next question
>> >is probably UX.  Here is my mockup suggestion:http://framebox.org/TbEd
>> >
> I would prefer land a simple version first (more thinking we have a end for
> new features in May 18)
>
>
>
>> >* Does the design deal with all the security stuff?
>> >
> Like what? This is just to start one activity from another with a object
> from the Journal.
>
> Gonzalo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150422/f8c5f560/attachment-0001.html>
James Cameron | 22 Apr 23:51 2015

Implode sources

Source for my 15.2 fork of Implode is in
https://github.com/quozl/implode-activity

I'm inviting developers to make pull requests.

--

-- 
James Cameron
http://quozl.linux.org.au/
Sam P. | 22 Apr 23:40 2015
Picon

Re: [Feature] Start an activity from another activity

Hi Gonzalo,

On Thu, Apr 23, 2015 at 4:14 AM Gonzalo Odiard <godiard <at> sugarlabs.org> wrote:

* It would be nice to have it integrate with the New ASLO and prompt when the user doesn't have an activity and must download one.  The New ASLO has data sorted by bundle ID and is collecting mime types for all activities, meaning we have all the data required to make this work.  The next question is probably UX.  Here is my mockup suggestion:  http://framebox.org/TbEd

I would prefer land a simple version first (more thinking we have a end for new features in May 18)

Cool, so in order to get it merged:

* Add a description to the commit
* PEP8
* "FIXME, move this to registry.get_activities_for_type(with_parents=True) ?"

Anything else?
 
 
 
* Does the design deal with all the security stuff?

Like what? This is just to start one activity from another with a object from the Journal.

Ok, I was just checking.  Last discussion was very security orientated.

Thanks,
Sam
 
 
Gonzalo
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Tony Anderson | 21 Apr 07:15 2015
Picon
Picon

Re: Sugar-devel Digest, Vol 78, Issue 29

Hi, James

The utility sugar-launch can easily be executed in python by subprocess. 
I have attached the version I use which enables the -o option to allow 
specification of the Activity and the resume (can be by uri or by 
Journal object).

This is a general utility and should work with any launchable activity 
or resumable data file.

Tony

On 04/20/2015 06:00 PM, sugar-devel-request <at> lists.sugarlabs.org wrote:
> Message: 1
> Date: Mon, 20 Apr 2015 16:47:57 +1000
> From: James Cameron<quozl <at> laptop.org>
> To: "Sam P."<sam.parkinson3 <at> gmail.com>
> Cc:sugar-devel <at> lists.sugarlabs.org
> Subject: Re: [Sugar-devel] [Feature] Start an activity from another
> 	activity
> Message-ID:<20150420064757.GJ1099 <at> us.netrek.org>
> Content-Type: text/plain; charset=iso-8859-1
>
> Thanks.
>
> What you describe sounds like activating a journal entry, which causes
> the default activity to be started.
>
> I think I'd like to hear from activity authors who would use the
> feature.
>
> For example, download completion in Browse; at the moment it offers
> "show in journal", but could be "open".
>
> Dependencies are still a concern though; how should Sugar react if
> there is no activity capable of opening an object of an unusual mime
> type?

#!/usr/bin/env python

# Copyright (C) 2007, Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

import os
import sys
import dbus
from optparse import OptionParser

from sugar.activity import activityfactory
from sugar.bundle.activitybundle import ActivityBundle

usage = "usage: %prog [options] activity"
parser = OptionParser(usage)
parser.add_option("-d", "--debug", action="store_true", dest="debug",
                  help="launch activity inside gdb")
parser.add_option("-o","--object_id",action="store_true",dest="object_id",
                  help="resume activity with object")
parser.add_option("-u","--object_uri",action="store_true",dest="object_uri",
                  help="path to file")
(options, args) = parser.parse_args()

if len(args) == 0:
    print 'You need to specify the activity bundle_id.'
    sys.exit(1)

bus = dbus.SessionBus()
proxy = bus.get_object('org.laptop.Shell', '/org/laptop/Shell')
path = dbus.Interface(proxy, 'org.laptop.Shell').GetBundlePath(args[0])
if not path:
    print 'Cannot find %s bundle.' % args[0]
    sys.exit(1)

activity = ActivityBundle(path)
cmd_args = activityfactory.get_command(activity)

def _which(exec_file):
    if 'PATH' in os.environ:
        envpath = os.environ['PATH']
    else:
        return None

    for path in envpath.split(os.pathsep):
        fullname = os.path.join(path, exec_file)
        if os.path.exists(fullname):
            return fullname

    return None

def _get_interpreter(exec_file):
    if os.path.exists(exec_file):
        abs_path = exec_file
    else:
        abs_path = _which(exec_file)
        if not abs_path:
            return exec_file

    f = open(abs_path)
    line = f.readline(100)
    if line.startswith('#!'):
        cmds = line[2:].strip().split(' ')
        cmds.append(abs_path)

        if '/usr/bin/env' in cmds:
            cmds.remove('/usr/bin/env')

        return cmds

    return exec_file

if options.debug:
    act_args = cmd_args
    cmd_args = ['gdb', '--args']
    cmd_args.extend(_get_interpreter(act_args.pop(0)))
    cmd_args.extend(act_args)

if options.object_id:
    cmd_args.append("-o")
    cmd_args.append(args[1])
if options.object_uri:
    cmd_args.append("-u")
    cmd_args.append(args[1])

os.chdir(str(activity.get_path()))
os.execvpe(cmd_args[0], cmd_args, activityfactory.get_environment(activity))
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Martin Abente | 20 Apr 20:47 2015
Picon

[Announcing] UNSTABLE 0.105.0 release

Hello everyone,

I am pleased to announce the beginning of a new development cycle "road to Sugar 0.106". I have released the first UNSTABLE versions of the 0.105.x series to make it official.
Anyone interested in contributing during this cycle should take a look at the roadmap wiki page [1]. The important deadlines for this cycle are
  • Features freeze: May 18 2015.
  • Strings, API and UI deadlines: June 1 2015.
  • Code freeze deadline: June 29 2015.
This will be a relatively short development cycle to focus on stabilization and continuing with the translation efforts. Those interested in contributing with new features must follow instructions in [2] and include a new entry to the wiki page [3] to help us track pull requests, documentation and assign reviewers. Features that were not merged during the last cycle must also go through these steps.

I want to thank all those who showed interest in contributing in this new cycle. Do not hesitate to ask for help in our mailing list [4], whether is a new feature, a bug fix or translation issue.

Regards,
Martin.

Refs:
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Sam P. | 20 Apr 04:30 2015
Picon

[Feature] Start an activity from another activity

Hi All,

One feature that was proposed last cycle but never got 100% finished was to add an api for activities to launch other activities.  I prematurely merged it last week, but would like to start a discussion on getting it improved and merged again.

Feature Page:  http://wiki.sugarlabs.org/go/Features/Start_activity_from_another_activity
Patch Link:  https://github.com/sugarlabs/sugar/pull/484

Here are some points to start a discussion:

* It would be nice to have it integrate with the New ASLO and prompt when the user doesn't have an activity and must download one.  The New ASLO has data sorted by bundle ID and is collecting mime types for all activities, meaning we have all the data required to make this work.  The next question is probably UX.  Here is my mockup suggestion:  http://framebox.org/TbEd

* The system is often compared to the android intent system, but I don't think that we should design it that way.  Sugar is very file/object orientated where as android is orientated around URIs.  Android is about consuming content from the internet and it's apps are closer to websites than traditional applications in many instances.  Sugar is much more desktoppy and the desktop is built around files.  It think the intent system build around object IDs is very suited to what sugar is today.

* Does the design deal with all the security stuff?

* Are there use cases in sugar activities that this system does not cater for?

Thanks,
Sam
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Sam P. | 20 Apr 03:59 2015
Picon

[Feature] Social Help

Hi All,

One feature I'm proposing for the 0.106 cycle is Social Help.  Social Help was previously proposed by Prasoon Shukla as a GSOC project, however my proposal is slightly different.

Patch Link:  https://github.com/sugarlabs/sugar/pull/483/commits
Feature Page:  http://wiki.sugarlabs.org/go/Features/Social_Help
YouTube Video Summary:  https://youtu.be/_WzwVZ60Tbw

I would like to invite discussion on the feature so we can land this for 0.106.

Thanks,
Sam
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Gmane