CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
cairo: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 11:09:39 +0000 (12:09 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 11:09:39 +0000 (12:09 +0100)
cairo/.footprint [new file with mode: 0644]
cairo/.md5sum [new file with mode: 0644]
cairo/Pkgfile [new file with mode: 0644]

diff --git a/cairo/.footprint b/cairo/.footprint
new file mode 100644 (file)
index 0000000..90f32a2
--- /dev/null
@@ -0,0 +1,28 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/cairo/
+-rw-r--r--     root/root       usr/include/cairo/cairo-deprecated.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-features.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-ft.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-pdf.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-ps.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-svg.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-version.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-xlib-xrender.h
+-rw-r--r--     root/root       usr/include/cairo/cairo-xlib.h
+-rw-r--r--     root/root       usr/include/cairo/cairo.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libcairo.a
+-rwxr-xr-x     root/root       usr/lib/libcairo.la
+lrwxrwxrwx     root/root       usr/lib/libcairo.so -> libcairo.so.2.10800.8
+lrwxrwxrwx     root/root       usr/lib/libcairo.so.2 -> libcairo.so.2.10800.8
+-rwxr-xr-x     root/root       usr/lib/libcairo.so.2.10800.8
+drwxr-xr-x     root/root       usr/lib/pkgconfig/
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-ft.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-pdf.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-png.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-ps.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-svg.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-xlib-xrender.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo-xlib.pc
+-rw-r--r--     root/root       usr/lib/pkgconfig/cairo.pc
diff --git a/cairo/.md5sum b/cairo/.md5sum
new file mode 100644 (file)
index 0000000..a4d8157
--- /dev/null
@@ -0,0 +1 @@
+d3e1a1035ae563812d4dd44a74fb0dd0  cairo-1.8.8.tar.gz
diff --git a/cairo/Pkgfile b/cairo/Pkgfile
new file mode 100644 (file)
index 0000000..7a9c480
--- /dev/null
@@ -0,0 +1,40 @@
+# Description: A 2D graphics library with support for multiple output devices
+# URL: http://www.cairographics.org/
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: fontconfig libpng xorg-libxrender xorg-libpixman
+
+name=cairo
+version=1.8.8
+release=1
+source=(http://cairographics.org/releases/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+
+  export DEFAULT_LIBS="-L$CLFS/usr/lib"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include"
+  export png_LIBS="$DEFAULT_LIBS -lpng12"
+  export png_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/libpng12"
+  export xlib_LIBS="$DEFAULT_LIBS -lX11"
+  export xlib_CFLAGS="$DEFAULT_CFLAGS"
+  export xlib_xrender_LIBS="$DEFAULT_LIBS -lXrender"
+  export xlib_xrender_CFLAGS="$DEFAULT_CFLAGS"
+  export pixman_LIBS="$DEFAULT_LIBS -lpixman-1"
+  export pixman_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/pixman-1"
+  export FONTCONFIG_LIBS="$DEFAULT_LIBS -lfontconfig"
+  export FONTCONFIG_CFLAGS="$DEFAULT_CFLAGS"
+
+  sed 's|use_png=no|use_png=yes|' -i configure
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --enable-xlib=yes \
+              --enable-xlib-xrender=yes \
+              --enable-png=yes \
+              --enable-ft=yes   
+  make
+  make DESTDIR=$PKG install
+  rm -rf $PKG/usr/share
+}