[Sugar-devel] Installing gstreamer media codecs on XO-1 (solved)

David Leeming david at leeming-consulting.com
Thu Apr 5 02:49:15 EDT 2012


All done and it works well. It was a question of trying to do it without
fully understanding the process.

In summary, steps 1 and 2 using gstreamer-plugins-ugly and gstreamer-ffmpeg
were all that were needed. The rpms thus collected were then tested on a
freshly installed XO and all working, further enhanced by addition of the
Adobe Flash 11 rpm.

Thanks for helping! I'm all set now to do this offline in the field.

rpm -ivh
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noa
rch.rpm
rpm -ivh
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stab
le.noarch.rpm
yum install -y yum-utils

navigate to a USB stick

mkdir myrpms
cd myrpms
yumdownloader --resolve gstreamer-plugins-ugly
yumdownloader --resolve gstreamer-ffmpeg

Download Flash 11 rpm from Adobe and add to myrpms
On newly installed XO navigate to myrpms and 

rpm -Uhv *.rpm

tested on XO-1 build 883


David Leeming
Solomon Islands Rural Link 

-----Original Message-----
From: Martin Langhoff [mailto:martin.langhoff at gmail.com] 
Sent: Wednesday, 4 April 2012 6:14 p.m.
To: David Leeming
Cc: Kevin Mark; Sugar devel; OLPC Devel
Subject: Re: [Sugar-devel] Installing gstreamer media codecs on XO-1

On Wed, Apr 4, 2012 at 1:06 AM, David Leeming
<david at leeming-consulting.com> wrote:
> A few stumbling blocks for me;
>
> (1) the two localinstall commands below each need Internet connections to
> succeed on a fresh install, or the error is "cannot retrieve repository
> metadata".

Correct. This is the preparation stage, where you need internet to
prepare a USB stick. We cannot perform magic transfer of files yet :-)

> (2) I don't know what to use for "package1 package 2 etc"; I tried using
> gstreamer-plugins-ugly and gstreamer-ffmpeg and it says "no match for
> argument".

Those are probably the package names you want. I would say
 gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly

If it is not finding them, after you've successfully completed step 1,
maybe you need to also pass an --enablerepo=rpmfusion* option to
yumdownloader.

> (3) So I also need to download the dependencies of the two rpmfusion rpms.
> What is the "package name"?

The package names are the names of the packages you want as discussed
in step 2 above.

I really feel we are going in circles here. Perhaps a read of the
documentation for yumdownloader will help you picture what it does, so
you can figure things out a bit more independently?

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff





More information about the Devel mailing list