Commit d975a3a1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: add fribidi

parent 46d734e4
55b3886399ab45fed5849621bd97c24d7ab58f58ef8eb408e1f8cd23894897261239a04bfd0d7120424e38b36b18b6b0cd2e3ca515c6cc4b6b97f665fbb9d62e fribidi-0.19.2.tar.gz
diff -u fribidi.orig/Makefile.am fribidi/Makefile.am
--- fribidi.orig/Makefile.am 2005-08-25 20:35:34.000000000 +0200
+++ fribidi/Makefile.am 2008-01-28 14:31:19.000000000 +0100
@@ -9,7 +9,7 @@
##############################################################################
## The order of subdirs is important, don't change without a reason.
-SUBDIRS = gen.tab charset lib bin doc test
+SUBDIRS = gen.tab charset lib #bin doc test
EXTRA_DIST = bootstrap ChangeLog.old
diff -u fribidi.orig/configure.ac fribidi/configure.ac
--- fribidi.orig/configure.ac 2008-01-16 00:15:46.000000000 +0100
+++ fribidi/configure.ac 2008-01-28 14:32:38.000000000 +0100
@@ -165,38 +165,38 @@
AM_CONDITIONAL(FRIBIDI_CHARSETS, test x$FRIBIDI_CHARSETS = x1)
# --with[out]-glib
-AC_ARG_WITH(glib,
- AC_HELP_STRING([--with-glib=@<:@no/auto/yes@:>@],
- [use Glib @<:@default=auto@:>@]))
-GLIB_PACKAGE=glib-2.0
-GLIB_MINVERSION=2.4
+#AC_ARG_WITH(glib,
+# AC_HELP_STRING([--with-glib=@<:@no/auto/yes@:>@],
+# [use Glib @<:@default=auto@:>@]))
+#GLIB_PACKAGE=glib-2.0
+#GLIB_MINVERSION=2.4
GLIB_LIBS=
GLIB_CFLAGS=
-if test x$with_glib = xyes; then
- PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION)
- FRIBIDI_USE_GLIB=1
-else
-if test x$with_glib = xno; then
+#if test x$with_glib = xyes; then
+# PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION)
+# FRIBIDI_USE_GLIB=1
+#else
+#if test x$with_glib = xno; then
FRIBIDI_USE_GLIB=0
-else
- PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION,
- FRIBIDI_USE_GLIB=1,
- FRIBIDI_USE_GLIB=0)
-fi
-fi
-if test x$FRIBIDI_USE_GLIB = x0; then
+#else
+# PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION,
+# FRIBIDI_USE_GLIB=1,
+# FRIBIDI_USE_GLIB=0)
+#fi
+#fi
+#if test x$FRIBIDI_USE_GLIB = x0; then
GLIB_PACKAGE=
-fi
+#fi
AC_SUBST(FRIBIDI_USE_GLIB)
AM_CONDITIONAL(FRIBIDI_USE_GLIB, test x$FRIBIDI_USE_GLIB = x1)
-MISC_CFLAGS="$GLIB_CFLAGS"
-MISC_LIBS="$GLIB_LIBS"
-MISC_PACKAGES="$GLIB_PACKAGE"
-AC_SUBST(MISC_CFLAGS)
-AC_SUBST(MISC_LIBS)
-AC_SUBST(MISC_PACKAGES)
+#MISC_CFLAGS="$GLIB_CFLAGS"
+#MISC_LIBS="$GLIB_LIBS"
+#MISC_PACKAGES="$GLIB_PACKAGE"
+#AC_SUBST(MISC_CFLAGS)
+#AC_SUBST(MISC_LIBS)
+#AC_SUBST(MISC_PACKAGES)
# Generate output
AC_CONFIG_FILES([fribidi.pc
--- fribidi.orig/fribidi.pc.in 2008-02-02 23:06:05.000000000 +0000
+++ fribidi/fribidi.pc.in 2008-02-02 23:06:39.000000000 +0000
@@ -7,7 +7,6 @@
Name: @PACKAGE_NAME@
Description: Unicode Bidirectional Algorithm Library
-Requires: @MISC_PACKAGES@
Version: @VERSION@
Libs: -L${libdir} -lfribidi
Cflags: -I${includedir}/@PACKAGE@
--- fribidi.orig/lib/fribidi-common.h 2008-02-04 21:30:46.000000000 +0000
+++ fribidi/lib/fribidi-common.h 2008-02-04 21:32:25.000000000 +0000
@@ -53,11 +53,7 @@
/* FRIBIDI_ENTRY is a macro used to declare library entry points. */
#ifndef FRIBIDI_ENTRY
-# if (defined(WIN32)) || (defined(_WIN32_WCE))
-# define FRIBIDI_ENTRY __declspec(dllimport)
-# else /* !WIN32 */
# define FRIBIDI_ENTRY /* empty */
-# endif /* !WIN32 */
#endif /* !FRIBIDI_ENTRY */
#if FRIBIDI_USE_GLIB+0
# FRIBIDI
FRIBIDI_VERSION := 0.19.2
FRIBIDI_URL := http://fribidi.org/download/fribidi-$(FRIBIDI_VERSION).tar.gz
PKGS += fribidi
$(TARBALLS)/fribidi-$(FRIBIDI_VERSION).tar.gz:
$(call download,$(FRIBIDI_URL))
.sum-fribidi: fribidi-$(FRIBIDI_VERSION).tar.gz
fribidi: fribidi-$(FRIBIDI_VERSION).tar.gz .sum-fribidi
$(UNPACK)
$(APPLY) $(SRC)/fribidi/fribidi.patch
$(MOVE)
# fixme .iconv
.fribidi: fribidi
cd $< && rm -f configure && ./bootstrap
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment