diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-06-17 04:48:37 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-06-17 04:48:37 +0000 |
commit | 316336b635e31587e966ed319dbb89a02f805eb9 (patch) | |
tree | 5cd8ca96a259d2b62fe6665860706eabf39d214b | |
parent | Add use flags for dev-php5/php-gtk (diff) | |
download | historical-316336b635e31587e966ed319dbb89a02f805eb9.tar.gz historical-316336b635e31587e966ed319dbb89a02f805eb9.tar.bz2 historical-316336b635e31587e966ed319dbb89a02f805eb9.zip |
bump to 2.0.0beta.
Package-Manager: portage-2.1.3_rc3
-rw-r--r-- | dev-php5/php-gtk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php5/php-gtk/Manifest | 32 | ||||
-rw-r--r-- | dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha | 3 | ||||
-rw-r--r-- | dev-php5/php-gtk/files/digest-php-gtk-2.0.0_beta | 3 | ||||
-rw-r--r-- | dev-php5/php-gtk/files/gtkmozembed.patch | 29 | ||||
-rw-r--r-- | dev-php5/php-gtk/files/no-cli-check.patch | 14 | ||||
-rw-r--r-- | dev-php5/php-gtk/php-gtk-2.0.0_alpha.ebuild | 90 | ||||
-rw-r--r-- | dev-php5/php-gtk/php-gtk-2.0.0_beta.ebuild | 106 |
8 files changed, 147 insertions, 139 deletions
diff --git a/dev-php5/php-gtk/ChangeLog b/dev-php5/php-gtk/ChangeLog index 5b4fea9654f6..0e5b9de36fee 100644 --- a/dev-php5/php-gtk/ChangeLog +++ b/dev-php5/php-gtk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-php5/php-gtk # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/ChangeLog,v 1.7 2007/04/18 22:59:14 anant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/ChangeLog,v 1.8 2007/06/17 04:48:37 anant Exp $ + +*php-gtk-2.0.0_beta (17 Jun 2007) + + 17 Jun 2007; Anant Narayanan <anant@gentoo.org> -files/gtkmozembed.patch, + +files/no-cli-check.patch, -php-gtk-2.0.0_alpha.ebuild, + +php-gtk-2.0.0_beta.ebuild: + bump to 2.0.0beta. 18 Apr 2007; Anant Narayanan <anant@gentoo.org> php-gtk-2.0.0_alpha.ebuild: diff --git a/dev-php5/php-gtk/Manifest b/dev-php5/php-gtk/Manifest index e4e69a60d230..885b661451ce 100644 --- a/dev-php5/php-gtk/Manifest +++ b/dev-php5/php-gtk/Manifest @@ -1,20 +1,20 @@ -AUX gtkmozembed.patch 1449 RMD160 6b24ffe5c7b9ca8d044161593c97b42d9fffb414 SHA1 54f6683e09f80871d5162b9471c53a5bc5caa223 SHA256 690a9f40fcca0606626ac4057c0564bbad158b9a709c692332f4247c660fedf0 -MD5 5959d6cdf2c414896f654c23f3e5e7ca files/gtkmozembed.patch 1449 -RMD160 6b24ffe5c7b9ca8d044161593c97b42d9fffb414 files/gtkmozembed.patch 1449 -SHA256 690a9f40fcca0606626ac4057c0564bbad158b9a709c692332f4247c660fedf0 files/gtkmozembed.patch 1449 -DIST php-gtk-2.0.0alpha.tar.gz 725543 RMD160 f3414718eebcda652b8c6d0c4be5c805779530d7 SHA1 f24e7822c3345167f334cb87edc9494112a14a98 SHA256 003b9e0863b59014690770865d441cf59269fed7776305d002933d1d749971c0 -EBUILD php-gtk-2.0.0_alpha.ebuild 2137 RMD160 f7ba5c164a53510445fb8c4c43b540167c1298dd SHA1 d780828986bfd700e7fdec13b9aca213f74d5567 SHA256 65bbf290a7d7bdd3eb2750962cdc3effa308dc02eebf07ff7354bd5da3f27bb4 -MD5 247913cacb475507142bad18f38b1a50 php-gtk-2.0.0_alpha.ebuild 2137 -RMD160 f7ba5c164a53510445fb8c4c43b540167c1298dd php-gtk-2.0.0_alpha.ebuild 2137 -SHA256 65bbf290a7d7bdd3eb2750962cdc3effa308dc02eebf07ff7354bd5da3f27bb4 php-gtk-2.0.0_alpha.ebuild 2137 -MISC ChangeLog 1088 RMD160 1d6ffbfad95fea693a1f5aad93a13f7724a833e4 SHA1 a9a6daec4985e440a91b34707b2d831e5ed00885 SHA256 daeeae316c212337726ad09c6c20bcb0ccecb03636d7be571acac09211ce9d2b -MD5 e0de359be3b4158e81ea4213456e6316 ChangeLog 1088 -RMD160 1d6ffbfad95fea693a1f5aad93a13f7724a833e4 ChangeLog 1088 -SHA256 daeeae316c212337726ad09c6c20bcb0ccecb03636d7be571acac09211ce9d2b ChangeLog 1088 +AUX no-cli-check.patch 391 RMD160 15754f4f2fe8a2e55c521a6301e1db2ac971ec31 SHA1 3a43d565115737c3292d4ae4779ca2f461ba6e85 SHA256 7d505e67ddf87808842dc0b747b12f99b60af74526bee3b59159ed8346449e23 +MD5 f6d08b4e3aef31bf304f2279a175ee5f files/no-cli-check.patch 391 +RMD160 15754f4f2fe8a2e55c521a6301e1db2ac971ec31 files/no-cli-check.patch 391 +SHA256 7d505e67ddf87808842dc0b747b12f99b60af74526bee3b59159ed8346449e23 files/no-cli-check.patch 391 +DIST php-gtk-2.0.0beta.tar.gz 1291728 RMD160 107f030baa5bc3752a815eacb11a8fa2d8086780 SHA1 1d0de61ee4a082aa103875a87e86c62d5c35327b SHA256 9e43326859bb59f79a8e688bd1cb457a915829cf2a5a626f1a06395abb9b1430 +EBUILD php-gtk-2.0.0_beta.ebuild 2993 RMD160 39e8967f8e12e928da060465def1e353162b5eae SHA1 b80c179d4241a904194aa4fb567acff5441e0adc SHA256 decd11c370f8203d124694018f63b5a778e573799743c90cb66d670f4c0d7420 +MD5 278a0c24532c73845a067032f37910a7 php-gtk-2.0.0_beta.ebuild 2993 +RMD160 39e8967f8e12e928da060465def1e353162b5eae php-gtk-2.0.0_beta.ebuild 2993 +SHA256 decd11c370f8203d124694018f63b5a778e573799743c90cb66d670f4c0d7420 php-gtk-2.0.0_beta.ebuild 2993 +MISC ChangeLog 1309 RMD160 683d27f4e16824a376734f2372cbd1afa3b80792 SHA1 d39f51a0da4ef7812de788f72305fd0e79ed2f88 SHA256 c4d2323deeef3f300b1e51d770d1364b82350a4602c15aa11679139dd1e486e4 +MD5 ede5b202939c56961fb9ea338aedd076 ChangeLog 1309 +RMD160 683d27f4e16824a376734f2372cbd1afa3b80792 ChangeLog 1309 +SHA256 c4d2323deeef3f300b1e51d770d1364b82350a4602c15aa11679139dd1e486e4 ChangeLog 1309 MISC metadata.xml 403 RMD160 e3aeec7bef8ab5548c3146c01d959d08bd8bad2e SHA1 546780bec6b4636c191e16d45d9707f356be681b SHA256 48da2cda3ea301263a4c75fddcc263e565f1790ec75e744765076ad85f5d9ddb MD5 6185acd3ecb95c509cb29f52a233a77e metadata.xml 403 RMD160 e3aeec7bef8ab5548c3146c01d959d08bd8bad2e metadata.xml 403 SHA256 48da2cda3ea301263a4c75fddcc263e565f1790ec75e744765076ad85f5d9ddb metadata.xml 403 -MD5 a2d4e4a3c04d762209cf6c4d78cec7e2 files/digest-php-gtk-2.0.0_alpha 256 -RMD160 b75781cabe7ed04eda0713189e95f831b1ebf7eb files/digest-php-gtk-2.0.0_alpha 256 -SHA256 67c63c2360fcf140b9dac338f2b7165fabfe6c28109bd5ed6007f41cefc27c0f files/digest-php-gtk-2.0.0_alpha 256 +MD5 82d7351f7b2afdfbc0972444d57b7bd4 files/digest-php-gtk-2.0.0_beta 256 +RMD160 8e4c486bf2c58573d33c5b1e9d11197bfeef5e49 files/digest-php-gtk-2.0.0_beta 256 +SHA256 6ec523526b88c31be14a175c8593b33aed775e8eee86ef95a9c76864188a0e6d files/digest-php-gtk-2.0.0_beta 256 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 deleted file mode 100644 index 4128927204bd..000000000000 --- a/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_alpha +++ /dev/null @@ -1,3 +0,0 @@ -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/digest-php-gtk-2.0.0_beta b/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_beta new file mode 100644 index 000000000000..6316fb87082e --- /dev/null +++ b/dev-php5/php-gtk/files/digest-php-gtk-2.0.0_beta @@ -0,0 +1,3 @@ +MD5 a02568508c2fb13bfc1b20802d8e702b php-gtk-2.0.0beta.tar.gz 1291728 +RMD160 107f030baa5bc3752a815eacb11a8fa2d8086780 php-gtk-2.0.0beta.tar.gz 1291728 +SHA256 9e43326859bb59f79a8e688bd1cb457a915829cf2a5a626f1a06395abb9b1430 php-gtk-2.0.0beta.tar.gz 1291728 diff --git a/dev-php5/php-gtk/files/gtkmozembed.patch b/dev-php5/php-gtk/files/gtkmozembed.patch deleted file mode 100644 index cb5892bb2011..000000000000 --- a/dev-php5/php-gtk/files/gtkmozembed.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- ../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) diff --git a/dev-php5/php-gtk/files/no-cli-check.patch b/dev-php5/php-gtk/files/no-cli-check.patch new file mode 100644 index 000000000000..8c7ab18dafc7 --- /dev/null +++ b/dev-php5/php-gtk/files/no-cli-check.patch @@ -0,0 +1,14 @@ +--- config.m4.old 2007-06-17 09:27:39.000000000 +0530 ++++ config.m4 2007-06-17 09:27:47.000000000 +0530 +@@ -27,11 +27,6 @@ + AC_MSG_ERROR(Could not locate PHP executable) + fi + +- PHP_SAPI=`$PHP --version | sed -n 's/.*(\(...\)).*/\1/p'` +- if test "$PHP_SAPI" != "cli" ; then +- AC_MSG_ERROR(PHP CLI version is required[,] $PHP_SAPI found) +- fi +- + AC_PROG_AWK + PHP_SUBST(AWK) + diff --git a/dev-php5/php-gtk/php-gtk-2.0.0_alpha.ebuild b/dev-php5/php-gtk/php-gtk-2.0.0_alpha.ebuild deleted file mode 100644 index 2cf74f1e5900..000000000000 --- a/dev-php5/php-gtk/php-gtk-2.0.0_alpha.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/php-gtk-2.0.0_alpha.ebuild,v 1.6 2007/04/18 22:59:14 anant Exp $ - -PHP_EXT_NAME="php_gtk2" -PHP_EXT_INI="yes" -PHP_EXT_ZENDEXT="no" - -inherit php-ext-source-r1 - -KEYWORDS="~amd64 ~x86" - -DESCRIPTION="PHP 5 bindings for the Gtk+ 2 library." -HOMEPAGE="http://gtk.php.net/" -SRC_URI="http://gtk.php.net/distributions/${PN}-${PV/_alpha/}alpha.tar.gz" - -LICENSE="PHP" -SLOT="0" -IUSE="debug mozembed nolibglade sourceview" - -RDEPEND=">=dev-lang/php-5.1.2 - >=x11-libs/gtk+-2.6.0 - >=dev-libs/glib-2.6.0 - >=x11-libs/pango-1.8.0 - >=dev-libs/atk-1.6.0 - !nolibglade? ( >=gnome-base/libglade-2.5.0 ) - mozembed? ( >=www-client/mozilla-firefox-1.5.0 ) - sourceview? ( >=x11-libs/gtksourceview-1.6.0 )" -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.9" - -S="${WORKDIR}/${PN}-${PV/_alpha/}alpha" - -pkg_setup() { - has_php - require_php_cli - if use debug ; then - require_php_with_use cli pcre debug - else - if has_debug ; then - # PHP has debug enabled, but PHP-GTK doesn't! - eerror "Please enable the 'debug' USE flag in" - eerror "PHP-GTK, this is needed to work with" - eerror "the debug version of PHP." - die "Enable 'debug' USE flag" - fi - require_php_with_use cli pcre - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Allow building against firefox - epatch "${FILESDIR}/gtkmozembed.patch" -} - -src_compile() { - # Can't use php-ext-source-r1_src_compile, - # because PHP-GTK 2 uses buildconf and not autoconf - ./buildconf - - if use nolibglade ; then - GLCONF=" --disable-libglade" - else - GLCONF="" - fi - - addpredict /session_mm_cli0.sem - - econf \ - $(use_enable debug) \ - $(use_enable mozembed) \ - $(use_enable sourceview) \ - ${GLCONF} \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - # Can't use php-ext-source-r1_src_install - # because it looks for {ext}-default.so, - # that too in the wrong location - insinto "${EXT_DIR}" - newins "${S}/modules/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" - - dodoc-php AUTHORS ChangeLog INSTALL NEWS README README.KNOWN-ISSUES TODO2 -} diff --git a/dev-php5/php-gtk/php-gtk-2.0.0_beta.ebuild b/dev-php5/php-gtk/php-gtk-2.0.0_beta.ebuild new file mode 100644 index 000000000000..0c2a7ae8548d --- /dev/null +++ b/dev-php5/php-gtk/php-gtk-2.0.0_beta.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/php-gtk-2.0.0_beta.ebuild,v 1.1 2007/06/17 04:48:37 anant Exp $ + +PHP_EXT_NAME="php_gtk2" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit php-ext-source-r1 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP 5 bindings for the Gtk+ 2 library." +HOMEPAGE="http://gtk.php.net/" +SRC_URI="http://gtk.php.net/distributions/${PN}-${PV/_beta/}beta.tar.gz" + +LICENSE="PHP" +SLOT="0" +IUSE="extra html libsexy mozembed sourceview spell scintilla debug nolibglade" + +RDEPEND=">=dev-lang/php-5.1.2 + >=x11-libs/gtk+-2.6.0 + >=dev-libs/glib-2.6.0 + >=x11-libs/pango-1.8.0 + >=dev-libs/atk-1.6.0 + !nolibglade? ( >=gnome-base/libglade-2.5.0 ) + extra? ( >=x11-libs/gtk+extra-2.1.1 ) + html? ( >=gnome-extra/gtkhtml-3.10.0 ) + libsexy? ( >=x11-libs/libsexy-0.1.10 ) + mozembed? ( >=www-client/mozilla-firefox-1.5.0 ) + sourceview? ( >=x11-libs/gtksourceview-1.2.0 ) + spell? ( >=app-text/gtkspell-2.0.0 )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9" + +S="${WORKDIR}/${PN}-${PV/_beta/}beta" + +pkg_setup() { + has_php + require_php_cli + if use debug ; then + require_php_with_use cli pcre debug + else + if has_debug ; then + # PHP has debug enabled, but PHP-GTK doesn't! + eerror "Please enable the 'debug' USE flag in" + eerror "PHP-GTK, this is needed to work with" + eerror "the debug version of PHP." + die "Enable 'debug' USE flag" + fi + require_php_with_use cli pcre + fi +} + +src_compile() { + # we already check for CLI + # in-built check creates troubke on suhosin + # based installations, so remove it + epatch ${FILESDIR}/no-cli-check.patch + + if use nolibglade ; then + GLCONF=" --disable-libglade" + else + GLCONF="" + fi + + # php-ext-source-r1_src_compile can't be used + has_php + addpredict /usr/share/snmp/mibs/.index + addpredict /session_mm_cli0.sem + ./buildconf + + econf $(use_with extra) \ + $(use_with html) \ + $(use_with libsexy) \ + $(use_with mozembed) \ + $(use_with sourceview) \ + $(use_with spell) \ + $(use_with debug) \ + $(use_enable scintilla) \ + ${GLCONF} || die "configure failed!" + emake || die "make failed!" + mv -f "modules/${PHP_EXT_NAME}.so" "${WORKDIR}/${PHP_EXT_NAME}-default.so" || die "Unable to move extension" +} + +src_install() { + # can't use php-ext-source-r1_src_install + # since it adds ini to apache2 too! + # concurrentmodphp not applicable + has_php + addpredict /usr/share/snmp/mibs/.index + + insinto "${EXT_DIR}" + newins "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${PHP_EXT_NAME}.so" + + if [[ -f "/etc/php/cli-php${PHP_VERSION}/php.ini" ]] ; then + inifile="etc/php/cli-php${PHP_VERSION}/ext/${PHP_EXT_NAME}.ini" + inidir="${inifile/${PHP_EXT_NAME}.ini/}" + inidir="${inidir/ext/ext-active}" + dodir "/${inidir}" + dosym "/${inifile}" "/${inifile/ext/ext-active}" + fi + php-ext-base-r1_addtoinifile "extension" "${PHP_EXT_NAME}.so" "${inifile}" "Extension added" + + dodoc-php AUTHORS ChangeLog INSTALL NEWS README README.KNOWN-ISSUES TODO2 +} |