Re: Script to install missing langs?

2010-10-09 Thread Sayamindu Dasgupta
On Sat, Oct 9, 2010 at 11:35 PM, Martin Langhoff
 wrote:
> On Sat, Oct 9, 2010 at 1:58 PM, Bernie Innocenti  wrote:
>> On Sat, 2010-10-09 at 12:08 -0500, Jerry Vonau wrote:
>>> Think the fastest would be to force the re-installation the glibc-common
>>> rpm.
>>
>> Yes, and the sugar-* rpms too.
>
> Riiight. So `yum -yt reinstall glibc sugar-*` should do the trick?
> Nothing else? Sounds too easy :-)


The build script filters out _all_ translation files, so even if glibc
and sugar  translations are there (and glibc contains the locale data
as well), there might be other (usually low priority) translation
files missing. For that, it is probably best to do a new spin.

For activities, for 0.84 based builds, there are self extracting
language packs that you can run as root in the laptops:
http://translate.sugarlabs.org/langpacks/0.84/

-sdg-


>
>>> You can spin-up your own image with olpc-os-builder, editing the
>>> languages as required.
>>
>> This would be cleaner, of course, but Martin was thinking of small
>> deployments lacking a technical team.
>
> Exacto.
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> olpc mailing list
> o...@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/olpc
>



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Script to install missing langs?

2010-10-09 Thread Jon Nettleton
On Sat, Oct 9, 2010 at 8:35 PM, Martin Langhoff
 wrote:
> On Sat, Oct 9, 2010 at 1:58 PM, Bernie Innocenti  wrote:
>> On Sat, 2010-10-09 at 12:08 -0500, Jerry Vonau wrote:
>>> Think the fastest would be to force the re-installation the glibc-common
>>> rpm.
>>
>> Yes, and the sugar-* rpms too.
>
> Riiight. So `yum -yt reinstall glibc sugar-*` should do the trick?
> Nothing else? Sounds too easy :-)
>

It is almost that easy.  Hate to rain on your parade but you will also
need to edit /etc/rpm/macros.dist and add the locales you wish to
support to the %_install_langs macro.

After making that change re-install those packages and you should get
the additional langs.

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


Re: Script to install missing langs?

2010-10-09 Thread Martin Langhoff
On Sat, Oct 9, 2010 at 1:58 PM, Bernie Innocenti  wrote:
> On Sat, 2010-10-09 at 12:08 -0500, Jerry Vonau wrote:
>> Think the fastest would be to force the re-installation the glibc-common
>> rpm.
>
> Yes, and the sugar-* rpms too.

Riiight. So `yum -yt reinstall glibc sugar-*` should do the trick?
Nothing else? Sounds too easy :-)

>> You can spin-up your own image with olpc-os-builder, editing the
>> languages as required.
>
> This would be cleaner, of course, but Martin was thinking of small
> deployments lacking a technical team.

Exacto.



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


re: [support-gang] spectacular new XO-1.5 disassembly guides

2010-10-09 Thread pgf
i've taken a lot of XO laptops apart, and i've almost _never_ found it
necessary to remove the screen completely.  the two ribbon connectors
that connect the screen and the backlight have a limited lifetime and
should not be opened and closed needlessly.  unless you're planning on
removing the motherboard, removing the screen is unnecessary.

the screws that attach the back can be reached without remove the
screen:
- first remove the four screws attaching the screen.
- lift the bottom of the screen to get access to the lower pair
of screws holding the back.  remove them.  (you can see how
this can be done in page 6 of the pdf.
- _without_ undoing the screen's connectors, let the bottom edge
of the screen drop down in order to get at the upper pair
of screws that hold the back.  you can see how this works
on page 7 of the pdf.  the screen's ribbon cables are just
long enough for this to work.  remove the second pair of
screws that hold the back on.
- now, before doing anything else, tuck the top edge of the screen
back into position, and secure the screen with at at least
one of the lower screws that hold it in place.  this keeps it
from flopping around while you remove the back.

you can now remove the back, to get access to most connectors, the RTC
battery, etc.

paul


holt wrote:
 >   Mafe Mago  wrote:
 >  > Hi Folks,
 >  >
 >  > Just sharing this pdf file of Dissecting an XO 1.5 created by Peter 
 > Domanski
 >  > who just been introduced to XO.
 >  >
 >  > http://wiki.laptop.org/go/File:XO_Disassembly_%28Bottom%29.pdf  [20p, 
 > 1.7MB]
 >  > http://wiki.laptop.org/go/File:XO_Disasembly_%28Top%29.pdf  [33p, 4.1MB]
 >  >
 >  >
 >  > Thanks Peter!
 >  >
 >  > --
 >  > Cheers,
 >  > @marife
 >  >
 >  > mm...@ekindling.org
 >  > http://www.ekindling.org
 >  > http://wiki.laptop.org/go/ekindling
 >  > http://wiki.laptop.org/go/OLPC_NYC
 > 
 > 
 > Plz write to Mafe if you have suggested revisions, for her friend Peter 
 > if he has time!
 > ___
 > support-gang mailing list
 > support-g...@lists.laptop.org
 > http://lists.laptop.org/listinfo/support-gang

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Script to install missing langs?

2010-10-09 Thread Bernie Innocenti
On Sat, 2010-10-09 at 12:08 -0500, Jerry Vonau wrote:
> Think the fastest would be to force the re-installation the glibc-common
> rpm.

Yes, and the sugar-* rpms too.

We probably don't need any of the catalogs for the other system tools.
Activities installed from .xo bundles will already have all languages
installed.


> You can spin-up your own image with olpc-os-builder, editing the
> languages as required.

This would be cleaner, of course, but Martin was thinking of small
deployments lacking a technical team.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: spectacular new XO-1.5 disassembly guides

2010-10-09 Thread rihowa...@gmail.com
Holt,

Nice set of photographs and narrative.
It might be useful to mention at the top of the document the type and number of 
screws.  At each step where a screw is removed or replaced that type and size 
of screw should be called out. 
Where it mentions cable disconnection and cable connection it should mention 
the type of latching mechanism used and how to manipulate it.

Page numbers would be useful as would a document revision identifier

rihowa...@gmail.com

linux - the best things in life are free





On Oct 8, 2010, at 10:00 PM, Holt wrote:

>  Mafe Mago  wrote:
>> Hi Folks,
>> 
>> Just sharing this pdf file of Dissecting an XO 1.5 created by Peter 
> Domanski
>> who just been introduced to XO.
>> 
>> http://wiki.laptop.org/go/File:XO_Disassembly_%28Bottom%29.pdf  [20p, 
> 1.7MB]
>> http://wiki.laptop.org/go/File:XO_Disasembly_%28Top%29.pdf  [33p, 4.1MB]
>> 
>> 
>> Thanks Peter!
>> 
>> --
>> Cheers,
>> @marife
>> 
>> mm...@ekindling.org
>> http://www.ekindling.org
>> http://wiki.laptop.org/go/ekindling
>> http://wiki.laptop.org/go/OLPC_NYC
> 
> 
> Plz write to Mafe if you have suggested revisions, for her friend Peter 
> if he has time!
> ___
> 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: Script to install missing langs?

2010-10-09 Thread Jerry Vonau
Hi Martin:

On Sat, 2010-10-09 at 11:08 -0400, Martin Langhoff wrote:
> Hi folks,
> 
> we're now including a very limited set of langs in our OS images. This
> can make life rather awkward for small deployments (read: no tech
> team) using languages not included in our build...
> 
> Is there a script to install missing locales for already-installed rpms?
> 

Think the fastest would be to force the re-installation the glibc-common
rpm.

> Cross-posting to fedora-olpc -- maybe there's a Fedora tool to install
> pruned locales?
> 
> cheers,
> 

You can spin-up your own image with olpc-os-builder, editing the
languages as required.

Jerry



Jerry

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


Script to install missing langs?

2010-10-09 Thread Martin Langhoff
Hi folks,

we're now including a very limited set of langs in our OS images. This
can make life rather awkward for small deployments (read: no tech
team) using languages not included in our build...

Is there a script to install missing locales for already-installed rpms?

Cross-posting to fedora-olpc -- maybe there's a Fedora tool to install
pruned locales?

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: spectacular new XO-1.5 disassembly guides

2010-10-09 Thread Walter Bender
These are very nice. It would be nice to add a line at the top
describing what tools he uses.

regards.

-walter

On Sat, Oct 9, 2010 at 1:00 AM, Holt  wrote:
>  Mafe Mago  wrote:
>  > Hi Folks,
>  >
>  > Just sharing this pdf file of Dissecting an XO 1.5 created by Peter
> Domanski
>  > who just been introduced to XO.
>  >
>  > http://wiki.laptop.org/go/File:XO_Disassembly_%28Bottom%29.pdf  [20p,
> 1.7MB]
>  > http://wiki.laptop.org/go/File:XO_Disasembly_%28Top%29.pdf  [33p, 4.1MB]
>  >
>  >
>  > Thanks Peter!
>  >
>  > --
>  > Cheers,
>  > @marife
>  >
>  > mm...@ekindling.org
>  > http://www.ekindling.org
>  > http://wiki.laptop.org/go/ekindling
>  > http://wiki.laptop.org/go/OLPC_NYC
>
>
> Plz write to Mafe if you have suggested revisions, for her friend Peter
> if he has time!
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel