Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Latest MythTV with SD on Gentoo

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


bradallenfuller at gmail

Aug 26, 2007, 6:33 PM

Post #1 of 10 (1459 views)
Permalink
Latest MythTV with SD on Gentoo

Anyone know when the latest MythTV with the SD patch will be available
on gentoo? I did a search:

# emerge --search mythtv

and it tells me I have the latest version (which was some time ago.)



--
brad fuller
www.bradfuller.com
+1 (408) 335-0112
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


carlfongheiser at gmail

Aug 26, 2007, 6:41 PM

Post #2 of 10 (1418 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

On 8/26/07, Brad Fuller <bradallenfuller[at]gmail.com> wrote:
>
> Anyone know when the latest MythTV with the SD patch will be available
> on gentoo? I did a search:
>
> # emerge --search mythtv
>
> and it tells me I have the latest version (which was some time ago.)



It's actually there, but masked. You can add the following line to
/etc/portage/package.unmask:

=media-tv/mythtv-0.20.2_p14282

You may need to create the file if it doesn't exist already, and you may
need to also unmask the associated plugins.


Carl Fongheiser


dsnider at thesniderpad

Aug 26, 2007, 6:42 PM

Post #3 of 10 (1413 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

Brad Fuller wrote:
> Anyone know when the latest MythTV with the SD patch will be available
> on gentoo? I did a search:
>
> # emerge --search mythtv
>
> and it tells me I have the latest version (which was some time ago.)
>
>
>
>
It appears to be hardmasked.... 0.20.2 p14282 is the package. it will
probably go to ~arch soon.

# eix mythtv
* media-tv/mythtv
Available versions: 0.20.1_p13344 ~0.20.1_p13783 0.20.1_p14146
_*[M]~0.20.2_p14282*_ [M]~0.21_pre14153 [M]~0.21_pre14251 [M]~0.21_pre14278
Homepage: http://www.mythtv.org
Description: Homebrew PVR project


_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


lists at locutory

Aug 26, 2007, 7:15 PM

Post #4 of 10 (1415 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

David Snider wrote:
> Brad Fuller wrote:
>
>> Anyone know when the latest MythTV with the SD patch will be available
>> on gentoo? I did a search:
>>
>> # emerge --search mythtv
>>
>> and it tells me I have the latest version (which was some time ago.)
>>
> It appears to be hardmasked.... 0.20.2 p14282 is the package.
There is a comment about an incompatible ABI change.

# MythTV 0.20.2 pre-release, masked due to ABI
# change that requires plugin rebuild

I also see that there are no 0.20.2 versioned plugin ebuilds yet, if
those would be required to meet the ABI needs.

glen

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bradallenfuller at gmail

Aug 26, 2007, 7:48 PM

Post #5 of 10 (1414 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

On 8/26/07, glen martin <lists[at]locutory.org> wrote:
> David Snider wrote:
> > Brad Fuller wrote:
> >
> >> Anyone know when the latest MythTV with the SD patch will be available
> >> on gentoo? I did a search:
> >>
> >> # emerge --search mythtv
> >>
> >> and it tells me I have the latest version (which was some time ago.)
> >>
> > It appears to be hardmasked.... 0.20.2 p14282 is the package.
> There is a comment about an incompatible ABI change.
>
> # MythTV 0.20.2 pre-release, masked due to ABI
> # change that requires plugin rebuild
>
> I also see that there are no 0.20.2 versioned plugin ebuilds yet, if
> those would be required to meet the ABI needs.

What is "ABI"?
I do see several plugins with the same version (_p14282) that are all
hard masked.
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


danielk at cuymedia

Aug 27, 2007, 7:21 AM

Post #6 of 10 (1404 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

On Sun, 2007-08-26 at 19:48 -0700, Brad Fuller wrote:
> On 8/26/07, glen martin <lists[at]locutory.org> wrote:
> > David Snider wrote:
> > > Brad Fuller wrote:
> > >
> > >> Anyone know when the latest MythTV with the SD patch will be available
> > >> on gentoo? I did a search:
> > >>
> > >> # emerge --search mythtv
> > >>
> > >> and it tells me I have the latest version (which was some time ago.)
> > >>
> > > It appears to be hardmasked.... 0.20.2 p14282 is the package.
> > There is a comment about an incompatible ABI change.
> >
> > # MythTV 0.20.2 pre-release, masked due to ABI
> > # change that requires plugin rebuild
> >
> > I also see that there are no 0.20.2 versioned plugin ebuilds yet, if
> > those would be required to meet the ABI needs.
>
> What is "ABI"?

