new package:

- add fribidi for upcoming enna
This commit is contained in:
Stephan Raue 2009-10-03 22:59:20 +02:00
parent dc31ac17aa
commit 1966961188
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
PKG_DIR=`find $PACKAGES -type d -name $1`
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-debug \
--enable-malloc \
--with-glib=no \
--disable-shared
make
$MAKEINSTALL
cp -f $ROOT/$PKG_DIR/scripts/$1-config $ROOT/$TOOLCHAIN/bin/$1-config

View File

@ -0,0 +1,22 @@
Define FRIBIDI_CHUNK_SIZE only if using allocation pools
diff -Nur fribidi2-cvs-20061020.orig/lib/common.h fribidi2-cvs-20061020/lib/common.h
--- fribidi2-cvs-20061020.orig/lib/common.h Tue Jan 31 05:23:12 2006
+++ fribidi2-cvs-20061020/lib/common.h Sat Oct 21 16:42:41 2006
@@ -131,6 +131,8 @@
/* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being
* allocated for data structure pools. */
+#if USE_SIMPLE_MALLOC+0
+#else
#ifndef FRIBIDI_CHUNK_SIZE
# if HAVE_ASM_PAGE_H
# ifndef __FRIBIDI_DOC
@@ -145,6 +147,7 @@
# error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.
# endif /* FRIBIDI_CHUNK_SIZE < 256 */
#endif /* FRIBIDI_CHUNK_SIZE */
+#endif /* USE_SIMPLE_MALLOC */
/* FRIBIDI_BEGIN_STMT should be used at the beginning of your macro
* definitions that are to behave like simple statements. Use

View File

@ -0,0 +1,9 @@
#!/bin/sh
while test $# -gt 0; do
case $1 in
--libs)
echo "-lfribidi"
;;
esac
shift
done

View File

@ -0,0 +1 @@
http://fribidi.org/download/fribidi-0.19.2.tar.gz