
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_Miro_2.0.3_before_it_finds_its_way_into_Entropy&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Install Miro 2.0.3 before it finds its way into Entropy - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_Miro_2.0.3_before_it_finds_its_way_into_Entropy&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_Miro_2.0.3_before_it_finds_its_way_into_Entropy&amp;action=history"/>
		<updated>2013-05-24T21:48:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_Miro_2.0.3_before_it_finds_its_way_into_Entropy&amp;diff=6725&amp;oldid=prev</id>
		<title>Chickpea at 13:30, 22 April 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_Miro_2.0.3_before_it_finds_its_way_into_Entropy&amp;diff=6725&amp;oldid=prev"/>
				<updated>2009-04-22T13:30:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ok so I got sick of Miro 1.2.4 not working anymore and wanted to try the new Miro 2.0.3 &lt;br /&gt;
&lt;br /&gt;
It actually emerged without much difficulty.  &lt;br /&gt;
&lt;br /&gt;
'''Machine State Prior to Install'''&lt;br /&gt;
&lt;br /&gt;
Here's my setup.  I run a fully updated x86-64 entropy install (so all binary) with 2.6.29-sabayon kernel with kde4.2.  &lt;br /&gt;
&lt;br /&gt;
'''What You Will Need to Accomplish This:'''&lt;br /&gt;
&lt;br /&gt;
For this you will need:&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; &lt;br /&gt;
1.  A recently synced portage tree, &lt;br /&gt;
2. The latest miro ebuild here: [http://bugs.gentoo.org/attachment.cgi?id=187487 Gentoo Bugzilla Ebuild]&lt;br /&gt;
3. A custom layman repository, or know how to create one&lt;br /&gt;
4. A decent working knowledge of how to create a custom local repo &lt;br /&gt;
    (so be able to set up something in /usr/portage/local/layman with proper portage tree structure)&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Note|  Ok, I realize that there are many better ways to modify the files, create the directories, and patch the ebuild than what I do here.  These are my technical limitations as I don't have the time right now to learn things like sed, create a patch to an ebuild, and modify DEPENDS in an ebuild, so forgive me if this is longer and more complicated than it really needs to be.  You are free to fix this up (it is a wiki afterall) and make it less awkward.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, let's get started:&lt;br /&gt;
&lt;br /&gt;
First do a&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; equo update &amp;amp;&amp;amp; equo world &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now we will&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; emerge --sync &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Download the [http://bugs.gentoo.org/attachment.cgi?id=187487 ebuild] and save it somewhere you will remember.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Create A Custom Repository'''&lt;br /&gt;
&lt;br /&gt;
Ok now create our custom repo&lt;br /&gt;
&lt;br /&gt;
'''First make our directories'''&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; mkdir /usr/portage/local/layman/customebuilds&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
cd into that directory&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; cd /usr/portage/local/layman/customebuilds&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
continue making directories&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;mkdir media-tv/&lt;br /&gt;
cd media-tv/&lt;br /&gt;
mkdir miro &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Ok lets put the ebuild into our new directory&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; cp /whereever/miro-2.0.3-r1.ebuild /usr/portage/local/layman/customebuilds/media-tv/miro&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Note| I realize that now portage wants reponames and it will complain, but honestly I don't care to give my custom repos reponames as I am not sharing them out and things will compile regardless.  Feel free to add a reponame if it gives you a warmfuzzy.}}&lt;br /&gt;
&lt;br /&gt;
Ok now update your make.conf&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;nano /usr/portage/local/layman/make.conf&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
add a line for /usr/portage/local/layman/customebuilds&lt;br /&gt;
&lt;br /&gt;
{{File| /usr/portage/local/layman/make.conf| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;&lt;br /&gt;
/usr/portage/local/layman/sabayon&lt;br /&gt;
/usr/portage/local/layman/customebuilds&lt;br /&gt;
$PORTDIR_OVERLAY&lt;br /&gt;
&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
alright, now we need to pull the ebuild digest&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;cd /usr/portage/local/layman/customebuilds/media-tv/miro&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
pull the digest&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;ebuild miro-2.0.3-r1.ebuild digest&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ok now we will need to clean up some GNOME typos and assorted other issues.&lt;br /&gt;
&lt;br /&gt;
First, &lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;nano /usr/lib/pkgconfig/pm-utils.pc&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
you need to change &lt;br /&gt;
&lt;br /&gt;
pm_powerhooks=${pm_libdir''')'''/power.d to  pm_powerhooks=${pm_libdir'''}'''/power.d&lt;br /&gt;
&lt;br /&gt;
It will look like&lt;br /&gt;
&lt;br /&gt;
{{File| /usr/lib/pkgconfig/pm-utils.pc| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;&lt;br /&gt;
prefix=/usr&lt;br /&gt;
exec_prefix=${prefix}&lt;br /&gt;
libdir=/usr/lib64&lt;br /&gt;
sysconfdir=/etc&lt;br /&gt;
&lt;br /&gt;
pm_libdir=${libdir}/pm-utils&lt;br /&gt;
pm_sysconfdir=${sysconfdir}/pm&lt;br /&gt;
pm_sleephooks=${pm_libdir}/sleep.d&lt;br /&gt;
pm_powerhooks=${pm_libdir}/power.d&lt;br /&gt;
pm_sleepmodules=${pm_libdir}/module.d&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
save and close&lt;br /&gt;
&lt;br /&gt;
NOTE:  It's difficult to see there, but you need to change the end parenthesis &amp;quot;)&amp;quot; to an end parend &amp;quot;}&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Next we need to install a build dependency that is not pulled in by the ebuild.&lt;br /&gt;
&lt;br /&gt;
{{Console|&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;equo install dri2proto&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the fun part&lt;br /&gt;
&lt;br /&gt;
{{Console|&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;emerge -av miro&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
use ask to make sure you got your ebuild ready to compile and if it's right, let er rip!&lt;br /&gt;
&lt;br /&gt;
Should compile fine now and run like a charm.&lt;/div&gt;</summary>
		<author><name>Chickpea</name></author>	</entry>

	</feed>