Application Binary Interface

The plug-ins depend on libmyth and whenever it's headers change in a
way that may break plugins we update the MYTH_BINARY_VERSION define
in "libs/libmyth/mythcontext.h" so as to avoid having people
accidentally running old incompatible versions of the plugins with
the a new MythTV release. I think what the Gentoo mask is doing is
preventing you from upgrading to the latest MythTV until all the
plugins are updated. They may be getting hung up on MythWeather.
It's disabled in 0.20.2 because it's hopelessly broken due to changes
on the weather information servers it references. We're working with
a new MythWeather, based on a Google Summer of Code project, in the
trunk, but it's incomplete.

In the commercial world of the 1980's the ABI didn't change unless
there was a major release, so when you went from MS-DOS 3.23.1 to
3.24.3 the ABI didn't change, but when you went from 3.23.1 to
4.01 it did change. So some people get upset when the ABI changes
without the major version number changing. In the commercial world
of the 1980's there was never any compatibility guarantee between
0.xx.yy versions, but since these were closed source programs the
only people outside the company that experienced this were beta
testers. Open Source programs like MythTV tend to stay at 0.xx.yy
longer that their commercial equivalents, and they are public so many
more people get their feathers ruffled by ABI changes and complain.
There are also libraries like Qt that to this day keep their ABI
compatible across all xx.yy.zz version changes where xx is greater
than zero. This of course means that QStrings remain broken in all
of Qt 3.x causing MythTV to SEGFAULT on occasion, but Qt has closed
source customers who demand compatibility above functionality.

In the Open Source world, where recompiling is an option anyone can
take, we strive for API compatibility much more than ABI compatibility.
API compatibility means that an old plug-in will recompile without
a problem when there is a change.

For instance, if we have a function:
order_up(string what);
a plug-in can call:
other_up("hamburger");
with API compatibility we can add a parameter with a default:
order_up(string what, string modification = "");
So that the old plug-in can (after being recompiled) still call:
order_up("hamburger");
But a new plug-in can now call:
order_up("hamburger", "hold the mayo");

It's possible to implement this particular example with ABI
compatibility in C, but using C++ to implement this with API
compatibility results in much cleaner code. There are also
many things that can't be done in an ABI compatible way, such
as rearranging variables in a structure to save memory, but
are trivial when just retaining API compatibility.

-- Daniel

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


digitalaudiorock at hotmail

Aug 27, 2007, 10:37 AM

Post #7 of 10 (1389 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

>From: glen martin
>
># MythTV 0.20.2 pre-release, masked due to ABI
># change that requires plugin rebuild
>
>I also see that there are no 0.20.2 versioned plugin ebuilds yet, if
>those would be required to meet the ABI needs.
>
>glen

The ABI change simply means that the plugins need to be recompiled after
installing the new version of mythtv (as noted in mythtv ticket 3842).
However there are 0.20.2_p14282 versions in portage for all the plugins now,
though they're still hard masked:

equery list -p myth|grep 0.20.2
media-plugins/mytharchive-0.20.2_p14282
media-plugins/mythbrowser-0.20.2_p14282
media-plugins/mythcontrols-0.20.2_p14282
media-plugins/mythdvd-0.20.2_p14282
media-plugins/mythflix-0.20.2_p14282
media-plugins/mythgallery-0.20.2_p14282
media-plugins/mythgame-0.20.2_p14282
media-plugins/mythmusic-0.20.2_p14282
media-plugins/mythnews-0.20.2_p14282
media-plugins/mythphone-0.20.2_p14282
media-plugins/mythvideo-0.20.2_p14282
media-plugins/mythweather-0.20.2_p14282
media-tv/mythtv-0.20.2_p14282
www-apps/mythweb-0.20.2_p14282
x11-themes/mythtv-themes-0.20.2_p14282

I went ahead yesterday and unmasked those versions of what I was using
(mythtv, mythtv-themes, mythvideo, and mythdvd) by adding them to my
package.unmask and my package.keywords files. The upgrade went fine.

Note that I'm not recommending unmasking hard masked packages!!...I usually
never do...but I made sure to back up the database and knew I could get
back in a worst case scenario, and it worked fine for me. I'll probably
re-install once they're unmasked just in case the ebuilds were in any state
of flux while they were hard masked.

Also note that, looking here:

http://gentoo-portage.com/media-tv/mythtv

...it appears that there's now a newer version of 0.20.2 (SVN 14307) in
portage...so it's possible that that may get unmasked rather than SVN 14282.

