Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-08 Thread mika . laitio
Will OpenOffice or Lyx use these new font-systems?

Mika





Brian Smith <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08.11.2002 04:54
Please respond to cooker

 
To: [EMAIL PROTECTED]
cc: 
Subject:        Re: [Cooker] can't rebuild qt3 after update to XFT2...


On Wednesday 06 November 2002 03:30 pm, laurent Montel wrote:

> You patch is very complicated.
> I create a patch this morning :
> --- qt-copy-3.1_20021104/configure--2002-11-06 08:55:39.0 
+0100
> +++ qt-copy-3.1_20021104/configure  2002-11-06 08:55:41.0 +0100
> @@ -254,7 +254,7 @@ CFG_MNG=auto
>  CFG_LIBMNG=qt
>  CFG_XRENDER=auto
>  CFG_FREETYPE=auto
> -CFG_FONTCONFIG=no
> +CFG_FONTCONFIG=yes
>  CFG_QWS_FREETYPE=yes
>  CFG_SQL_AVAILABLE=
>  CFG_SQL_AUTODETECTED=
> and it links with fontconfig.
>

Okay, I have just gotten libqt3-3.1.0-0.beta2.4mdk from my friendly Cooker 

mirror, which I assume is using your patch, and libqt-mt.so is linked to 
fontconfig but it isn't linked to libXft2.

[brian@tweeg brian]$ ldd /usr/lib/qt3/lib/libqt-mt.so
libmng.so.1 => /usr/lib/libmng.so.1 (0x40709000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40751000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40772000)
libz.so.1 => /lib/libz.so.1 (0x40798000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x407a7000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x407bb000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x407e)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x407f6000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4080)
libdl.so.2 => /lib/libdl.so.2 (0x40817000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4081a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4082a000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x408f5000)
libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x408fb000)<-- with 
my 
patch, it linked to /usr/lib/libXft.so.2
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4090b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4095b000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40987000)
libm.so.6 => /lib/i686/libm.so.6 (0x40a4b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40a6e000)
libc.so.6 => /lib/i686/libc.so.6 (0x40a76000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0x40b96000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40bb6000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40c0f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)

I'm gonna have to reinstall my version - the font qualily is so much 
better 
with Xft2. The only downside I've found is that Xft2 doesn't deal with 
bitmap 
fonts, it replaces them with scalable fonts.










Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-07 Thread Brian Smith
On Wednesday 06 November 2002 03:30 pm, laurent Montel wrote:

> You patch is very complicated.
> I create a patch this morning :
> --- qt-copy-3.1_20021104/configure--2002-11-06 08:55:39.0 +0100
> +++ qt-copy-3.1_20021104/configure  2002-11-06 08:55:41.0 +0100
> @@ -254,7 +254,7 @@ CFG_MNG=auto
>  CFG_LIBMNG=qt
>  CFG_XRENDER=auto
>  CFG_FREETYPE=auto
> -CFG_FONTCONFIG=no
> +CFG_FONTCONFIG=yes
>  CFG_QWS_FREETYPE=yes
>  CFG_SQL_AVAILABLE=
>  CFG_SQL_AUTODETECTED=
> and it links with fontconfig.
>

Okay, I have just gotten libqt3-3.1.0-0.beta2.4mdk from my friendly Cooker 
mirror, which I assume is using your patch, and libqt-mt.so is linked to 
fontconfig but it isn't linked to libXft2.

[brian@tweeg brian]$ ldd /usr/lib/qt3/lib/libqt-mt.so
libmng.so.1 => /usr/lib/libmng.so.1 (0x40709000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40751000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40772000)
libz.so.1 => /lib/libz.so.1 (0x40798000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x407a7000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x407bb000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x407e)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x407f6000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4080)
libdl.so.2 => /lib/libdl.so.2 (0x40817000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4081a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4082a000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x408f5000)
libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x408fb000)<--  with my 
patch, it linked to /usr/lib/libXft.so.2
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4090b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4095b000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40987000)
libm.so.6 => /lib/i686/libm.so.6 (0x40a4b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40a6e000)
libc.so.6 => /lib/i686/libc.so.6 (0x40a76000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0x40b96000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40bb6000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40c0f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)

I'm gonna have to reinstall my version - the font qualily is so much better 
with Xft2. The only downside I've found is that Xft2 doesn't deal with bitmap 
fonts, it replaces them with scalable fonts.





Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-07 Thread Todd Lyons
Brian Smith wrote on Wed, Nov 06, 2002 at 04:05:11PM -0500 :
> 
> 1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to 
> /usr/src/RPM/SOURCES
> 2) cd to /usr/src/RPM/SPECS and apply the attached 

Best to build as a regular user.  Read section 3 in:
  http://www.linux-mandrake.com/en/howtos/mdk-rpm/

Blue skies...   Todd
-- 
   MandrakeSoft USA   http://www.mandrakesoft.com
Never take no as an answer from someone who's not authorized to say yes.
--Ben Reser on Cooker ML
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-18mdkenterprise



