-rw-r--r-- root/root usr/include/pango-1.0/pango/pango-types.h
-rw-r--r-- root/root usr/include/pango-1.0/pango/pango-utils.h
-rw-r--r-- root/root usr/include/pango-1.0/pango/pango.h
+-rw-r--r-- root/root usr/include/pango-1.0/pango/pangocairo.h
-rw-r--r-- root/root usr/include/pango-1.0/pango/pangofc-decoder.h
-rw-r--r-- root/root usr/include/pango-1.0/pango/pangofc-font.h
-rw-r--r-- root/root usr/include/pango-1.0/pango/pangofc-fontmap.h
lrwxrwxrwx root/root usr/lib/libpango-1.0.so -> libpango-1.0.so.0.2400.5
lrwxrwxrwx root/root usr/lib/libpango-1.0.so.0 -> libpango-1.0.so.0.2400.5
-rwxr-xr-x root/root usr/lib/libpango-1.0.so.0.2400.5
+-rwxr-xr-x root/root usr/lib/libpangocairo-1.0.la
+lrwxrwxrwx root/root usr/lib/libpangocairo-1.0.so -> libpangocairo-1.0.so.0.2400.5
+lrwxrwxrwx root/root usr/lib/libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.2400.5
+-rwxr-xr-x root/root usr/lib/libpangocairo-1.0.so.0.2400.5
-rw-r--r-- root/root usr/lib/libpangoft2-1.0.la
lrwxrwxrwx root/root usr/lib/libpangoft2-1.0.so -> libpangoft2-1.0.so.0.2400.5
lrwxrwxrwx root/root usr/lib/libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.2400.5
-rwxr-xr-x root/root usr/lib/pango/1.6.0/modules/pango-tibetan-fc.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/pango.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/pangocairo.pc
-rw-r--r-- root/root usr/lib/pkgconfig/pangoft2.pc
-rw-r--r-- root/root usr/lib/pkgconfig/pangox.pc
-rw-r--r-- root/root usr/lib/pkgconfig/pangoxft.pc
# Depends on: cairo glib xorg-libsm xorg-libxext xorg-libxft
name=pango
version=1.24.5
-release=1
+release=2
source=(http://download.gnome.org/sources/$name/1.24/$name-$version.tar.bz2 \
pango.modules)
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr
+ --prefix=/usr
- find -type f -name 'Makefile*' \
- -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -i {} \;
+ echo "#define HAVE_CAIRO 1" >> config.h
+ echo "#define HAVE_CAIRO_FREETYPE 1" >> config.h
+ echo "#define HAVE_CAIRO_XLIB 1" >> config.h
+ echo "#define HAVE_X 1" >> config.h
+ echo "#define HAVE_XFT 1" >> config.h
+
+ sed -i $(find . -type f -name Makefile) \
+ -e "s|FONTCONFIG_LIBS =.*|FONTCONFIG_LIBS = $FONTCONFIG_LIBS|" \
+ -e "s|FONTCONFIG_CFLAGS =.*|FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS|" \
+ -e "s|FREETYPE_LIBS =.*|FREETYPE_LIBS = $FREETYPE_LIBS|" \
+ -e "s|FREETYPE_CFLAGS =.*|FREETYPE_CFLAGS = $FREETYPE_CFLAGS|" \
+ -e "s|XFT_LIBS =.*|XFT_LIBS = $XFT_LIBS|" \
+ -e "s|XFT_CFLAGS =.*|XFT_CFLAGS = $XFT_CFLAGS|" \
+ -e "s|GLIB_LIBS =.*|GLIB_LIBS = $GLIB_LIBS|" \
+ -e "s|GLIB_CFLAGS =.*|GLIB_CFLAGS = $GLIB_CFLAGS|" \
+ -e "s|CAIRO_LIBS =.*|CAIRO_LIBS = $CAIRO_LIBS|" \
+ -e "s|CAIRO_CFLAGS =.*|CAIRO_CFLAGS = $CAIRO_CFLAGS|"
make
make DESTDIR=$PKG install