Bug 127856 - [NEW PORT] multimedia/mythtv-frontend: MythTV is a homebrew PVR project
Summary: [NEW PORT] multimedia/mythtv-frontend: MythTV is a homebrew PVR project
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Larkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 17:00 UTC by Bernhard Froehlich
Modified: 2009-05-29 20:50 UTC (History)
0 users

See Also:


Attachments
mythtv-frontend-0.21.shar (41.07 KB, text/plain)
2008-10-04 17:00 UTC, Bernhard Froehlich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Froehlich 2008-10-04 17:00:11 UTC
MythTV is a "Personal Video Recorder", i.e. a computer-based video
recorder.  It supports pausing and rewinding live TV, multiple tuner
cards, hardware or software video compression, onscreen program guides
and a distributed architecture.

WWW: http://www.mythtv.org

Generated with FreeBSD Port Tools 0.77
Comment 1 Bernhard Froehlich 2008-10-26 09:28:58 UTC
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
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2008-10-30 11:07:43 UTC
Hi Bernhard,

There is multimedia/mythtv in ports already. Is your port something new or it 
should be considered as update for mythtv?

Max
Comment 3 Bernhard Froehlich 2008-10-30 13:36:31 UTC
On Thu, October 30, 2008 12:07 pm, Max Brazhnikov wrote:
> Hi Bernhard,
>
> There is multimedia/mythtv in ports already. Is your port something new or
> it should be considered as update for mythtv?


short answer:

Yes, that port has advantages over multimedia/mythtv but cannot be
considered a 1:1 replacement so i have created a seperate PR ports/128419
which fixes the multimedia/mythtv port instead.


long answer:

The multimedia/mythtv 0.20 port has a lot of problems but it also builds a
working backend which is it's only advantage over the mythtv-frontend
port.

But the multimedia/mythtv port uses a patchset which makes it protocol
incompatible to the official 0.20 version so AFAIK you can ONLY use it
with a matching FreeBSD mythtv 0.20 backend. That's very hard to setup
because of lacking driver support in FreeBSD and so it's nearly useless
nowadays if you have no supported card or use a Linux box as your mythtv
backend.

With this port we have the possibility to use FreeBSD as a Frontend and
your linux distro of choice as Mythtv Backend.


-- 
Bernhard Fröhlich
http://www.bluelife.at/
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2008-10-30 16:01:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

I'll take it.
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2008-11-06 18:36:05 UTC
Responsible Changed
From-To: makc->freebsd-ports-bugs

glarkin works on updating MythTV
Comment 6 Greg Larkin freebsd_committer freebsd_triage 2008-11-12 13:51:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glarkin

I'll take it.
Comment 7 dfilter service freebsd_committer freebsd_triage 2009-01-15 21:25:09 UTC
glarkin     2009-01-15 21:24:57 UTC

  FreeBSD ports repository

  Added files:
    multimedia/mythtv-frontend Makefile distinfo pkg-descr 
                               pkg-plist 
    multimedia/mythtv-frontend/files patch-changeset-r16895.diff 
                                     patch-configure 
                                     patch-configure-toupper 
                                     patch-libs-libavcodec-h264.c 
                                     patch-libs-libavcodec-libavcodec.pro 
                                     patch-libs-libmyth-util.cpp 
                                     patch-libs-libmythfreemheg-Programs.cpp 
                                     patch-libs-libmythtv-libmythtv.pro 
                                     patch-libs-mythdvdnav-dvd_input.c 
                                     patch-programs-mythfrontend-main.cpp 
                                     patch-programs-mythtranscode-mythtranscode.pro 
                                     patch-programs-programs.pro 
                                     patch-settings.pro 
  Log:
  MythTV is a "Personal Video Recorder", i.e. a computer-based video
  recorder.  It supports pausing and rewinding live TV, multiple tuner
  cards, hardware or software video compression, onscreen program guides
  and a distributed architecture.
  
  WWW: http://www.mythtv.org
  
  NOTE: This is the frontend portion of MythTV, suitable for connecting to
  a backend MythTV server on a different machine.
  
  PR:             ports/127856
  Submitted by:   Bernhard Froehlich <decke at bluelife dot at>
  
  Revision  Changes    Path
  1.1       +87 -0     ports/multimedia/mythtv-frontend/Makefile (new)
  1.1       +3 -0      ports/multimedia/mythtv-frontend/distinfo (new)
  1.1       +55 -0     ports/multimedia/mythtv-frontend/files/patch-changeset-r16895.diff (new)
  1.1       +11 -0     ports/multimedia/mythtv-frontend/files/patch-configure (new)
  1.1       +19 -0     ports/multimedia/mythtv-frontend/files/patch-configure-toupper (new)
  1.1       +11 -0     ports/multimedia/mythtv-frontend/files/patch-libs-libavcodec-h264.c (new)
  1.1       +13 -0     ports/multimedia/mythtv-frontend/files/patch-libs-libavcodec-libavcodec.pro (new)
  1.1       +13 -0     ports/multimedia/mythtv-frontend/files/patch-libs-libmyth-util.cpp (new)
  1.1       +13 -0     ports/multimedia/mythtv-frontend/files/patch-libs-libmythfreemheg-Programs.cpp (new)
  1.1       +10 -0     ports/multimedia/mythtv-frontend/files/patch-libs-libmythtv-libmythtv.pro (new)
  1.1       +12 -0     ports/multimedia/mythtv-frontend/files/patch-libs-mythdvdnav-dvd_input.c (new)
  1.1       +11 -0     ports/multimedia/mythtv-frontend/files/patch-programs-mythfrontend-main.cpp (new)
  1.1       +10 -0     ports/multimedia/mythtv-frontend/files/patch-programs-mythtranscode-mythtranscode.pro (new)
  1.1       +13 -0     ports/multimedia/mythtv-frontend/files/patch-programs-programs.pro (new)
  1.1       +13 -0     ports/multimedia/mythtv-frontend/files/patch-settings.pro (new)
  1.1       +6 -0      ports/multimedia/mythtv-frontend/pkg-descr (new)
  1.1       +822 -0    ports/multimedia/mythtv-frontend/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Greg Larkin freebsd_committer freebsd_triage 2009-01-15 21:46:27 UTC
State Changed
From-To: open->closed

Committed with modifications, thank you!
Comment 9 dfilter service freebsd_committer freebsd_triage 2009-05-29 20:47:40 UTC
glarkin     2009-05-29 19:47:25 UTC

  FreeBSD doc repository (ports committer)

  Modified files:
    en_US.ISO8859-1/articles/contributors contrib.additional.sgml 
  Log:
  Added contributor names for new ports that I've worked on.
  I apologize for the delay!
  
  PR:             ports/127856
  PR:             ports/127857
  PR:             ports/131168
  PR:             ports/131169
  
  Revision  Changes    Path
  1.856     +15 -0     doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"