All in all, I was thrilled at how easy my upgrade was...including the switch
to SD. Great work on everyone's part!

Tom

_________________________________________________________________
Booking a flight? Know when to buy with airfare predictions on MSN Travel.
http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


masterclc at gmail

Aug 27, 2007, 5:02 PM

Post #8 of 10 (1383 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

> > What is "ABI"?
>
> Application Binary Interface
>
> The plug-ins depend on libmyth and whenever it's headers change in a
> way that may break plugins we update the MYTH_BINARY_VERSION define
> in "libs/libmyth/mythcontext.h" so as to avoid having people
> accidentally running old incompatible versions of the plugins with
> the a new MythTV release. I think what the Gentoo mask is doing is
> preventing you from upgrading to the latest MythTV until all the
> plugins are updated. They may be getting hung up on MythWeather.
> It's disabled in 0.20.2 because it's hopelessly broken due to changes
> on the weather information servers it references. We're working with
> a new MythWeather, based on a Google Summer of Code project, in the
> trunk, but it's incomplete.
>
> In the commercial world of the 1980's the ABI didn't change unless
> there was a major release, so when you went from MS-DOS 3.23.1 to
> 3.24.3 the ABI didn't change, but when you went from 3.23.1 to
> 4.01 it did change. So some people get upset when the ABI changes
> without the major version number changing. In the commercial world
> of the 1980's there was never any compatibility guarantee between
> 0.xx.yy versions, but since these were closed source programs the
> only people outside the company that experienced this were beta
> testers. Open Source programs like MythTV tend to stay at 0.xx.yy
> longer that their commercial equivalents, and they are public so many
> more people get their feathers ruffled by ABI changes and complain.
> There are also libraries like Qt that to this day keep their ABI
> compatible across all xx.yy.zz version changes where xx is greater
> than zero. This of course means that QStrings remain broken in all
> of Qt 3.x causing MythTV to SEGFAULT on occasion, but Qt has closed
> source customers who demand compatibility above functionality.
>
> In the Open Source world, where recompiling is an option anyone can
> take, we strive for API compatibility much more than ABI compatibility.
> API compatibility means that an old plug-in will recompile without
> a problem when there is a change.
>
> For instance, if we have a function:
> order_up(string what);
> a plug-in can call:
> other_up("hamburger");
> with API compatibility we can add a parameter with a default:
> order_up(string what, string modification = "");
> So that the old plug-in can (after being recompiled) still call:
> order_up("hamburger");
> But a new plug-in can now call:
> order_up("hamburger", "hold the mayo");
>
> It's possible to implement this particular example with ABI
> compatibility in C, but using C++ to implement this with API
> compatibility results in much cleaner code. There are also
> many things that can't be done in an ABI compatible way, such
> as rearranging variables in a structure to save memory, but
> are trivial when just retaining API compatibility.
>
> -- Daniel
>
> _______________________________________________

Wow, thank you for the in-depth response!

-Chad
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


bradallenfuller at gmail

Aug 27, 2007, 5:57 PM

Post #9 of 10 (1382 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

I just emerged media-tv/mythtv-0.20.2_p14282 and some plugins. They
work so far. I have not moved over to SD yet. Just want to see how
this works for a while.
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


lists at locutory

Aug 28, 2007, 3:21 PM

Post #10 of 10 (1351 views)
Permalink
Re: Latest MythTV with SD on Gentoo [In reply to]

Brad Fuller wrote:
> I just emerged media-tv/mythtv-0.20.2_p14282 and some plugins. They
> work so far. I have not moved over to SD yet. Just want to see how
> this works for a while.
As I was doing the upgrade, I noticed that a later checkin in myth's
subversion tree was available, fixing a couple of small low-risk things.
So I created a new mythtv-0.20.2_p14324.ebuild in my overlay, unmasked,
and emerged that onto my 3 myth boxes. Then emerged all the plugins
(mythdvd, mythvideo, mythmusic and mythweb so far). I haven't yet
converted to SD.

The upgrade itself was a bit convoluted ... a couple of these machines I
don't keep up to date very much, so I had to upgrade Java and subversion
first (subversion needed ~x86 in package.keywords). The ebuilds didn't
force that, but the need became clear part way through the builds. I
also didn't want to muck with the ivtv stuff, and definitely didn't want
to touch the hotplug and so forth for my firmware load. So I added ivtv
and pvr-firmware to packages.provided to leave all that alone.

This seems to be working pretty well so far, apart from some functions
of mythweb (but since I don't use mythweb much those problems might have
preexisted).

HTH

glen

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.