Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437140 - media-tv/mythtv-0.26 version bump request
Summary: media-tv/mythtv-0.26 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Doug Goldstein (RETIRED)
URL: http://www.mythtv.org/wiki/Release_No...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 08:59 UTC by Bob Deblier
Modified: 2013-02-08 01:37 UTC (History)
14 users (show)

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


Attachments
patch per my comment. (patch.txt,513 bytes, patch)
2012-10-06 19:15 UTC, Richard Freeman
Details | Diff
ebuild for 0.26 (mythtv-0.26.0_p20121006.ebuild,9.14 KB, text/plain)
2012-10-06 19:17 UTC, Richard Freeman
Details
updated ebuild (mythtv-0.26.0_p20121006.ebuild,9.14 KB, text/plain)
2012-11-04 16:12 UTC, Richard Freeman
Details
mythtv-0.26.0_p20121107.ebuild (mythtv-0.26.0_p20121107.ebuild,9.17 KB, text/plain)
2012-11-12 15:06 UTC, Richard Freeman
Details
mythtv-0.26.0_p20121228.ebuild (mythtv-0.26.0_p20121228.ebuild,8.91 KB, text/plain)
2012-12-30 15:01 UTC, Sonni
Details
mythplugins-0.26.0_p20121228.ebuild (mythplugins-0.26.0_p20121228.ebuild,2.73 KB, text/plain)
2012-12-30 15:03 UTC, Sonni
Details
mythweb-0.26.0_p20121228.ebuild (mythweb-0.26.0_p20121228.ebuild,1.75 KB, text/plain)
2012-12-30 15:04 UTC, Sonni
Details
logrotate script for 0.26 (mythtv.logrotate.d-r4,236 bytes, text/plain)
2013-01-01 01:51 UTC, Myk Taylor
Details
emerge --info for the 0012-Updated-Italian-MythMusic-translation.patch problem (emerge-info.log,4.42 KB, text/plain)
2013-01-29 17:00 UTC, raffaele
Details
build log for the 0012-Updated-Italian-MythMusic-translation.patch problem (build.log,2.25 KB, text/plain)
2013-01-29 17:01 UTC, raffaele
Details
patch output for the 0012-Updated-Italian-MythMusic-translation.patch problem (0012-Updated-Italian-MythMusic-translation.patch.out,214.22 KB, text/plain)
2013-01-29 17:02 UTC, raffaele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Deblier 2012-10-04 08:59:30 UTC
MythTV has released version 0.26. Would somebody be kind enough to make an ebuild for this?

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-10-04 13:49:45 UTC
A 0-day bump request. You're more than welcome to take a gander at this and attach your results to this bug.
Comment 2 Richard Freeman gentoo-dev 2012-10-06 19:15:29 UTC
Got it to install. Haven't had a chance to test (need to update the whole setup / backup / etc).

Used the 0.25.2 ebuild.  The ldconfig backport is still required.  A patch is needed for external/Makefile on amd64 - libdir is ignored.

Patch attached.
Comment 3 Richard Freeman gentoo-dev 2012-10-06 19:15:59 UTC
Created attachment 325824 [details, diff]
patch per my comment.
Comment 4 Richard Freeman gentoo-dev 2012-10-06 19:17:25 UTC
Created attachment 325826 [details]
ebuild for 0.26

Note that this ebuild is really illustrative.  It would be cleaner to merge the patches into the backports.  I do not know which if any of the backport patches are in 0.26 beyond the two build fixes.
Comment 5 Richard Freeman gentoo-dev 2012-10-06 22:01:52 UTC
Ok, that build seems to work for me.  I can't say it has gotten the most rigorous testing, but I plan to use it for daily use.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-10-07 02:32:52 UTC
Thanks for the work Rich. I can track these down with upstream to get them added to backports and make an ebuild from backports and add that to the tree if you'd like. Otherwise you can add yours to the tree.
Comment 7 Richard Freeman gentoo-dev 2012-10-07 11:08:37 UTC
Unless you're busy and think it will take weeks/etc probably cleanest for you to just merge these in so that it stays consistent.  Otherwise we have backports split between our web spaces.

That said, long-term I should be able to increase my activity level - I'm finally running pure Gentoo on my Myth setup and upgrades are shockingly easy now.  Turns out my problems were with the embedded ffmpeg code and 0.25.2+ must have finally backported something that worked (otherwise my next step was to try to update that code myself).  I assume they must have done something to ffmpeg that keeps them from just using external libs?
Comment 8 kisak42 2012-10-08 01:28:28 UTC
Mythtv's internal copy ffmpeg is called by calling mythffmpeg instead of ffmpeg. They use it so that they do not need to troubleshoot every random breakage between the different mythtv and ffmpeg revision mash-ups and when the mythtv devs are troubleshooting a user's problem there is a single revision of ffmpeg being considered.
Your scripts do not need to prefer mythffmpeg over ffmpeg, but you have to reproduce the problem with mythffmpeg before the mythtv devs will look into a problem related to ffmpeg.
To the best of my knowledge it is a vanilla ffmpeg branch, they only regulate the revision. (as in test a new ffmpeg, then if needed rebase mythtv to use it reliably, and push the changes to git)

In any case, this is the wrong place to continue this tangent and I apologize for digressing from the topic.
Comment 9 Neil Bothwick 2012-10-09 19:49:06 UTC
This ebuild fails when gdb is not installed.
Comment 10 Denis Cheong 2012-10-13 04:01:33 UTC
There's a missing libx264 dependency.

 * mythtv-0.26.0.tar.bz2 SHA256 SHA512 size ;-) ...                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking mythtv-0.26.0.tar.bz2 to /var/tmp/portage/media-tv/mythtv-0.26.0/work
>>> Source unpacked in /var/tmp/portage/media-tv/mythtv-0.26.0/work
>>> Preparing source in /var/tmp/portage/media-tv/mythtv-0.26.0/work/mythtv-0.26.0 ...
 * Applying patch.txt ...                                                                                                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-tv/mythtv-0.26.0/work/mythtv-0.26.0 ...
 * Running ./configure  --prefix=/usr --libdir=/usr/lib64 --libdir-name=lib64 --mandir=/usr/share/man --enable-audio-alsa --disable-audio-jack --disable-audio-pulseoutput --disable-altivec --enable-dvb --disable-firewire --enable-lirc --enable-libxvid --dvb-path=/usr/include --enable-xrandr --enable-xv --enable-x11 --enable-nonfree --disable-libcec --disable-libdns-sd --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx --enable-libfaac --with-bindings=perl,python --python=python2.6 --compile-type=profile --enable-vdpau --disable-joystick-menu --enable-symbol-visibility --enable-pic --cpu=core2 --disable-distcc --disable-ccache
ERROR: libx264 version must be >= 0.118.

