summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2015-09-17 23:12:03 -0400
committerBradley Sepos <[email protected]>2015-09-23 10:51:31 -0400
commit2bb51df66bbeab92c0f5e2d976a28ac81fb67a0a (patch)
tree01623a7b7fc510cb78423e78c548b16928b6d0b6 /contrib
parentc1672bc9732086daf62a8c4c17fb9ac5671e57d9 (diff)
contrib: Update to fribidi 0.19.7.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fribidi/A00-disable-tests.patch16
-rw-r--r--contrib/fribidi/P00-mingw-static-lib.patch11
-rw-r--r--contrib/fribidi/P01-darwin-no-glib.patch24
-rw-r--r--contrib/fribidi/module.defs12
4 files changed, 19 insertions, 44 deletions
diff --git a/contrib/fribidi/A00-disable-tests.patch b/contrib/fribidi/A00-disable-tests.patch
index 50f26fd2d..9c5f0be0d 100644
--- a/contrib/fribidi/A00-disable-tests.patch
+++ b/contrib/fribidi/A00-disable-tests.patch
@@ -1,11 +1,11 @@
-diff -Naur fribidi-0.19.2.orig/bin/Makefile.am fribidi-0.19.2/bin/Makefile.am
---- fribidi-0.19.2.orig/bin/Makefile.am 2005-06-07 01:39:14.000000000 -0700
-+++ fribidi-0.19.2/bin/Makefile.am 2011-10-20 10:19:14.380722654 -0700
+diff -u fribidi-0.19.7/bin/Makefile.am.orig fribidi-0.19.7/bin/Makefile.am
+--- fribidi-0.19.7/bin/Makefile.am.orig 2012-08-27 15:30:17.000000000 -0400
++++ fribidi-0.19.7/bin/Makefile.am 2015-09-17 22:57:45.000000000 -0400
@@ -1,6 +1,6 @@
bin_PROGRAMS = fribidi
--noinst_PROGRAMS = fribidi-benchmark fribidi-bidi-types fribidi-caprtl2utf8
-+noinst_PROGRAMS = fribidi-bidi-types fribidi-caprtl2utf8
-
- getopt_SOURCES = getopt.c getopt1.c getopt_int.h getopt.h gettext.h
-
+-noinst_PROGRAMS = fribidi-benchmark fribidi-bidi-types
++noinst_PROGRAMS = fribidi-bidi-types
+ if FRIBIDI_CHARSETS
+ noinst_PROGRAMS += fribidi-caprtl2utf8
+ endif
diff --git a/contrib/fribidi/P00-mingw-static-lib.patch b/contrib/fribidi/P00-mingw-static-lib.patch
deleted file mode 100644
index e8d78876a..000000000
--- a/contrib/fribidi/P00-mingw-static-lib.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- fribidi-0.19.2.orig/lib/fribidi-common.h 2007-04-05 09:13:24.000000000 -0700
-+++ fribidi-0.19.2/lib/fribidi-common.h 2011-10-20 11:00:21.874917516 -0700
-@@ -54,7 +54,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)
-+# define FRIBIDI_ENTRY
- # else /* !WIN32 */
- # define FRIBIDI_ENTRY /* empty */
- # endif /* !WIN32 */
diff --git a/contrib/fribidi/P01-darwin-no-glib.patch b/contrib/fribidi/P01-darwin-no-glib.patch
deleted file mode 100644
index 38c5e54ae..000000000
--- a/contrib/fribidi/P01-darwin-no-glib.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur fribidi-0.19.2.orig/configure.ac fribidi-0.19.2/configure.ac
---- fribidi-0.19.2.orig/configure.ac 2009-03-26 15:37:29.000000000 -0700
-+++ fribidi-0.19.2/configure.ac 2011-10-20 14:15:40.000000000 -0700
-@@ -172,18 +172,8 @@
- 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
-- FRIBIDI_USE_GLIB=0
--else
-- PKG_CHECK_MODULES(GLIB,$GLIB_PACKAGE >= $GLIB_MINVERSION,
-- FRIBIDI_USE_GLIB=1,
-- FRIBIDI_USE_GLIB=0)
--fi
--fi
-+FRIBIDI_USE_GLIB=0
-+
- if test x$FRIBIDI_USE_GLIB = x0; then
- GLIB_PACKAGE=
- fi
diff --git a/contrib/fribidi/module.defs b/contrib/fribidi/module.defs
index b291326eb..646a566ab 100644
--- a/contrib/fribidi/module.defs
+++ b/contrib/fribidi/module.defs
@@ -1,6 +1,16 @@
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+__deps__ := PTHREADW32
+endif
+
$(eval $(call import.MODULE.defs,FRIBIDI,fribidi))
$(eval $(call import.CONTRIB.defs,FRIBIDI))
-FRIBIDI.FETCH.url = http://download.handbrake.fr/handbrake/contrib/fribidi-0.19.2.tar.gz
+FRIBIDI.FETCH.url = http://download.handbrake.fr/handbrake/contrib/fribidi-0.19.7.tar.bz2
+
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ FRIBIDI.CONFIGURE.extra = --with-glib=no
+else ifeq (darwin,$(BUILD.system))
+ FRIBIDI.CONFIGURE.extra = --with-glib=no
+endif
FRIBIDI.CONFIGURE.bootstrap = ./bootstrap;