msg80949/pgp0.pgp
Description: PGP signature


Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Gary Greene
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 November 2002 04:30 pm, laurent Montel wrote:
> On Wednesday 06 November 2002 22:05, Brian Smith wrote:
[ snip ]

> You patch is very complicated.
> I create a patch this morning :
> --- qt-copy-3.1_20021104/configure--2002-11-06 08:55:39.0 +0100
> +++ qt-copy-3.1_20021104/configure  2002-11-06 08:55:41.0 +0100
> @@ -254,7 +254,7 @@ CFG_MNG=auto
>  CFG_LIBMNG=qt
>  CFG_XRENDER=auto
>  CFG_FREETYPE=auto
> -CFG_FONTCONFIG=no
> +CFG_FONTCONFIG=yes
>  CFG_QWS_FREETYPE=yes
>  CFG_SQL_AVAILABLE=
>  CFG_SQL_AUTODETECTED=
> and it links with fontconfig.

Thanks. All the help I can get is great. :)

> But I asked to kde develop, and xft2 was desactivated in qt because konsole
> was very broken with xft2
> So for the moment I will try to test it in local PC.

We'll I'll also check on that too. Thanks for the heads up.

- -- 
Gary Greene  
 
Sent from seele.gvsu.edu
 01:43:18  up 3 days, 21:35,  4 users,  load average: 0.27, 0.21, 0.20
 
=
Founder and president of GVLUG.  
Chairman and Project Lead of the E-media Committee of AltReal.   
PHONE : 331-0562 
EMAIL : [EMAIL PROTECTED]   
[EMAIL PROTECTED] 
=
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9ygvxVg8c0/GZcW8RAtNtAJ9t3fkHFmSbQAYJlK8LMbYvrs0mkwCfRDbz
uWj0B3aeuxeRZ3SmYSLBjfs=
=hV2G
-END PGP SIGNATURE-





Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Gary Greene
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 November 2002 04:17 pm, Buchan Milne wrote:
[ snip ]

> On Wed, 6 Nov 2002, Brian Smith wrote:
> I hope you are not building as root (bad idea in general), and it's a bad
> idea to encourage others to do so, so maybe when referring to rpm
> directories, you can refer to them by their macro name:
>
> cp qt-2.1.0-fix-xfs.patch.bz2 `rpm --eval "%_sourcedir"`
>
> (BTW, I mean in general , to the list, not you individually)

Oh God, no. I build all of my packages as me on my system and only rpm -Uvh of 
rpm -ivh as root.

