From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 30 23:43:20 2008 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 5685C106564A for ; Tue, 30 Dec 2008 23:43:20 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBEA8FC1F for ; Tue, 30 Dec 2008 23:43:20 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LHoF4-000D9S-At; Tue, 30 Dec 2008 18:43:19 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id CB69A2928847; Tue, 30 Dec 2008 18:43:17 -0500 (EST) Message-ID: <495AB21A.7000902@FreeBSD.org> Date: Tue, 30 Dec 2008 18:43:22 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Bernhard Froehlich References: <20081217190821.a05cce43.torfinn.ingolfsen@broadpark.no> <1640afdde23255f357a76ebc64dc58cc.squirrel@webmail.itac.at> <20081220042743.GV14238@dereel.lemis.com> <20081220085649.101b81c5@demon.troback.lan> <495A8D90.1050308@FreeBSD.org> <20081231000738.7a703a06@chii.bluelife.at> In-Reply-To: <20081231000738.7a703a06@chii.bluelife.at> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.7 (-) Cc: freebsd-multimedia@freebsd.org Subject: Re: MythTV port upgrade? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 23:43:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bernhard Froehlich wrote: > > Good to have you back :o) Thanks, it's a lot easier to work without a generator roaring away in the background and occasionally running out of gas! > >> I noticed some things: >> >> - - Compilation initially failed because I didn't enable OpenGL support in >> QT 3.3. Unfortunately, there's no way to specify "WITH_OPENGL=true" in >> the mythtv-frontend BUILD_DEPENDS directive. >> >> To make sure OpenGL is built into QT 3.3, I created a slave port >> (x11-toolkits/qt33-opengl with CONFLICTS set for qt-3.3.* et al.) and >> made mythtv-frontend depend on that. Let me know what you think of that >> idea. > > Yeah that didn't came up because its "on" per default but you are > absolutely right - that can fail the mythtv port. The name qt33-opengl > suggests, that it is an enhanced version of qt33 but qt33 already has > opengl on per default so wouldn't it be better to depend on qt33 and > create an qt33-noopengl port? I've looked over mythtv's configure and > it is also possible to compile mythtv without opengl support if that > helps in any way. But we would need a reliable way to detect opengl > support nevertheless. Ok, I must have compiled QT without OpenGL for some other reason in the past and didn't realize it defaults to "on". The only way that I see to detect OpenGL support in QT is by running the following command: nm -A /usr/local/lib/libqt-mt.so | grep -q updateGL If the exit code is zero, then OpenGL is compiled into QT. Perhaps I can trash the slave port and just run that check in the MythTV Makefile. If OpenGL isn't detected, I can either exit with an error or disable it and proceed. > > >> - - As mentioned previously in this thread, --disable-backend support has >> been removed from MythTV's configure script. In order to avoid >> installing backend binaries, I created a patch file for >> programs/programs.pro to omit them and updated pkg-plist accordingly. > > I think thats absolutely fine as the mythtv developers only do not > support to build just a few parts of their software. But it should not > be a problem for anyone if we build everything and then just decide > not to install some of the files. > > Ok, sounds good. Thank you for the feedback, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJWrIa0sRouByUApARAvOvAKC9UI1WOX3XvA6d3TXd3GVsC8MkegCgrzbr 3D2Tv+Qp7DDuWQ4v0oZcx/0= =bEWZ -----END PGP SIGNATURE-----