From owner-freebsd-ports Mon Jan 6 2:17:58 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 346EC37B401 for ; Mon, 6 Jan 2003 02:17:56 -0800 (PST) Received: from crucible.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2108343EB2 for ; Mon, 6 Jan 2003 02:17:46 -0800 (PST) (envelope-from andy@athame.co.uk) Received: from amavis by crucible.athame.co.uk with scanned-ok (Exim 3.33 #1) id 18VUK5-0001M5-00 for ports@freebsd.org; Mon, 06 Jan 2003 12:17:33 +0200 Received: from zappa.int.athame.co.uk ([192.168.1.3] helo=zappa.athame.co.uk) by crucible.athame.co.uk with esmtp (Exim 3.33 #1) id 18VUK0-0001Ln-00; Mon, 06 Jan 2003 12:17:28 +0200 From: Andy Fawcett To: alane@geeksrus.net Subject: Re: [kde-freebsd] New Qt-3 Date: Mon, 6 Jan 2003 12:17:52 +0200 User-Agent: KMail/1.5 Cc: FreeBSD Ports List , KDE-FreeBSD List References: <200301052053.h05KrZ0e051536@aldan.algebra.com> <200301052329.49316.andy@athame.co.uk> <20030105215705.GA84916@wwweasel.geeksrus.net> In-Reply-To: <20030105215705.GA84916@wwweasel.geeksrus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200301061217.52225.andy@athame.co.uk> X-Virus-Scanned: by AMaViS perl-11 at crucible.athame.co.uk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday 05 January 2003 23:57, AlanE wrote: > On Sun, Jan 05, 2003 at 11:29:49PM +0200, Andy Fawcett wrote: > >On Sunday 05 January 2003 23:08, Pete Fritchman wrote: > >> ++ 05/01/03 13:06 -0800 - David Johnson: > >> | releasing 3.1.x in a couple of weeks. The state of Qt/KDE is > >> | "stuck" waiting the unfreeze of the ports tree (may already have > >> | happened) and the release of KDE 3.1. > >> > >> The tree is thawed somewhat, but larger ports (like KDE and Qt) > >> shouldn't be upgraded still until 5.0-R (which should be happening > >> soon). > > > >If you add to this problems building Qt 3.1.1, depending on certain > >combinations of installed X / Xft2 / fontconfig, which have not been > >thoroughly analysed, you can effectively forget an upgrade to 3.1.1 > >right at the moment, even if a freeze wasn't in place. > > Andy, 3.1.1 builds fine with up-to-date X and will be committed with > the kde 3.1 ports commits, unless there is a compelling reason not > to. I don't consider "older X versions (4.1) don't work" a compelling > reason. The problem I originally heard of was on a system with up-to-date ports, so talking of "older X versions" is irrelevent. I left a build running overnight. All ports required are installed, up to date, and the Qt build is not using any separately installed software (I sandbox all that). Summary below. > It does not use Xft2, it uses Xft that comes with XF86. It uses Xft2 if present on the system. Note the "-lXft2" in the following part of the build for me: g++ -fno-exceptions -pthread -o ../../../bin/uic .obj/debug-shared-mt/main.o .obj/debug-shared-mt/uic.o .obj/debug-shared-mt/form.o .obj/debug-shared-mt/object.o .obj/debug-shared-mt/subclassing.o .obj/debug-shared-mt/embed.o .obj/debug-shared-mt/widgetdatabase.o .obj/debug-shared-mt/domtool.o .obj/debug-shared-mt/parser.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/home/tap/qt-x11-free-3.1.1/lib -L/home/tap/qt-x11-free-3.1.1/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXinerama -lXft2 -lfreetype -lXext -lX11 -lm -lSM -lICE And a build of Qt 3.1.1 from tarball breaks, if Xft-2.0_1 is installed from ports, with: undefined reference to `XftFreeTypeOpen' undefined reference to `XftPatternAddInteger' undefined reference to `XftPatternAddString' ... Without the Xft-2.0_1 it builds fine. I'll leave you to do the detective work, unless you already accounted for this problem with patches. I've not actually tried building a vanilla Qt 3.1 under the same circumstances, so I have no idea if it builds differently. (note, all this is on 5.0 from a week or so ago, and there is another small but easily fixable problem with qfiledialog.cpp wrt getpwnam_r, or rather the lack of it. Trolltech have been informed, and you already have a patch from me for it.) Andy -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message