[mythtv-users] Keeping builds up-to-date

John Pilkington J.Pilk at tesco.net
Thu Jul 19 11:12:08 UTC 2012


On 19/07/12 11:00, Alex Butcher wrote:
> On Thu, 19 Jul 2012, John Pilkington wrote:
>
>> After years of running MythTV installed from packages I now have a
>> local build from the 0.25.2 tarballs, but I'm not clear of the best
>> way to keep it updated, if that seems a good thing to do.
>>
>> The ATrpms packages use gitfixes.patch files;  I don't know how these
>> are created.  I haven't used git and don't know what resources it
>> would need at my end.  Would I do better to do a git clone instead?
>> Can I rebuild small parts of the system if I want to try some
>> out-of-tree patch?  How?
>>
>> I expect these questions are covered somewhere in the wiki, but I
>> haven't found it easy to find a concise and up-to-date set of
>> recommendations.  Any suggestions?
>
>> From my personal MythTV RPM specfile (based on Fedora/rpmfusion's,
>> which in
> turn was based on Axel Thimm's), some notes to myself:
>
> # AJB20110112 - summary of pulling 0.24-fixes using GIT
> # cd /usr/src/redhat/SOURCES/mythtv-0.24-fixes-GIT20110112
> # mv mythtv/mythtv-0.24 mythtv/mythtv
> # mv mythtv/mythplugins-0.24 mythtv/mythplugins
> # git clone git://github.com/MythTV/mythtv.git mythtv
> # git checkout fixes/0.24
> # git pull
> # cd mythplugins
> # git clone git://github.com/MythTV/mythweb.git
> # git checkout fixes/0.24
> # git pull
> # cd ../..
> # mv mythtv/mythtv mythtv/mythtv-0.24
> # mv mythtv/mythplugins mythtv/mythplugins-0.24
> # # to update tree:
> # cd /usr/src/redhat/SOURCES/mythtv-0.24-fixes-GIT20110112
> # mv mythtv/mythtv-0.24 mythtv/mythtv
> # mv mythtv/mythplugins-0.24 mythtv/mythplugins
> # cd mythtv
> # git pull
> # cd mythplugins/mythweb
> # git pull
> # mv mythtv/mythtv mythtv/mythtv-0.24
> # mv mythtv/mythplugins mythtv/mythplugins-0.24
>
> Then tar those two directories up as:
>
> Source0:
> http://www.mythtv.org/mc/mythtv-%{version}-gitfixes-20110212.tar.bz2
> Source1:
> http://www.mythtv.org/mc/mythplugins-%{version}-gitfixes-20110212.tar.bz2
>
> Then comment out the application of patches that don't apply because
> they're
> obsoleted by the current version from GIT (0, 1, 101, 102, 103 in the last
> build I did, about 18 months ago).
>
>> John P
>
> HTH,
> Alex

Yes, thanks, that looks fine.  I was afraid I had sent a 'please send me 
any information that you have about the Universe' sort of query.

John





More information about the mythtv-users mailing list