Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712956 - media-tv/mythtv-31.0 version bump (python3-support)
Summary: media-tv/mythtv-31.0 version bump (python3-support)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL: https://www.mythtv.org/wiki/Release_N...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-03-17 10:02 UTC by Michał Górny
Modified: 2020-06-11 15:24 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-17 10:02:35 UTC
Last blocker for dev-python/requests-cache.
Comment 1 Wilson M. Michaels 2020-03-17 12:57:31 UTC
Waiting for upstream to release new version of mythtv with py3 support. Current release does not support py3.
Comment 2 Amel Hodzic 2020-03-29 12:48:04 UTC
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.
Comment 3 Wilson M. Michaels 2020-03-29 13:50:49 UTC
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
Comment 4 Preston Crow 2020-04-07 03:44:49 UTC
Note that this is probably going to require an update to media-tv/xmltv to 0.6.1.
Comment 5 Preston Crow 2020-04-07 04:02:21 UTC
Added related bug 716512 for xmltv-0.6.1.
Comment 6 Chris Jacques 2020-06-04 10:43:53 UTC
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 :(
Comment 7 Wilson M. Michaels 2020-06-04 12:59:17 UTC
(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? (
Comment 8 Chris Jacques 2020-06-09 11:14:38 UTC
(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
Comment 9 Wilson M. Michaels 2020-06-09 13:41:28 UTC
(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?
Comment 10 Larry the Git Cow gentoo-dev 2020-06-11 08:03:34 UTC
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(+)
Comment 11 Wilson M. Michaels 2020-06-11 15:24:30 UTC
All the issues in this bug are fixed by updates to:
media-tv/mythtv
media-plugins/mythplugins
media-tv/xmltv