Re: Activity bundle Query

2007-10-29 Thread Bert Freudenberg
Depends on your targeted Sugar version, which are not compatible with  
each other.

In the "old days", that is, the software that is going to be put into  
mass production, a.k.a. build 622, you had to execute an activity  
factory that would then run instances of your activity. This is  
obsolete and not documented anywhere anymore (despite this being  
called a "stable release"). In the current Sugar, a.k.a. "Joyride",  
which will evolve into the 1.0 version of the XO operating system,  
you do not need that anymore, but must put your script into the bin/  
directory of your activity.

This is documented at

http://wiki.laptop.org/go/Low-level_Activity_API

(actually that page also describes the old regime which still had the  
factory, go back to the version of Oct. 7th)

I hope you can access DBus and set X window properties from Java,  
otherwise you cannot build a proper activity. But since you need to  
include a Java VM anyway in your bundle, you could patch it to do the  
right thing I guess.

If you are very careful you may even be able to devise a bundle that  
works in old and new Sugar, I believe Etoys currently manages to do  
that (look into Etoys-63.xo). Depending on what further grand changes  
occur before 1.0 this will continue to work.

Also note that 1.0 is officially not called 1.0 anymore but instead  
FRS, First Deployment, XM, Killjoy, take your pick. I just could not  
make up my mind yet which of these designations I dislike the least.

- Bert -

On Oct 29, 2007, at 8:37 , Waqas Toor wrote:

