Discussion:
MythTV 0.22 is out
(too old to reply)
Torfinn Ingolfsen
2009-11-07 22:36:58 UTC
Permalink
FYI,

MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...


References:
1) http://www.mythtv.org/
--
Torfinn
u***@gmail.com
2009-11-08 10:18:42 UTC
Permalink
Hi Torfinn and MM-enthousiasts,

On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen <
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
Thanks for the headsup.
Configure needs at least this:

./configure --disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib

I am building now to see if there are any compile-errors. This configure has
ivtv-disabled ( so no support for hauppage/pvrxxx ). But if this run
compiles without errors, i will try to get it to build with ivtv/pvrxxx
support.

kind regards,

usleep
Post by Torfinn Ingolfsen
1) http://www.mythtv.org/
--
Torfinn
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "
u***@gmail.com
2009-11-08 12:36:49 UTC
Permalink
Post by u***@gmail.com
Hi Torfinn and MM-enthousiasts,
On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen <
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
Thanks for the headsup.
./configure --disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
I am building now to see if there are any compile-errors. This configure
has ivtv-disabled ( so no support for hauppage/pvrxxx ). But if this run
compiles without errors, i will try to get it to build with ivtv/pvrxxx
support.
First builderror: build picks up headers from /usr/local/include/libavutil.
It shouldn't. Move that directory out of the way if it is a problem in
compiling libavcodec.

audiooutputbase.cpp audiooutputdigitalencoder.cpp:

hack configure to remove itvtv disabledment from freebsd section
Post by u***@gmail.com
kind regards,
usleep
Post by Torfinn Ingolfsen
1) http://www.mythtv.org/
--
Torfinn
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "
u***@gmail.com
2009-11-08 12:37:59 UTC
Permalink
Post by u***@gmail.com
Post by u***@gmail.com
Hi Torfinn and MM-enthousiasts,
On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen <
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
Thanks for the headsup.
./configure --disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
I am building now to see if there are any compile-errors. This configure
has ivtv-disabled ( so no support for hauppage/pvrxxx ). But if this run
compiles without errors, i will try to get it to build with ivtv/pvrxxx
support.
First builderror: build picks up headers from /usr/local/include/libavutil.
It shouldn't. Move that directory out of the way if it is a problem in
compiling libavcodec.
hack configure to remove itvtv disabledment from freebsd section
sorry, this was an 'work in progress' . please ignore.

regards,

usleep


kind regards,
Post by u***@gmail.com
Post by u***@gmail.com
usleep
Post by Torfinn Ingolfsen
1) http://www.mythtv.org/
--
Torfinn
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "
u***@gmail.com
2009-11-08 18:56:16 UTC
Permalink
Post by u***@gmail.com
Post by u***@gmail.com
Post by u***@gmail.com
Hi Torfinn and MM-enthousiasts,
On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen <
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
Thanks for the headsup.
./configure --disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
I am building now to see if there are any compile-errors. This configure
has ivtv-disabled ( so no support for hauppage/pvrxxx ). But if this run
compiles without errors, i will try to get it to build with ivtv/pvrxxx
support.
First builderror: build picks up headers from
/usr/local/include/libavutil. It shouldn't. Move that directory out of the
way if it is a problem in compiling libavcodec.
hack configure to remove itvtv disabledment from freebsd section
sorry, this was an 'work in progress' . please ignore.
So, after my f*ckup, here are the steps to build mythtv-0.22 on freebsd (
mine was 7.2 ) for use with pvrxxx driver.

1. Download source tarball from www.mythtv.org
2. Extract
3. Edit configure, remove "disable ivtv" from freebsd specific section (
search for 'freebsd' )
4. Run configure with "--disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include
--extra-ldflags=-L/usr/local/lib --enable-ivtv --disable-directfb". although
i believe the "disable-directfb" is not necessary.
5. edit mpeg2fix.cpp ( find . -name mpeg2fix.cpp ). add "#include
<sys/stat.h>"
6. edit videoout_ivtv.cpp ( find . -name videoout_ivtv.cpp ) replace
"#include <linux/fb.h>" with:

"
// Linux headers
#ifdef __LINUX__
#include <linux/fb.h>
#else
typedef struct fb_var_screeninfo { int
xres,yres,bits_per_pixel,xres_virtual,yres_virtual,xoffset,yoffset,nonstd,activate;
} ;
typedef struct fb_fix_screeninfo { int smem_start; };
#define FBIOPAN_DISPLAY 0
#define FBIOBLANK 0
#define FBIOGET_FSCREENINFO 0
#define VESA_VSYNC_SUSPEND 0
#define FB_ACTIVATE_NOW 0
#define FBIOPUT_VSCREENINFO 0
#define VESA_NO_BLANKING 0
#define FBIOGET_VSCREENINFO 0
#endif
"

Bernhard: Thank you very much for keeping a mythtv-port up-to-date. Will
you submit it to the FreeBSD project?

Would you care to include step 6 into your port? it makes it possible to run
on pvrxxx-cards using the ivtv interface ( --enable-ivtv ).

It is my intent to push as much freebsd-patches upstream to the mythtv
project, so "porting" every release takes less effort. I have already done
so with earlier releases, and it has certainly paid off. The MythTV project
is receptive to platform-related patches.