> > 2) cd to /usr/src/RPM/SPECS and apply the attached
> > qt3.spec.patch.bz2 file to your qt3.spec file:
> > # bzip2 -dc qt3.spec.patch.bz2 | patch -p0
>
> cd `rpm --eval "%_specdir"

interesting...

- -- 
Gary Greene  
 
Sent from seele.gvsu.edu
 01:38:31  up 3 days, 21:30,  4 users,  load average: 0.32, 0.24, 0.23
 
=
Founder and president of GVLUG.  
Chairman and Project Lead of the E-media Committee of AltReal.   
PHONE : 331-0562 
EMAIL : [EMAIL PROTECTED]   
[EMAIL PROTECTED] 
=
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9ygtPVg8c0/GZcW8RAjjZAJ944P5IkGD2AC7R/utNkiGR/v1eSwCeI0gV
6aC8g3IMMVzZFkmr84sQcOE=
=J3RP
-END PGP SIGNATURE-





Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Gary Greene
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 November 2002 04:05 pm, Brian Smith wrote:
> > Could anybody throw me a bone and let me know what I need
> > to do to get qt to compile with the new Xft?
>
> I've just finished getting the latest qt3 from Cooker to
> compile with Xft2. I had to make some tweaks to the
> configure script to get it all to play nicely together.
>
> Here's what you need to do, assuming you've already
> installed the Mandrake source RPM:
>
> 1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to
> /usr/src/RPM/SOURCES
>
> 2) cd to /usr/src/RPM/SPECS and apply the attached
> qt3.spec.patch.bz2 file to your qt3.spec file:
> # bzip2 -dc qt3.spec.patch.bz2 | patch -p0
>
> 3) Rebuild the packages from the new spec file:
> # rpm -ba qt3.spec
>
> 4) Profit!!!  Well, maybe not. The resulting packages work
> OK for me, your mileage may vary. I'm using the latest
> freetype-devel, libXft2-devel, and fontconfig-devel
> packages from Cooker.
>
> --
> Brian Smith

Thanks for the much needed patches :)

- -- 
Gary Greene  
 
Sent from seele.gvsu.edu
 01:37:35  up 3 days, 21:29,  4 users,  load average: 0.63, 0.28, 0.24
 
=
Founder and president of GVLUG.  
Chairman and Project Lead of the E-media Committee of AltReal.   
PHONE : 331-0562 
EMAIL : [EMAIL PROTECTED]   
[EMAIL PROTECTED] 
=
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9ygpWVg8c0/GZcW8RArDqAJ4/0K/asu0/eZzbrG4uYDiSChIC3ACeIsa9
rgnWLPt7Q+IHoio9wXIhFXE=
=B7V6
-END PGP SIGNATURE-





Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Brian Smith
On Wed, 6 Nov 2002 23:17:51 +0200 (SAST)
 Buchan Milne <[EMAIL PROTECTED]> wrote:


I hope you are not building as root (bad idea in 
general), and it's a bad
idea to encourage others to do so, so maybe when 
referring to rpm
directories, you can refer to them by their macro name:

No, I gave my regular userid write access to the 
/usr/src/RPM tree, because /usr is the only place on my 
Cooker box where I have enough free disk space to build 
something the size of Qt. :)

I didn't know about rpm --eval, so I've learned yet 
another new thing today. I'll try to remember that next 
time, although I must admit that I don't often have 
anything to contribute

--
Brian Smith



Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread laurent Montel
On Wednesday 06 November 2002 22:05, Brian Smith wrote:
> > Could anybody throw me a bone and let me know what I need
> > to do to get qt to compile with the new Xft?
>
> I've just finished getting the latest qt3 from Cooker to
> compile with Xft2. I had to make some tweaks to the
> configure script to get it all to play nicely together.
>
> Here's what you need to do, assuming you've already
> installed the Mandrake source RPM:
>
> 1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to
> /usr/src/RPM/SOURCES
>
> 2) cd to /usr/src/RPM/SPECS and apply the attached
> qt3.spec.patch.bz2 file to your qt3.spec file:
> # bzip2 -dc qt3.spec.patch.bz2 | patch -p0
>
> 3) Rebuild the packages from the new spec file:
> # rpm -ba qt3.spec
>
> 4) Profit!!!  Well, maybe not. The resulting packages work
> OK for me, your mileage may vary. I'm using the latest
> freetype-devel, libXft2-devel, and fontconfig-devel
> packages from Cooker.


You patch is very complicated.
I create a patch this morning :
--- qt-copy-3.1_20021104/configure--2002-11-06 08:55:39.0 +0100
+++ qt-copy-3.1_20021104/configure  2002-11-06 08:55:41.0 +0100
@@ -254,7 +254,7 @@ CFG_MNG=auto
 CFG_LIBMNG=qt
 CFG_XRENDER=auto
 CFG_FREETYPE=auto
-CFG_FONTCONFIG=no
+CFG_FONTCONFIG=yes
 CFG_QWS_FREETYPE=yes
 CFG_SQL_AVAILABLE=
 CFG_SQL_AUTODETECTED=
and it links with fontconfig.

But I asked to kde develop, and xft2 was desactivated in qt because konsole 
was very broken with xft2
So for the moment I will try to test it in local PC.

Regards.




Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Buchan Milne
On Wed, 6 Nov 2002, Brian Smith wrote:

> > Could anybody throw me a bone and let me know what I need
> > to do to get qt to compile with the new Xft?
>
> I've just finished getting the latest qt3 from Cooker to
> compile with Xft2. I had to make some tweaks to the
> configure script to get it all to play nicely together.
>
> Here's what you need to do, assuming you've already
> installed the Mandrake source RPM:
>
> 1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to
> /usr/src/RPM/SOURCES

I hope you are not building as root (bad idea in general), and it's a bad
idea to encourage others to do so, so maybe when referring to rpm
directories, you can refer to them by their macro name:

cp qt-2.1.0-fix-xfs.patch.bz2 `rpm --eval "%_sourcedir"`

(BTW, I mean in general , to the list, not you individually)

>
> 2) cd to /usr/src/RPM/SPECS and apply the attached
> qt3.spec.patch.bz2 file to your qt3.spec file:
> # bzip2 -dc qt3.spec.patch.bz2 | patch -p0

cd `rpm --eval "%_specdir"

>
> 3) Rebuild the packages from the new spec file:
> # rpm -ba qt3.spec
>
> 4) Profit!!!  Well, maybe not. The resulting packages work
> OK for me, your mileage may vary. I'm using the latest
> freetype-devel, libXft2-devel, and fontconfig-devel
> packages from Cooker.
>
> --
> Brian Smith
>

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] can't rebuild qt3 after update to XFT2...

2002-11-06 Thread Brian Smith
Could anybody throw me a bone and let me know what I need
to do to get qt to compile with the new Xft?


I've just finished getting the latest qt3 from Cooker to 
compile with Xft2. I had to make some tweaks to the 
configure script to get it all to play nicely together.

Here's what you need to do, assuming you've already 
installed the Mandrake source RPM:

1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to 
/usr/src/RPM/SOURCES

2) cd to /usr/src/RPM/SPECS and apply the attached 
qt3.spec.patch.bz2 file to your qt3.spec file:
# bzip2 -dc qt3.spec.patch.bz2 | patch -p0

3) Rebuild the packages from the new spec file:
# rpm -ba qt3.spec

4) Profit!!!  Well, maybe not. The resulting packages work 
OK for me, your mileage may vary. I'm using the latest 
freetype-devel, libXft2-devel, and fontconfig-devel 
packages from Cooker.

--
Brian Smith


qt-3.1.0-fix-xft.patch.bz2
Description: Binary data


qt3.spec.patch.bz2
Description: Binary data