[mythtv-users] Mythtv on CentOS 7 (and fc22)

John Pilkington J.Pilk at tesco.net
Fri Dec 18 13:04:43 UTC 2015


On 17/12/15 13:51, John Pilkington wrote:
> On 14/12/15 11:01, Stuart Auchterlonie wrote:
>
>>
>> Centos 7 has all the required Qt4 / Qt5 libraries to build MythTV 0.27
>> and 0.28.
>>
>> With the help of rpmfusion and epel, you will have pretty much
>> everything you need.
>>
>> For the benefit of everyone there are ansible cookbooks already done
>> that support Centos.
>>
>> https://github.com/MythTV/ansible
>>
>> Install ansible and git packages, clone the above repo, then run as root
>>
>> # ansible-playbook -i hosts qt4.yml
>> # ansible-playbook -i hosts qt5.yml
>>
>> and everything you need gets installed :)
>>
>>
>> Regards
>> Stuart Auchterlonie
>> MythTV Developer
>
> It seems that qt4 and qt5 devel packages don't happily coexist.  After
> running *both* these ansible-playbook commands my old qt4-based 0.28-pre
> srpm wouldn't rebuild, and attempts at a qt5-based build failed too -
> both well before the package-building stage.  The old srpm rebuilt after
> I had removed the qt5 devel packages.
>
> After uninstalling the qt4 devel packages, and reinstalling qt5 devel,
> my revised specfile has now delivered what appears to be a full set of
> MythTV el7 rpms from the current master tarball, and a rebuild of the
> el7 srpm appears to have worked in f22 too.  I'm intending to install
> and try the f22 packages first.  Hold tight....

Eventually, after some unproductive messing about with trying to define 
a local repo, the fc22 packages for master were installed by something like

# dnf install /path/to/folder/*.rpm

That also brought in libdvdnav-devel, libdvdread-devel, libfame-devel 
and libfame.  I was surprised to see the devel packages but haven't yet 
looked to find why they appeared.

My specfile makes packages called name-master-0.1.3234... which makes 
them appear as downgrades from name-0.27.5-2...  That's inconvenient. 
Richard suggested a way round it some time ago but I haven't been 
building recently.  It's on the rsn list.

After that things seemed to work as expected - remembering that I've 
been running master on kubuntu.  HD recordings with my PCTV-290e failed 
immediately until I set their transport types to DVB-T2; see Ticket #12342

Another snag is that dnf seems to have removed some, but not all, of the 
customisations that I had kept as extra files, eg in theme folders. 
Maybe there's an option to prevent that, but I guess I ought to move 
towards git anyway.

So... I expect to switch the SL7 box to current master soon - but not 
yet.  :-)

>
> Thanks,
>
> John P




More information about the mythtv-users mailing list