* [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
@ 2001-11-16 14:38 Dan Armak
2001-11-19 10:46 ` Geert Bevin
0 siblings, 1 reply; 10+ messages in thread
From: Dan Armak @ 2001-11-16 14:38 UTC (permalink / raw
To: gentoo-dev
Hi all,
Due to requests by developers of qt3 apps, I have committed a (masked)
x11-libs/qt-x11-3.0.0 ebuild and accompanying files.
It's masked because portage doesn't (yet) have the right dependency
specification functionality. If I say DEPEND=">=x11-libs/qt-x11-2.2",
qt-x11-3.0.0 will be used if available. Someday someone will add this
functionality, the deadline being the release of KDE3 around Feb. 2002.
(Please do it earlier though!)
So if you just emerge this masked ebuild, portage will think it
fullfills dependencies of qt-2.x and set QTDIR so that kde2/qt2 apps won't
compile (or emerge).
Temporary fix: rename or move the directory /usr/lib/qt-x11-3.0.0 to some
other location, e.g. /usr/lib/qt3. Then, kde2/qt2 apps will emerge correctly.
To build things against your qt3 which is now in a non-standard location,
copy the file /etc/env.d/45qt-x11-3.0.0 to e.g. /etc/env.d/45qt3 and update
all paths in the new copy of the file. Then run env-update and relogin. That
takes care of runtime dynamic linking. To compile against this qt (outside of
portage), export QTDIR as appropriate or pass --with-qt-dir to your configure
or whatever.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-16 14:38 [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild Dan Armak
@ 2001-11-19 10:46 ` Geert Bevin
2001-11-19 11:14 ` Mikael Hallendal
2001-11-19 13:11 ` Dan Armak
0 siblings, 2 replies; 10+ messages in thread
From: Geert Bevin @ 2001-11-19 10:46 UTC (permalink / raw
To: gentoo-dev
Hi,
I've installed the ebuild and tried to make it work correctly. I noticed
that qt3 has quite some font related problems. Reading the mailists on
trolltech.com, the only (temporary) solution is to disable the
anti-aliasing. During the configure phase I thus suggest adding
'-no-xft' until this matter has been resolved.
Additionally I also noticed that /etc/X11/XftConfig and
/usr/X11/lib/X11/XftConfig aren't the same file. Maybe the X
installation should be adapted to create a symlink from one to the other
instead.
Best regards,
--
Geert Bevin
the Leaf sprl/bvba
"Use what you need" Pierre Theunisstraat 1/47
http://www.theleaf.be 1030 Brussels
gbevin@theleaf.be Tel & Fax +32 2 241 19 98
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 10:46 ` Geert Bevin
@ 2001-11-19 11:14 ` Mikael Hallendal
2001-11-19 11:20 ` Geert Bevin
2001-11-19 13:11 ` Dan Armak
1 sibling, 1 reply; 10+ messages in thread
From: Mikael Hallendal @ 2001-11-19 11:14 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]
mån 2001-11-19 klockan 11.46 skrev Geert Bevin:
> Hi,
Hi!
> I've installed the ebuild and tried to make it work correctly. I noticed
> that qt3 has quite some font related problems. Reading the mailists on
> trolltech.com, the only (temporary) solution is to disable the
> anti-aliasing. During the configure phase I thus suggest adding
> '-no-xft' until this matter has been resolved.
I have problem with AA-fonts in Gtk+ 1.3 (what will be 2.0) after I
reinstalled my system to rc6. Does anyone else have these problems?
If you have this problem, which x11-base/xfree do you have?
Also, did you install this version from a clean system (ie not upgrading
X from an old version) if not, which version did you have installed
before?
> Additionally I also noticed that /etc/X11/XftConfig and
> /usr/X11/lib/X11/XftConfig aren't the same file. Maybe the X
> installation should be adapted to create a symlink from one to the other
> instead.
I've noticed this too. Let's dig into this and find the problem, I spent
several hours this weekend trying to get Gtk+ 2 giving me AA-fonts but
didn't succeed (probably looking in the wrong places)...
Regards,
Mikael Hallendal
--
Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 11:14 ` Mikael Hallendal
@ 2001-11-19 11:20 ` Geert Bevin
2001-11-19 11:46 ` Mikael Hallendal
0 siblings, 1 reply; 10+ messages in thread
From: Geert Bevin @ 2001-11-19 11:20 UTC (permalink / raw
To: gentoo-dev
> I have problem with AA-fonts in Gtk+ 1.3 (what will be 2.0) after I
> reinstalled my system to rc6. Does anyone else have these problems?
>
> If you have this problem, which x11-base/xfree do you have?
> Also, did you install this version from a clean system (ie not upgrading
> X from an old version) if not, which version did you have installed
> before?
I'm installed from scratch this weekend, so everthing is as new as it
could be, XFree 4.1.0 thus. The qt3 problem is not limited to gentoo,
I've had it too on Rocklinux and Redhat 7.2 and it's been acknowledge on
the Trolltech's mailinglist by several users. I guess this can only be
resolved by Trolltech in the next version. As a sidenote, AA works
perfectly with Qt2 and with the X test programs, thus in my case it has
nothing to do with the system.
> > Additionally I also noticed that /etc/X11/XftConfig and
> > /usr/X11/lib/X11/XftConfig aren't the same file. Maybe the X
> > installation should be adapted to create a symlink from one to the other
> > instead.
>
> I've noticed this too. Let's dig into this and find the problem, I spent
> several hours this weekend trying to get Gtk+ 2 giving me AA-fonts but
> didn't succeed (probably looking in the wrong places)...
Good luck, I hope you find it. I'm planning to have a look at GdkXft
soon to add AA support to Gtk 1.2.
Best regards,
--
Geert Bevin
the Leaf sprl/bvba
"Use what you need" Pierre Theunisstraat 1/47
http://www.theleaf.be 1030 Brussels
gbevin@theleaf.be Tel & Fax +32 2 241 19 98
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 11:20 ` Geert Bevin
@ 2001-11-19 11:46 ` Mikael Hallendal
2001-11-19 12:08 ` Geert Bevin
0 siblings, 1 reply; 10+ messages in thread
From: Mikael Hallendal @ 2001-11-19 11:46 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]
mån 2001-11-19 klockan 12.20 skrev Geert Bevin:
> I'm installed from scratch this weekend, so everthing is as new as it
> could be, XFree 4.1.0 thus. The qt3 problem is not limited to gentoo,
> I've had it too on Rocklinux and Redhat 7.2 and it's been acknowledge on
> the Trolltech's mailinglist by several users. I guess this can only be
> resolved by Trolltech in the next version. As a sidenote, AA works
> perfectly with Qt2 and with the X test programs, thus in my case it has
> nothing to do with the system.
Which X test programs do you mean? I tried xterm -fa and it works nice
on my system, but for some reason it doesn't work in Gtk+ 2. It works
however with the same Gtk+ on my other system (and worked before I did a
reinstall).
> Good luck, I hope you find it. I'm planning to have a look at GdkXft
> soon to add AA support to Gtk 1.2.
Ok, it should be easy enough.
Regards,
Mikael Hallendal
--
Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 11:46 ` Mikael Hallendal
@ 2001-11-19 12:08 ` Geert Bevin
0 siblings, 0 replies; 10+ messages in thread
From: Geert Bevin @ 2001-11-19 12:08 UTC (permalink / raw
To: gentoo-dev
On Mon, 2001-11-19 at 12:46, Mikael Hallendal wrote:
> Which X test programs do you mean? I tried xterm -fa and it works nice
> on my system, but for some reason it doesn't work in Gtk+ 2. It works
> however with the same Gtk+ on my other system (and worked before I did a
> reinstall).
Just x11perf and xterm -fa, nothing esoteric ;-)
It's strange that it doesn't work now anymore. I haven't got experience
with Gtk+2, so I can't help you much :-(
> > Good luck, I hope you find it. I'm planning to have a look at GdkXft
> > soon to add AA support to Gtk 1.2.
>
> Ok, it should be easy enough.
>
> Regards,
> Mikael Hallendal
>
> --
>
> Mikael Hallendal
> Gentoo Linux Developer, Desktop Team Leader
> CodeFactory AB, Stockholm, Sweden
>
--
Geert Bevin
the Leaf sprl/bvba
"Use what you need" Pierre Theunisstraat 1/47
http://www.theleaf.be 1030 Brussels
gbevin@theleaf.be Tel & Fax +32 2 241 19 98
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 10:46 ` Geert Bevin
2001-11-19 11:14 ` Mikael Hallendal
@ 2001-11-19 13:11 ` Dan Armak
2001-11-19 13:25 ` Geert Bevin
1 sibling, 1 reply; 10+ messages in thread
From: Dan Armak @ 2001-11-19 13:11 UTC (permalink / raw
To: gentoo-dev
Hi,
I've put a new updated version of the ebuild on cv a little while ago. All
installation problems should be resolved now. BTW, please contact me if/when
you have any positive data on problems caused by my CXXFLAGS patch - I
understand the font problems you talked about have been conffirmed as generic
qt problems, and not my doing?
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 13:11 ` Dan Armak
@ 2001-11-19 13:25 ` Geert Bevin
2001-11-19 13:32 ` Dan Armak
0 siblings, 1 reply; 10+ messages in thread
From: Geert Bevin @ 2001-11-19 13:25 UTC (permalink / raw
To: gentoo-dev
Hi,
about your CXXFLAGS patch, I'm not so sure I like it. It doesn't cause
any problems, but it's not according to the qmake specifications. During
compilation of qt -O3 and -O2 is both passed to gcc since the
optimization flags are put into another qmake flag. In fact to be really
correct, the CXXFLAGS should be parsed and each setting should be
assigned to the correct qmake flags (QMAKE_CC, QMAKE_CFLAGS,
QMAKE_CFLAGS_DEPS, QMAKE_CFLAGS_WARN_ON, QMAKE_CFLAGS_WARN_OFF,
QMAKE_CFLAGS_RELEASE, QMAKE_CFLAGS_DEBUG, QMAKE_CFLAGS_SHLIB and
QMAKE_CFLAGS_THREAD). I don't know however if it's worth the effort of
parsing the global CXXFLAGS. Another thought also crossed my mind, it
might be interesting to subdivide the build setting in make.conf in a
similar way and create the global CXXFLAGS out of finer tuning
variables. Don't know what you guys think about this, but imho it might
be interesting for at least qt and probably for other ebuilds. I think
this might be easy to add without creating an incompatible make.conf.
Yes, the font problems are not due to your doing, but I would definately
add the -no-xft switch until trolltech resolves this matter. Using xft
everything really looks horrible and imho unusable. This might then
again be removed when a next release of qt3 fixes the problem. Also
don't forget to update the 45qt-x11-3.0.0 file to use
/usr/lib/qt-x11-free-3.0.0 instead of /usr/lib/qt-x11-3.0.0.
Best regards,
On Mon, 2001-11-19 at 14:11, Dan Armak wrote:
> Hi,
>
> I've put a new updated version of the ebuild on cv a little while ago. All
> installation problems should be resolved now. BTW, please contact me if/when
> you have any positive data on problems caused by my CXXFLAGS patch - I
> understand the font problems you talked about have been conffirmed as generic
> qt problems, and not my doing?
>
> --
>
> Dan Armak
> Gentoo Linux Developer, Desktop Team
> Matan, Israel
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
--
Geert Bevin
the Leaf sprl/bvba
"Use what you need" Pierre Theunisstraat 1/47
http://www.theleaf.be 1030 Brussels
gbevin@theleaf.be Tel & Fax +32 2 241 19 98
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 13:25 ` Geert Bevin
@ 2001-11-19 13:32 ` Dan Armak
2001-11-19 13:46 ` Geert Bevin
0 siblings, 1 reply; 10+ messages in thread
From: Dan Armak @ 2001-11-19 13:32 UTC (permalink / raw
To: gentoo-dev
On Monday 19 November 2001 15:25, you wrote:
> Hi,
>
> about your CXXFLAGS patch, I'm not so sure I like it. It doesn't cause
> any problems, but it's not according to the qmake specifications. During
> compilation of qt -O3 and -O2 is both passed to gcc since the
> optimization flags are put into another qmake flag. In fact to be really
> correct, the CXXFLAGS should be parsed and each setting should be
> assigned to the correct qmake flags (QMAKE_CC, QMAKE_CFLAGS,
> QMAKE_CFLAGS_DEPS, QMAKE_CFLAGS_WARN_ON, QMAKE_CFLAGS_WARN_OFF,
> QMAKE_CFLAGS_RELEASE, QMAKE_CFLAGS_DEBUG, QMAKE_CFLAGS_SHLIB and
> QMAKE_CFLAGS_THREAD). I don't know however if it's worth the effort of
> parsing the global CXXFLAGS.
Hm. Sounds intimidating :-) I suppose I'll remove the patch for now. BTW I've
put a similar patch into the qt-2.3.2 ebuild, what do you think of that? I
don't much mind what I do with the qt-3.0 ebuild, because you're almost
certainly the only one who's using it right now.
> Yes, the font problems are not due to your doing, but I would definately
> add the -no-xft switch until trolltech resolves this matter. Using xft
> everything really looks horrible and imho unusable. This might then
> again be removed when a next release of qt3 fixes the problem.
You're right; I'll do that.
> Also
> don't forget to update the 45qt-x11-3.0.0 file to use
> /usr/lib/qt-x11-free-3.0.0 instead of /usr/lib/qt-x11-3.0.0.
I've upated the ebuild to install into /usr/lib/qt-x11-3.0.0, so that the
45... file is correct.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild
2001-11-19 13:32 ` Dan Armak
@ 2001-11-19 13:46 ` Geert Bevin
0 siblings, 0 replies; 10+ messages in thread
From: Geert Bevin @ 2001-11-19 13:46 UTC (permalink / raw
To: gentoo-dev
> Hm. Sounds intimidating :-) I suppose I'll remove the patch for now. BTW I've
> put a similar patch into the qt-2.3.2 ebuild, what do you think of that? I
I don't think that with qt2 this can be a problem since it doesn't use
tmake or qmake globally while qt3 ships with qmake as its default build
system.
> don't much mind what I do with the qt-3.0 ebuild, because you're almost
> certainly the only one who's using it right now.
>
> > Yes, the font problems are not due to your doing, but I would definately
> > add the -no-xft switch until trolltech resolves this matter. Using xft
> > everything really looks horrible and imho unusable. This might then
> > again be removed when a next release of qt3 fixes the problem.
> You're right; I'll do that.
Great !
> > Also
> > don't forget to update the 45qt-x11-3.0.0 file to use
> > /usr/lib/qt-x11-free-3.0.0 instead of /usr/lib/qt-x11-3.0.0.
> I've upated the ebuild to install into /usr/lib/qt-x11-3.0.0, so that the
> 45... file is correct.
--
Geert Bevin
the Leaf sprl/bvba
"Use what you need" Pierre Theunisstraat 1/47
http://www.theleaf.be 1030 Brussels
gbevin@theleaf.be Tel & Fax +32 2 241 19 98
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-11-19 13:48 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-16 14:38 [gentoo-dev] Using new (masked) qt-x11-3.0.0 ebuild Dan Armak
2001-11-19 10:46 ` Geert Bevin
2001-11-19 11:14 ` Mikael Hallendal
2001-11-19 11:20 ` Geert Bevin
2001-11-19 11:46 ` Mikael Hallendal
2001-11-19 12:08 ` Geert Bevin
2001-11-19 13:11 ` Dan Armak
2001-11-19 13:25 ` Geert Bevin
2001-11-19 13:32 ` Dan Armak
2001-11-19 13:46 ` Geert Bevin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox