aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-05-27 12:16:19 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-05-27 12:16:19 +0000
commit1117ddbeea4fa53a228bd1190fe5a3c9b639794b (patch)
treeb73e9367f68af7aaff124d48b5d2fd12d64280bf /converters
parent83dd768d5f173b2cf22809ae53553768d491ff4a (diff)
downloadports-1117ddbeea4fa53a228bd1190fe5a3c9b639794b.tar.gz
ports-1117ddbeea4fa53a228bd1190fe5a3c9b639794b.zip
Update to 1.2 release and add support for php 5.4.
Notes
Notes: svn path=/head/; revision=319219
Diffstat (limited to 'converters')
-rw-r--r--converters/pecl-fribidi/Makefile11
-rw-r--r--converters/pecl-fribidi/distinfo4
-rw-r--r--converters/pecl-fribidi/files/patch-config.m411
-rw-r--r--converters/pecl-fribidi/files/patch-fribidi.c80
4 files changed, 15 insertions, 91 deletions
diff --git a/converters/pecl-fribidi/Makefile b/converters/pecl-fribidi/Makefile
index e02c1832ef8b..fa0d43df589d 100644
--- a/converters/pecl-fribidi/Makefile
+++ b/converters/pecl-fribidi/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: pecl-fribidi
-# Date created: 9 Jul 2004
-# Whom: Alex Dupre <ale@FreeBSD.org>
-#
+# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= fribidi
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.2
CATEGORIES= converters pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -21,8 +16,6 @@ LIB_DEPENDS= fribidi.3:${PORTSDIR}/converters/fribidi
USE_PHP= yes
USE_PHPEXT= yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --with-fribidi=${LOCALBASE}
diff --git a/converters/pecl-fribidi/distinfo b/converters/pecl-fribidi/distinfo
index c2db5f2a6a42..e2c9e78be462 100644
--- a/converters/pecl-fribidi/distinfo
+++ b/converters/pecl-fribidi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PECL/fribidi-1.0.tgz) = db63e9028d4b62dca59dd003334df87072735be926525979ee4d2c831eb76bac
-SIZE (PECL/fribidi-1.0.tgz) = 5241
+SHA256 (PECL/fribidi-1.2.tgz) = 6849836124a5f40d6106acf3ec44673a49b2fa4c31d4deae4f34bed10e83e910
+SIZE (PECL/fribidi-1.2.tgz) = 7375
diff --git a/converters/pecl-fribidi/files/patch-config.m4 b/converters/pecl-fribidi/files/patch-config.m4
new file mode 100644
index 000000000000..3460e9285999
--- /dev/null
+++ b/converters/pecl-fribidi/files/patch-config.m4
@@ -0,0 +1,11 @@
+--- config.m4.orig 2013-05-27 14:05:52.000000000 +0200
++++ config.m4 2013-05-27 14:06:16.000000000 +0200
+@@ -15,7 +15,7 @@
+ if test "$PHP_FRIBIDI" = "yes"; then
+ FRIBIDI_PKG_CONFIG_CMD="$FRIBIDI_PKG_CONFIG fribidi"
+ else
+- FRIBIDI_PKG_CONFIG_CMD="$FRIBIDI_PKG_CONFIG $PHP_FRIBIDI/lib/pkgconfig/fribidi.pc"
++ FRIBIDI_PKG_CONFIG_CMD="$FRIBIDI_PKG_CONFIG $PHP_FRIBIDI/libdata/pkgconfig/fribidi.pc"
+ fi
+
+ dnl check for fribidi version
diff --git a/converters/pecl-fribidi/files/patch-fribidi.c b/converters/pecl-fribidi/files/patch-fribidi.c
deleted file mode 100644
index 225d135cbd11..000000000000
--- a/converters/pecl-fribidi/files/patch-fribidi.c
+++ /dev/null
@@ -1,80 +0,0 @@
---- fribidi.c.orig 2003-04-08 13:03:25.000000000 +0200
-+++ fribidi.c 2009-09-21 09:51:54.000000000 +0200
-@@ -32,15 +32,14 @@
- #include <fribidi/fribidi.h>
-
- /* The fribidi guys dont believe in BC */
--/*#ifndef FRIBIDI_CHARSET_UTF8
-+#ifndef FRIBIDI_CHARSET_UTF8
- #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8
- #define FRIBIDI_CHARSET_ISO8859_6 FRIBIDI_CHAR_SET_ISO8859_6
- #define FRIBIDI_CHARSET_ISO8859_8 FRIBIDI_CHAR_SET_ISO8859_8
- #define FRIBIDI_CHARSET_CP1255 FRIBIDI_CHAR_SET_CP1255
- #define FRIBIDI_CHARSET_CP1256 FRIBIDI_CHAR_SET_CP1256
--#define FRIBIDI_CHARSET_ISIRI_3342 FRIBIDI_CHAR_SET_ISIRI_3342
- #define FRIBIDI_CHARSET_CAP_RTL FRIBIDI_CHAR_SET_CAP_RTL
--#endif*/
-+#endif
-
- function_entry fribidi_functions[] = {
- PHP_FE(fribidi_log2vis, NULL)
-@@ -76,7 +75,6 @@
- REGISTER_LONG_CONSTANT("FRIBIDI_CHARSET_8859_8", FRIBIDI_CHARSET_ISO8859_8, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("FRIBIDI_CHARSET_CP1255", FRIBIDI_CHARSET_CP1255, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("FRIBIDI_CHARSET_CP1256", FRIBIDI_CHARSET_CP1256, CONST_CS | CONST_PERSISTENT);
-- REGISTER_LONG_CONSTANT("FRIBIDI_CHARSET_ISIRI_3342", FRIBIDI_CHARSET_ISIRI_3342, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("FRIBIDI_CHARSET_CAP_RTL", FRIBIDI_CHARSET_CAP_RTL, CONST_CS | CONST_PERSISTENT);
-
- /* Directions */
-@@ -125,7 +123,6 @@
- | FRIBIDI_CHARSET_8859_8 |
- | FRIBIDI_CHARSET_CP1255 |
- | FRIBIDI_CHARSET_CP1256 |
--| FRIBIDI_CHARSET_ISIRI_3342 |
- | FRIBIDI_CHARSET_CAP_RTL |
- | |
- | Output: on success: The visual string. |
-@@ -193,7 +190,6 @@
- case FRIBIDI_CHARSET_ISO8859_8:
- case FRIBIDI_CHARSET_CP1255:
- case FRIBIDI_CHARSET_CP1256:
-- case FRIBIDI_CHARSET_ISIRI_3342:
- case FRIBIDI_CHARSET_CAP_RTL:
- len = fribidi_charset_to_unicode(Z_LVAL_PP(charset), in_string, len, u_logical_str);
- break;
-@@ -212,11 +208,7 @@
-
- out_string = (char *) emalloc(sizeof(char)*alloc_len);
-
--#if FRIBIDI_MAJOR_VERSION == 0 && FRIBIDI_MINOR_VERSION <= 10
- fribidi_log2vis(u_logical_str, len, &base_dir, u_visual_str, position_L_to_V_list, position_V_to_L_list, embedding_level_list);
--#else
-- fribidi_log2vis(NULL, u_logical_str, len, &base_dir, u_visual_str, position_L_to_V_list, position_V_to_L_list, embedding_level_list);
--#endif
-
- /* convert back to original char set */
- switch(Z_LVAL_PP(charset)) {
-@@ -225,7 +217,6 @@
- case FRIBIDI_CHARSET_ISO8859_8:
- case FRIBIDI_CHARSET_CP1255:
- case FRIBIDI_CHARSET_CP1256:
-- case FRIBIDI_CHARSET_ISIRI_3342:
- case FRIBIDI_CHARSET_CAP_RTL:
- fribidi_unicode_to_charset(Z_LVAL_PP(charset), u_visual_str, len, out_string);
- break;
-@@ -270,7 +261,6 @@
- case FRIBIDI_CHARSET_ISO8859_8:
- case FRIBIDI_CHARSET_CP1255:
- case FRIBIDI_CHARSET_CP1256:
-- case FRIBIDI_CHARSET_ISIRI_3342:
- case FRIBIDI_CHARSET_CAP_RTL:
- array_init(return_value);
-
-@@ -308,7 +298,6 @@
- add_index_string(return_value, FRIBIDI_CHARSET_ISO8859_8, "FRIBIDI_CHARSET_8859_8", 1);
- add_index_string(return_value, FRIBIDI_CHARSET_CP1255, "FRIBIDI_CHARSET_CP1255", 1);
- add_index_string(return_value, FRIBIDI_CHARSET_CP1256, "FRIBIDI_CHARSET_CP1256", 1);
-- add_index_string(return_value, FRIBIDI_CHARSET_ISIRI_3342, "FRIBIDI_CHARSET_ISIRI_3342", 1);
- }
- /* }}} */
-