[Bugs] #574 UNSP: Sugar lacks OLPC's dynamic content library

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 19 01:37:52 EDT 2009


#574: Sugar lacks OLPC's dynamic content library
------------------------------------------+---------------------------------
    Reporter:  skierpage                  |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.84.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfimed                 
------------------------------------------+---------------------------------
 In bug #1, cwhii laments ''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 whether or not Ubuntu has a
 start page, and whether or not Browse can be configured to show it (BTW
 Browse's webactivity.py hardcodes it to _LIBRARY_PATH = '/usr/share
 /library-common/index.html'), that won't bring back the OLPC Library
 functionality of an expanding directory of local content that you've
 installed.  My Rawhide-XO 20090316 build is also missing this
 functionality.

 The "OLPC Library" home page relies on running scripts that rebuild a web
 page whenever you download and run a [http://wiki.laptop.org/go/Collection
 .xol collection bundle].  That's what gives you a "library page" that
 gives you an expanding directory of local content that you've installed.

 That library machinery lived in /usr/share/library-common in OLPC release
 8.2.0.  It is missing or broken in Sugar 0.84.0 on Rawhide-XO.  I think it
 resided in the RPM package olpc-library-common, source in
 http://dev.laptop.org/git/library/library-activity/tree/ library-common
 subdirectory.

 This machinery builds a new home page out of templates (using the Jinja
 templating engine) and at the same time generates the expandable library
 sidebar in the home page. http://wiki.laptop.org/go/Library#How_it_works
 documents it in more detail.  Ubuntu or any distribution could customize
 this package to create a different home page.  Or you could imagine
 refining the machinery to only update a library section of a home page
 created by some other step.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/574>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list