OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
mozilla-firebird-0.6 and --enable-xft

From: Alexander Farber (Alexander.Farbert-online.de)
Date: Sat Jul 19 2003 - 15:31:04 CDT


Hi,

I would like the mozilla-firebird from the -current ports
(on i386) to display the true-type fonts (from the
msttcorefonts-1.2) antialised (at the moment they aren't -
http://home.t-online.de/home/Alexander.Farber/OpenBSD/kde-obsd.gif )
and suspect that I have to add smth. like:

    --with-ft-prefix=/usr/X11R6 \
    --enable-xft \

to the /usr/ports/www/mozilla-firebird/Makefile.
However this gives me the error:

    checking for gtk-config... /usr/local/bin/gtk-config
    checking for GTK - version >= 1.2.0... yes
    checking for freetype-config... /usr/X11R6/bin/freetype-config
    checking for FreeType - version >= 6.1.0... yes
    checking for pkg-config... /usr/local/bin/pkg-config
    checking for xft... Package xft was not found in the pkg-config search path.
    Perhaps you should add the directory containing `xft.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'xft' found

    configure: error: Library requirements (xft) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

And "/usr/local/bin/pkg-config --list-all" doesn't list Xft. Do
I have to recompile GTK+2? I don't see any Xft related options in

    /usr/ports/x11/gtk+2/w-gtk+2-2.2.1/gtk+-2.2.1/configure --help

The Konqueror seems to use Xft for a longer time already.
But that's Qt, not the GTK...

Regards
Alex

PS: My dmesg is at
    http://home.t-online.de/home/Alexander.Farber/OpenBSD/dmesg.newhope
    and the "pkg-config --list-all" output is pasted below:

    newhope:mozilla-firebird {551} /usr/local/bin/pkg-config --list-all
    gdk-pixbuf-xlib-2.0 GdkPixbuf Xlib - GdkPixbuf rendering for Xlib
    gdk-x11-2.0 GDK - GIMP Drawing Kit (x11 target)
    gmodule-2.0 GModule - Dynamic module loader for GLib
    gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling
    gtk+-x11-2.0 GTK+ - GIMP Tool Kit (x11 target)
    libxml-2.0 libXML - libXML library version2.
    libart-2.0 libart - LGPL version of the libart library
    esound esound - esound
    glib-2.0 GLib - C Utility Library
    gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
    gthread-2.0 GThread - Thread support for GLib
    pangoft2 Pango FT2 - Freetype 2.0 font support for Pango
    gtk+-2.0 GTK+ - GIMP Tool Kit (x11 target)
    sndfile sndfile - A library for reading and writing audio files.
    pangox Pango X - X Window System font support for Pango
    pangoxft Pango Xft - Xft font support for Pango
    libxslt libxslt - XSLT library version 2.
    audiofile audiofile - audiofile
    pango Pango - Internationalized text handling
    gdk-2.0 GDK - GIMP Drawing Kit (x11 target)
    atk Atk - Accessibility Toolkit