If you think configure made a mistake, make sure that you are using the latest
version of MythTV from git.  If the latest version fails, report the problem to the
mythtv-dev@mythtv.org mailing list or IRC #mythtv on irc.freenode.net
Include the log file "config.ep" produced by configure as this will help
solving the problem.
Comment 11 Johannes Duschl 2012-10-18 16:17:43 UTC
Richard's ebuild works for me on x86.
Comment 12 Johannes Duschl 2012-10-18 16:17:53 UTC
Richard's ebuild works for me on x86.
Comment 13 Johannes Duschl 2012-10-19 06:08:57 UTC
MYthtv 0.26 requires IPv6 to be enabled. Should this be checked?
Comment 14 Richard Freeman gentoo-dev 2012-11-04 16:10:58 UTC
(In reply to comment #9)
> This ebuild fails when gdb is not installed.

You'll need to give me full details on that.  I can't reproduce this from a clean stage3.
Comment 15 Richard Freeman gentoo-dev 2012-11-04 16:12:16 UTC
Created attachment 328340 [details]
updated ebuild

Updated x264 dependency.
Comment 16 Richard Freeman gentoo-dev 2012-11-12 15:06:35 UTC
Created attachment 329344 [details]
mythtv-0.26.0_p20121107.ebuild

Updated with backports.  Note that I renamed the patch it references as well.
Comment 17 Preston Crow 2012-11-14 18:47:05 UTC
Is there a corresponding ebuild for media-plugins/mythplugins available?  I couldn't find a separate bug report for it, and we really need both ebuilds together.
Comment 18 Richard Freeman gentoo-dev 2012-11-14 21:47:48 UTC
(In reply to comment #17)
> Is there a corresponding ebuild for media-plugins/mythplugins available?  I
> couldn't find a separate bug report for it, and we really need both ebuilds
> together.

That's the whole reason this isn't in portage.

I'm contemplating committing this and masking it though so that those who don't use plugins can still get use out of it.  If I get time I might look into the plugins, but feel free to post an updated ebuild.
Comment 19 Richard Freeman gentoo-dev 2012-11-23 01:25:38 UTC
(In reply to comment #18)
> 
> I'm contemplating committing this and masking it though so that those who
> don't use plugins can still get use out of it.  If I get time I might look
> into the plugins, but feel free to post an updated ebuild.

Added to portage, but masked.  I'll continue to update it there.  Will leave this open until plugins are bumped and all is unmasked.
Comment 20 Doug Goldstein (RETIRED) gentoo-dev 2012-11-23 18:32:17 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > 
> > I'm contemplating committing this and masking it though so that those who
> > don't use plugins can still get use out of it.  If I get time I might look
> > into the plugins, but feel free to post an updated ebuild.
> 
> Added to portage, but masked.  I'll continue to update it there.  Will leave
> this open until plugins are bumped and all is unmasked.

I'll bump the rest and unmask if you'd like when I return from dev away in December.
Comment 21 Richard Freeman gentoo-dev 2012-11-23 18:34:13 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > (In reply to comment #18)
> > > 
> > > I'm contemplating committing this and masking it though so that those who
> > > don't use plugins can still get use out of it.  If I get time I might look
> > > into the plugins, but feel free to post an updated ebuild.
> > 
> > Added to portage, but masked.  I'll continue to update it there.  Will leave
> > this open until plugins are bumped and all is unmasked.
> 
> I'll bump the rest and unmask if you'd like when I return from dev away in
> December.

By all means - I don't actually use plugins right now, and it hasn't quite made it to the top of my to-do list.  So, whoever gets to it first...

Rich
Comment 22 Joseph Yasi 2012-11-24 14:52:13 UTC
The libdir.patch file is missing from portage.
Comment 23 Richard Freeman gentoo-dev 2012-11-24 15:06:16 UTC
(In reply to comment #22)
> The libdir.patch file is missing from portage.

Well, at least I masked it, so I can skip the full flogging.  Fixed in portage, just wait an hour for mirrors to propagate.
Comment 24 Myk Taylor 2012-11-26 01:20:52 UTC
the logrotate script for 0.26.0 needs updating too due to the new mythtv logging server -- see the 0.26 version at:
http://www.mythtv.org/wiki/Logrotate_-_all_applications
Comment 25 Sonni 2012-12-30 15:00:21 UTC
Wanted to give 0.26 a go, but also needed mythplugins and mythweb for my setup. 

So after playing around with the existing ebuild I ended up with a set of ebuild that can install and run on my systems. As you may find these script do not use a magical tarball, but simply uses the git repository. One side effect of this are the ~244MB "distfiles" space required vs the ~8.5MB tar.gz version, so it may take a bit of time for the initial fetch, but that's like a 10min recording. Up side are that it is rather easy to update the ebuild when a new commit are made on the fixes/0.26 branch - copy ebuild and update the git hash.

Happy new year everyone
Comment 26 Sonni 2012-12-30 15:01:51 UTC
Created attachment 333772 [details]
mythtv-0.26.0_p20121228.ebuild
Comment 27 Sonni 2012-12-30 15:02:36 UTC
Comment on attachment 333772 [details]
mythtv-0.26.0_p20121228.ebuild

Git based mythtv ebuild
Comment 28 Sonni 2012-12-30 15:03:25 UTC
Created attachment 333774 [details]
mythplugins-0.26.0_p20121228.ebuild

Git based mythplugins ebuild
Comment 29 Sonni 2012-12-30 15:04:08 UTC
Created attachment 333778 [details]
mythweb-0.26.0_p20121228.ebuild

Git based mythweb ebuild
Comment 30 Stefan G. Weichinger 2012-12-30 18:17:58 UTC
(In reply to comment #25)
> Wanted to give 0.26 a go, but also needed mythplugins and mythweb for my
> setup. 
> 
> So after playing around with the existing ebuild I ended up with a set of
> ebuild that can install and run on my systems. As you may find these script
> do not use a magical tarball, but simply uses the git repository. One side
> effect of this are the ~244MB "distfiles" space required vs the ~8.5MB
> tar.gz version, so it may take a bit of time for the initial fetch, but
> that's like a 10min recording. Up side are that it is rather easy to update
> the ebuild when a new commit are made on the fixes/0.26 branch - copy ebuild
> and update the git hash.

I will give it a try, thanks for the ebuilds.
Is upgrading from the v0.25 ebuild in portage easy going?
 
> Happy new year everyone

Same to you, thanks!
Stefan
Comment 31 Richard Freeman gentoo-dev 2013-01-01 00:51:04 UTC
(In reply to comment #27)
> Comment on attachment 333772 [details]
> mythtv-0.26.0_p20121228.ebuild
> 
> Git based mythtv ebuild

Anyone is of course welcome to use these, but scm-based ebuilds can never be unmasked in portage.  

FYI - latest fixes are now in portage.

I'll see if I can look at the plugins - I don't run them so I'll probably leave them masked for a bit for testing, but once everything is in place we can probably unmask 0.26.
Comment 32 Myk Taylor 2013-01-01 01:51:32 UTC
Created attachment 333900 [details]
logrotate script for 0.26
Comment 33 James Purl 2013-01-03 23:03:02 UTC
Thanks for these!! I will also try them out and comment back (I use mythtv and mythweb on my funtoo myth master backend, mythbuntu on all my frontends and slave backends). I changed my copy of the p20121228 mythtv ebuild slightly to use the logrotate config attached here.
Comment 34 Richard Freeman gentoo-dev 2013-01-03 23:06:36 UTC
(In reply to comment #33)
> Thanks for these!! I will also try them out and comment back (I use mythtv
> and mythweb on my funtoo myth master backend, mythbuntu on all my frontends
> and slave backends). I changed my copy of the p20121228 mythtv ebuild
> slightly to use the logrotate config attached here.

Yup, I'm testing out the new logrotate - I plan to fit it in to the next release.  Hopefully I can mess with the plugins as well by then.
Comment 35 Richard Freeman gentoo-dev 2013-01-23 21:06:51 UTC
Ok, mythplugins is in the tree.

I'm still hitting my head against a wall with mythweb.  Does it actually work out-of-the-box for anybody?  It seems like the install requires a LOT of tweaking, and that may apply to 0.25 as well.  If so, I'm not sure it makes much sense to have this as an ebuild unless it can be cleaned up so that it "just works."  Anybody can extract a tarball into htdocs and spend two hours hacking at it....

If somebody has tips for getting mythweb working I'm all for unmasking them all together.  If not this should be a working 0.26 set, including all patches to-date.
Comment 36 Doug Goldstein (RETIRED) gentoo-dev 2013-01-23 21:15:21 UTC
(In reply to comment #35)
> Ok, mythplugins is in the tree.
> 
> I'm still hitting my head against a wall with mythweb.  Does it actually
> work out-of-the-box for anybody?  It seems like the install requires a LOT
> of tweaking, and that may apply to 0.25 as well.  If so, I'm not sure it
> makes much sense to have this as an ebuild unless it can be cleaned up so
> that it "just works."  Anybody can extract a tarball into htdocs and spend
> two hours hacking at it....
> 
> If somebody has tips for getting mythweb working I'm all for unmasking them
> all together.  If not this should be a working 0.26 set, including all
> patches to-date.

With 0.25 stuff I just emerge it and use webapp-config to install it to my htdocs then all I need to do is edit the config file which is CONFIG_PROTECT. Last step is to include the Apache or Lighty config file it ships with into my web server.
Comment 37 Alec Moskvin 2013-01-23 21:30:00 UTC
I can confirm that MythWeb 0.24 and 0.25 worked fine for me.
Comment 38 Richard Freeman gentoo-dev 2013-01-23 22:57:10 UTC
I'm getting a ton of php errors - often around translations, and sometimes around timezone settings (ie none defined explicitly).  

I've tried installing it under my main host and under a virtual host.

I'll keep messing with it.  In the meantime feel free to test out mythplugins.  I was getting some issues with mythweather but that could be from configuration cruft, and it always seemed like mythweather never quite worked right in the past.

Once I get mythweb working I might post on the blog to get more attention for testers, but if things seem quiet for a few days it can be unmasked, and we'll be up-to-date again.  

Now if I can figure out why mythtranscode occasionally drops the video bitrate to a few hundred kilobits for an entire program I'll be happy, but I'm sure that is an upstream issue...
Comment 39 Richard Freeman gentoo-dev 2013-01-24 00:22:42 UTC
Ok, oddly enough I fixed my errors by turning on error reporting.  Yes, it makes no sense.  All ears if anybody knows why (just email me off-bug about that).

So, mythweb is now in portage.  Please test away.  If all is well for a few days I'll remove the masks.
Comment 40 Richard Freeman gentoo-dev 2013-01-28 00:20:10 UTC
Thanks all for your contributions!  0.26 is unmasked.  I plan to commit patchsets from time to time...
Comment 41 raffaele 2013-01-29 16:57:55 UTC
mythplugins-0.26.0_p20130121 fails to build while applying the 0012-Updated-Italian-MythMusic-translation.patch.
Workaround: Deleting the patch file and issuing ebuild directly builds without errors.

# emerge -pqv =media-plugins/mythplugins-0.26.0_p20130121
[ebuild  N    ] media-plugins/mythplugins-0.26.0_p20130121  USE="cdda exif mythbrowser mythgallery mythgame mythmusic mythnetvision mythweather -cdr -fftw -mytharchive -mythnews -raw"
Comment 42 raffaele 2013-01-29 17:00:44 UTC
Created attachment 337246 [details]
emerge --info for the 0012-Updated-Italian-MythMusic-translation.patch problem
Comment 43 raffaele 2013-01-29 17:01:21 UTC
Created attachment 337248 [details]
build log for the 0012-Updated-Italian-MythMusic-translation.patch problem
Comment 44 raffaele 2013-01-29 17:02:00 UTC
Created attachment 337250 [details]
patch output for the 0012-Updated-Italian-MythMusic-translation.patch problem
Comment 45 Richard Freeman gentoo-dev 2013-01-29 18:01:59 UTC
(In reply to comment #41)
> mythplugins-0.26.0_p20130121 fails to build while applying the
> 0012-Updated-Italian-MythMusic-translation.patch.
> Workaround: Deleting the patch file and issuing ebuild directly builds
> without errors.
> 
> # emerge -pqv =media-plugins/mythplugins-0.26.0_p20130121
> [ebuild  N    ] media-plugins/mythplugins-0.26.0_p20130121  USE="cdda exif
> mythbrowser mythgallery mythgame mythmusic mythnetvision mythweather -cdr
> -fftw -mytharchive -mythnews -raw"

Go ahead and log a bug for this.  I'm not quite sure what is going on there.  Works for me, but I don't have much experience with binary patches so maybe there is some kind of odd behavior going on.  The file obviously exists.
Comment 46 Richard Freeman gentoo-dev 2013-01-29 18:38:05 UTC
(In reply to comment #45)
> (In reply to comment #41)
> > mythplugins-0.26.0_p20130121 fails to build while applying the
> > 0012-Updated-Italian-MythMusic-translation.patch.
> > Workaround: Deleting the patch file and issuing ebuild directly builds
> > without errors.
> > 
> > # emerge -pqv =media-plugins/mythplugins-0.26.0_p20130121
> > [ebuild  N    ] media-plugins/mythplugins-0.26.0_p20130121  USE="cdda exif
> > mythbrowser mythgallery mythgame mythmusic mythnetvision mythweather -cdr
> > -fftw -mytharchive -mythnews -raw"
> 
> Go ahead and log a bug for this.  I'm not quite sure what is going on there.
> Works for me, but I don't have much experience with binary patches so maybe
> there is some kind of odd behavior going on.  The file obviously exists.

Ok, found the issue buried in your log, it appears that your patch does not support git binary diffs.  I couldn't find much documentation on this, however.  Do you have git installed?  If not try installing that and see if it works, but let me know so that I can add that as a build dependency.  Or I could just drop the translation patch - I had to drop others as they mix plugins vs base files and they don't apply cleanly to either as a result.
Comment 47 Alec Moskvin 2013-01-29 18:57:57 UTC
The "git --diff" format was added to patch in patch-2.7: https://lwn.net/Articles/515796/

It actually says that "Binary diffs are not supported yet; patch will complain and skip them." So... this being Gentoo, shouldn't the binary .qm files be generated during build-time? :) The .qm files can be built from .ts using "lrelease".
Comment 48 Richard Freeman gentoo-dev 2013-01-29 19:06:36 UTC
(In reply to comment #47)
> The "git --diff" format was added to patch in patch-2.7:
> https://lwn.net/Articles/515796/
> 
> It actually says that "Binary diffs are not supported yet; patch will
> complain and skip them." So... this being Gentoo, shouldn't the binary .qm
> files be generated during build-time? :) The .qm files can be built from .ts
> using "lrelease".

I'm just bundling the output of git --format-patch from upstream - they apparently bundle the qm files, and they're using binary patches for both anyway.

Perhaps my version of patch is just silently failing.  I'll go ahead and drop the language patches for now.
Comment 49 raffaele 2013-01-29 19:38:55 UTC
Just to follow-up on https://bugs.gentoo.org/show_bug.cgi?id=437140#c46

[ebuild   R   ] dev-vcs/git-1.8.1.2  USE="blksha1 curl gpg iconv nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight (-ppcsha1) -subversion {-test} -tk -xinetd"
[ebuild   R   ] sys-devel/patch-2.7.1-r1  USE="-static {-test} -xattr"
[ebuild   R   ] sys-apps/diffutils-3.2  USE="nls -static" 

I tried to apply the patch with 'git apply' instead of 'patch', obviously it works:

# pwd
/var/tmp/portage/media-plugins/mythplugins-0.26.0_p20130121/work/mythplugins-0.26.0
# git apply -p 2 patches/0012-Updated-Italian-MythMusic-translation.patch
patches/0012-Updated-Italian-MythMusic-translation.patch:1631: trailing whitespace.
        <translation>Definisce la posizione/nome  delle nuove canzoni. Elementi validi sono: 
warning: 1 line adds whitespace errors.
Comment 50 Richard Freeman gentoo-dev 2013-01-29 19:41:49 UTC
I pulled the language patch from the tarball and updated the manifest.  Anybody who got the build to work doesn't need the change so no revbump.  Those with issues can just do another sync and they'll get the new patch set.  I'll keep this in mind in the future when creating patches.
Comment 51 Robin Gilks 2013-02-08 01:20:07 UTC
Any chance of another patchset sync to capture the Live TV and in-progress recording of analogue channels bug(s)? This appears (to me) to be the only show stopper from mythtv-0.26.0_p20130121.ebuild

Thanks
Comment 52 Richard Freeman gentoo-dev 2013-02-08 01:37:38 UTC
(In reply to comment #51)
> Any chance of another patchset sync to capture the Live TV and in-progress
> recording of analogue channels bug(s)? This appears (to me) to be the only
> show stopper from mythtv-0.26.0_p20130121.ebuild
> 

Sure - I'll work on that.

Just a general request - no more comments on this bug.  0.26 is in the tree and I'd like to put this one to rest...