2003-03-20 23:25:01 +01:00
|
|
|
#! /bin/sh
|
|
|
|
|
* Xft support in gtk+ (for anti-aliased fonts :-) ).
The problem of transitive imports needs to be adressed, though, as
evidenced by, e.g., the descriptor for pan. That is, if C depends
on library B, and B depends on library A, then C also depends on
library A. However, this breaks modularity: C should not have to
declare a dependency on A explicitly.
The solution is to have B re-export A, e.g., by creating symlinks
from B to the files in A.
svn path=/nixpkgs/trunk/; revision=68
2003-05-28 02:02:55 +02:00
|
|
|
export PATH=$pkgconfig/bin:$freetype/bin:/bin:/usr/bin
|
|
|
|
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$fontconfig/lib/pkgconfig:$Xft/lib/pkgconfig
|
|
|
|
export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$fontconfig/lib:$Xft/lib
|
2003-03-20 23:25:01 +01:00
|
|
|
|
|
|
|
top=`pwd`
|
2003-04-23 23:21:06 +02:00
|
|
|
tar xvfj $src || exit 1
|
|
|
|
cd gtk+-* || exit 1
|
* Xft support in gtk+ (for anti-aliased fonts :-) ).
The problem of transitive imports needs to be adressed, though, as
evidenced by, e.g., the descriptor for pan. That is, if C depends
on library B, and B depends on library A, then C also depends on
library A. However, this breaks modularity: C should not have to
declare a dependency on A explicitly.
The solution is to have B re-export A, e.g., by creating symlinks
from B to the files in A.
svn path=/nixpkgs/trunk/; revision=68
2003-05-28 02:02:55 +02:00
|
|
|
./configure --prefix=$top --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
|
2003-04-23 23:21:06 +02:00
|
|
|
make || exit 1
|
|
|
|
make install || exit 1
|
|
|
|
cd $top || exit 1
|
|
|
|
rm -rf gtk+-* || exit 1
|