Mathias, thanks for your idea.

Developers,

I have three ideas about XFree86-4.3 and GTK+2. Every idea have both advantage and
disadvantage, so it's hard to choose one. Please let me know your comment or
idea about this problem.


I'm absent until next friday and cannot reply to the mail, sorry. (I don't have
any mobile device. Sigh...)



1. Build pango1 and gtk+2 without xft support. (Mathias's idea)


This should work but I've not tested it yet. I love anti-aliased text by Xft and
I'd like to avoid this if I could.


2. Make new package 'pango1-xft1' and 'gtk+2-xft1'.

If an user have xfree86-4.2 or equivalent installed, compile and install process
of pango1 and gtk+2 warn (s)he to use '-xft1' version of the package.


In this way, xfree86-4.2 users can never install packages which depends on Xft2.

3. Make 'system-xft2' package and force users to install Xft2 manually.

Provides system-xft2 package which ensures valid Xft2 installation. It provides
the virtual dependency 'xft2'. Also xfree86-shlibs-4.3.x should provide 'xft2'.


If an user have xfree86-4.2 or equivalent installed, the PreInstScript of
system-xft2 warn (s)he to install Xft2. I've wrote sample 'system-xft2'
package and put it into experimental/msek/xft2. There's also a simple instruction
about installing Xft2 over xfree86-4.2 in this directory.


In this way, xfree86-4.2 users can install install package which depends on Xft2.
But they cannot build programs which uses Xft1 anymore, because their Xft1 headers
will be replaced by Xft2's.



On 2003.3.13, at 09:07 PM, mathias meyer wrote:


masanori and all

this has come up a week ago or so in context of building gtk+2 with xfree4.3. i did a fink update all as well (after i updated manually to xfree4.3) and of course gtk+2 failed in the configure phase. now i looked a little further:

from the pango1-1.0.5-3.info file:

This version of pango will run both with XFree86 4.2 and 4.3, but only
build with XFree86 4.2, because XFree86 4.3 does not contain XFT1 headers.


well, yes but but neither in the configure, make or install phase but when building splitoffs. pango simply doesn't build libpangoxft with xfree4.3 so trying to move libpangoxft in the splitoff section causes fink to fail. what i did:

1.) removed the two lines in the info file that try to move libpangoxft to the shlibs package. this makes pango build fine. of course, an incomplete pango without the libpangoxft library.

2.) force-remove the existing installed gtk+2 packages. this is necessary as gtk+2 will pick the already installed libraries (which were built with xft) at linktime when doing a 'fink rebuild gtk+2'. this will lead to an undefined symbol error.

3.) rebuild gtk+2. builds gtk+2 without xft.

4.) rebuilt all the packages that were built against pango (until no files in /sw/bin and /sw/lib contain libpangoxft)


what do you think of this? proper solution or ugly hack? and how will updating be done in the official release?


thanks

mathias


---
Masanori Sekino
mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to