From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 8 18:56:19 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD8851065676 for ; Sun, 8 Nov 2009 18:56:18 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 503F18FC1C for ; Sun, 8 Nov 2009 18:56:17 +0000 (UTC) Received: by fxm27 with SMTP id 27so822318fxm.3 for ; Sun, 08 Nov 2009 10:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=QGH/p9DgdjtLxFB35yX+uUUd+lrpQIOTnsjHIeJkyjs=; b=aRFBT9ZMLpyFCLQA3yLhR5zDcOxCBrKW7tL8lifWJDr3gUSyHBLDQ9LWvPzAELPJX1 Xqu55zsJRsZMc3TG5yU7CyfBmx3l0YkOcBBptg6A0bz4BO95ufCTi+dm4uIl6Iy+hzpW EsKgTkqeSGz+nthb1A5Itm7mX8mbOsh9nXP8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GrNkuj9+7hJD4C2n3589U6NBFzP7+s5hJCxVisQ1dRlM2n7cguFV9X6BUmUNjNoW0d gCi1WvZeyuOEAxDm/OrmOZxRQ+uT4plNrOnKpC762g6PhqcF5Y9toFO+Z+HTakdHxpfx /vpS+hWZ2gOz24YoRhaMSoHXdTmNssHKHC9GE= MIME-Version: 1.0 Received: by 10.204.3.220 with SMTP id 28mr7567603bko.4.1257706576974; Sun, 08 Nov 2009 10:56:16 -0800 (PST) In-Reply-To: References: <20091107233658.bb970c84.torfinn.ingolfsen@broadpark.no> Date: Sun, 8 Nov 2009 19:56:16 +0100 Message-ID: From: usleepless@gmail.com To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: MythTV 0.22 is out X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2009 18:56:19 -0000 On Sun, Nov 8, 2009 at 1:37 PM, wrote: > > > On Sun, Nov 8, 2009 at 1:36 PM, wrote: > >> >> >> On Sun, Nov 8, 2009 at 11:18 AM, wrote: >> >>> Hi Torfinn and MM-enthousiasts, >>> >>> On Sat, Nov 7, 2009 at 11:36 PM, Torfinn Ingolfsen < >>> torfinn.ingolfsen@broadpark.no> wrote: >>> >>>> 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. >>> >>> >> 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 ( coded_id_string ): >> >> 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 " 6. edit videoout_ivtv.cpp ( find . -name videoout_ivtv.cpp ) replace "#include " with: " // Linux headers #ifdef __LINUX__ #include #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 > regards, > > usleep > > > kind regards, >>> >>> usleep >>> >>> >>> >>>> References: >>>> 1) http://www.mythtv.org/ >>>> -- >>>> Torfinn >>>> >>>> _______________________________________________ >>>> freebsd-multimedia@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>>> To unsubscribe, send any mail to " >>>> freebsd-multimedia-unsubscribe@freebsd.org" >>>> >>> >>> >> >