> Hello
>
> I am making an activity of my application ...aaplication is written  
> in java..
> and i have a bash script to load that application
>
> now what would be the line in myActivity.info file that will execute
> that run.sh script
>
> i am unable to figure it out from the wiki pages
>
> Regards
>
> -- 
> Waqas Toor
> member of Ubuntu Pakistani Team
> [EMAIL PROTECTED]
> http://www.ubuntu-pk.org
>
> Linux *is* user friendly. It's just selective about who its friends  
> are.
> In a world without walls and fences, who needs windows and Gates ?
>
> http://waqastoor.weblog.pk
> (Registered Linux user #424056)
> ref link http://counter.li.org/
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activity bundle Query

2007-10-29 Thread Bert Freudenberg
On Oct 29, 2007, at 9:35 , Waqas Toor wrote:

> Hello ,
>
> but i was able to run the application from the terminal using gij  
> command
>
> and it works fine ...
> so is there a way that i could bundle it 

Of course. The XO bundle format and Sugar were designed to work fine  
independent of your choice of programming language (though Python is  
better supported than others).

For Java that means probably including gij and whatever runtime files  
it needs within your app bundle.

> what does these lines mean
>  The exec key specifies the executable which Sugar runs to start
> the activity instances.

It means you need to put a line like

exec=run.sh

into your activity.info file.

> Environment variables given on the exec line
> are expanded. Executable files should be placed into the bin/
> directory in the bundle.

Put the script into YourActivity.activity/bin/run.sh

> It should support the following arguments:
>
> -b, --bundle-id
> Identifier of the activity bundle
> -a, --activity-id
> Identifier of the activity instance.
> -o, --object-id
> Identifier of the associated datastore object.
> -u, --uri
> URI to load.
>
> are they helpfull ?

Handle these command line options in your script as outlined in

http://wiki.laptop.org/go/Low-level_Activity_API

which describes non-Python activities.

- Bert -

>
> On 10/29/07, John Watlington <[EMAIL PROTECTED]> wrote:
>>
>> You will have to port your application.
>> The XO doesn't support Java at this time.
>>
>> May I suggest Python ?
>>
>> Regards,
>> John
>>
>> On Oct 29, 2007, at 3:37 AM, Waqas Toor wrote:
>>
>>> Hello
>>>
>>> I am making an activity of my application ...aaplication is written
>>> in java..
>>> and i have a bash script to load that application
>>>
>>> now what would be the line in myActivity.info file that will execute
>>> that run.sh script
>>>
>>> i am unable to figure it out from the wiki pages
>>>
>>> Regards
>>>
>>> --
>>> Waqas Toor
>>> member of Ubuntu Pakistani Team
>>> [EMAIL PROTECTED]
>>> http://www.ubuntu-pk.org
>>>
>>> Linux *is* user friendly. It's just selective about who its friends
>>> are.
>>> In a world without walls and fences, who needs windows and Gates ?
>>>
>>> http://waqastoor.weblog.pk
>>> (Registered Linux user #424056)
>>> ref link http://counter.li.org/
>>> ___
>>> Devel mailing list
>>> Devel@lists.laptop.org
>>> http://lists.laptop.org/listinfo/devel
>>
>>
>
>
> -- 
> Waqas Toor
> member of Ubuntu Pakistani Team
> [EMAIL PROTECTED]
> http://www.ubuntu-pk.org
>
> Linux *is* user friendly. It's just selective about who its friends  
> are.
> In a world without walls and fences, who needs windows and Gates ?
>
> http://waqastoor.weblog.pk
> (Registered Linux user #424056)
> ref link http://counter.li.org/
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activity bundle Query

2007-10-29 Thread Waqas Toor
Hello ,

but i was able to run the application from the terminal using gij command

and it works fine ...
so is there a way that i could bundle it 

what does these lines mean
 The exec key specifies the executable which Sugar runs to start
the activity instances. Environment variables given on the exec line
are expanded. Executable files should be placed into the bin/
directory in the bundle. It should support the following arguments:

-b, --bundle-id
Identifier of the activity bundle
-a, --activity-id
Identifier of the activity instance.
-o, --object-id
Identifier of the associated datastore object.
-u, --uri
URI to load.

are they helpfull ?




On 10/29/07, John Watlington <[EMAIL PROTECTED]> wrote:
>
> You will have to port your application.
> The XO doesn't support Java at this time.
>
> May I suggest Python ?
>
> Regards,
> John
>
> On Oct 29, 2007, at 3:37 AM, Waqas Toor wrote:
>
> > Hello
> >
> > I am making an activity of my application ...aaplication is written
> > in java..
> > and i have a bash script to load that application
> >
> > now what would be the line in myActivity.info file that will execute
> > that run.sh script
> >
> > i am unable to figure it out from the wiki pages
> >
> > Regards
> >
> > --
> > Waqas Toor
> > member of Ubuntu Pakistani Team
> > [EMAIL PROTECTED]
> > http://www.ubuntu-pk.org
> >
> > Linux *is* user friendly. It's just selective about who its friends
> > are.
> > In a world without walls and fences, who needs windows and Gates ?
> >
> > http://waqastoor.weblog.pk
> > (Registered Linux user #424056)
> > ref link http://counter.li.org/
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
>
>


-- 
Waqas Toor
member of Ubuntu Pakistani Team
[EMAIL PROTECTED]
http://www.ubuntu-pk.org

Linux *is* user friendly. It's just selective about who its friends are.
In a world without walls and fences, who needs windows and Gates ?

http://waqastoor.weblog.pk
(Registered Linux user #424056)
ref link http://counter.li.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Mandatory Changelogs

2007-10-29 Thread Simon McVittie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 27 Oct 2007 at 18:55:34 -0400, Michael Stone wrote:
> Dear Sugar and Devel,
> 
> ChangeLogs in the format described on 
> 
>   http://wiki.laptop.org/go/Build_system#ChangeLog_Format
> 
> are now MANDATORY for package inclusion. Please write yours.

How does this work for Koji users? I build the OLPC Telepathy components
for what-was-FRS-last-time-I-looked in the OLPC-2 stream in Koji.

Will they be integrated into Joyride automatically, or do I have to download
the RPMs (assuming that's even possible) and re-upload them via my public_rpms?

If they're integrated automatically, how and where do I write
changelogs? I'm happy to write the RPM %changelog in the desired format
if that's what you want...

Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFHJbPmWSc8zVUw7HYRAu7uAJ48urtIwmlI4/MMSsgxNBYD7OAcEgCfbwp3
vj+9tWFehBxQ7azm1xJYYFk=
=BF29
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [sugar] CODE FREEZE COMING!

2007-10-29 Thread Morgan Collett
Jim Gettys wrote:
> During this week, October 26 through November 1:
> 
> You should be substantially complete with your development at
> this date (October 26).
> 
> If you are not:
> 
> You MUST notify the community of any significant code you expect
> will change in the next week.
> 
> To do this, you MUST create a ticket, tagged "killjoy?" in the
> keywords field. You MUST briefly justify your recommendation.
> You MUST include the date you expect your change will be
> available for testing in the "joyride" build.  This date MUST be
> before November 2.

http://dev.laptop.org/milestone/XM%20-%20killjoy shows Nov 2 as Feature
Freeze, and Nov 16 as Code Freeze.

You've specified a lot of process, assuming the roadmap dates are
authoritative and we aren't in feature freeze yet...

Which dates are correct?

Regards
Morgan
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 146

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build146/ 
devel_jffs2/

< Chat-25.xo
< Connect-15.xo
> Chat-28.xo
> Connect-16.xo

-- 
  This email was automatically generated
  Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 146

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build146/devel_jffs2/

< Chat-25.xo
< Connect-15.xo
> Chat-28.xo
> Connect-16.xo

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [sugar] CODE FREEZE COMING!

2007-10-29 Thread Ivan Krstić
Hi Morgan,

On Oct 29, 2007, at 9:21 AM, Morgan Collett wrote:
> You've specified a lot of process, assuming the roadmap dates are
> authoritative and we aren't in feature freeze yet...
> Which dates are correct?

apologies, there's quite a bit of confusion surrounding dates and  
releases. We expect to issue a complete clarification later today.

Cheers,

--
Ivan Krstić <[EMAIL PROTECTED]> | http://radian.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activity bundle Query

2007-10-29 Thread Bernardo Innocenti
On 10/29/07 04:43, Bert Freudenberg wrote:

>   http://wiki.laptop.org/go/Low-level_Activity_API

I wonder if the DBus SetActive() interface could be replaced
by something X based such as the VisibilityNotify event.

This would minimize the amount of work involved in ports of
existing applications, and would allow unmodified binaries
to integrate in our environment... at least in trivial cases.


> Also note that 1.0 is officially not called 1.0 anymore but instead  
> FRS, First Deployment, XM, Killjoy, take your pick. I just could not  
> make up my mind yet which of these designations I dislike the least.

Same feeling here.  Moreover, they told me the name FRS
has been canceled too, and we have a new Reload milestone
now.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activity bundle Query

2007-10-29 Thread Ivan Krstić
On Oct 29, 2007, at 12:21 PM, Bernardo Innocenti wrote:
> Same feeling here.  Moreover, they told me the name FRS
> has been canceled too, and we have a new Reload milestone
> now.

Sorry. We'll clear this up shortly.

--
Ivan Krstić <[EMAIL PROTECTED]> | http://radian.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activity bundle Query

2007-10-29 Thread Marco Pesenti Gritti
On 10/29/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote:
> On 10/29/07 04:43, Bert Freudenberg wrote:
>
> >   http://wiki.laptop.org/go/Low-level_Activity_API
>
> I wonder if the DBus SetActive() interface could be replaced
> by something X based such as the VisibilityNotify event.

Active as a slightly different meaning. An activity is still active
when you change the zoom level to home/mesh views.

Marco
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: #4486 NORM Never A: Build 622 and firmware Q2D02 upgrade on a B4 system

2007-10-29 Thread Hartwell Fong
>  Hartwell,
> 
>  Why did you make a report?  reporting success to a
> bug tracking system isn't worthwhile

To Zarro Boogs per Child,

Thank for the feedback.


Regards,


Hartwell Fong

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Mandatory Changelogs

2007-10-29 Thread Michael Stone
Simon,

Thanks for your question. The short answer is that Koji and the
dropboxes are completely independent, parallel mechanisms for creating
binary RPM repositories to be composed by pilgrim into a build image.
Today, ChangeLogs are required only for packages included by the dropbox
mechanism. We are in discussions with folks who are knowledgable about
Koji (namely Dave Woodhouse and Dennis Gilmore) to produce a wrapper for
the Koji tag command that will record similar information. In the
meantime, writing detailed RPM changelogs that describe the purpose of
introducing the new package (in addition to any packaging changes) would
be enourmously useful.

Checking the source:

  
http://dev.laptop.org/git?p=users/cscott/pilgrim;a=blob;f=streams.d/olpc-development-yum-install.conf;hb=joyride

shows that Joyride is indeed configured to pull packages from the OLPC-2
Koji collection.

Best,

Michael

On Mon, Oct 29, 2007 at 10:20:22AM +, Simon McVittie wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Sat, 27 Oct 2007 at 18:55:34 -0400, Michael Stone wrote:
> > Dear Sugar and Devel,
> > 
> > ChangeLogs in the format described on 
> > 
> >   http://wiki.laptop.org/go/Build_system#ChangeLog_Format
> > 
> > are now MANDATORY for package inclusion. Please write yours.
> 
> How does this work for Koji users? I build the OLPC Telepathy components
> for what-was-FRS-last-time-I-looked in the OLPC-2 stream in Koji.
> 
> Will they be integrated into Joyride automatically, or do I have to download
> the RPMs (assuming that's even possible) and re-upload them via my 
> public_rpms?
> 
> If they're integrated automatically, how and where do I write
> changelogs? I'm happy to write the RPM %changelog in the desired format
> if that's what you want...
> 
> Simon
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
> 
> iD8DBQFHJbPmWSc8zVUw7HYRAu7uAJ48urtIwmlI4/MMSsgxNBYD7OAcEgCfbwp3
> vj+9tWFehBxQ7azm1xJYYFk=
> =BF29
> -END PGP SIGNATURE-
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 151

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build151/devel_jffs2/

< aspell-en.i386 50:6.0-7.fc7
< aspell.i386 12:0.60.5-3.fc7
< enchant.i386 1:1.3.0-1.fc6
< fribidi.i386 0:0.10.7-6.fc7
< hippo-canvas.i386 0:0.2.23-1.fc7
< hippo-canvas-python.i386 0:0.2.23-1.fc7
< hulahop.i386 0:0.2-0.22.20071013git47eec13acd
> hippo-canvas.i386 0:0.2.24-2.olpc2
> hippo-canvas-python.i386 0:0.2.24-2.olpc2
> hulahop.i386 0:0.3-1.olpc2
< libabiword.i386 0:2.6.0.svn20071027-1
< libabiword-plugins.i386 0:2.6.0.svn20071027-1
< mailcap.noarch 0:2.1.23-2.marco
> mailcap.noarch 0:2.1.23-1.fc6
< pyabiword.i386 0:0.6.0.svn20071027-1
< wv.i386 0:1.2.4-1.fc7

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: list of rouge packages

2007-10-29 Thread Marco Pesenti Gritti
On 10/29/07, John (J5) Palmieri <[EMAIL PROTECTED]> wrote:
> Avahi
>
> smcv is ontop of this
>
> owner: dcbw (Dan Williams)
>
> tmprepo:
>
> avahi-0.6.20-5.fc7.i386.rpm
> avahi-autoipd-0.6.20-5.fc7.i386.rpm
> avahi-compat-libdns_sd-0.6.20-5.fc7.i386.rpm
> avahi-dnsconfd-0.6.20-5.fc7.i386.rpm
> avahi-glib-0.6.20-5.fc7.i386.rpm
> avahi-tools-0.6.20-5.fc7.i386.rpm
> avahi-ui-0.6.20-5.fc7.i386.rpm

This is a F-7 build which has not yet been pushed as an update. It's
currently in my public_rpms. Maybe we can just tag this one once we
setup a branch for killjoy?

> dbus-python
>
> http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.3.tar.gz 
> needs to be pushed to F7 or branched for OLPC-2
>
> owner: J5 (John (J5) Palmieri)
>
> tmprepo:
>
> dbus-python-0.82.1-2.fc7.i386.rpm

Same as above.

> gtksourceview2
>
> This needs to get into the repo and forked for OLPC-2 (might be in F-8).
> It can't get into F7.
>
> owner: cjb (Chris Ball)
>
> tmprepo:
>
> gtksourceview2-1.90.3-3.olpc2.i386.rpm
> pygtksourceview-1.90.3-1.fc8.i386.rpm

Yeah. Once this is done please let me know and I'll remove them from
my public_rpms.

I'll add another few from my public_rpms to this list:

pygobject2-2.14.0-1.fc7.i386.rpm

We need an OLPC-2 branch and rebuild the F-8 package there.

wpa_supplicant-0.5.7-4.fc7.i386.rpm

I think Dan was going to push this as an update. If it doesn't happen
I guess we can tag it when we have a killjoy branch.

Marco
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


list of rouge packages

2007-10-29 Thread John (J5) Palmieri
Dennis,

Here is a list of the rouge packages, with notes, not yet in the build
system or needing update there.  I gathered this from the trial-3 tmp
repo so joyride may have more and newer packages and some of these may
be obsolete.

I am cc'ing the devel list so others can correct the list and add
locations of the SRPMS.

Avahi 

smcv is ontop of this

owner: dcbw (Dan Williams)

tmprepo:

avahi-0.6.20-5.fc7.i386.rpm
avahi-autoipd-0.6.20-5.fc7.i386.rpm
avahi-compat-libdns_sd-0.6.20-5.fc7.i386.rpm
avahi-dnsconfd-0.6.20-5.fc7.i386.rpm
avahi-glib-0.6.20-5.fc7.i386.rpm
avahi-tools-0.6.20-5.fc7.i386.rpm
avahi-ui-0.6.20-5.fc7.i386.rpm

bootanim

Needs to be added to OLPC-2 though it may be a one-off that is replaced
later down the road

owner: cscott (C. Scott Ananian)

tmprepo:
bootanim-0.12-1.i386.rpm

dbus-python

http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.3.tar.gz 
needs to be pushed to F7 or branched for OLPC-2

owner: J5 (John (J5) Palmieri) 

tmprepo:

dbus-python-0.82.1-2.fc7.i386.rpm

etoys

This is in review at https://bugzilla.redhat.com/show_bug.cgi?id=247984
and 
https://bugzilla.redhat.com/show_bug.cgi?id=247983

Issue involves refusal to sign CLA which might be resolved via an
olpc-cla agreement. Solution for now might be to review the packages and
have someone else get them into Fedora. Build manager also needs to keep
ontop of olpc-cla to make sure it goes through if needed.

owner: bertf(Bert Freudenberg)

tmprepo:

etoys-2.1.1664-1.noarch.rpm
squeak-vm-3.9-11olpc5.i386.rpm

gtksourceview2

This needs to get into the repo and forked for OLPC-2 (might be in F-8).
It can't get into F7.

owner: cjb (Chris Ball)

tmprepo:

gtksourceview2-1.90.3-3.olpc2.i386.rpm
pygtksourceview-1.90.3-1.fc8.i386.rpm

evince-olpc

Should be merged into evince and pushed eventually.

owner: marcopg (Marco Pesenti Gritti)

tmprepo:

evince-olpc-0.3-1.i386.rpm

fonts-thai-ttf

Need to get this into Fedora.  Talk to Bernie because he pushed through
the other fonts.

Owner: bernie (Bernardo Innocenti)

tmprepo:

fonts-thai-ttf-0.4.4-1olpc1.2.noarch.rpm

libabiword

This is a library UI split of abiword which is the future of abiword
development.  Marc has Fedora dev access and said he wants to get this
in though it most certainly can't go into F7.  F8 is frozen so if it
isn't there now it needs to get into OLPC-2.   It would be nice if it is
parallel installable with monolithic abi. 

Owner: uwog(Marc Maurer)

tmprepo:

libabiword-2.5.2.svn20070910-1.i386.rpm
libabiword-plugins-2.5.2.svn20070910-1.i386.rpm

libertas-usb8388-firmware

This needs to be pushed in all Fedoras.  There is still issues with how
upstream names their tarballs which tend to change from release to
release.  Legal has already vetted the license and the Fedora board has
accepted it.

Owner: J5 (John (J5) Palmieri)

tmprepo:

libertas-usb8388-firmware-5.110.19.p0-1.olpc1.noarch.rpm

olpcrd

As is it would never get past Fedora package review.  Need to work with
C Scott to figure out what we should do here.  One option is to have
pilgrim build this since we want to eventually run the system python
from here for memory saving reasons.

owner: cscott (C. Scott Ananian)

tmprepo:

olpcrd-0.32-1.20071018git072ad8e70b.i386.rpm

olpccontents

I'm not sure exactly what is in this and how it is different from
olpc-utils or olpc-logos.  C. Scott uploaded it so he would be good to
talk to about if this is something that can be merged into an existing
package or we need to create a new package.

owner: cscott (C. Scott Ananian)

tmprepo:

olpccontents-1.0-1.20070925git30cbb9db3b.i386.rpm

pyvserver

In review at https://bugzilla.redhat.com/show_bug.cgi?id=250463
pyvserver-1.0-0.3.fc7.noarch.rpm - almost done but needs to be pushed
that extra mile and then built into OLPC-2

owner: mstone (Michael Stone)

tmprepo:

pyvserver-1.0-0.3.fc7.noarch.rpm

rainbow

Already in Fedora but needs pyvserver to build newer version.

owner: mstone (Michael Stone)

tmprepo:

rainbow-0.6.6-1.fc7.noarch.rpm

X components

These need to be forked.  Also Bernie eventually wants to get the newer
X in though timing needs to be right for that.

owner: bernie (Bernardo Innocenti)

tmprepo:

xorg-x11-drv-evdev-1.1.5-1.olpc2.i386.rpm
xkeyboard-config-1.0-0.11.20070829cvs.olpc2.noarch.rpm

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: #4444 BLOC V1.1: Measure peggs 100% even when in background

2007-10-29 Thread Zarro Boogs per Child
#: Measure peggs 100% even when in background
---+
  Reporter:  arjs  |   Owner:  arjs   
  Type:  defect|  Status:  closed 
  Priority:  blocker   |   Milestone:  V1.1   
 Component:  measure-activity  | Version: 
Resolution:  fixed |Keywords:  relnote
  Verified:  0 |  
---+
Changes (by arjs):

 * cc: devel@lists.laptop.org (added)
  * status:  new => closed
  * resolution:  => fixed


Comment:

 (Adding [EMAIL PROTECTED] at the time of closing this blocker bug)

 Fixed in Release 12.


 Overview of solution implemented:
 When Activity becomes inactive, gobject timeout is disabled that was being
 used to queue up the expose event for drawing.


 Relevant Commitdiff is here:
 
http://dev.laptop.org/git?p=projects/measure;a=commitdiff;h=e32d0c5d60166008c5bb660c306786146f20e8af

-- 
Ticket URL: 
One Laptop Per Child 
OLPC bug tracking system
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Notify active event firing

2007-10-29 Thread Arjun Sarwal
Say I have Activity A and I then go to Home View and open Activity B. At
which point of opening of Activity B, does Activity A get to know that it is
a background activity (inactive Activity) ?
Is it immediately upon clicking the icon of Activity B ?

thanks,
Arjun

-- 
Arjun Sarwal <[EMAIL PROTECTED]>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: is there space for Space for a joyride?

2007-10-29 Thread Polychronis Ypodimatopoulos
about 100kb.

Pol

Bernardo Innocenti wrote:
> Polychronis Ypodimatopoulos wrote:
>
>   
>> If there is still interest in the Space activity (layout of tree of 
>> neighbors according to distance) entering Joyride, do you need an .xo 
>> file or an .rpm?
>> 
>
> How big is the bundle?
>
>   
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: is there space for Space for a joyride?

2007-10-29 Thread Bernardo Innocenti
Polychronis Ypodimatopoulos wrote:

> If there is still interest in the Space activity (layout of tree of 
> neighbors according to distance) entering Joyride, do you need an .xo 
> file or an .rpm?

How big is the bundle?

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New joyride build 153

2007-10-29 Thread Bernardo Innocenti
Build Announcer Script wrote:

> --- libabiword.i386 2.6.0.svn20071027-1 ---
> - Updates for abiword 2.6
> - New upstream snapshot
> --- libabiword-plugins.i386 2.6.0.svn20071027-1 ---
> - Updates for abiword 2.6
> - New upstream snapshot
> - Add the loadbindings plugin
> --- pyabiword.i386 0.6.0.svn20071027-1 ---
> - Move from cvs to svn

Is there a chance that these could fix this?

  http://bugzilla.abisource.com/show_bug.cgi?id=11190

It's needed for proper Ethiopian support.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


layer-2 ping?

2007-10-29 Thread Polychronis Ypodimatopoulos
anyone has done/seen a layer-2 ping (from one MAC to the other directly)

Pol
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: layer-2 ping?

2007-10-29 Thread scott


On Mon, 29 Oct 2007, Polychronis Ypodimatopoulos wrote:

> anyone has done/seen a layer-2 ping (from one MAC to the other directly)

its called arping.

from the debian package description:

"Description: sends IP and/or ARP pings (to the MAC address)
 The arping utility sends ARP and/or ICMP requests to the specified host
 and displays the replies. The host may be specified by its hostname,
 its IP address, or its MAC address."

Scott

>
> Pol
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Music on the XO

2007-10-29 Thread Seth Woodworth
Slightly off of the conversational thread here but: Information on the
specific output spectrum capabilities might improve transcoding of audio
files into smaller file sizes.  If there is no, or poor quality, auditory
response below or above a given threshold, it might be worth snipping off
various frequencies, or otherwise optimizing how materials are encoded to
take advantage of this.

Is Jamendo, or anyone else, studying this?

And Re: above conversation.  Yes, I would love to see ethnologists get
involved.  The at the moment I don't believe is a lack of effort on anyone's
part, but a lack of available material.  Go to most university's music
libraries and you will still find plenty of content in vinyl format as
opposed to cd-audio or digital formats.  Getting recordings made or existing
recordings released into the public domain is an important project, and one
of the main topics of a "What should Wikipedia do with $100 Million dollars"
thread about a year back.

I believe that just about everyone is on the same page here as far as what
they would *like* to see on the OLPC.  In the meantime I think that the
current selections are far better than nothing..

Seth

On 10/28/07, Jean Piché <[EMAIL PROTECTED]> wrote:
>
> >
> > If I may summarize, what you are saying is that:
> >
> > a) Given that this is about education, OLPC should be taking the
> > cultural high road in terms of bundled music.
>
> yes.
>
>
> > b) The perception that acceptable licensing terms will be difficult
> > to impossible to obtain should not get in the way of a)
>
> yes.
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: list of rouge packages

2007-10-29 Thread John (J5) Palmieri

On Mon, 2007-10-29 at 20:23 +0100, Marco Pesenti Gritti wrote:
> On 10/29/07, John (J5) Palmieri <[EMAIL PROTECTED]> wrote:
> > Avahi
> >
> > smcv is ontop of this
> >
> > owner: dcbw (Dan Williams)
> >
> > tmprepo:
> >
> > avahi-0.6.20-5.fc7.i386.rpm
> > avahi-autoipd-0.6.20-5.fc7.i386.rpm
> > avahi-compat-libdns_sd-0.6.20-5.fc7.i386.rpm
> > avahi-dnsconfd-0.6.20-5.fc7.i386.rpm
> > avahi-glib-0.6.20-5.fc7.i386.rpm
> > avahi-tools-0.6.20-5.fc7.i386.rpm
> > avahi-ui-0.6.20-5.fc7.i386.rpm
> 
> This is a F-7 build which has not yet been pushed as an update. It's
> currently in my public_rpms. Maybe we can just tag this one once we
> setup a branch for killjoy?
> 
> > dbus-python
> >
> > http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.3.tar.gz 
> > needs to be pushed to F7 or branched for OLPC-2
> >
> > owner: J5 (John (J5) Palmieri)
> >
> > tmprepo:
> >
> > dbus-python-0.82.1-2.fc7.i386.rpm
> 
> Same as above.

There is a newer version of this upstream that should go in.  That is
the only reason I haven't pushed this in F-7.  I should do this and push
it.  Doing it now.

-- 
John (J5) Palmieri <[EMAIL PROTECTED]>

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


log-collect / log-send

2007-10-29 Thread Pascal Scheffers

I've created a rough-cut log-collector, it's in d.l.o/git/project/log- 
activity/log-collect.py

For now, it just outputs some system info, tell me what's missing or  
what would be interesting to include?

I don't know yet how to list installed activities... would that be  
just `ls /usr/share/activities/`? Or is there a package list?

And then the main purpose: sending logs to OLPC, either using http- 
post or email or usb-stick or... but what logs should I collect? Just  
all of them? ~/.sugar/default/logs/* and /var/log/* ? Or should it be  
more selective?

And some information from the journal, perhaps?

What about privacy/sensitive information? Will there be any in the  
logs or system info?

- Pascal


Current log-activity.py output:

bios-version: Q2C18
uptime: 434169.21 430235.72
wireless_mac: 00-17-C4-05-2A-58
uuid: 8A401F4E-E312-47F9-96C8-A488C99BDA2F
localization: ??
kernel_version: Linux version 2.6.22-20071018.1.olpc.d4414541d2be66a  
([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat  
4.1.1-51)) #1 PREEMPT Thu Oct 18 11:44:14 EDT 2007
diskfree: 716 MB
laptop-info-version: 0.1
memfree: 63496 kB
serial-number: SHF7250025C
disksize: 1024 MB
keyboard: ??-??-??
olpc_build: OLPC build joyride 58 (stream joyride; variant devel_jffs2)
country: USA
board-revision: B4
motherboard-number: QTFLCA72400063
POWER_SUPPLY_NAME=olpc-battery
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_TECHNOLOGY=LiFe
POWER_SUPPLY_VOLTAGE_AVG=6792960
POWER_SUPPLY_CURRENT_AVG=0
POWER_SUPPLY_CAPACITY=97
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_TEMP=2508
POWER_SUPPLY_TEMP_AMBIENT=4300
POWER_SUPPLY_ACCUM_CURRENT=8390
POWER_SUPPLY_MANUFACTURER=BYD
POWER_SUPPLY_SERIAL_NUMBER=5d0d0100daff

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 153

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build153/devel_jffs2/

> aspell-en.i386 50:6.0-7.fc7
> aspell.i386 12:0.60.5-3.fc7
> binutils.i386 0:2.17.50.0.12-4
> enchant.i386 1:1.3.0-1.fc6
> fribidi.i386 0:0.10.7-6.fc7
> libabiword.i386 0:2.6.0.svn20071027-1
> libabiword-plugins.i386 0:2.6.0.svn20071027-1
< libraw1394.i386 0:1.2.1-10.fc7
> libraw1394.i386 0:1.2.1-11.fc7
> pyabiword.i386 0:0.6.0.svn20071027-1
< python-devel.i386 0:2.5-12.fc7
< python.i386 0:2.5-12.fc7
> python-devel.i386 0:2.5-14.fc7
> python.i386 0:2.5-14.fc7
< python-libs.i386 0:2.5-12.fc7
> python-libs.i386 0:2.5-14.fc7
< tar.i386 2:1.15.1-27.fc7
> tar.i386 2:1.15.1-28.fc7
< vnc.i386 0:4.1.2-18.fc7
< vnc-libs.i386 0:4.1.2-18.fc7
> vnc.i386 0:4.1.2-19.fc7
> vnc-libs.i386 0:4.1.2-19.fc7
> wv.i386 0:1.2.4-1.fc7
--- libabiword.i386 2.6.0.svn20071027-1 ---
- Updates for abiword 2.6
- New upstream snapshot
--- libabiword-plugins.i386 2.6.0.svn20071027-1 ---
- Updates for abiword 2.6
- New upstream snapshot
- Add the loadbindings plugin
--- pyabiword.i386 0.6.0.svn20071027-1 ---
- Move from cvs to svn

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


is there space for Space for a joyride?

2007-10-29 Thread Polychronis Ypodimatopoulos
If there is still interest in the Space activity (layout of tree of 
neighbors according to distance) entering Joyride, do you need an .xo 
file or an .rpm?

Pol
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


i18n & L10n anomalies

2007-10-29 Thread Xavier Alvarez
People,

Summary: L10n needs developers to push latest POT in d.l.o



In our drive to get the L10n (Pootle) server running, we are faced 
with the situation where enough POs are out-of-line with their 
corresponding POT (as highlighted by Ed Trager). Below is a 
sample list of them (stats were taken using pocount and a grep 
for the date). Dates match, strings & word count don't.

In order to standardize the POs we need that developers to make 
sure that their latest POT are in d.l.o. -- by doing [./setup.py 
genpot] within their activities. We want to avoid losing or 
having to discard previous translations as much as possible.

We think that the best way to track this is by filing a task 
ticket for each activity requesting the latest POT -- which we'll 
begin doing (unless there are objections).


Cheers,
Xavier


== Sugar ==
Msg WordPOT-Creation-Date
POT 42  63  2007-10-21 09:46-0700
-   --
ar.po   44  65  2007-10-21 09:46-0700
de.po   44  65  2007-10-21 09:46-0700
el.po   45  66  2007-10-21 09:46-0700
es.po   48  70  2007-10-21 09:46-0700
fr.po   52  80  2007-10-21 09:46-0700
ha.po   49  71  2007-10-21 09:46-0700
ig.po   49  71  2007-10-21 09:46-0700
it.po   60  99  2007-10-21 09:46-0700
mk.po   44  65  2007-10-21 09:46-0700
pl.po   52  80  2007-10-21 09:46-0700
pt_BR.po45  66  2007-10-21 09:46-0700
yo.po   49  71  2007-10-21 09:46-0700


== Journal ==
POT 40  65  2007-09-08 19:43+0200
-   --
es.po   50  79  2007-09-08 19:43+0200
fr.po   50  79  2007-09-08 19:43+0200


== Read / xbook ==
POT  6   7  2007-06-21 17:41+0200
-   --
pt.po   10  18  2007-06-21 17:41+0200


== Web / Browse ==
POT 13  24  2007-08-19 20:16+0200
-   --
es.po   14  26  2007-08-19 20:16+0200


== Write ==
POT  9  10  2007-06-21 17:33+0200
-   --
ar.po   36  58  2007-06-21 17:33+0200
de.po   36  58  2007-06-21 17:33+0200
el.po   36  58  2007-06-21 17:33+0200
fr.po   36  58  2007-06-21 17:33+0200
pt_BR.po36  58  2007-06-21 17:33+0200



-- 
XA
=
Don't Panic!  The Answer is 42
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: list of rouge packages

2007-10-29 Thread Bert Freudenberg

On Oct 29, 2007, at 20:01 , John (J5) Palmieri wrote:
> etoys
>
> This is in review at https://bugzilla.redhat.com/show_bug.cgi? 
> id=247984
> and
> https://bugzilla.redhat.com/show_bug.cgi?id=247983
>
> Issue involves refusal to sign CLA which might be resolved via an
> olpc-cla agreement. Solution for now might be to review the  
> packages and
> have someone else get them into Fedora. Build manager also needs to  
> keep
> ontop of olpc-cla to make sure it goes through if needed.
>
> owner: bertf(Bert Freudenberg)
>
> tmprepo:
>
> etoys-2.1.1664-1.noarch.rpm
> squeak-vm-3.9-11olpc5.i386.rpm

Versions that work in current Sugar are in the Joyride builds by way  
of ~bert/public_rpms/joyride (along with SRPMs).

And I am "bert" in Trac, "BertF" in IRC, and "bf" in Squeak code.

- Bert -

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Compiler optimization for Geode/Floating Point pipeline

2007-10-29 Thread Brian Carnes
The developers page on the wiki
(http://wiki.laptop.org/go/Developers_program) mentions:

"compiler optimization: if you are a compiler wizard, we understand that
the Geode lacks a specific back end code scheduler, which limits
performance, particularly FP performance. We'd love to see work go on in
this area which would help everyone."


What aspects of this issue/request for help are still open?  I'll go take
a look at the OLPC build system tonight to see what is being used (late
versions of GCC do have some Geode -mtune/-march modes), but would love to
be hooked into whatever project is addressing this

...Or start my own project if I'm the first to step to the plate on this
issue.  If anyone knows any particularly lengthy floating-point dominated
operations in the current software, let me know and we'll use them as our
metric for improvement.

Thanks,

  Brian


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 155

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build155/devel_jffs2/

< olpcrd.i386 0:0.33-0
> olpcrd.i386 0:0.34-0
< Measure-11.xo
> Measure-12.xo
< TamTamEdit-42.xo
< TamTamJam-42.xo
> TamTamEdit-43.xo
> TamTamJam-43.xo
< TamTamSynthLab-42.xo
> TamTamSynthLab-43.xo

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Announcing q2d03

2007-10-29 Thread Mitch Bradley
http://wiki.laptop.org/go/OLPC_Firmware_q2d03

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 157

2007-10-29 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build157/devel_jffs2/

< bootfw.i386 0:q2d02-0
> bootfw.i386 0:q2d03-0

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Request for Screen Reader Project Hosting

2007-10-29 Thread Danny Clark
Done; the project is "screen-reader" in git -
http://dev.laptop.org/git?p=projects/screen-reader;a=summary

BTW are you all on the accessability list? -
http://lists.laptop.org/listinfo/accessibility

On 10/28/07, Hemant Goyal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would request the development team to kindly provide us with project
> hosting capabilities for our Screen Reader Project.
>
> Here is the application with all the required data.
>
> 1. Project name : Screen Reader
> 2. Existing website, if any : http://wiki.laptop.org/go/Screen_Reader
> 3. One-line description : A Screen Reading Service for the XO
>
> 4. Longer description   :
> The project aims to develop a global screen reading service for the xo. A
> user can highlight text and use a keyboard shortcut and or a button in the
> sugar environment to perform text to speech
> synthesis.
> 5. URLs of similar projects : live.gnome.org/LSR
>
> 6. Committer list
>Please list the maintainer (lead developer) as the first entry. Only
> list
>developers who need to be given accounts so that they can commit to
> your
>project's code repository, or push their own. There is no need to list
>non-committer developers.
>
>   Username   Full name SSH2 key
> URLE-mail
>    -
> --
>#1 hemantgoyal  Hemant Goyal  http://www.nsitonline.in/hemant
> /hemantgoyal.pub  [EMAIL PROTECTED]
>#2 assimd  Assim Deodia
> http://www.nsitonline.in/assim/assim.pub
> [EMAIL PROTECTED]
>
>
> 7. Preferred development model
>
>[X] Central tree. Every developer can push his changes directly to the
>project's git tree. This is the standard model that will be
> familiar to
>CVS and Subversion users, and that tends to work well for most
> projects.
>
>[ ] Maintainer-owned tree. Every developer creates his own git tree, or
>multiple git trees. He periodically asks the maintainer to look at
> one
>or more of these trees, and merge changes into the
> maintainer-owned,
>"main" tree. This is the model used by the Linux kernel, and is
>well-suited to projects wishing to maintain a tighter control on
> code
>entering the main tree.
>
> 8. Set up a project mailing list:
>
>[ ] Yes, named after our project name
>[ ] Yes, named __
>[X] No
>
>
> 9. Commit notifications
>
>[ ] Notification of commits to the main tree should be e-mailed to the
> list
>we chose to create above
>[ ] A separate mailing list, -git, should be created for
> commit
>notifications
>[X] No commit notifications, please
>
>
> 11. Notes/comments:
>
> We would really appreciate it if the process is sped up keeping the fact
> that Code Freeze is going to happen soon.
>
> Thanks
>
> --
> Hemant
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>


-- 
Daniel Clark # Sys Admin, One Laptop per Child
# http://laptop.org  # http://opensysadmin.com
# http://planyp.us/djbclark # http://dclark.us
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New build 623

2007-10-29 Thread Build Announcer Script
Build 623 ChangeLog
Base OS:
- kernel - 2.6.22 - 20071029.2.olpc.9ac5c83191d8b48
* additional jffs2 sanity checking to work around bugs in hard link 
breaking
* a libertas patch to support having the wireless use less power (via
   beacon interval settings)
* another libertas patch to decouple mesh and regular interface
   association; without this, we'd randomly lose connectivity.  
- olpcrd - 0.34
* remove the 'setattr' command in the first-boot path
* replace the setattr command with /bin/true for now 
- bootfw - q2d03
* new ofw version
Activities:
- Paint - 12
* Journal is now used to import images - using Sugar's ObjectChooser 
(alexandre)
* Drawing area now fits usable area (alexandre)
* Fixed bug in "Insert Image" (andre)
* Added rotate (andre)
* Now effects can be used in selection (andre)

-- 
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/changelogs
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Signed build 623

2007-10-29 Thread C. Scott Ananian
A signed image for build 623 is at:
http://dev.laptop.org/~cscott/signed-623/
for those of you testing with security enabled.
  --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: low-memory testing

2007-10-29 Thread James Cameron
On Sun, Oct 28, 2007 at 11:23:13PM -0400, Albert Cahalan wrote:
> Current OOM score: /proc/*/oom_score
> Adjustment: /proc/*/oom_adj
> 
> Adjustments run from -17 (never kill) to 15.
> 
> Starting each activity with oom_adj=15 would
> be a good start.

I've just tried something like that, and it worked nearly as well as I
hoped.

Build 623, on B4.  Started a Sugar Console, hid it again, started
Browse, then in an SSH session I set the Browse oom_adj to 15, left
everything else as it was, and ran a fork-bomb consisting of a bash
script that invokes itself.

http://dev.laptop.org/~quozl/2007-10-30-os-623-b4-oom-dmesg.txt

This shows the first to be killed was Browse, which was my intention.

It did take a fair while for it to happen though, during which the
system was very unresponsive.

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: log-collect / log-send

2007-10-29 Thread C. Scott Ananian
On 10/29/07, Pascal Scheffers <[EMAIL PROTECTED]> wrote:
>
> I've created a rough-cut log-collector, it's in d.l.o/git/project/log-
> activity/log-collect.py
>
> For now, it just outputs some system info, tell me what's missing or
> what would be interesting to include?

My list from the whiteboard here (some of this you may already be including):
  a) the current date and time on the machine (in case the clock is
set far to the future or past)
  b) what OS build?  What firmware build? (i think you've got these already)
  c) output of /usr/bin/uptime
  d) network statistics -- can it reach www.laptop.org?  what DNS is it using?
   basically, the output of /sbin/ifconfig, /sbin/route -n, and
the contents of /etc/resolv.conf.

> I don't know yet how to list installed activities... would that be
> just `ls /usr/share/activities/`? Or is there a package list?

/usr/share/activities and /home/olpc/Activities.  Sugar might also
provide an enumeration; I don't know.

> And then the main purpose: sending logs to OLPC, either using http-
> post or email or usb-stick or... but what logs should I collect? Just
> all of them? ~/.sugar/default/logs/* and /var/log/* ? Or should it be
> more selective?

Probably the last 1k or so of each log, but there may be a --full
command-line option to include the whole thing.  I'd say http post is
probably the most robust, but if the problems have to do with network
connectivity, they'll want to put the logs on a USB stick or SD card.

> What about privacy/sensitive information? Will there be any in the
> logs or system info?

Don't include the UUID.  Other stuff should be okay.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: is there space for Space for a joyride?

2007-10-29 Thread C. Scott Ananian
i believe we need an rpm, because space has dependencies and a daemon component.

but, yes -- given the rpm there is definitely a desire to add it to joyride.
  --scott

On 10/29/07, Polychronis Ypodimatopoulos <[EMAIL PROTECTED]> wrote:
> about 100kb.
>
> Pol
>
> Bernardo Innocenti wrote:
> > Polychronis Ypodimatopoulos wrote:
> >
> >
> >> If there is still interest in the Space activity (layout of tree of
> >> neighbors according to distance) entering Joyride, do you need an .xo
> >> file or an .rpm?
> >>
> >
> > How big is the bundle?
> >
> >
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>


-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Compiler optimization for Geode/Floating Point pipeline

2007-10-29 Thread Edward Cherlin
I don't know about the internals of current activities in Python, but
I know where you can find reams of array code in C, FORTRAN, and other
languages in 3D graphics libraries (4 x 4 matrix multiplication
especially), multimedia compression and decompression, cryptography
(particularly RSA exponentiation, but also elliptic curve
cryptography, ssh key exchange, and others), audio and image
processing (lots of convolutions), font rendering (quadratic and cubic
splines), and other computationally intensive domains. The more we do
on this front now, the better for the older students when they come to
modeling, numeric integration, linear programming, linear algebra,
computational molecular biology, and so on and on and on.

I believe the GNU compilers use a common intermediate format and code
generator for a variety of languages. Ah, here we go.
http://gcc.gnu.org/ "The GNU Compiler Collection includes front ends
for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries
for these languages (libstdc++, libgcj,...)." There are over 1,000
hits on Geode in their archive. For example,

-mtune=cpu-type
...
geode
Embedded AMD CPU with MMX and 3dNOW! instruction set support.

While picking a specific cpu-type will schedule things appropriately
for that particular chip, the compiler will not generate any code that
does not run on the i386 without the -march=cpu-type option being
used.
...
-march=cpu-type
Generate instructions for the machine type cpu-type. The choices
for cpu-type are the same as for -mtune. Moreover, specifying
-march=cpu-type implies -mtune=cpu-type.


Interesting. It appears that much of the necessary work has been done,
and we could get fairly good results if we just set up a small compile
farm and comb through our current code base. With plenty of regression
testing, of course. I have machine time to spare, and would be happy
to recruit at the local LUGs. Or we could talk to distributed.net and
BOINC. Much more performance would remain to be wrung out by rewriting
small sections of some kinds of code, and presumably the true wizards
could find more code generation optimizations than we have yet seen
here.

Does anybody know how we handle signal processing in the Tamtam
software synth? The Fast Fourier Transforms for going from time domain
to frequency domain in the data visualization activity are a prime
target. It's all multiply-accumulate except for the bit twiddling.

What is the theoretical performance of the Geode LX for various kinds
of arithmetic? What performance are we getting?

On 10/29/07, Brian Carnes <[EMAIL PROTECTED]> wrote:
> The developers page on the wiki
> (http://wiki.laptop.org/go/Developers_program) mentions:
>
> "compiler optimization: if you are a compiler wizard, we understand that
> the Geode lacks a specific back end code scheduler, which limits
> performance, particularly FP performance. We'd love to see work go on in
> this area which would help everyone."
>
>
> What aspects of this issue/request for help are still open?  I'll go take
> a look at the OLPC build system tonight to see what is being used (late
> versions of GCC do have some Geode -mtune/-march modes), but would love to
> be hooked into whatever project is addressing this
>
> ...Or start my own project if I'm the first to step to the plate on this
> issue.  If anyone knows any particularly lengthy floating-point dominated
> operations in the current software, let me know and we'll use them as our
> metric for improvement.
>
> Thanks,
>
>   Brian
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>


-- 
Edward Cherlin
Earth Treasury: End Poverty at a Profit
http://wiki.laptop.org/go/Earth_Treasury
Sustainable MBA student
Presidio School of Management
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Compiler optimization for Geode/Floating Point pipeline

2007-10-29 Thread Rob Savoye
On Mon, Oct 29, 2007 at 03:33:22PM -0700, Brian Carnes wrote:

> What aspects of this issue/request for help are still open?  I'll go take
> a look at the OLPC build system tonight to see what is being used (late
> versions of GCC do have some Geode -mtune/-march modes), but would love to
> be hooked into whatever project is addressing this
 
  There is more info on geode optimizations for GCC and glibc at:
http://wiki.gnashdev.org/wiki/index.php/Building_OLPC_Tools. There is some
minor tweaking of the optimizer for the geode, it's mostly treated as a
pentium class processor. While it could be better, with these patches it's
still better than the default of pentium. Anyway, I'd love to work with folks
that are also into shaving cycles whereever possible.

- rob -

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Compiler optimization for Geode/Floating Point pipeline

2007-10-29 Thread Adrian Chadd

(I'll stay lurking for the most part, I thought I'd just put in my 2c)

On Mon, Oct 29, 2007, Rob Savoye wrote:
> On Mon, Oct 29, 2007 at 03:33:22PM -0700, Brian Carnes wrote:
> 
> > What aspects of this issue/request for help are still open?  I'll go take
> > a look at the OLPC build system tonight to see what is being used (late
> > versions of GCC do have some Geode -mtune/-march modes), but would love to
> > be hooked into whatever project is addressing this
>  
>   There is more info on geode optimizations for GCC and glibc at:
> http://wiki.gnashdev.org/wiki/index.php/Building_OLPC_Tools. There is some
> minor tweaking of the optimizer for the geode, it's mostly treated as a
> pentium class processor. While it could be better, with these patches it's
> still better than the default of pentium. Anyway, I'd love to work with folks
> that are also into shaving cycles whereever possible.

Since you are lucky and target a fixed platform you could go the SGI/MacOSX
type route - provide the math functions above in a set of libraries and
then provide different libraries for CPU types - one for generic, one
optimised for the current processor of choice, etc.

You may have more luck with this over trying to rely on the compiler. There
may also be hand-optimised versions of general math functions, if they're
not included in the applications already.

(Of course, the first place to start is profiling..)

2c



Adrian

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC News 2007-10-27

2007-10-29 Thread Edward Cherlin
In some Irish family and place names Kill means boy (Gilroy, Kilroy,
MacGillivray, etc. E.g. Irish Gaelic Mac Giolla Ruaidh 'son of the
redhaired lad', similar to the name of the Scottish dance tune An
Gillie Ruach, The Redhaired Boy). So "Killjoy" can be thought of as
"fun for children", entirely appropriately for the XO.

On 10/27/07, Bert Freudenberg <[EMAIL PROTECTED]> wrote:
> > 14. Schedule: The upcoming releases have been renamed and re-purposed:
> >
> > Oct. 26:  "Trial-3" (Build 622) are the bits being loaded for mass
> > production. This was completed this week.
> >
> > Nov. 16:  "Reload" are bits that could possibly be loaded before
> > shipping laptops to individuals. We will hand pick blocking bug fixes
> > only if we need to.
> >
> > Dec. 07:  "Killjoy" (V1.0, previously referred to as FRS or First
> > Deployment) is a release based on the "Joyride" builds. This will
> > include bug fixes/minor features that are in Joyride today; and we are
> > actively moving some trac items to this release based on what we know
> > about in the next week. Feature freeze for this is next week; code
> > freeze the week after.
> >
> > Q1 2008:  "Future Release" (V1.1) is the release after Killjoy. Not
> > well defined. Right now it is where we moved all the features that
> > didn't make it into Killjoy.
> >
> > (See https://dev.laptop.org/roadmap for more info.)
> >
> > As we do the triage for these builds, we'd very much appreciate
> > community feedback as to what you think is important. Feel free to
> > send email to Walter Bender, Kim Quirk, or Jim Gettys in regard to
> > priorities.
>
> Not really important, but I cringe every time I read it - can we
> rename "Killjoy" to something more positively sounding?
>
> - Bert -
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>


-- 
Edward Cherlin
Earth Treasury: End Poverty at a Profit
http://wiki.laptop.org/go/Earth_Treasury
Sustainable MBA student
Presidio School of Management
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Reporting bugs

2007-10-29 Thread Albert Cahalan
Bert Freudenberg writes:

> I've had comments like this on some of my own reports. These are
> usually not reproducable, strange things. Having to follow through
> when this is far from my own area of expertise simply takes time I
> can't effort. There indeed is "lack of interest on the part of the
> reporter", no denial here. I'm just saying that because of that, I
> stopped reporting those one-off bugs. Seeing comments like yours
> reinforces that decision.

This is sad, but understandable.

What is a bug reporter supposed to do about something that is
very difficult to reproduce? Just not report it?

I've hit a few bugs that I can't seem to reproduce. This does
not mean the bugs are non-existant or that they won't someday
destroy something like a child's journal content.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Compiler optimization for Geode/Floating Point pipeline

2007-10-29 Thread Albert Cahalan
Edward Cherlin writes:

> I don't know about the internals of current activities in Python, but
> I know where you can find reams of array code in C, FORTRAN, and other
> languages in 3D graphics libraries (4 x 4 matrix multiplication
> especially), multimedia compression and decompression, cryptography
> (particularly RSA exponentiation, but also elliptic curve
> cryptography, ssh key exchange, and others), audio and image
> processing (lots of convolutions), font rendering (quadratic and cubic
> splines), and other computationally intensive domains.

Nearly all of that is done with integer math.

> The more we do
> on this front now, the better for the older students when they come to
> modeling, numeric integration, linear programming, linear algebra,
> computational molecular biology, and so on and on and on.

I don't think the Geode does computational molecular biology!

> Does anybody know how we handle signal processing in the Tamtam
> software synth? The Fast Fourier Transforms for going from time domain
> to frequency domain in the data visualization activity are a prime
> target. It's all multiply-accumulate except for the bit twiddling.

The FFT is needlessly slow on the XO because the XO does not
use FFTW and does not have pre-computed FFTW wisdom in /etc.

I've been meaning to set up a login for some of the FFTW people
so that they can benchmark and generally try things out. Maybe
somebody can beat me to it. An even better idea would be to drop
by their office (at MIT) with a XO.

TODO: ensure that 3DNow! is used, and see if the Geode-specific
instructions might be helpful. Spectral power wants a square root
if I remember right; there is a Geode-specific instruction for that.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel