Re: [Sugar-devel] compiled to .XO

2012-07-09 Thread S Page
On Fri, Jun 29, 2012 at 8:48 PM, Mikus Grinbergs mi...@bga.com wrote:

 Am attaching an copy of an email I sent earlier to someone with a question
 similar to yours.  IMHO that email provides a concise how-to guide to
 fashioning a bare-bones .xo package.

Great stuff.  Someone, be brave and aggressively update
http://wiki.sugarlabs.org/go/Running_Linux_Applications_Under_Sugar

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


Re: [Sugar-devel] [Testing] Fedora Sugar Test Day - Test case content, location

2012-03-03 Thread S Page
Hey all,

@Tabitha, I made your template prominent in
http://wiki.laptop.org/go/Activity_testing_template and continued the
archivist job of marking old stuff as {{obsolete|from 2008}}...

Is _anything_ under http://wiki.laptop.org/go/Tests still a useful
test case?  Maybe a mass delete or rename to Tests/old crap/Xyz is in
order?
A lot of those tests are linked from activity pages, e.g.
http://wiki.laptop.org/go/Memorize has a TST link, but most activities
have moved to sugarlabs.org where none (?) of them have testing
information.

@Sridhar, re:
 The main piece of advice I'm getting is that we need a good test case
 management system that allows for linking with defects. The links need
 to be able to be tracked, searched and sorted.

Passive voice is to be avoided.  Before spending time on features
like that, be very clear who exactly is going to use them. You can do
powerful querying on the 2008 w.l.o test cases, but... AFAICT nobody
cared! Maybe all you actually need is to add links to bug reports in
testing results, and in bug reports add links to the test case (if
any) the tester was following when the bug occurred.

On Sun, Feb 26, 2012 at 11:34, Samuel Greenfeld greenf...@laptop.org wrote:
...[lots]...
Thanks for the background, very perceptive.  As always I'm eager to
assist in the wiki side of things.

== Comments on various approaches ==

 In my case I've been told to use a spreadsheet.
(More passive voice, love it ;-)
Did you see the spreadsheet in
http://wiki.laptop.org/go/Community_testing_meetings/2008-11-06/Displaying_testing_metrics_in_motivating_ways
?
One nice thing about using a Google Docs spreadsheet is you can
publish a form front-end that anyone can use to add a row for a test
result, see Carl Klitscher's form front-end
https://spreadsheets.google.com/viewform?key=pyBIsSK_3IlsHBpwk1EFNcQ
? @Tabitha, were you among the Wellington testers that supposedly used
this? If so, did you like it?

I think the Sugar activity testing spreadsheet
https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dHpvZHhLeGRQYzc1cDlRZU9Mc1NldGc#gid=0
appends columns for each test result, which is not amenable to a form
front-end.

The Fedora Test Day approach on the //fedoraproject.org wiki
encourages tabular reporting of test results, but I haven't found a
page with any results,  e.g.
http://fedoraproject.org/wiki/Test_Day:2010-08-19_Sugar. It's
similar to the external spreadsheet approach. The choice between them
depends whether wiki linking (e.g. What links here to find out what
test days exercised a particular test case) is more important than
spreadsheet jockeying.

I think 
http://wiki.sugarlabs.org/go/Community/Distributions/Fedora-SoaS#Testing_Results
is pretty unusable. It would be much better to create a subpage for
each testing result, like SL.o used to e.g.
http://wiki.sugarlabs.org/go/SoaS/Testing/Soas2-200905031329 , and
then use {{subst:}} or Special:PrefixIndex to pull in or reference
these from other pages.

I summarized the four (so far!) ways sl.o has collected test results
in http://wiki.sugarlabs.org/go/SoaS/Testing .

Good luck,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread S Page
2012/2/2 Manuel Quiñones ma...@laptop.org:

 Am I overlooking something?  Comments?

Sounds good. But Browse already works similar to this on an XO-1
running 11.3.0. E.g. open a PDF Collection from the  OLPC Library
home page such as Big Cats or Activity Handbook, and it opens in
Browse in the current Browse window (not a new tab) and isn't added to
the Journal. Is your innovation the Save to Journal?  It seems the
same capability might be useful for other content types you see in the
browser, like video and audio.

One thing I regret is that Read is more usable than Browse in e-book
mode.  The game keys don't work the same in Browse, you have to be
careful to focus the Browse window in order to use the arrow keys,
there's less real estate for content. Somehow I've gotten PDFs to show
in the Journal, and from there I Resume with  Read for a better
reading experience.

Years ago there was mailing list discussion about how opening a URL in
Browse could hand it off to an activity that supports its mime type;
as I recall there were Rainbow security issues. Maybe your explicit
Save to Journal that implicitly saves the data to the XO's storage is
a better approach. In general Sugar has a hard time making useful 
intelligible distinctions between open  bookmark in Browse versus
open  manage in Journal, but that's true of every desktop I've yet
seen, all uneasily dealing with the web. IMO the problem goes away
best when you run *everything* in the browser ;-)

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


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread S Page
I wrote:
 Somehow I've gotten PDFs to show
 in the Journal, and from there I Resume with  Read for a better
 reading experience.

I think that was back when clicking a PDF in Browse (even in
~/Library) would download it into the Journal. When I tried to do this
with 11.3.0 I ran into a strange problem. While I'm viewing a PDF in
Browse, if I click the globe menu item I can name it e.g. Browsing to
solar system PDF and it creates a Journal entry with that name
associated with Browse. But I can also right-click on the Journal
entry and Resume with  Read, Write, or Etoys. Doing so presents some
Browse JSON data (current_tab, a history array of URLs, etc.) in Read
and Write, instead of showing me the PDF, even though Read can easily
access a PDF by URL. Meanwhile, I can only Resume or Start an actual
PDF in the Journal from Read, I can't view it in Browse.

I dunno if these are bugs or I'm misunderstanding the nature of
Journal entries. As I said, uneasily dealing with the web...  It's a
hard problem.

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


Re: [Sugar-devel] Packages size list 11.2.0 build 20

2011-06-30 Thread S Page
2011/6/29 S Page skierp...@gmail.com:

 0.72mb totem-pl-parser
 It looks like the totem music player's playlist facility is still
 using some tiny piece of Perl

I misremembered, its dependency was on evolution-data-server,
https://bugzilla.redhat.com/show_bug.cgi?id=456113 .

 11.61mb evolution-data-server
That's still there, but I think because gnome-panel-2.32 requires it,
and some other Gnome packages need libs from its package.

`rpm -e --test perl` suggests /usr/bin perl is needed by inkscape ,
but my rpm-foo is weak. Inkscape might also be the one pulling in
 6.54mb ImageMagick

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


Re: [Sugar-devel] Packages size list 11.2.0 build 20

2011-06-29 Thread S Page
2011/6/3 Yader Velásquez yajo...@gmail.com:
 I've written a shell script for get an orden list (mayor to minor) of the
 packages list with their size.
 I run it in a XO 1.0 with the build 20 of the 11.2.0. The idea is to make
 make the build smaller by getting rid of un-needed packages.

Awesome.  Assuming some of it is history repeating itself, see
https://dev.laptop.org/ticket/7353

Is there a Fedora equivalent of http://packages.ubuntu.com/ ?
https://admin.fedoraproject.org/pkgdb/ seems all administrivia, I
can't get requirements or file contents out of it.

 37.69mb perl
Something's always dragging Perl in, and OLPC engineers hack it out again.

 0.72mb totem-pl-parser
It looks like the totem music player's playlist facility is still
using some tiny piece of Perl, Daniel Drake made build hacks to remove
it that AIUI weren't accepted upstream. Before that Perl was pulled in
by gstream-plugins-base, libbonobo, etc.

 0.45mb perl-Pod-Simple
I believe XO's don't include any documentation this generates.

 1.77mb libbonobo
 1.21mb libbonoboui
 0.46mb ORBit2
Deprecated since Gnome 2.4 around 2007 and yet they're still around :-(

 10.29mb wxGTK
I think the Audacity app for Gnome is the only thing that requires the
wx toolkit.

 0.32mb rarian
 0.23mb rarian-compat
These produce documentation that isn't shipped on the XOs.  See
https://dev.laptop.org/ticket/8075

etc.  Good luck!  BTW, it's MB, not milli-bits :-)

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


Re: [Sugar-devel] Content bundles

2010-09-27 Thread S Page
On Fri, Sep 24, 2010 at 10:44 PM,  fors...@ozonline.com.au wrote:

 I have created a Pippy program to map sea surface temperature.

 http://wiki.sugarlabs.org/go/User:Tonyforster#Sea_Surface_Temperature_Mapping

 Because I wanted to distribute two files as one compressed download and also 
 because wiki.sugarlabs does not host *.py files, I decided to try a *.xol 
 content bundle. It also seemed like a good opportunity to learn about bundles.

 I am running OS373pyg

 I created a bundle http://wiki.sugarlabs.org/go/File:Sst.xol

 It turned out to be complex, not simple. Issues that arose were:

 It seems that you can not remove a content bundle once you install it. Even 
 deleting it in Terminal still leaves the menu in Browse.

Depends how you install it.  http://wiki.laptop.org/go/Collections
says 'In the Journal, navigate to the entry for the download of the
.xol bundle, hover over it, and choose Erase. When you view the OLPC
Library page in Browse, the content should be gone from the library
navigation.'  Removing from ~/Library certainly won't trigger the
rebuild of the home page library navigation.  There are other ways
removal can fail, e.g. SL bug 2283 You can't remove Library content
installed from a .xol on USB flash drive.
http://wiki.laptop.org/go/Creating_a_collection#How_do_you_uninstall_a_collection.3F
tells you how to rebuild the library navigation manually.

 Opening the bundle starts a redundant empty write session.
I don't know what you mean, it didn't for me in 10.1.2 on XO-1.

 Both of the files *.asc and *.py needed a right click to save them, left 
 click just opens a viewer, yes I understand why

 *.py files save to the journal as text/plain and Pippy will not open 
 text/plain, they need to be copied from Write to Pippy
In that case, why not left-click to open each file in Browse (it shows
their content as text), and copy from Browse (Ctrl-A, Ctrl-C) into
Pippy?

BTW, the index.html tells me to Keep Link, but there' s no such
command in Browse v.108 , I just see Download link.  That doesn't seem
to create a Journal entry, instead I think it leads to a Browse
Traceback from downloadmanager.save_link().

 The net result is a very complicated user experience. I just wanted to 
 download and uncompress two files as a single download. Am I missing 
 something simple?

http://wiki.laptop.org/go/Creating_a_collection says, Materials in a
collection that need to be run by an Activity other than Browse will
have to have a mime-type registered with the Browse activity so they
can launch from there.  I have no idea how to do this, that passive
voice is useless!  Pippy v.35 registers for the mime types
text/x-python and pickle/groupthink-pippy , Browse v.108's
activity.info doesn't mention either mime type.

Even if you could get Browse to associate your files with Pippy, I
don't think it would help.  Well over a year ago there was discussion
of directly launching applications by clicking on their files from
Browse, as I recall there were Rainbow security issues and concerns
about displacing the Journal.  I don't think Browse can do this.

If Sugar/the Journal actually associated a file extension with Pippy
the Journal might open your files directly in Pippy.  I can't see a
file extension for pickle/groupthink-pippy.

Collections are very browser-centric.  You could work with the browser
by converting your program from Python to JavaScript and present it in
a local web page that runs a JavaScript developer environment in the
browser.

I hope this helps, I'm just a user who has figured out a little about
collections.
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] bugs installing .xol library content from USB flash drive; status of .xol?

2010-09-03 Thread S Page
I ran into http://bugs.sugarlabs.org/ticket/1748 , Can't open library
bundles (.xol) from USB flash drive.  In the bug I suggest the
one-line Python fix, it seems worth considering for a 10.1.3 update.

But when you do this it seems you can never remove the content from
~/Library and the OLPC home page's expandable Library content, since
it doesn't show in the Journal. I filed
http://bugs.sugarlabs.org/ticket/2283 , you can't remove Library
content installed from a .xol on USB flash drive

So maybe the feature should be removed in favor of the workarounds in bug 1748:
* drag the .xol into the Journal, then open from there
* navigate to the .xol in Browse using file:///media, and download from there

Other .xol issues:
bug  #470  , no icon for .xol files
bug #1354 , no metadata in the Journal for .xol files
bug #1258 , you can view  HTML content in ZIP files without unpacking
or installing them  (more an enhancement, but so damn cool!)

There was Sugar talk about unifying content and activities so these
bugs would go away, what's the status?  Is
http://wiki.sugarlabs.org/go/User:Alsroot/trash/Unified_Objects really
in the trash? 8-/

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


[Sugar-devel] wanting to try recent Sugar, problems

2010-08-31 Thread S Page
I have an XO-1 running OLPC's build os852 (10.1.2 release candidate
that incorporates Sugar 0.84.16) and a desktop PC running Kubuntu
Lucid 10.04.

I wanted to see how the library and Browse work in recent Sugar. I
downloaded the weekly testing soas-i386-20100826.15.iso from
http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Beta

* I tried booting a Fedora VirtualBox machine from this .iso. After
network manager eth0 configuration messages the screen stays black for
hours.  garycmartin on IRC had the same experience, thought it might
be a gfx issue between Fedora and VirtualBox.

* Can an XO-1 boot from this .iso if I turn it into a Live USB?
Supposedly the F13 glibc incompatibility with Geode was fixed  in July
( https://bugzilla.redhat.com/show_bug.cgi?id=579838 -- great stuff
from Dont Close Unfixed Bugs who must be John Gilmore in a mask ;-)
).

* I tried to get Sugar jhbuild to work on Kubuntu several months ago,
I never succeeded and it left me with package incompatibility
difficulties.

Any suggestions?  Ideally my PC environment would continue running and
I don't lose my OLPC build.

Thanks,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] backups

2010-08-12 Thread S Page
Interesting!  I think Journal backup to the school server has been a
feature since XS 0.4 and Release 8.2, see
http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore
, and that's what your picture shows.  I assume you're referring to
the recent Sugar work (I think
http://lists.sugarlabs.org/archive/sugar-devel/2010-June/025094.html
that has added backup to locally-attached volumes.

I think other ways to back up individual Journal items are the
copy_from_journal script and dragging items to an attached USB drive
in the Journal. I find it hard to figure out what's significant or
large in my sporadic Journal use.

(BTW, USB key, memory stick, pendrive, thumb drive etc. are
all confusing pet names for the actual name which is USB flash
drive.)

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


Re: [Sugar-devel] Keep offline for Browse (offline bookmarks)

2009-11-10 Thread S Page
On Sun, Nov 8, 2009 at 7:17 AM, Lucian Branescu
 Besides being able to save pages for offline use, this patch will also
 allow distribution of HTML content in .zip files that have an
 'index.html' inside. Browse will happily open such files (but they may
 need certain metadata).

Why not browse the .zip files using the jar: protocol wrapper instead
of unzipping them to temporary storage?  When handling a zip file, you
should be able to just wrap it with
jar:file:///path/to/zip!/index.html and hand this to the browser.  In
the mailing list thread directly browsing compressed content in the
datastore Benjamin Schwartz mentioned

 Lucian experimented with jar: for browsing
 offline webpages, but ultimately rejected it after determining that
 webpages using javascript would not function properly.

Such pages worked for me, what problems did you encounter?

BTW, since .xol files are ZIP files, your patch and/or the jar:
protocol means Sugar users could view web content bundles without
having to unpack them, allowing the distribution of really large
content bundles.  I filed http://dev.sugarlabs.org/ticket/1258  I
think this is a sugar-toolkit change, but Tomeu categorized it as a
Browse bug.

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Karma] impressed by SVGWeb, so far

2009-09-21 Thread S Page
 hm, the more I look at it the more it seems that the svg web project
 page shows off the power of regular svg ...  svg-web is perhaps more focused
 on cross-browser support.

Yes.  My understanding is svg-web is mostly a hack to wrap the XML of
SVG in a script tag so that the script can make it work in Microsoft's
joke browsers.  Just get rid of the script tag, maybe add !doctype
html at the top, and their examples of SVG in HTML should work fine
in decent browsers without that overhead.

 and doesn't provide high-level drawing functions like raphaeljs does.

1) You should be able to inject new SVG by manipulating the DOM,
thereby  changing the SVG and making new stuff appear.  svg-web
includes some DOM manipulation but so do other JS toolkits.

2) There is limited animation capability in SVG+SMIL (careful many of
the examples on the Web are stuck using the Adobe syntax for embedding
SVG).

http://www.kevlindev.com/tutorials/basics/index.htm is a nice intro to
both techniques.

3)  There are also weird mutants like
http://hacks.mozilla.org/2009/06/rendering-svg-canvas-burst/ , where
as I understand it the Burst JavaScript framework can read in
fragments of drawings from SVG files and then animate them on a
canvas.  E.g.  
http://hyper-metrix.com/burst/development/doc/demos/js/GitHub%27s-Octocat.htm

Lots of ways to do it!
https://www.svgopen.org/2009/papers/54-SVG_vs_Canvas_on_Trivial_Drawing_Application/
is a paper that tries to compare canvas and SVG, but there's no
definitive answer.

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


[Sugar-devel] directly browsing compressed content in the datastore

2009-09-07 Thread S Page
I sent Viewing compressed content using jar: protocol in Browse ! a
while back, no one cared :-)  To repeat, the XULRunner engine can
directly browse files in JAR and ZIP archives using Sun's jar:
protocol.
Regardless, I've been playing with it some more in 8.2.1.

Once you allow Browse to access the Journal's datastore[*], you can
directly load most HTML content from the downloaded .xo or .xol file
URL in the datastore, *without* ever unpacking/installing the content
at all!
For example,
  
jar:file:///home/olpc/.sugar/default/datastore/store/LONG_UUID!/path/to/page.html
(I modified copy-from-journal to determine the LONG_UUID for
downloaded bundles.)

I've tried this with World Digital Library, NET Bible, and Web design
reference.  It Just Works -- CSS, images, links, everything.
Performance seems fine.  It also works with the Help activity, just
view the XO_Introduction.html in the downloaded Help_XO .xo file in
the datastore, *without* ever unpacking it.  I think there's no
conflict with the Sugar team's proposals to merge activities and
collections into http://wiki.sugarlabs.org/go/Unified_Bundles

I think this ability is pretty significant for large local content
collections such as wiki slices or Karma courses on a machine with
limited storage.  Even using a compressed file system, unpacking
something into a second unneeded copy seems a waste.

So what would it take to let content use this capability?  It seems
the bundle's .info file just needs to be able to say I don't need to
be unpacked and then contentbundle.py can start Browse using the
existing activity_start path setting, but made relative to the bundle
in the datastore using the jar: protocol.  I filed
http://dev.sugarlabs.org/ticket/1258

[*] The catch in OLPC is Browse can't access /home/olpc/.sugar. its
permission is 700 and I guess Rainbow runs Browse under a different
UID.  You can either chmod 755  ~/.sugar, or disable Rainbow by moving
/etc/olpc-security out of the way.  If Rainbow maintains this
restriction in later Sugar, maybe it can open a hole or symlink to the
bundle in the datastore and hand this to Browse.

As I said before, you can also browse remote ZIP/.xo/.xol archives
using the jar: protocol without unpacking them, if the server gives
them the mime type application/java-archive.  Maybe ASLO should do
this, it's useful.

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


Re: [Sugar-devel] directly browsing compressed content in the datastore

2009-09-07 Thread S Page
On Mon, Sep 7, 2009 at 7:53 PM, Benjamin M.
Schwartzbmsch...@fas.harvard.edu wrote:
 Lucian experimented with jar: for browsing
 offline webpages, but ultimately rejected it after determining that
 webpages using javascript would not function properly.

I haven't noticed any JavaScript problems.  Take e.g. ICDL Children's
Digital Library from http://wiki.laptop.org/go/Collections.  If I
download but don't unpack it,
  
jar:file:///home/olpc/.sugar/default/datastore/store/LONG_UUID!/ICDL/index.en.html
works, and if I navigate to a picture book within the .xol the
JavaScript for image preview and 1-page/2-page works.  I don't think
I've disabled any JavaScript security options in Browse's
about:config.

The file ICDL/index.html fails, but that's because it hardcodes a
refresh to file:///home/olpc/Library/icdl/index.en.html , not because
of any JavaScript.  So long as paths in links are relative things
work.

  Instead, his
 modified browse just decompresses the archive and uses file://.  This
 works, but loses the significant efficiency advantages of jar:.

Where is this modified Browse, is it part of some activity?

 A metadata key could also be used.
That sounds like the do_not_uncompress=true line in .info that I
envision.  Bundles would claim they don't need decompressing,
otherwise everything would work as it does now.

I appreciate your interest.
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] HTML 5 article and validator

2009-08-11 Thread S Page
2009/8/11 Bryan Berry br...@olenepal.org:

 https://developer.mozilla.org/En/Offline_resources_in_Firefox

 it appears to be very specific to firefox

Yes, that's talking about JS access to Mozilla nsXyz interfaces.

However...

 http://dev.w3.org/html5/webstorage/

 It sounds like some browser storage solutions use SQL, which I want to
 avoid. SQL is really overkill for our purposes. I would prefer a simple
 key/pair storage that you could read and write to w/ js.

But HTML5 webstorage provides what you want, localStorage.setItem() /
getItem() , implemented in latest XULRunner and WebKit.
Mozilla's explanation: https://developer.mozilla.org/en/DOM/Storage
Apple's: 
http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Name-ValueStorage/Name-ValueStorage.html

I tried Apple's example HTML and it works fine in Firefox 3.5, but not
in Browse in OLPC 8.2.0.
If you want to work in Browse in OLPC 8.2.0 (Firefox 3.0 equivalent) I
think you'd have to use Mozilla's non-standard globalStorage object.
I think SoaS and F11 for XO include a later XULRunner 1.9.2 that has
Firefox 3.5 features, maybe someone running those could try
http://www.skierpage.com/olpc/offline_test.html ?

Here's a summary of storage options:
http://stackoverflow.com/questions/1194784/which-browsers-support-html5-offline-storage

Hope this helps,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Deployment feedback braindump

2009-08-09 Thread S Page
On Sun, Aug 9, 2009 at 10:41 AM, Daniel Draked...@laptop.org wrote:
 Sugar currently doesn't even
 have support for the library bundle technology which was adopted by
 various sugar deployments, as it doesn't have a way of accessing the
 index.html pages short of typing in the file path in Browse. (the
 functionality of olpc-library needs to become part of the sugar
 platform, in some form)

That's http://dev.sugarlabs.org/ticket/574
The proposed Sugar Labs replacement is quite different ,
http://wiki.sugarlabs.org/go/Activities/Library and the Unified
Browser / Unified Objects proposals.  It still seems like the best way
to get a class of kids on the same page is to start at some web
page, like 
http://wiki.laptop.org/go/XS_Moodle_design#Straight_into_the_course_and_current_content

 adding an interactivity
 component that would be impossible to have when working with
 paper-based exercise books.

And impossible with PDFs.  But interactive HTML pages, cached locally
using Google Gears or HTML5 local storage so you can work through the
exercises in or out of school... it sounds  plausible.


Never bet against the browser.  Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] SoaS-for-XO-1 image (was Re: Who's interestedin testing a new installer for SoaS?)

2009-08-09 Thread S Page
On Sun, Aug 9, 2009 at 6:00 PM, Art Hunkinsabhun...@uncg.edu wrote:
 Is there any other way in which the XO-1 will ever be updated (in respect to
 Sugar) - beyond build 802?

Future passive voice and open source together have infinite possibilities ;-)

If you read http://wiki.laptop.org/go/Future_releases :
OLPC is developing a Fedora 11 Remix for the XO-1.5 hardware, see
[F11 for 1.5]. Community volunteers are adapting this work to create
images that run on the [XO-1] hardware, see [F11 for XO-1].

These builds have been announced and discussed on the OLPC devel and
Fedora-olpc mailing lists.  I think one difference is these F11 builds
also include a Gnome desktop as a Sugar alternative.

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


Re: [Sugar-devel] Backup and Restore Feature added to Wiki

2009-07-07 Thread S Page
On Tue, Jul 7, 2009 at 7:05 AM, Greg Smithgregsmit...@gmail.com wrote:
 I created a Feature request for backup and restore here:
 http://wiki.sugarlabs.org/go/Features/Back_Up_and_Restore

 I'm still not sure how to tie it to GPA
Add [[Category:Features requested by Gardner Pilot Academy]] to it.
I've done so and documented the category.

As you know, GPA's requests are also in
http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Goals , but it makes
more sense to tag feature pages with each deployment that wants it.
You could even use subcategories like [[Category:Medium-priority
requests from Gardner Pilot Academy]].

 or a release
As I wrote yesterday, I think the 0.86/Roadmap page should explicitly
link to specific features for that release.  If you want to identify
the connection on the feature page as well, then use one of the other
approaches (use a category, rename the page, or install an extension).

 or pile of pending feature requests.
Someone put Category:FeaturePageIncomplete in the template, is that
what you want?

 Comments on format and more accurate filling out of the template also
 appreciated.

The  =Feature Name= h1 heading is redundant with the page title, I removed it.

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


Re: [Sugar-devel] [Marketing] [SoaS] The next Step: v2 Roadmap

2009-07-06 Thread S Page
 You can add a category for example. [[Category:FeatureSchoolX]]
Great idea, I added a suggestion to add [[Category:Feature requested
by School Xyz]] to the feature template.
Don't forget to categorize categories so people can find them.

 The important part is: Anyone can create new feature pages. They get
 reflected in the roadmap when someone is working on them and proposes
 the feature ...

But currently http://wiki.sugarlabs.org/go/0.86/Roadmap#Features just
lists every subpage of Features.  At some point someone will need to
identify the subset of proposed features that made it onto the
roadmap.

A) The classic way to do this is create a subcategory
[[Category:Features that are on the 0.86 Roadmap]], but without
MediaWiki extensions there's no way to list these pages on the roadmap
page -- readers have to click a link to view the category.

B) You could rename feature pages that are on the 0.86 roadmap, e.g.
Features/0.86/Neighborhood_List_View, and change the roadmap to list
only pages with that prefix.  Renaming is a hassle and people don't
like the resulting long names.

C) You could transclude specific feature subpages in the roadmap:
  {{:Features/Neighborhood List View}} ...
and use the noinclude tag so that only their critical info reappears
in the Roadmap.
   noinclude
   Summary and status
   /noinclude
   Other stuff ..

D) Various extensions to find and present pages meeting criteria,
including (cue ominous yet thrilling music :-) ) Semantic MediaWiki...

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


[Sugar-devel] issues showing Activities for OLPC 8.2.x from a.sl.o.

2009-07-03 Thread S Page
I want a long-lived URL that will list activities on
activities.sugarlabs.org that work on XO-1's running release 8.2.x,
and I'm confused on several points.

* Should I filter by Refine Results  Compatible with  0.82 , or by
choosing Advanced search  Platform: OLPC Software Release 8.2.0
(Build 767), or both?

* Refining results to 0.82 or choosing Sugar version 0.82 reduces the
results returned from 157 to 138, but choosing Platform: OLPC Software
Release 8.2.0 (Build 767) does nothing.  That doesn't make any sense,
implicitly OLPC 8.2.0 *is* Sugar version 0.82 (or, technically,
0.82.1).

* I'm pretty sure the filtering on version is broken.  Etoys, Read,
and Terminal seem to offer the same download regardless of version,
but I believe they have different versions for 8.2.x and later
Sucrose.
Filtering for 0.82 only seems to exclude experimental downloads like
APRS, Bundle, Frotz, etc.

* In Advanced search  Platform, there's no choice for the latest OLPC
version, OLPC 8.2.1 (Build 802). Maybe the Platform option should be
OLPC Software Release 8.2.x , and leave out Build 767 ?

* In the Advanced search dialog, having Sugar Platform version and
Platform is confusing.  I think leave Platform out of Sugar
version.

* The feedback in search results if you use Advanced is poor.  It
doesn't show what advanced search constraints are on (they could be
given after the text Showing 1 - 20 of 157 results for Platform: xxx
and versions: NN.  Sometimes the page seems to forget what you've
chosen, and sometimes refining results to limit to 0.82 doesn't change
the count.

* Using Browse in 8.2.1 on XO-1 and Firefox on a desktop, the Browse
version offered to me has a clipped
   Download Now (OLPC Software Release 8.2.0 #40;Build 767#41;)
button, only Download Now (OLPC ... is visible.  I guess the #40;
and #41 are the '(' and ')' from the platform.  I filed
http://dev.sugarlabs.org/ticket/1020

* How is a.sl.o knowing to offer this Browse version to me?  It and
Software to work with scales and chords on musical instruments. are
the only activities that have this Download Now (OLPC... button.

Aleksey Sim wrote
 * New ASLO check user agent string for SugarPlatform version in format:
 Sugar Labs/major-version.minor-version
 for example Sugar Labs/0.84 and add hints to download button
* How do I know if this check is in place?
* It seems both my browsers  offer me Browse version
http://activities.sugarlabs.org/en-US/sugar/downloads/latest/4024/platform:7/addon-4024-latest.xo
, does platform:7 in the URL indicate the the OLPC Software Release
version?


* I want to compare the activity versions that a.sl.o offers for OLPC
8.2.0 / Sugar 0.82 with the versions splattered all over
wiki.laptop.org.  Is there a way to get a.sl.o to return results in
some other format, like text or an XML structure?


Many thanks, I hope my comments are useful.
Who thought of using the addons.mozilla.org codebase for a.sl.o?
Stroke of genius!
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ActivityTeam meeting on Friday June 26th - 17:00 UTC

2009-07-02 Thread S Page
Summary: For each activity migrated to activities.sugarlabs.org, the
best is to REMOVE all activity info from w.lt.o except
* {{Activity migrated to sl.o}} on its wiki page
* its activity version fragment(s) read by OLPC's Software update control panel.

 What: ActivityTeam meeting

Sorry I was on holiday, but I read the minutes,

dfarning I make it part way through the list at
http://wiki.laptop.org/go/Activities/All add comments to the template
about which activities are on [a.sl.o]
dfarning I think those template should be modified to point directly
to the information on [a.sl.o]

Maybe.  Stand back, what the heck is Activities/All for?  I marked the
page obsolete and nobody has disagreed. Here's where it stands:
* incomplete and out-of-date
* is not used for activity update_urls or activity groups (they fall
back to the fragments transcluded by
http://wiki.laptop.org/go/Activities)
* uses yet another bloody activity template, different from the one
used by e.g. Activities/G1G1/8.2
* doesn't indicate what activity version works on what version.
So REMOVING stale information from Activities/All is better than hacking on it.

However, if there's evidence that Activities/All gets a lot of hits
and deserves some love, then yes I could dynamically query w.lt.o
activity pages (but not sugarlabs pages) to show info from them,
thereby avoiding yet more bloody repetition of stale info that needs
maintenance.

garycmartin dfarning, you mean the Activity Summary, the Facts
about ..., and the Olpcboxtop?

Those are on the individual activity's page.  Likewise, REMOVE them as
stuff is migrated, as
http://wiki.laptop.org/go/Maintaining_activity_web_information urges.
{{Activity migrated to sl.o}} is all that's needed.

The only thing on w.lt.o that requires maintenance is the activity's
version fragment(s) for Software update, in your case
http://wiki.laptop.org/go/Activities/Moon-G1G1

dfarning not sure yet, I was hoping the engage spage he is a template master:)
garycmartin dfarning, yes getting spage would be good :-)

Awww ;-)


Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Show Must Go On - SoaS for the XO-1

2009-07-01 Thread S Page
On Wed, Jun 17, 2009 at 2:12 AM, Martin Denglermar...@martindengler.com wrote:
 I'd suggest you ask sdz to make the .iso that he used to create the
 .img file.

On Wed, Jun 17, 2009 at 12:37 AM, Sebastian Dziallassebast...@when.com wrote:
 I'm very pleased to announce the first early preview of a new generation
 of SoaS XO-1 images.
Sir, could you upload the .iso for this image somewhere, maybe in a
subdirectory of http://download.sugarlabs.org/soas/xoimages/ ?


On Wed, Jun 17, 2009 at 3:24 AM, Martin
Langhoffmartin.langh...@gmail.com wrote:
 Actually, a tool that's most of this smartly, it's called jigdo,

http://atterer.net/jigdo/ is indeed cool.  It's presented as a tool
for delivering and updating pieces of a single big file and all
examples are a .iso big file.  So long as it can also/instead use the
same pieces to create a different kind of big file such as a bootable
Live USB, or a writable SD partition, or XO-1 NAND contents, then it
is indeed a great solution.  Do the developers who work on Live USB
Creator know about jigdo?

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Viewing compressed content using jar: protocol in Browse !

2009-06-30 Thread S Page
(There's probably a better mailing list for this on the sugarlabs side...)

I was reading a Mozilla bug #312156 that casually used a jar: URL to
refer to a file in a ZIP archive.  Firefox implements the jar:
wrapper protocol,
http://docs.sun.com/source/819-0913/author/jar.html#jarprotocol , that
lets you access any file within a .zip file.
  jar:URL of zip!/path/in/zip

This means you don't have to unpack a .xol (library content as in a
collection) file to view its contents in Browse!  I copied the NET
Bible collection's Bible-en.xol to my OLPC 8.2.1 home directory
(without installing it), and URLs like
   jar:file:///home/olpc/Bible-en.xol!/bible-en/files/lev5.html
work fine.  If you go into about:config for Browse or Firefox and
change network.jar.open-unsafe-types to true, you can even view files
in a .xol (or .xo, or .zip) across the web. so that
  jar:http://wiki.laptop.org/images/d/df/Bible-en.xol!/bible-en/files/index.htm
works and relative hyperlinks seem to work.  So you can read a
compressed collection without ever unpacking it, or even downloading
it!  (If you want to serve content across the web using this trick,
http://hype-free.blogspot.com/2009/01/using-single-file-to-serve-up-multiple.html
indicates that you can change the mime type for to avoid having to
tweak the browser settings.)

I think this is significant for HTML content, especially on non-JFFS
partitions that don't use a compressed file system.  Sure, ship a .xol
or .zip, but if it's just got HTML content in it (and face it, any
other form for content suffers by comparison), don't bother unpacking
it.  Just open the start page within the ZIP file using this jar:
protocol.  This could work for the Help activity, and it allows people
to ship huge collections such as wiki slices without taking a lot of
disk (though the http://wiki.laptop.org/go/WikiBrowse local server for
compressed data still has some unique features).  It also lets you
look inside .xo and other .zip files in the browser --
jar:file:///home/olpc/SomeArchive.xo!/ shows a directory listing of
the ZIP file's contents.

Never bet against the browser,
--
=S Page

P.S.  If you tried the remote jar: hack, don't forget to go into
about:config and reset network.jar.open-unsafe-types to its false
default, or/and be careful what you click.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ASLO vs. wiki.laptop.org activities

2009-06-19 Thread S Page
On Thu, Jun 18, 2009 at 8:19 AM, James Simmonsjim.simm...@walgreens.com wrote:
 I've also replaced the contents of the
 old wiki.laptop.org with a link to ASLO.

That's a little too short and doesn't categorize the page, making it
hard to find in the future.  Until someone {{obsolete}}s all the lists
and categories of activites on w.l.o, I suggest using the {{Activity
migrated to sl.o}} template; I did so on
http://wiki.laptop.org/go/Read_Etexts , hope that's OK.

On Thu, Jun 18, 2009 at 9:13 AM, David Farning dfarn...@sugarlabs.org wrote:
 You can also point directly to the Read Etexts
 activity on ASLO with

 http://activities.sugarlabs.org/sugar/addon/4035

 and you can point to the download with

 http://activities.sugarlabs.org/sugar/downloads/latest/4035

The current http://wiki.laptop.org/go/Template:Activity_migrated_to_sl.o
doesn't distinguish these, but if you want it to have an
activity=http://activities.sugarlabs.org/sugar/addon/4035 parameter in
addition to homepage= | download= | git= , let me know or hack it
yourself.

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Show Must Go On - SoaS for the XO-1

2009-06-17 Thread S Page
On Wed, Jun 17, 2009 at 12:37 AM, Sebastian Dziallassebast...@when.com wrote:

 I'm very pleased to announce the first early preview of a new generation
 of SoaS XO-1 images.
Excellent news, thanks!

 Put them on a USB key or a SD card, plug them into your XO ...
Yes!

 ... and execute:

 copy-nand u:\devxo-1.img or copy-nand sd:\devxo-1.img

Nooo, I want to keep my working 8.2.1 in NAND.  Can I simply boot my
XO from the USB or SD card?  I've got an 8GB SD card, I would think
that a 2 GB root, 1 GB additional storage, 1 GB swap would perform
well.
Is there an xo-to-disk.sh script similar to the various transformation
scripts described in http://dev.laptop.org/~cjb/rawhide-xo/ ?
If not, is http://wiki.laptop.org/go/How_to_backup_your_XO the best
way to save my precious 8.2.1 image?

clueless musing
It seems build engineers go to a a lot of effort to create multiple
ginormous downloads in .img/.usb/.iso/.bootable.gz formats when
they're 99% the same files laid out in different file system(s) with
appropriate boot, config, and partition info.  Could some day a tool
like LiveUSB Creator download only updated files from the net and
create whatever image,read-only CD, or bootable/writable USB the user
wants?  That may be ambitious, but it seems much like what Linux
graphical installers do.
/clueless

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


[Sugar-devel] ASLO vs. wiki.laptop.org activities (was Re: ASLO Suggestion)

2009-06-17 Thread S Page
[I removed some cc'd lists of which I'm not a member]

Summary: Replacing http://wiki.laptop.org/go/Activities/All with
{{obsolete|link=http://activities.sugarlabs.org}}
sounds great to me.


On Thu, Jun 11, 2009 at 6:10 AM, Sean DALYsdaly...@gmail.com wrote:
 OLPC has their list (http://wiki.laptop.org/go/Activities/All) and we
 need to get that page to link to ASLO ...

I added a bullet to this and http://wiki.laptop.org/go/Activities :

* http://activities.sugarlabs.org has lots of activities for recent
versions of the [[Sugar]] environment, ''some'' of which may work on
OLPC [[builds]].

 ..., the information there is uneven
 (contains some stillborn/abandonware).

The current split organization is a mess and duplication provides
twice as many opportunities to be wrong.  There's a dozen other lists
of all activities on wiki.laptop.org besides the Activities/All
page, see http://wiki.laptop.org/go/Activity_queries , killing off
some isn't going to hurt.  So just be brave and change it to
{{obsolete|link=http://activities.sugarlabs.org}}

 Perhaps the easiest fix would
 be to link from each Activity position on that page to that Activity's
 ASLO page;
Sure, you could replace the fancy activity descriptions on
http://wiki.laptop.org/go/Activities/All with a simple link to their
ASLO page.

 people searching the Activity population would quickly
 understand the different/parallel nature of the OLPC page and ASLO.

If you can understand it, please explain it ;-)   Activities/All
claims This is a list of all stable Activities  that can be installed
in the latest Sugar., but
* they are NOT all getting updated
* latest Sugar meaning what?  OLPC doesn't ship latest Sugar.

 As
 far as I know, there aren't any issues with the very latest versions
 running on XO-1s, would I be correct in assuming this?

You're incorrect.  Sugar 0.84 is different from the Sugar 0.82.1 in
OLPC release 8.2.0 and 8.2.1. I understand there are issues for
Browse, Etoys, and Read which depend on libraries and already have
separate latest versions.  I assume some other activities have
problems.  Unfortunately, most activity pages on a.sl.o and on
wiki.laptop.org don't specify their compatibility clearly, and it's
impossible to tell the difference between Old version NN is still
truly the latest version that works on OLPC's 8.2 and Nobody's
bloody updated this out-of-date info.

 Or does OLPC
 prefer to identify known good version, the ones updated through the
 XO Control Panel?

In OLPC release 8.2.0 and subsequent releases, the Software update
control panel updates installed activities using a complex fallback
mechanism involving *other, separate* pages such as Activities/8.2
and/or Activities/G1G1/8.2 , see
http://wiki.laptop.org/go/Software_update .  Those subpages are where
known good version info must live for Software update to work, while
other activity pages are mostly useless out-of-date cruft. Maintaining
all these pages is manual and complicated, see
http://wiki.laptop.org/go/Maintaining_activity_web_information , and
for many activities it isn't happening.

Hope this helps,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ASLO vs. wiki.laptop.org activities

2009-06-17 Thread S Page
Summary of activity pages on wiki.laptop.org
* I believe Activities/All isn't used for Software_updater info.  I
just now marked it obsoleted by ASLO

* Each activity's general info page mostly isn't used for
Software_updater info; developers should put the {{Activity migrated
to sl.o}} template on them and kill off redundant info.

* Activity fragment pages like Activities/Browse_(8.2) and the
activity group pages like Activities/N.N and Activities/G1G1/N.NN that
transclude them are used by Software_updater and developers should
continue to update them as newer versions for 8.2.x come out.

* Maintaining Software_updater's HTML microformat info on ASLO instead
for activities that are not part of any activity group is doable but
not straightforward.

On Wed, Jun 17, 2009 at 12:46 PM, Chris Ballc...@laptop.org wrote:
    The Sugar Labs Activities Portal seems to be holding up pretty
    well under load.  My suggestion would be to start phasing out the
    activities pages on w.lt.o

 Are you just talking about http://wiki.laptop.org/go/ActivityName, or
 the http://wiki.laptop.org/go/Activities/* pages too?

 My understanding is the software updater still uses the latter pages

Alas there are a lot of pages floating around.  e 8.2.x Software
update control panel reads a set of pages with a /NN.N suffix using a
complicated fallback system with bugs.  Those pages need to have a
special HTML microformat (class=olpc-activity-blahblah) that
identifies versions and download URLs.  See
http://wiki.laptop.org/go/Software_updater

Most activities on w.l.o use a MediaWiki template like
[[Template:Activity-oneline]] to create fragments with the microformat
like http://wiki.laptop.org/go/Activities/Browse_(8.2) that the
activity groups transclude, but there's no reason an activity's
update_url can't point to an arbitrary URL with the right info; see
e.g. http://etoys.laptop.org/xo/8.2/.

 because there isn't an equivalent in ASLO.

ASLO has the info, but it might be challenging to create the right set
of fallback pages with NN.N suffixes and the microformat HTML.

  Is that right?  (SoaS
 includes the software updater, so we shouldn't break it by removing
 those pages before there's an ASLO equivalent.)

I dunno if SoaS has software updater.

Depending on what you mean by those pages, see summary above.
Although Activities/All has the microformat in it, I don't think any
activity specifies it.  I guess some users might have chosen Modify
activity groups to point to Activities/All in order to download a
huge set of activities.

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


Re: [Sugar-devel] new content bundle

2009-06-17 Thread S Page
On Wed, Jun 17, 2009 at 9:47 AM, Rodolfo D. Arce
S.rodolfoa...@eyuhoo.com wrote:

 I managed to create a bundle.xol but when i can't find the procedure
 to install it..

http://wiki.laptop.org/go/Collections#Installing_one_collection , I
just added instructions for installing from USB flash drive and
confirmed it works in OLPC 8.2.x.  What software release are you
running?

i can manually install it by unziping, but i want to
 be able to put it on the schoolserver and get the kids to install from
 there

That also works fine for me in OLPC release 8.2.0/8.2.1. Make sure the
web server specifies the right mime type for .xol, see
http://wiki.laptop.org/go/Creating_a_collection#Bundle_hosting

 another thing.. Although i can access the files from within the file
 system file:///home/olpc/Library/content/index.html i can't seem to
 be able to put it on the index page of the browser so kids could
 access from the menu,

That should happen automatically during content bundle installation in
OLPC releases with OLPC Library as the Browse home page, see
http://wiki.laptop.org/go/Library#Developers:_How_it_works.  Are you
running a different language?  Maybe it doesn't work in other
languages.

This feature doesn't work in Sugar Labs releases,
http://dev.sugarlabs.org/ticket/574 filed. (My understanding is Sugar
Labs plans unification of library and Journal and/or a dedicated
Library activity).

Hope this helps,

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


Re: [Sugar-devel] Help wanted remixing the Help Activity

2009-06-01 Thread S Page
On Wed, May 27, 2009 at 6:27 AM, Caroline Meeks
carol...@solutiongrove.com wrote:

 The Help Activity gives us a place to tell Users that Sugar is a Community
 Project run by volunteers and we welcome them, their questions and their
 help

That great message also belongs in the Browse home page,
http://git.sugarlabs.org/projects/browse/repos/mainline/blobs/master/data/index.html

which could usefully link to online help and/or the local help files.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Localization] Help activity

2009-06-01 Thread S Page
Seth Woodworth wrote:
 If not for Rainbow I think that the help activity and the browser could 
 access the same material.

?? I can visit 
file:///home/olpc/Activities/Help.activity/help/XO_Introduction.html
fine in Browse in 8.2.1. (Does having a developer key affect Rainbow
file access restrictions?)

On Sat, May 30, 2009 at 7:10 PM, Yama Ploskonka y...@netoso.com responded:
 snip

  The point of having the Help activity as its own icon was to put it as
 close and easy to the user as possible.  ...

 As is now, an inconspicuous icon among many, low usability score.

I think a prominent help icon and Need help? text on Browse's start
page would be far more discoverable than a (?) among many, but I live
in the browser.

The OLPC 8.2.1 start page is
http://dev.laptop.org/git/library/library-activity/tree/library-common/layout.tmpl
Code rebuilds the nifty expanding Library of local content whenever
you install content, see http://wiki.laptop.org/go/Library , this
could also detect installation of local help.

The SugarLabs start page is
http://git.sugarlabs.org/projects/browse/repos/mainline/blobs/master/data/index.html
Sugar distributions lack the expanding Library (SL ticket 574) but
maybe that's moot if http://wiki.sugarlabs.org/go/Activities/Library
comes to fruition.

You can determine in JavaScript if there's a local help manual in the
file system or not and create a link to it accordingly; seems-to-work
code is at http://www.skierpage.com/olpc/show_help.html

Seth:
 I really really really owe the Sugar community a long email documenting
 what the heck went on with the Help activity last year

http://wiki.laptop.org/go/FLOSSManuals has a section ready and waiting ;-)

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others

2009-05-27 Thread S Page
BUG: Software update in OLPC release 8.2.1 doesn't attempt to read
8.2.1 versions of files such as
  http://etoys.laptop.org/xo/8.2.1
because, I think, nobody updated /etc/olpc-release !

/etc/olpc-release contains 8.2, and if you read
bitfrost/update/actinfo.py's get_major_version(), that's the wrong
content and leads to the wrong behavior:
  get_os_version() = 802
  get_release_version() = 8.2   should be 8.2.1
  get_major_version()= None   should be 8.2

Bug #8022 was filed about this for Release 8.2.0 but not fixed, I
filed a similar bug for 8.2.1, http://dev.laptop.org/ticket/9317

Also, the progress output of Software update is *incredibly* misleading, it says
  Fetching http://wiki.laptop.org/go/Activities/G1G1
when in fact it is probably retrieving a different URL with a build or
release part tacked on.  And then it seems to read variations of
update_url from activity.info, and and possibly repeatedly reads
http://wiki.laptop.org/go/Activities , but none of this is its log or
debug output.

As I remark in bug 9317, I think a workaround would be for the Etoys
team to create http://etoys.laptop.org/xo/802  , as 802 is the build
number of Release 8.2.1. Software update tries the update URL with
/802 on the end before anything else.

Bert Fruedenberg wrote
 Besides, most of its functionality is provided by the
 etoys glucose module which is not a downloadable
  activity. Activity version 94 is virtually identical to
 version 101.

So maybe it's not worth bothering to address this just for Etoys.  If
and when other activities need a special 8.2.1 version, the problem
will recur.

I wrote
  I believe Software update on 8.2.x determines the latest
 versions from http://wiki.laptop.org/go/Activities/G1G1/8.2

I added a bunch of debug prints to bitfrost and updater.py and for the
G1G1 activity group on 8.2.1 Software update actually tries
  http://wiki.laptop.org/go/Activities/G1G1/802  (no such URL currently)
  It *should* try http://wiki.laptop.org/go/Activities/G1G1/8.2.1 , but doesn't.
  http://wiki.laptop.org/go/Activities/G1G1/8.2   (succeeds and it
uses this info)
  http://wiki.laptop.org/go/Activities/G1G1(next it would have
tried this)

http://wiki.laptop.org/go/Software_updater is quite vague on what
happens when there is more than one set of URLs that might have update
info for an installed activity.  I *think* an installed
activity.info's activity_url (if it has one) wins out, then the G1G1
activity group, and if an activity doesn't have an activity_url and
isn't in the activity group, then Software update reads the set of
URLs for http://wiki.laptop.org/go/Activities (and finds only
http://wiki.laptop.org/go/Activities, which mostly transcludes
Activities/G1G1/8.2).

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


Re: [Sugar-devel] [Localization] Help activity

2009-05-25 Thread S Page
 pages like
http://wiki.sugarlabs.org/go/Sugar_help  and
http://wiki.laptop.org/go/Manuals .

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others

2009-05-24 Thread S Page
XO's running 8.2.0 and 8.2.1 (thus Sugar 0.82.1) can use the Software
update control panel to update an activity group of activities and
collections.  I believe Software update on 8.2.x determines the latest
versions from http://wiki.laptop.org/go/Activities/G1G1/8.2

Unfortunately these version numbers are independent of the bundles
pointed to by activity pages and their semantic info, let alone newer
versions on http://activity.sugarlabs.org.  People recently fixed
Browse, but after running Software update to upgrade my 8.2.1
activities to latest version, I noticed several other discrepancies:

1. Software update doesn't update to latest version for 8.2.

Etoys at 94, but its web page's Activity_version says 98
   == Someone should update http://wiki.laptop.org/go/Activities/Etoys_(8.2) !?
   == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4030
is up to 100, but doesn't list a version for Sugar 0.82

Memorize at 28 and its web page's Activity_version says 28, but
http://activities.sugarlabs.org/en-US/sugar/addon/4063 says v.30 works
for Sugar 0.82
   == Someone should update
http://wiki.laptop.org/go/Activities/Memorize_(8.2) and
http://wiki.laptop.org/go/Activities/Memorize_(latest)

Read at 56, web page Activity_version says 52 and 61, and
http://activities.sugarlabs.org/en-US/sugar/addons/versions/4028
doesn't list a version for Sugar 0.82.
   == What is the latest Read version that works for 8.2.0?

Terminal at 18, but the web page's Activity_version says 19
   == Someone should update
http://wiki.laptop.org/go/Activities/Terminal_(8.2) !?
   == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4043
doesn't list a version for Sugar 0.82

Turtle Art is at 10, web page doesn't identify a tested release.
http://activities.sugarlabs.org/en-US/sugar/addons/versions/4027 is
all the way to version 51 but doesn't list a version for Sugar 0.82


2. Activity updates to a later version than its wiki.laptop.org web page

IMO just delete redundant and out-of-date info on wiki.laptop.org.
Blank out the activity_version and OBX xobundle info for the activity,
and use
the {{activity migrated to sl.o}} template as Aleksey has been doing.
See http://wiki.laptop.org/go/Maintaining_activity_web_information

Browse at 102, web page Activity_version says its 98
also the web page's lang pootle links redirect to sugarlabs w/ bad
https and broken rewrite

TamTamEdit at 50, Mini at 49, SynthLab at 51; web page
Activity_version versions are 1 less than those.


3.  Activities/G1G1/8.2 mis-identifies the version for 8.2 as (latest).

Sometimes  http://wiki.laptop.org/go/Activities/G1G1/8.2 has the right
version for 8.2, but misidentifies it as the latest version when
activities.sugarlabs.org has something much more recent.  The fix is
to change this page to pull in the (8.2) fragment.

4.  I didn't grind through every versions page on
activities.sugarlabs.org.  If your activity has a more recent version
than what's listed here that works on 8.2.1/Sugar 0.82, please update
its fragment.

Here's the set of versions on my XO-1 running 8.2.1 after Software update:

Analyze.activity  8
Browse.activity 102
Calculate.activity   25
Chat.activity48
Distance.activity14
Etoys.activity   94
Firefox-6.activity6 (not in Activities/G1G1)
Help.activity10
Implode.activity  5
Log.activity 16
Maze.activity 6
Measure.activity 21
Memorize.activity28
Moon.activity10
Paint.activity   23
Pippy.activity   30
Read.activity56
Record.activity  59
Ruler.activity3
Scratch.activity 12
Speak.activity9
TamTamEdit.activity  50
TamTamJam.activity   51
TamTamMini.activity  49
TamTamSynthLab.activity  51
Terminal.activity18
TurtleArt.activity   10
WikipediaEN.activity  4
Write.activity   60

5. There are many other activities not part of the G1G1 activities
group that are out-of-date on wiki.laptop.org.  For example,
Colors! web page Activity_version says its 13, but
http://activities.sugarlabs.org/en-US/sugar/addons/versions/4050 says
version 15 is latest.  Again, I think blanking it out and indicated
the version for Sugar 0.82 on Activities.sugarlabs.org's See All
Versions is the way to go.

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Dictionary everywhere ?

2009-05-23 Thread S Page
There are a dozen dictionary extensions for Firefox, do any of those
work in Browse?
http://www.dailyblogtips.com/dictionary-extensions-for-firefox/ and
comments mention a few.

 3) Language detection.
The HTML lang attribute?

95% of everything will be browser-based in the near future.

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Bugs] #645 UNSP: make sugarlabs.org the default page

2009-04-02 Thread S Page
What about the expandable library section on the home page for
downloaded .xol's?  It's nifty and useful (
http://dev.sugarlabs.org/ticket/574 ).  The recent discussion about
this ('content bundles and the OLPC Library Browse home page')
devolved into discussing a replacement for them, but .xol files exist
now.  Are they not going to work in Sugar 0.8x until a Grand
Unification of activity and content is coded?

The code in /usr/share/library-common/make_index.py on an XO that
rebuilds the library each time you download a collection also has the
template code to make the home page.  It seems to support localization
of the home page as well.

Sean DALY  wrote:
 My memory of the XO G1G1 Browse page was that there was a link to
 Help, but looking at it I see that there wasn't.

Help is an activity, and as I recall in 2008 discussions on olpc-dev
people said Browse cannot launch activities without adding Mozilla
mime type handlers and/or relaxing Rainbow security.  However, Help is
just an instance of Browse's WebView that opens path to Help
activity/help/X_Introduction.html.  So another thing that a
make_index.py script could do is look for the Help activity and if
found add a
Browse the (local) Help files
link to this home page.

http://wiki.laptop.org/go/Library#How_it_works has notes on how
library-common works. I think someone with moderate skills[**] could
revive it and kill three birds (generate home page, add content links
as you download collections, and add a link to the Help activity's
files if present) with one stone..
http://dev.laptop.org/git/library/library-activity/tree/library-common

[**]  but more than me! :-/

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SoaS] Approaching a Release...

2009-04-02 Thread S Page
 Please make sure to report all bugs you come along, so that
 they can be fixed in time until April 5th.

I noted 2 1/2 Browse problems with this April Fool's :-)  Live USB on an XO in
http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/GettingInvolved/Testing/Soas2-200904011025
, I apologize that I probably won't have time to file bugs.

From that:

Browse failed to start. The first time the globe icon pulsed, I looked
away, and after about 30 seconds the Journal displayed and there was
no Browse in the frame or Alt+Tab. The second time the world icon
pulsed, I saw the Browse window appear with File not found, and then
the Journal displayed. Both times I saw nothing relevant in
~/.sugar/default/logs or /var/log/messages. The WebAactivity log
showed Received SaveYourself, Received SaveComplete. I had no
network connectivity.

The default home page for Browse is
/usr/share/library-common/index.html which does not exist (see bug 574
and 645). I created a dummy page here and Browse started fine!

I tried browsing file:///home/liveuser and Browse hung, putting up a
busy cursor.  [I think erikos was looking into this.]

I restarted Browse from Terminal using `sugar-launch
org.laptopWebActivity` and tried browsing http://sugarlabs.org , again
with no internet connectivity. That locked Browse, and it eventually
died with Illegal instruction. Since Browse starts at
http://sugarlabs.org if /usr/share/library-common/index.html does not
exist, this is probably the same lockup as the first.

HTH,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sugar and X problems logging in to Soas2-200903271806 on an XO-1

2009-03-27 Thread S Page
I have an XO-1 with OFW q2e33 and have intermittently tried out
Rawhide-XO builds and SoaS 2 builds with varying success.

I downloaded Soas2-200903271806.iso and ran latest LiveUSB-Creator
3.6.3 under Windows XP to put it and a 256 MB persistent storage area
on a USB flash drive.  The USB flash drive is 2GB (approx
1,900,000,000 bytes) USB flash drive with a handful of other files on
it.

Insert the USB flash drive, power on XO-1, hold down check key.

The hot dog is back!
After a minute the screen goes dark.
After another 90 seconds of dark screen I get the blue swirl Login:
screen with liveuser,
Log in.
After several seconds that goes to dark screen, and a few seconds
later I'm back at the blue Login: screen. :-(

In a console, ~liveuser has no .sugar subdirectory, so it looks like
Sugar never got rolling.

The file /var/log/slim.log has various tantalizing errors.  The
whole thing follows.  Should I try tinkering with DISPLAY and
permissions?  There is no /home/liveuser/.Xauthority file, and
/home/liveuser is drwx-r-xr-x owned by root, not liveuser, so it seems
odd.

Hope this helps.  Is there a Talk page somewhere on SugarLabs.org to
report success or failure with SoaS 2 builds?
--
=S Page

/var/log/slim.log contents:

/usr/bin/xauth:  creating new authority file /var/run/slim.auth


X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.1.el5 i686
Current Operating System: Linux localhost.localdomain
2.6.29-0.258.2.3.rc8.git2.fc11.i586 #1 SMP Tue Mar 24 18:37:23 EDT
2009 i586
Build Date: 12 March 2009  01:39:32PM
Build ID: xorg-x11-server 1.6.0-13.fc11
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Mar 28 02:00:55 2009
(==) Using config file: /etc/X11/xorg.conf
AmdPciProbe: Probing for supported devices!
SELinux: Disabled on system, not enabling in X server
/usr/bin/xauth:  timeout in locking authority file /home/liveuser/.Xauthority
No protocol specified
xrdb: No such file or directory
xrdb: Can't open display ':0.0'
No protocol specified
xrdb: No such file or directory
xrdb: Can't open display ':0.0'
No protocol specified
xmodmap:  unable to open display ':0.0'
No protocol specified
xsetroot:  unable to open display ':0.0'
No protocol specified
No protocol specified
xdpyinfo:  unable to open display :0.0.
/home/liveuser/.Xclients: line 6: [: : integer expression expected
No protocol specified
matchbox: can't open display! check your DISPLAY variable.
No protocol specified
Traceback (most recent call last):
  File /usr/bin/sugar-session, line 31, in module
import gtk
  File /usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py,
line 79, in module
_init()
  File /usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py,
line 67, in _init
_gtk.init_check()
RuntimeError: could not open display

slim: waiting for X server to shut down.

/usr/bin/xauth:  creating new authority file /var/run/slim.auth


X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.1.el5 i686
Current Operating System: Linux localhost.localdomain
2.6.29-0.258.2.3.rc8.git2.fc11.i586 #1 SMP Tue Mar 24 18:37:23 EDT
2009 i586
Build Date: 12 March 2009  01:39:32PM
Build ID: xorg-x11-server 1.6.0-13.fc11
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Mar 28 02:01:53 2009
(==) Using config file: /etc/X11/xorg.conf
AmdPciProbe: Probing for supported devices!
SELinux: Disabled on system, not enabling in X server
/usr/bin/xauth:  timeout in locking authority file /home/liveuser/.Xauthority
No protocol specified
xrdb: No such file or directory
xrdb: Can't open display ':0.0'
No protocol specified
xrdb: No such file or directory
xrdb: Can't open display ':0.0'
No protocol specified
xmodmap:  unable to open display ':0.0'
No protocol specified
xsetroot:  unable to open display ':0.0'
No protocol specified
No protocol specified
xdpyinfo:  unable to open display :0.0.
/home/liveuser/.Xclients: line 6: [: : integer expression expected
No protocol specified
matchbox: can't open display! check your DISPLAY variable.
No protocol specified
Traceback (most recent call last):
  File /usr/bin/sugar-session, line 31, in module
import gtk
  File /usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py,
line 79, in module
_init()
  File /usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py,
line 67, in _init

Re: [Sugar-devel] Sugar and X problems logging in to Soas2-200903271806 on an XO-1

2009-03-27 Thread S Page
On Fri, Mar 27, 2009 at 7:35 PM, S Page skierp...@gmail.com wrote:

 ... I get the blue swirl Login:
 screen with liveuser,
 Log in.
 After several seconds that goes to dark screen, and a few seconds
 later I'm back at the blue Login: screen. :-(

I rebooted and had the same experience.

 /home/liveuser is drwx-r-xr-x owned by root

As root in a console I did:
  # chown liveuser /home/liveuser
  # chgrp liveuser /home/liveuser

Then login as liveuser went fine, progressing to the Sugar user and
color dialogs!

It looks like /home/liveuser is set up wrong in this image, but I'm
not sure where or how to check

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


Re: [Sugar-devel] Sugar and X problems logging in to Soas2-200903271806 on an XO-1

2009-03-27 Thread S Page
 It looks like /home/liveuser is set up wrong in this image

I filed http://dev.sugarlabs.org/ticket/665 against soas.  Maybe
this is a Fedora rawhide bug, I haven't tried a recent ~cjb rawhide
build yet.  (So many .isos, not enough bandwidth on so many levels :-)
.)

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


[Sugar-devel] content bundles and the OLPC Library Browse home page

2009-03-19 Thread S Page
In SoaS2 I downloaded a .XOL and was able to run it from the Journal
and it unpacked into ~/Library.
But Browse doesn't show it on a library page.

User cwhii noticed this a while back and complained about it, Sugar
bug #1 (!), http://dev.sugarlabs.org/ticket/1 :
  I expected OLPC Library with a list of libraries to pick from.
That bug somehow turned into Add support to Browse for
distro-customised start page and was upstreamed to Ubuntu.

But Ubuntu providing a home page isn't going to bring the OLPC Library
feature back.  I filed bug 574, http://dev.sugarlabs.org/ticket/574
Sugar lacks OLPC's dynamic content library.  The code to rebuild a
page whenever you install a collection is in is package
olpc-library-common, it's also the same code to build the OLPC home
page from a template (more details in
http://wiki.laptop.org/go/Library#Developers:_How_it_works ).  Sugar
0.84 still expects this code: sugar-toolkit's contentbundle.py tries
to invoke /usr/share/library-common/make_index.py when you install a
.xol content bundle.

I think the existing package would do the right thing in latest Sugar
to recreate a library page.  The only wrinkle is that Browse hardcodes
(in webactivity.py)
  _LIBRARY_PATH = '/usr/share/library-common/index.html'
as its home page, but make_index.py doesn't build this, it builds index.html in
  output_path = '/home/olpc/.library_pages' # old but kept around for upgrades
The latter page is hardcoded to refresh to the former, and so the user
in Browse sees the newly-generated library page that links to her
newly downloaded content.

Although .xol collection handling is in sugar-toolkit, I think the
format and the nifty updating library page could be a general design
for content downloaded from the web, separate from Sugar.  But what
are the plans for collections and the library in the future?  Are
people thinking they'll be replaced by packages, or some library
metadata format?  The elusive Sj wrote
http://wiki.laptop.org/go/Dynamic_library back in 2008...

Cheers,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Browse-100 (8.2.1 only)

2009-03-19 Thread S Page
On Wed, Mar 4, 2009 at 1:18 AM, Simon Schampijer si...@schampijer.de wrote:
 Martin Langhoff wrote:
 On Tue, Feb 24, 2009 at 4:07 AM, Simon Schampijer si...@schampijer.de 
 wrote:
 this is Browse for Sucrose 0.82 or OLPC 8.2.1.
 XO-bundle: http://shell.sugarlabs.org/~erikos/bundles/Browse-100.xo

Does it work in OLPC 8.2.0 (build 767) as well, or only 8.2.1?  I
think both contain Sugar 0.82.1.

If Browse-100  works in 8.2.0, then someone should update
http://wiki.laptop.org/go/Activities/G1G1/8.2 , which still says
Browse v98 is the latest version.
If you click the tiny _edit_ link, you see this page actually
transcludes the little fragment Activities/Browse (8.2) which is
simple enough to update.  See
http://wiki.laptop.org/go/Maintaining_activity_web_information .

If Browse-100 only works in 8.2.1, then per
http://wiki.laptop.org/go/Software_updater you need to create a
http://wiki.laptop.org/go/Activities/G1G1/8.2.1 page as a copy of
http://wiki.laptop.org/go/Activities/G1G1/8.2 , create a new
http://wiki.laptop.org/go/Activities/Browse_(8.2.1) activity fragment,
and modify the former to transclude it.  And let people know there's
another activity group page to maintain along with Activities/G1G1,
Activities/G1G1/8.2, etc.

Parts of software update that are unclear to me, such as: Can leave
most activities out of Activities/G1G1/8.2.1 and the updater will get
their version info from the next page in the list? When does the
updater read the update URL stored in activity.info as well/instead of
the activity group's page, etc.

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


Re: [Sugar-devel] Making Read read everything [WAS: Re: FBReader]

2009-03-18 Thread S Page
On Tue, Mar 17, 2009 at 3:16 PM, Sayamindu Dasgupta sayami...@gmail.com wrote:

 SJ and I were wondering if it may make sense to try to unify [read]
 activities in some way,

Yes.  It's called a browser.

I'm confused.  AIUI, you already created a mozplugin so libevince
could run in Browse to address some of the problems loading PDFs from
the browser, see
http://sayamindu.randomink.org/ramblings/2008/10/14/14th-october-2008/
.  Why do kids need Read then?

Whatever features Read might need specifically for books, extend
Browse with them.  Your code is potentially relevant to a hundred
million Firefox users, and maybe a few have already implemented what
you need.

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


Re: [Sugar-devel] XO-1 keyboard issues, partial setxkbmap workaround

2009-03-15 Thread S Page
(including fedora-olpc-list)

I think there are three Fedora XO-1 keyboard bugs:

1. Any Rawhide should auto-detect you have an OLPC keyboard.  The hal
and evdev bits and pieces are there, yet it doesn't work.  I filed
https://bugzilla.redhat.com/show_bug.cgi?id=490310.  I made n00b
notes at http://wiki.laptop.org/go/User:Skierpage/Redhat-XO_OLPC_keyboard

2. Although OLPC keymap is in Rawhide, there's dispute over the exact
contents, e.g. the Frame key and brightness vs. function keys.
Existing bugs http://dev.sugarlabs.org/ticket/291 and
https://bugzilla.redhat.com/show_bug.cgi?id=468744
I'm really confused if this needs to be fixed in /usr/share/hal or in
/usr/share/X11/xkb or both.

3. OLPC keyboard variants should appear in system-config-keyboard and
the Gnome desktop manager first boot keyboard selector.  Only the
latter has a few Afghanistan OLPC keyboard layouts, none of them has
U.S. English (olpc).I filed
https://bugzilla.redhat.com/show_bug.cgi?id=490311 for
system-config-keyboard, I don't know if the first boot GDM keyboard
selector should be a different bug.

It ought to Just Work :-) , but they've been saying that about X
keyboard handling for about 20 years.

Regarding 3, Martin Dengler made additional progress on this one in
his message.  I don't know how Fedora builds that hardcoded list of
keyboards, and I don't know where /etc/sysconfig/keyboard gets set.


Hope this helps,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] XO-1 keyboard issues, partial setxkbmap workaround

2009-03-14 Thread S Page
In yesterday's Soas2-200903121944.iso and in rawhide-xo 20090313.iso ,
I found that to get the XO-1's AltGr key to work in Sugar, I had to
set the keyboard to olpc with
  setxkbmap -model olpc
The AltGr key will now work to insert the special characters on some
of the keycaps.   I think you could also edit /etc/X11/xorg.conf and
restart X.

However, the Frame key still doesn't work.
This is http://dev.sugarlabs.org/ticket/291.  I think XKB translates
the Frame key to XF86TaskPane, which might be why in rawhide-XO's
Gnome desktop the Frame key pops up a context menu.the context menu.
I don't know why the Frame key doesn't work in Sugar any more.

I read that in today's SoaS2 release
 * keyboard layout changes should be possible via system-config-keyboard
I ran this from Terminal Activity in rawhide-XO 20090313 and got a
keyboard chooser dialog.  But it doesn't have any OLPC entries  at
all, let alone a US English (OLPC) entry.
I have a similar problem with the keyboard preference in rawhide-XO's
login screen: it lists some Afghanistan OLPC models, but nothing that
looks like an English-language OLPC keyboard.

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


Re: [Sugar-devel] [IAEP] Running sugar at almost-native speeds in Windows

2009-03-12 Thread S Page
On Thu, Mar 12, 2009 at 4:04 PM, Dave Bauer dave.ba...@gmail.com wrote:
  I haven't found an easy way to get QEMU working with acceleration on OS X.

QEMU on Windows is also confused, or I am.

http://sugarlabs.org/go/Supported_systems/Windows still points to
Wade's fine bundle and detailed steps from Ton van Overbeek  but both
are to run OLPC 8.2.0 images which is old Sucrose.

Meanwhile http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Windows
and its parent have lots of information about QEMU, but mostly
out-of-date.

I put today's SoaS2 ISO in my dusty old qemu 0.9.0 directory on
Windows XP.  I think you use -cdrom Soas2-200903121944.iso to make
it work.

C:\Qemu net start kqemu

The KQEMU virtualisation module for QEMU service was started successfully.

C:\Qemuqemu.exe -L . -m 256 -kernel-kqemu -soundhw es1370 -net user
-net nic,model=rtl8139 -cdrom Soas2-200903121944.iso

Version mismatch between kqemu module and qemu (00010400 00010300) -
disabling kqemu use

Maybe that's why it's mind-blowingly slow to boot.


QEMU 0.10 is out, but the two Japanese URLs don't have Windows
binaries.  Some random person at
http://qemu-forum.ipi.fi/viewtopic.php?f=5p=14435 has a Windows
build, while a compatible kqemu accelerator is nowhere to be found.
There is a QEMU 0.9.1 Windows binary, I don't know if available kqemu
works for it.

Emulating OLPC OS Images with QEMU has been difficult on any platform
ever since the 3DNow! extensions problem arose, I think that's why
Wade and Ton van Overbeek made special binaries.  But maybe old
versions of qemu/kqemu are fine for SoaS images.


 I think we are working towards a solution, just not as quickly as we would
 like.
The story of the life since the Industrial Revolution ;-)

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


Re: [Sugar-devel] Activities migration status

2009-02-16 Thread S Page
Ed McNierney wrote:

 On the other hand, anyone working on Sugar efforts such as Activity  
 development should be encouraged to put all those efforts under the  
 Sugar Labs roof where they can be more readily available to the entire  
 Sugar community (not just the OLPC portion of it).

Then http://wiki.laptop.org/go/Project_hosting  is obsolete.  What's the 
equivalent page on sugarlabs.org?

Parts of http://wiki.laptop.org/go/Creating_an_activity are also 
out-of-date.

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


Re: [Sugar-devel] Activities migration status

2009-01-14 Thread S Page
Rafael Enrique Ortiz Guerrero wrote:

 Today I went through dev.laptop.org/git http://dev.laptop.org/git
 identifying those projects
 that contain Sugar activities.
 
 http://sugarlabs.org/go/ActivityTeam/ActivityStatus
 
 Still remaining is to go through Activities/All (and code.google.com
 http://code.google.com,
 personal sites, etc) and find those activities which do not have d.l.o
 repositories.
 
 The list is *massive*.  I had no idea we had so many cool activities
 in various stages of development! 

I'm not sure what you're doing, but if you want activities...
When the call went out for activities for 9.1.0 I put all the meta-lists 
of activities in
http://wiki.laptop.org/go/9.1.0#Lists_of_possible_candidate_activities

That links to some interesting queries in 
http://wiki.laptop.org/go/Activity_queries  :
* 45 pages with a Devel status
* 116 pages that appear to have an activity bundle
* 310 pages in Category:Activities in the main namespace.

and I'm sure there are more activities that lack a page on on 
wiki.laptop.org

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