Bug 105764 - gtk2 pkgconfig doesn't provide pangoxft anymore
Summary: gtk2 pkgconfig doesn't provide pangoxft anymore
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 08:30 UTC by Wolfgang Rosenauer
Modified: 2006-02-08 07:07 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Rosenauer 2005-08-19 08:30:19 UTC
gtk2 pkgconfig doesn't provide pangoxft anymore.
This breaks all mozilla based packages at the moment and some others because
the XFT functions are not linked in.
I think this is partly a bug in those packages and not GTK but want to have some
background on this change and recommendations how this can be handled.

gdk-x11 required pangoxft up to beta2 but now it doesn't anymore. That breaks
packages which rely on the output of pkg-config --libs gtk2.
Comment 1 Marcus Meissner 2005-08-19 08:34:29 UTC
cc aj 
Comment 2 Wolfgang Rosenauer 2005-08-19 08:55:20 UTC
does anyone know if I can replace the pangoxft link with one to xft directly:
-L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig ?
Comment 3 Stanislav Brabec 2005-08-19 09:16:08 UTC
Or maybe pkg-config --libs pangoxft and pkg-config --cflags pangoxft.
Comment 4 Wolfgang Rosenauer 2005-08-19 09:25:30 UTC
but this would need to rewrite the configure script (which is not possible
easily as it is incompatible with our autoconf version).

Why it isn't there anymore? So GTK2 doesn't use it internally anymore? (because
it switched to cairo for font rendering?)
Comment 5 Stanislav Brabec 2005-08-19 09:36:19 UTC
Then create modified .pc file, install it somewhere and prepend it to
PKG_CONFIG_PATH.

2005-08-09  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Strip out all Xft, FreeType, and pangoxft checking.
        Rewrite X checks to use pkg-config as much as possible.
Comment 6 Stanislav Brabec 2005-08-19 13:34:19 UTC
I am now fixing the same problem in wxGTK. It seems that functions from xft
backend were unused for some time and now they are removed and it's good to
remove them from the code. They probably manipulate with unused structures.
Comment 7 Wolfgang Rosenauer 2005-08-22 12:49:15 UTC
Firefox, Thunderbird and Sunbird have been fixed.
So if noone else need this bugreport anymore it can be closed from my side.
Comment 8 Karsten Keil 2005-08-22 14:39:31 UTC
seems that sffview build now with the new wxGTK. So we can close it also from 
my side. Note: I can't test the new package before BETA3, so I do not know if 
it still works with the new libs. 
 
Comment 9 JP Rosevear 2005-08-23 12:02:00 UTC
Roc, are you able to backport any fixes from firefox 1.1 for building or should
we just leave it hardcoded?
Comment 10 Wolfgang Rosenauer 2005-08-23 14:09:47 UTC
I think it's not worth the effort. Even firefox trunk doesn't have a fix for
this after having a short look at it.
For Firefox 1.5 we will switch to pango font rendering and there are other
issues to solve which I'm going to do now.
Comment 11 JP Rosevear 2005-08-24 17:08:06 UTC
Sounds good.
Comment 12 Karsten Keil 2005-08-24 20:33:27 UTC
Whats about the old distributions, where this stuff was checked in 
(9.1-9.3 PLUS).  
It should also be fixed there or roll back the old version. 
Why was this stuff checked in into the old distributions ? 
Comment 13 JP Rosevear 2005-08-25 17:35:59 UTC
All of GNOME is checked into plus as a matter of policy.  For firefox, Wolfgang
are you pushing firefox to plus?
Comment 14 Wolfgang Rosenauer 2005-08-25 18:57:19 UTC
Firefox is not in PLUS yet. Only mozilla is there.
Comment 15 Karsten Keil 2005-08-25 20:18:47 UTC
Thank to Michal Cihar ssfview is working again in the PLUS versions. 
Comment 16 JP Rosevear 2005-08-29 15:04:12 UTC
Reducing priority, its all fine for 10.0
Comment 17 JP Rosevear 2006-02-08 07:07:01 UTC
I'm going to close this, all affected apps work, and PLUS is only an issue if you want to build something like mozilla yourself.