diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-02-20 16:40:24 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-02-20 16:40:24 +0000 |
commit | 65aca95ba5fb8402576a0e295cccd547b9114db4 (patch) | |
tree | a4d4cf08d054439710241e5db82e7a4c59d7288b /dev-php5/php-gtk/files | |
parent | p.mask app-portage/emool; it's the wrong approach to the wrong problem (diff) | |
download | gentoo-2-65aca95ba5fb8402576a0e295cccd547b9114db4.tar.gz gentoo-2-65aca95ba5fb8402576a0e295cccd547b9114db4.tar.bz2 gentoo-2-65aca95ba5fb8402576a0e295cccd547b9114db4.zip |
Initial ebuild for PHP-GTK2, closes bug #149670
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-php5/php-gtk/files')
-rw-r--r-- | dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha | 3 | ||||
-rw-r--r-- | dev-php5/php-gtk/files/gtkmozembed.patch | 29 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha b/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha new file mode 100644 index 000000000000..4128927204bd --- /dev/null +++ b/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha @@ -0,0 +1,3 @@ +MD5 f2621750f1dec322d3fe3670cb62b926 php-gtk-2.0.0alpha.tar.gz 725543 +RMD160 f3414718eebcda652b8c6d0c4be5c805779530d7 php-gtk-2.0.0alpha.tar.gz 725543 +SHA256 003b9e0863b59014690770865d441cf59269fed7776305d002933d1d749971c0 php-gtk-2.0.0alpha.tar.gz 725543 diff --git a/dev-php5/php-gtk/files/gtkmozembed.patch b/dev-php5/php-gtk/files/gtkmozembed.patch new file mode 100644 index 000000000000..cb5892bb2011 --- /dev/null +++ b/dev-php5/php-gtk/files/gtkmozembed.patch @@ -0,0 +1,29 @@ +--- ../php-gtk/ext/mozembed/config.m4 2006-03-08 01:03:41.000000000 +0530 ++++ ext/mozembed/config.m4 2006-10-01 21:42:04.000000000 +0530 +@@ -1,16 +1,22 @@ + dnl $Id: gtkmozembed.patch,v 1.1 2007/02/20 16:40:23 anant Exp $ + dnl config.m4 for mozembed module + +-define(mozembed_required_version, 1.7.0) ++define(firefox_required_version, 1.5.0) ++define(mozilla_required_version, 1.7.0) + + PHP_GTK_ARG_ENABLE(mozembed,for GtkMozEmbed support, +-[ --enable-mozembed Enable GtkMozEmbed support],no) ++[ --enable-mozembed Enable GtkMozEmbed support],no) + ++dnl first check for firefox, then mozilla + if test "$PHP_GTK_MOZEMBED" != "no"; then +- PKG_CHECK_MODULES(MOZEMBED, [mozilla-gtkmozembed >= mozembed_required_version], ++ PKG_CHECK_MODULES(MOZEMBED, [firefox-gtkmozembed >= firefox_required_version], + have_mozembed=yes, have_mozembed=no) + if test "$have_mozembed" != "yes"; then +- AC_MSG_RESULT([Unable to locate mozembed version mozembed_required_version or higher: not building]) ++ PKG_CHECK_MODULES(MOZEMBED, [mozilla-gtkmozembed >= mozilla_required_version], ++ have_mozembed=yes, have_mozembed=no) ++ fi ++ if test "$have_mozembed" != "yes"; then ++ AC_MSG_RESULT([Unable to locate firefox-gtkmozembed version firefox_required_version or mozilla-gtkmozembed version mozilla_required_version or higher: not building]) + else + AC_DEFINE(HAVE_MOZEMBED, 1, [mozembed support]) + PHP_EVAL_INCLINE($MOZEMBED_CFLAGS) |