From owner-freebsd-ports Thu Mar 22 22:51:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ohm.physics.purdue.edu (ohm.physics.purdue.edu [128.210.146.32]) by hub.freebsd.org (Postfix) with ESMTP id 5163437B719; Thu, 22 Mar 2001 22:51:36 -0800 (PST) (envelope-from will@physics.purdue.edu) Received: (from will@localhost) by ohm.physics.purdue.edu (8.11.2/8.9.3) id f2N6tau09926; Fri, 23 Mar 2001 01:55:36 -0500 (EST) (envelope-from will@physics.purdue.edu) X-Authentication-Warning: ohm.physics.purdue.edu: will set sender to will@physics.purdue.edu using -f Date: Fri, 23 Mar 2001 01:55:36 -0500 From: Will Andrews To: FreeBSD Ports Cc: Daniel Kim , Jeremy Shaffner , Dag-Erling Smorgrav Subject: ** HEADS UP ** KDE2/QT2 threads-related problems solved Message-ID: <20010323015536.T5821@ohm.physics.purdue.edu> Reply-To: Will Andrews Mail-Followup-To: Will Andrews , FreeBSD Ports , Daniel Kim , Jeremy Shaffner , Dag-Erling Smorgrav Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ZRLamLUCLuRJXeX8" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ZRLamLUCLuRJXeX8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Before people react, no, I haven't committed my changes yet. Yes, I really did fix the problems with KDE2 hanging. Yes, this is with XFree86 4.0.x. Sorry, I'm not going to commit them until I've finished the entire job and inspected the diffs. However, as I type this, I am in a KDE 2.1 session using QT 2.3.0, *all* built entirely from ports, no runtime hacks etc. Yay! Finally! (etc...) Dag-Erling Smorgrav pointed out to me that Qt2/KDE2 came with an option called --enable-mt, and that I'd not added them to CONFIGURE_ARGS in the KDE2 ports where I did my original hacks to get pthreads added to the compile. I investigated this thoroughly and tried to do it the right way tonight, but in the end I concluded that --enable-mt is still very immature as I'm not sure how even Linux people would be able to use it in such a manner that KDE2 still compiled (much less worked) for them. So anyway, given that some people desire to have GL support in Qt, I decided to solve the problem by eliminating GL support from the standard Qt library and instead build a separate library containing the GL support. So what we have now is this: *standard* Qt2 library w/o threads and w/o GL, *hacked* Qt2 library w/ GL and either w/o or w/ threads, and a *standard* Qt2 library w/o GL and w/ threads. This accounts for all possible cases where people will get (hopefully) the same functionality from each of the specific libqt2's. As a result, (unfortunately) the qt 2.3.0 package will bloat by ~ 1.5-2.5 megs. When I bring in the support tomorrow (or Saturday), I will also bring in an initial revision of bsd.kdeqt.mk (to be left off until Satoshi puts the magical invocations in bsd.port.mk for it). I've also decided to put the KDE 1.x nonessential ports back for 4.3-RELEASE. bsd.kdeqt.mk will have in it the effective "policy" changes for QT/KDE ports. One particularly important point is that the folks who MUST have GL support in QT will be able to use a special variable to tell their ports which library to link with (as a result of above hack). And of course we will be able to simplify most QT/KDE-based app port Makefiles greatly. Thanks to the *many* folks who submitted email telling me some part of KDE2 ports have been broken for the last week or two. Yes, I know. Yes, I'm sorry. It's fixed now, at least here. :-) Ugh, time to sleep, psychology exam tomorrow etc etc... --=20 wca --ZRLamLUCLuRJXeX8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6uvNoF47idPgWcsURAhucAKCI9Fb1NrAnC+NJZwG6/he7R/wnJgCfWNZ7 vdeZ/CYn66gCDLg8nSOQcqI= =k843 -----END PGP SIGNATURE----- --ZRLamLUCLuRJXeX8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message