Re: gtk and fonts on OS X



Hi,

On Mon, 28 Feb 2005 13:33:03 -0500 (EST), Allin Cottrell
<cottrell wfu edu> wrote:
I'm able to build and run my gtk app just fine on OS X 10.2.4 plus
fink.  But I'd like to make the app available to people running
OS X 10.3 Panther, with Apple's X11 but without fink.

This 'just worked' for me. Though I've not tried building on 10.2 and
running on 10.3. If you build pango statically with basic-fc:

cd pango-xx
./configure --enable-static --with-included-modules=basic-fc

then link with something like:

LDADD = \
        -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib \
        /usr/local/lib/libgtk-x11-2.0.a \
        /usr/local/lib/libgdk-x11-2.0.a \
        -lXrandr -lXinerama -lXcursor \
        /usr/local/lib/libatk-1.0.a \
        /usr/local/lib/libgdk_pixbuf-2.0.a \
        -lpng12 \
        /usr/local/lib/libpangoxft-1.0.a \
        -lXft -lXrender \
        /usr/local/lib/libpangox-1.0.a \
        /usr/local/lib/libvips.a \
        -lMagick -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 \
        -lxml2 -lpthread -lpng -ltiff -lz -ljpeg -ldrfftw -ldfftw -llcms \
        -lm \
        /usr/local/lib/libgthread-2.0.a \
        /usr/local/lib/libpangoft2-1.0.a \
        -lfontconfig -lfreetype \
        /usr/local/lib/libpango-1.0.a \
        /usr/local/lib/libgobject-2.0.a \
        /usr/local/lib/libgmodule-2.0.a \
        /usr/local/lib/libglib-2.0.a \
        -lintl -liconv

my .dmg is here if you want to try it:

http://www.vips.ecs.soton.ac.uk/vips-7.10

It doesn't always automatically start X11 for you, for some reason I
don't understand. Oh well.

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]