Summary: | media-tv/mythtv-31.0 version bump (python3-support) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Wilson M. Michaels <thebitpit> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chris.weedman, drescherjm, foontala, kzeiler, proxy-maint, robink, stevee |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://www.mythtv.org/wiki/Release_Notes_-_31 | ||
See Also: | https://github.com/gentoo/gentoo/pull/15758 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 694800 |
Description
Michał Górny
2020-03-17 10:02:35 UTC
Waiting for upstream to release new version of mythtv with py3 support. Current release does not support py3. Version 0.31 of mythtv has been out for a week now. Is there any progress being made on this? I wonder if anyone has tried adopting the mythtv ebuild for python3 (mythtv-0.31) and if any additional blockers were discovered in the process. Otherwise, I'd be happy to try to implement it in an overlay for testing. I created an ebuild that compiles on my system without error. I still need to install and test it. You might be able to see the ebuild directory at: https://github.com/thebitpit/gentoo/tree/Bump31/media-tv/mythtv It is file: mythtv-31.0.ebuild Note that this is probably going to require an update to media-tv/xmltv to 0.6.1. Added related bug 716512 for xmltv-0.6.1. I've been running (In reply to Wilson M. Michaels from comment #3) > I created an ebuild that compiles on my system without error. I still need > to install and test it. > > You might be able to see the ebuild directory at: > https://github.com/thebitpit/gentoo/tree/Bump31/media-tv/mythtv > > It is file: > mythtv-31.0.ebuild Many thanks for creating this Wilson. I've been running a version of this ebuild on my system for about a fortnight now (adding in a custom patch to remove the dependency on qtwebkit). Something of note - during testing I hit a bug with the latest stable MariaDB v10.4.12 (https://jira.mariadb.org/browse/MDEV-20261). Downgrading to 10.3.22 fixed my issue though it did require restoring my mythconverg database from backup :( (In reply to Chris Jacques from comment #6) > Many thanks for creating this Wilson. I've been running a version of this > ebuild on my system for about a fortnight now (adding in a custom patch to > remove the dependency on qtwebkit). Does your patch look something like this? diff --git a/media-tv/mythtv/mythtv-31.0.ebuild b/media-tv/mythtv/mythtv-31.0.ebuild index 29559db737b..87b2a3d6854 100644 --- a/media-tv/mythtv/mythtv-31.0.ebuild +++ b/media-tv/mythtv/mythtv-31.0.ebuild @@ -41,7 +41,6 @@ RDEPEND=" dev-qt/qtnetwork:5 dev-qt/qtscript:5 dev-qt/qtsql:5[mysql] - dev-qt/qtwebkit:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 media-fonts/corefonts @@ -106,8 +105,9 @@ RDEPEND=" x265? ( media-libs/x265 ) xml? ( dev-libs/libxml2 ) xmltv? ( - media-tv/xmltv dev-perl/XML-LibXML + dev-qt/qtwebkit:5 + media-tv/xmltv ) xvid? ( media-libs/xvid ) zeroconf? ( (In reply to Wilson M. Michaels from comment #7) > (In reply to Chris Jacques from comment #6) > > Many thanks for creating this Wilson. I've been running a version of this > > ebuild on my system for about a fortnight now (adding in a custom patch to > > remove the dependency on qtwebkit). > > Does your patch look something like this? > > diff --git a/media-tv/mythtv/mythtv-31.0.ebuild > b/media-tv/mythtv/mythtv-31.0.ebuild > index 29559db737b..87b2a3d6854 100644 > --- a/media-tv/mythtv/mythtv-31.0.ebuild > +++ b/media-tv/mythtv/mythtv-31.0.ebuild > @@ -41,7 +41,6 @@ RDEPEND=" > dev-qt/qtnetwork:5 > dev-qt/qtscript:5 > dev-qt/qtsql:5[mysql] > - dev-qt/qtwebkit:5 > dev-qt/qtwidgets:5 > dev-qt/qtxml:5 > media-fonts/corefonts > @@ -106,8 +105,9 @@ RDEPEND=" > x265? ( media-libs/x265 ) > xml? ( dev-libs/libxml2 ) > xmltv? ( > - media-tv/xmltv > dev-perl/XML-LibXML > + dev-qt/qtwebkit:5 > + media-tv/xmltv > ) > xvid? ( media-libs/xvid ) > zeroconf? ( It's very similar but I remove qtwebkit from RDEPEND entirely and also apply this patch (note I don't use plugins so YMMV): --- a/configure 2020-05-24 22:22:51.863778665 +1000 +++ b/configure 2020-05-24 22:26:32.142291175 +1000 @@ -1976,7 +1976,6 @@ mmal opengl egl - qtwebkit qtscript qtdbus taglib @@ -6549,17 +6548,6 @@ ;; esac -if $(pkg-config --exists Qt5WebKit) || $(pkg-config --exists QtWebKit) ; then - enable qtwebkit -else - check_ecxx ${qt_inc} ${qt_inc}/QtCore <<EOF && enable qtwebkit -#include <QtWebKit/QtWebKit> -int main(void){ return 0; } -EOF -fi - -enabled qtwebkit || warn "QtWebkit headers not found. Plugins may fail." - if $(pkg-config --exists Qt5Script) || $(pkg-config --exists QtScript) ; then enable qtscript else (In reply to Chris Jacques from comment #8) > > It's very similar but I remove qtwebkit from RDEPEND entirely and also apply > this patch (note I don't use plugins so YMMV): > Gentoo should support all the options. XmlTV is optional, but it requires qtwebkit to run. The ebuild change addresses that. The unpatched configure file should produce a warning when qtwebkit is missing and the xmltv USE flag is not set (default not set). I updated my github fork: https://github.com/thebitpit/gentoo/tree/Bump31/media-tv/mythtv/mythtv-31.0.ebuild Does it build for you without your configure patch? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf3442e0ee9957afdf9a9f4f153297dc3e28e43 commit 2bf3442e0ee9957afdf9a9f4f153297dc3e28e43 Author: Wilson Michaels <thebitpit@earthlink.net> AuthorDate: 2020-04-04 14:41:48 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-11 08:03:24 +0000 media-tv/mythtv: Bump version 31.0 Bug: https://bugs.gentoo.org/712956 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Wilson Michaels <thebitpit@earthlink.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-tv/mythtv/Manifest | 1 + media-tv/mythtv/files/mythbackend.init-r3 | 72 ++++ .../files/mythtv-31.0-Include_QPainterPath.patch | 15 + .../mythtv/files/mythtv-31.0-Remove_ldconfig.patch | 13 + media-tv/mythtv/metadata.xml | 1 + media-tv/mythtv/mythtv-31.0.ebuild | 436 +++++++++++++++++++++ 6 files changed, 538 insertions(+) All the issues in this bug are fixed by updates to: media-tv/mythtv media-plugins/mythplugins media-tv/xmltv |