From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 31 00:09:46 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 588F11065697 for ; Wed, 31 Dec 2008 00:09:46 +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 2D1EE8FC1E for ; Wed, 31 Dec 2008 00:09:46 +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 1LHoeZ-000DJ3-Ot; Tue, 30 Dec 2008 19:09:45 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 766A72928ACB; Tue, 30 Dec 2008 19:09:37 -0500 (EST) Message-ID: <495AB845.4030504@FreeBSD.org> Date: Tue, 30 Dec 2008 19:09:41 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Robert Noland 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> <1230680010.46401.69.camel@squirrel.corp.cox.com> In-Reply-To: <1230680010.46401.69.camel@squirrel.corp.cox.com> 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.8 (-) 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: Wed, 31 Dec 2008 00:09:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert Noland wrote: > On Wed, 2008-12-31 at 00:07 +0100, Bernhard Froehlich wrote: >>> 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. > > The problem with these types of slave ports is that there isn't > currently a way to depend on port A or port A-option. i.e. many ports > will depend on qt33, while myth will depend on qt33-opengl. Sure, you > can go in after the fact and pkg_delete -f qt33 and add qt33-opengl, but > your dependency map will still be wrong. Tools like > ports-mgmt/portmanager walk the entire dependency map for your installed > ports and will find the issue and declare that qt33 is required by lots > of ports, determine that a conflicting port is installed and attempt to > resolve the situation, ultimately failing to update either myth or > everything else that depends on qt33. > > I don't use kde nor qt33, so I'm not sure how to go about identifying > the availability of opengl support, but what is needed is a mechanism to > determine if qt33 has opengl support and either mark the myth port > BROKEN if opengl support isn't available alerting the user of the issue > or set whatever the appropriate --without-opengl option in the myth > configure script is... > > robert. > Hi Robert, Thanks for that feedback, and I'm going to trash the qt33-opengl slave port. I'm now testing a Makefile modification that checks the presence of an OpenGL symbol in libqt-mt.so. So far, it seems like it's working, and based on the result of that test, I'll enable/disable OpenGL support in MythTV. Thank you, 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 iD8DBQFJWrhF0sRouByUApARAkIzAJ9A8Pc+X9wTeOALAtKbL+6ysuFROwCcCDOJ N9UI3bNg2ihbVpXIs8EePKw= =P1Oy -----END PGP SIGNATURE-----