Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2008 09:50:03 GMT
From:      Bernhard Froehlich <decke@bluelife.at>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/127856: [NEW PORT] multimedia/mythtv-frontend: MythTV is a homebrew PVR project
Message-ID:  <200810260950.m9Q9o3tM034404@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/127856; it has been noted by GNATS.

From: Bernhard Froehlich <decke@bluelife.at>
To: bug-followup@FreeBSD.org, decke@bluelife.at
Cc:  
Subject: Re: ports/127856: [NEW PORT] multimedia/mythtv-frontend: MythTV is
 a homebrew PVR project
Date: Sun, 26 Oct 2008 10:28:58 +0100

 Fixed compiling with an installed NVidia driver with patch from MythTV Bug #4064
 
 Thanks to Anders Trob__ck who reported that problem.
 
 Patchset: http://svn.mythtv.org/trac/changeset/16895
 Ticket: http://svn.mythtv.org/trac/ticket/4064
 
 
 diff -ruN mythtv-frontend.old/Makefile mythtv-frontend/Makefile
 --- mythtv-frontend.old/Makefile	2008-10-19 18:49:58.000000000 +0200
 +++ mythtv-frontend/Makefile	2008-10-19 18:47:01.000000000 +0200
 @@ -40,7 +40,8 @@
  
  CONFIGURE_ARGS=	--prefix="${PREFIX}" --disable-v4l --disable-ivtv --disable-firewire \
  		--disable-dvb --disable-dbox2 --disable-hdhomerun --disable-iptv \
 -		--without-bindings=perl,python --enable-xvmc --enable-xvmc-pro --disable-xvmcw
 +		--without-bindings=perl,python --enable-xvmc --enable-xvmc-pro --disable-xvmcw \
 +		--enable-glx-procaddrarb
  
  QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
  
 diff -ruN mythtv-frontend.old/files/patch-changeset-r16895.diff mythtv-frontend/files/patch-changeset-r16895.diff
 --- mythtv-frontend.old/files/patch-changeset-r16895.diff	1970-01-01 01:00:00.000000000 +0100
 +++ mythtv-frontend/files/patch-changeset-r16895.diff	2008-10-19 18:47:01.000000000 +0200
 @@ -0,0 +1,55 @@
 +Index: configure
 +===================================================================
 +--- configure (revision 16772)
 ++++ configure (revision 16895)
 +@@ -164,4 +164,5 @@
 +   echo "  --disable-x11            disable X11 support"
 +   echo "  --x11-path=X11LOC        location of X11 include files [$x11_include_path-path]"
 ++#  echo "  --enable-glx-procaddrarb use glXGetProcAddressARB() instead of glXGetProcAddress()"
 +   echo "  --disable-xrandr         disable X11 resolution switching"
 +   echo "  --disable-xv             disable XVideo   (X11 video output accel.)"
 +@@ -905,4 +906,5 @@
 +     dvdv
 +     fribidi
 ++    glx_proc_addr_arb
 + '
 + 
 +@@ -1190,4 +1192,5 @@
 + xvmc_vld="yes"
 + xvmcw="yes"
 ++glx_proc_addr_arb="no"
 + 
 + # libraries
 +@@ -1353,4 +1356,8 @@
 +   ;;
 +   --xvmc-lib=*) xvmc_lib="$optval"
 ++  ;;
 ++  --enable-glx-procaddrarb) glx_proc_addr_arb="yes"
 ++  ;;
 ++  --disable-glx-procaddrarb) glx_proc_addr_arb="no"
 +   ;;
 +   --enable-mac-accel) dvdv="yes"
 +Index: libs/libmythtv/libmythtv.pro
 +===================================================================
 +--- libs/libmythtv/libmythtv.pro (revision 16142)
 ++++ libs/libmythtv/libmythtv.pro (revision 16895)
 +@@ -313,4 +313,6 @@
 +     using_opengl_video:SOURCES += openglvideo.cpp
 + 
 ++    using_glx_proc_addr_arb:DEFINES += USING_GLX_PROC_ADDR_ARB
 ++
 +     # Misc. frontend
 +     HEADERS += guidegrid.h              infostructs.h
 +Index: /branches/release-0-21-fixes/mythtv/libs/libmythtv/util-opengl.cpp
 +===================================================================
 +--- libs/libmythtv/util-opengl.cpp (revision 15141)
 ++++ libs/libmythtv/util-opengl.cpp (revision 16895)
 +@@ -307,5 +307,7 @@
 +     __GLXextFuncPtr ret = NULL;
 + 
 +-#if GLX_VERSION_1_4
 ++#if USING_GLX_PROC_ADDR_ARB
 ++    X11S(ret = glXGetProcAddressARB((const GLubyte*)procName.latin1()));
 ++#elif GLX_VERSION_1_4
 +     X11S(ret = glXGetProcAddress((const GLubyte*)procName.latin1()));
 + #elif GLX_ARB_get_proc_address



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810260950.m9Q9o3tM034404>