On Fri, Oct 26, 2012 at 10:09 AM, Mark <span dir="ltr">&lt;<a href="mailto:markhsa@gmail.com" target="_blank">markhsa@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want a script that goes out and gets/builds the latest 26 fixes.<br>
Is this the correct method?<br>
<br>
git clone -b fixes/0.26 git://<a href="http://github.com/MythTV/mythtv.git" target="_blank">github.com/MythTV/<u></u>mythtv.git</a><br>
git clone -b fixes/0.26 git://<a href="http://github.com/MythTV/packaging.git" target="_blank">github.com/MythTV/<u></u>packaging.git</a><br>
git clone -b fixes/0.26 git://<a href="http://github.com/MythTV/mythweb.git" target="_blank">github.com/MythTV/<u></u>mythweb.git</a><br>
<br>
Second question...<br>
How often is this updated?  Are the daily fixes that come out included in this above?<br></blockquote><div><br></div><div><div>Mark, I have been building rpm on 0.26 for awhile.  My spec file was based on Richard&#39;s rpmfusion version of it.  If you start from his version, it should be simple:</div>
<div><br></div><div>The notes here might be useful:</div><div><br></div><div><a href="http://www.mythtv.org/wiki/Building_RPMS_from_Source">http://www.mythtv.org/wiki/Building_RPMS_from_Source</a></div><div><br></div><div>
If you start with the rpmfusion mythtv.spec, you can build it easily.</div><div><a href="http://download1.rpmfusion.org/free/fedora/updates/17/SRPMS/repoview/mythtv.html">http://download1.rpmfusion.org/free/fedora/updates/17/SRPMS/repoview/mythtv.html</a></div>
<div><br></div><div>rpm -i mythtv.src.rpm</div><div>yum-builddep mythtv</div><div>cd /home/mythtv/rpm/SPECS</div><div>rpmbuild -bb --target=i686 mythtv.spec</div><div><br></div><div>Now, if you want to apply more new patches:</div>
<div>1. Create the repository: </div><div><span style="background-color:rgb(249,249,249);line-height:1.1em">git clone -b fixes/0.26 </span><a rel="nofollow" class="external free" href="git://github.com/MythTV/mythtv.git" style="line-height:1.1em;text-decoration:none;color:rgb(102,51,102);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);padding-right:13px;background-repeat:no-repeat no-repeat">git://github.com/MythTV/mythtv.git</a></div>
<div>(do this only once)</div><div><br></div><div>2. Update it, cd into it, then</div><div>git pull</div><div><br></div><div>3. Create patches file,</div><div>git diff -p --stat v0.26.0 &gt; mythtv-0.26.0-fixes.patch</div>
<div><br></div><div>4. make sure your mythtv.spec has the lines referencing the patchfile</div><div>Patch0:    mythtv-0.26.0-fixes.patch                                            </div><div>%patch0 -p1 -b .mythtv                                                          </div>
<div><br></div><div>5. update your release line in your spec, if you want to tag the rpm with a different release</div><div>Release:        0.4%{?dist}</div><div><br></div><div>6. build again.</div><div><div>cd /home/mythtv/rpm/SPECS</div>
<div>rpmbuild -bb --target=i686 mythtv.spec</div></div></div><div><br></div><div>repeat, steps 2 to 6 (skipping 4 since you probably will use the same patchfile), to get the latest in fixes.</div><div><br></div><div>You can keep an eye on the commits to see if there is anything worth building,</div>
<div><a href="https://github.com/MythTV/mythtv/commits/fixes/0.26">https://github.com/MythTV/mythtv/commits/fixes/0.26</a> </div><div><br></div><div><br></div><div>For ubuntu, the mythbuntu team has setup nightly builds already, so it is easy to grab the deb packages and just install them.  Kudos to the mythbuntu team! I don&#39;t build deb packages.</div>
<div><br></div><div>i hope this helps.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks for the advice.<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
</blockquote></div><br>