From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-86999-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1L5kk5-0007sI-8W
	for garchives@archives.gentoo.org; Thu, 27 Nov 2008 17:33:30 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0CD45E036E;
	Thu, 27 Nov 2008 17:33:28 +0000 (UTC)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173])
	by pigeon.gentoo.org (Postfix) with ESMTP id C0185E036E
	for <gentoo-user@lists.gentoo.org>; Thu, 27 Nov 2008 17:33:27 +0000 (UTC)
Received: by ug-out-1314.google.com with SMTP id 30so1723273ugs.39
        for <gentoo-user@lists.gentoo.org>; Thu, 27 Nov 2008 09:33:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=U7MHWLLWfU9tYO1S8R1QZR8Le778nbRa6bhgKfmxJbE=;
        b=IQw379G+MST3wtDaMx684prOAdjU/Rnid56BGzmrmqi7gN+vGEnnlAa5nTmsb8yQJt
         5tkXzfMNsKEIImBAWuQrXr9HPR7yJLU3S3MTh+ow/WHeVqHD8Z4Cb0pKqUfxwjjWAoqD
         p368TlyCnBhqjwcP2nfhW/TNGD6yDTgVGysEQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=ON17LX3ZyaOziKOoStJqdmaZLla8YN3iEY6qVxrL2Mr8dRXSMhVKjAvA8m/GgsNKV0
         s7SjIVQ7NNulDCfhbL56QC0FtTD/kVA2MAxCkVxUMx6YtuyKZrb9Cvh153hj6yv7dr/O
         uZZb/e0jEIk8tkAkUy9jRwAPa2UoK9tudlG0E=
Received: by 10.103.24.11 with SMTP id b11mr2747520muj.58.1227807207080;
        Thu, 27 Nov 2008 09:33:27 -0800 (PST)
Received: by 10.103.90.19 with HTTP; Thu, 27 Nov 2008 09:33:26 -0800 (PST)
Message-ID: <fecdbac60811270933r2385d0b5u20364474195f681f@mail.gmail.com>
Date: Thu, 27 Nov 2008 19:33:26 +0200
From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] qtiplot
In-Reply-To: <492D9723.4010903@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <492AF986.6070705@gmail.com> <492D9723.4010903@gmail.com>
X-Archives-Salt: 3dde0bfd-528d-49df-b304-46a504ba024a
X-Archives-Hash: a1ddd76f23163c1d03032907d7e1cbfe

On 11/26/08, b.n. <brullonulla@gmail.com> wrote:
> b.n. ha scritto:
>> Hi,
>>
>> I have an x86 gentoo system, and I would like to install qtiplot.
>> Unfortunately:
>> - qtiplot 0.8.x requires qwt-4. I have both qwt-4 and qwt-5 installed,
>> and when compilng qtiplot seems to pick invariably the qwt-5. How do I
>> force qtiplot to build with qwt-4 ?

Wild guesses, semi-tested on amd64 only:

- in the current qtiplot-0.8.5-qmake.patch replace "-lqwt" with "-l:libqwt.so.4"
- check that you have qt:3 built with USE="opengl"
(- gcc-4.3 patching, which were a sort of a detour since I just didn't
want to downgrade gcc in the chroot in which I made my testing in)

After that I got qtiplot-0.8.5 emerged in a simplistic chrooted amd64
environment, which had little more than the basic qt stuff and
explicitly emerged qwt 4 and 5:

 x11-libs/qwt
    selected: 4.2.0-r3 5.0.2-r1

However, I don't know this piece of software and I don't think I'm
going to learn it right now, so that's as far as I planned on
"testing" it right now. :)

Maybe you would like to file a bug in b.g.o? I can dump my crude,
couple-line patches/changes there and whoever needs/maintains qtiplot
can then refine them or reject them as needed.

-- 
Arttu V.