As of .22 I can think of 2 patches to request to the MythTV project:
1. the #include fix for mpeg2fix.cpp
2. the fix in step 6. to make ivtv compile

Do you have any more suggestions?

regards,

usleep
Post by u***@gmail.com
regards,
usleep
kind regards,
Post by u***@gmail.com
Post by u***@gmail.com
usleep
Post by Torfinn Ingolfsen
1) http://www.mythtv.org/
--
Torfinn
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "
Bernhard Froehlich
2009-11-09 10:00:41 UTC
Permalink
Post by u***@gmail.com
Post by u***@gmail.com
Post by u***@gmail.com
Post by u***@gmail.com
Hi Torfinn and MM-enthousiasts,
On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen <
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
Thanks for the headsup.
./configure --disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
I am building now to see if there are any compile-errors. This configure
has ivtv-disabled ( so no support for hauppage/pvrxxx ). But if this run
compiles without errors, i will try to get it to build with
ivtv/pvrxxx
support.
First builderror: build picks up headers from
/usr/local/include/libavutil. It shouldn't. Move that directory out of the
way if it is a problem in compiling libavcodec.
hack configure to remove itvtv disabledment from freebsd section
sorry, this was an 'work in progress' . please ignore.
So, after my f*ckup, here are the steps to build mythtv-0.22 on freebsd (
mine was 7.2 ) for use with pvrxxx driver.
1. Download source tarball from www.mythtv.org
2. Extract
3. Edit configure, remove "disable ivtv" from freebsd specific section (
search for 'freebsd' )
4. Run configure with "--disable-dvb --prefix=/usr/local
--extra-cflags=-I/usr/local/include
--extra-ldflags=-L/usr/local/lib --enable-ivtv --disable-directfb". although
i believe the "disable-directfb" is not necessary.
5. edit mpeg2fix.cpp ( find . -name mpeg2fix.cpp ). add "#include
<sys/stat.h>"
6. edit videoout_ivtv.cpp ( find . -name videoout_ivtv.cpp ) replace
"
// Linux headers
#ifdef __LINUX__
#include <linux/fb.h>
#else
typedef struct fb_var_screeninfo { int
xres,yres,bits_per_pixel,xres_virtual,yres_virtual,xoffset,yoffset,nonstd,activate;
} ;
typedef struct fb_fix_screeninfo { int smem_start; };
#define FBIOPAN_DISPLAY 0
#define FBIOBLANK 0
#define FBIOGET_FSCREENINFO 0
#define VESA_VSYNC_SUSPEND 0
#define FB_ACTIVATE_NOW 0
#define FBIOPUT_VSCREENINFO 0
#define VESA_NO_BLANKING 0
#define FBIOGET_VSCREENINFO 0
#endif
"
Bernhard: Thank you very much for keeping a mythtv-port up-to-date. Will
you submit it to the FreeBSD project?
Sure.
Post by u***@gmail.com
Would you care to include step 6 into your port? it makes it possible to
run on pvrxxx-cards using the ivtv interface ( --enable-ivtv ).
Yeah sure. I will update the ports in my svn repository to 0.22 today and
fix a few rough edges so we can do a call for testers soon.
Post by u***@gmail.com
It is my intent to push as much freebsd-patches upstream to the mythtv
project, so "porting" every release takes less effort. I have already done
so with earlier releases, and it has certainly paid off. The MythTV
project is receptive to platform-related patches.
There are very few fixes that would make sense upstream in their current
form. The biggest one is to fix the Qt3 style includes and i've already
found a developer that will do a review of the patch and commit it.
Post by u***@gmail.com
1. the #include fix for mpeg2fix.cpp
That patch is already known to the developers.
Post by u***@gmail.com
2. the fix in step 6. to make ivtv compile
Don't know if that is the best way. I will have a closer look at it later.
Post by u***@gmail.com
Do you have any more suggestions?
I have no supported card so i cannot test mythtv backend on FreeBSD and
would appreciate it if anyone could test functionality of mythtv. Frontend
is easier to test for me and i will try to upgrade my linux box with the
backend this week.
--
Bernhard Fröhlich
http://www.bluelife.at/
Torfinn Ingolfsen
2009-11-09 18:54:47 UTC
Permalink
On Mon, 09 Nov 2009 11:00:41 +0100 (CET)
Post by Bernhard Froehlich
I have no supported card so i cannot test mythtv backend on FreeBSD
and would appreciate it if anyone could test functionality of mythtv.
I have a PVR-350 (on my test machine) and will test backend as much as
I can / have time for. I also have a PVR-500, but that is in my
production backend, and thus testing is a bit more awkward. But both
use the pvrxxx driver, so it shouldn't matter.
--
Regards,
Torfinn Ingolfsen
Bernhard Froehlich
2009-11-08 17:52:59 UTC
Permalink
Post by Torfinn Ingolfsen
FYI,
MythTV[1] 0.22 is out.
Just in case anyone has an urge to port it...
I've already updated the ports to 0.22rc2 and want to do a CFT this week.

http://svn.bluelife.at/index.cgi/packages/browse/blueports/multimedia
--
Bernhard Fröhlich
http://www.bluelife.at/
Loading...