From d422af6ac1039d9fcfaef2b78ec4a1cd50a90b8b Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sun, 22 Jan 2006 18:52:00 +0000 Subject: Replace (c)pdflib use flags with pdf use flag --- eclass/php-2.eclass | 6 +++--- eclass/php5-sapi-r1.eclass | 10 +++++----- eclass/php5-sapi-r2.eclass | 10 +++++----- eclass/php5-sapi.eclass | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'eclass') diff --git a/eclass/php-2.eclass b/eclass/php-2.eclass index 8dd865bf064b..d3629ac09448 100644 --- a/eclass/php-2.eclass +++ b/eclass/php-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-2.eclass,v 1.19 2005/09/25 12:30:26 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-2.eclass,v 1.20 2006/01/22 18:52:00 genone Exp $ # Author: Robin H. Johnson # This eclass is the old style of php, that was used before php-core was @@ -35,7 +35,7 @@ SRC_URI="${SRC_URI} mirror://gentoo/php-4.3.2-fopen-url-secure.patch" # Where we work S=${WORKDIR}/${MY_P} -IUSE="${IUSE} X crypt curl firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdflib png postgres qt snmp spell ssl tiff truetype xml2" +IUSE="${IUSE} X crypt curl firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdf png postgres qt snmp spell ssl tiff truetype xml2" # berkdb stuff is complicated # we need db-1.* for ndbm @@ -68,7 +68,7 @@ RDEPEND=" nls? ( sys-devel/gettext ) odbc? ( >=dev-db/unixODBC-1.8.13 ) pam? ( >=sys-libs/pam-0.75 ) - pdflib? ( >=media-libs/pdflib-4.0.3 >=media-libs/jpeg-6b + pdf? ( >=media-libs/pdflib-4.0.3 >=media-libs/jpeg-6b >=media-libs/libpng-1.2.5 >=media-libs/tiff-3.5.5 ) png? ( >=media-libs/libpng-1.2.5 ) postgres? ( >=dev-db/postgresql-7.1 ) diff --git a/eclass/php5-sapi-r1.eclass b/eclass/php5-sapi-r1.eclass index 3f1469c1e7e3..1487f120ffe9 100644 --- a/eclass/php5-sapi-r1.eclass +++ b/eclass/php5-sapi-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r1.eclass,v 1.20 2005/08/23 14:55:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r1.eclass,v 1.21 2006/01/22 18:52:00 genone Exp $ # # eclass/php5-sapi-r1.eclass # Eclass for building different php5 SAPI instances @@ -21,14 +21,14 @@ HOMEPAGE="http://www.php.net/" LICENSE="PHP-3" SRC_URI="http://www.php.net/distributions/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" -IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro firebird ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc threads tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" +IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb pdf crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk flatfile filepro firebird ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc threads tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" # these USE flags should have the correct dependencies DEPEND="$DEPEND !<=dev-php/php-4.99.99 berkdb? ( =sys-libs/db-4* ) bzip2? ( app-arch/bzip2 ) - cpdflib? ( >=media-libs/clibpdf-2 ) + pdf? ( >=media-libs/clibpdf-2 ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) fam? ( virtual/fam ) @@ -186,7 +186,7 @@ php5-sapi-r1_check_awkward_uses() { enable_extension_with "gd" "gd" 0 fi - confutils_use_depend_any "jpeg" "gd" "gd-external" "cpdflib" + confutils_use_depend_any "jpeg" "gd" "gd-external" "pdf" confutils_use_depend_any "png" "gd" "gd-external" confutils_use_depend_any "tiff" "gd" "gd-external" confutils_use_depend_any "xpm" "gd" "gd-external" @@ -349,7 +349,7 @@ php5-sapi-r1_src_compile() { enable_extension_enable "bcmath" "bcmath" 1 enable_extension_with "bz2" "bzip2" 1 enable_extension_enable "calendar" "calendar" 1 - enable_extension_with "cpdflib" "cpdflib" 1 # depends on jpeg + enable_extension_with "cpdflib" "pdf" 1 # depends on jpeg enable_extension_disable "ctype" "ctype" 0 enable_extension_with "curl" "curl" 1 enable_extension_with "curlwrappers" "curlwrappers" 1 diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass index 938b51af1447..17d45e998a39 100644 --- a/eclass/php5-sapi-r2.eclass +++ b/eclass/php5-sapi-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.37 2005/08/28 17:23:48 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.38 2006/01/22 18:52:00 genone Exp $ # # eclass/php5-sapi-r2.eclass # Eclass for building different php5 SAPI instances @@ -35,7 +35,7 @@ if [ "${PHP_PACKAGE}" = 1 ]; then S="${WORKDIR}/${MY_PHP_P}" fi -IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cpdflib crypt +IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb pdf crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam firebird frontbase fdftk flatfile filepro ftp gd gd-external gdbm gmp hardenedphp hyperwave-api imap inifile iconv informix ingres interbase iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mkconfig mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc threads tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" @@ -44,7 +44,7 @@ DEPEND="$DEPEND !<=dev-php/php-4.99.99 berkdb? ( =sys-libs/db-4* ) bzip2? ( app-arch/bzip2 ) - cpdflib? ( >=media-libs/clibpdf-2 ) + pdf? ( >=media-libs/clibpdf-2 ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) fam? ( virtual/fam ) @@ -220,7 +220,7 @@ php5-sapi-r2_check_awkward_uses() { enable_extension_with "gd" "gd" 0 fi - confutils_use_depend_any "jpeg" "gd" "gd-external" "cpdflib" + confutils_use_depend_any "jpeg" "gd" "gd-external" "pdf" confutils_use_depend_any "png" "gd" "gd-external" confutils_use_depend_any "tiff" "gd" "gd-external" confutils_use_depend_any "xpm" "gd" "gd-external" @@ -395,7 +395,7 @@ php5-sapi-r2_src_compile() { enable_extension_enable "bcmath" "bcmath" 1 enable_extension_with "bz2" "bzip2" 1 enable_extension_enable "calendar" "calendar" 1 - enable_extension_with "cpdflib" "cpdflib" 1 # depends on jpeg + enable_extension_with "cpdflib" "pdf" 1 # depends on jpeg enable_extension_disable "ctype" "ctype" 0 enable_extension_with "curl" "curl" 1 enable_extension_with "curlwrappers" "curlwrappers" 1 diff --git a/eclass/php5-sapi.eclass b/eclass/php5-sapi.eclass index 94f07b95cec0..c3f47816afd6 100644 --- a/eclass/php5-sapi.eclass +++ b/eclass/php5-sapi.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.54 2005/08/23 14:55:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.55 2006/01/22 18:52:00 genone Exp $ # # eclass/php5-sapi.eclass # Eclass for building different php5 SAPI instances @@ -21,14 +21,14 @@ HOMEPAGE="http://www.php.net/" LICENSE="PHP-3" SRC_URI="http://www.php.net/distributions/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" -IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cpdflib crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk firebird flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" +IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb pdf crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio empress empress-bcs esoob exif fam frontbase fdftk firebird flatfile filepro ftp gd gd-external gdbm gmp hyperwave-api imap inifile iconv informix ingres iodbc jpeg kerberos ldap libedit mcve memlimit mhash mime ming mnogosearch msession msql mssql mysql mysqli ncurses nls nis oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres posix qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer truetype wddx xsl xml2 xmlrpc xpm zlib" # these USE flags should have the correct dependencies DEPEND="$DEPEND !<=dev-php/php-4.99.99 berkdb? ( =sys-libs/db-4* ) bzip2? ( app-arch/bzip2 ) - cpdflib? ( >=media-libs/clibpdf-2 ) + pdf? ( >=media-libs/clibpdf-2 ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) fam? ( virtual/fam ) @@ -175,7 +175,7 @@ php5-sapi_check_awkward_uses() { enable_extension_with "gd" "gd" 0 fi - confutils_use_depend_any "jpeg" "gd" "gd-external" "cpdflib" + confutils_use_depend_any "jpeg" "gd" "gd-external" "pdf" confutils_use_depend_any "png" "gd" "gd-external" confutils_use_depend_any "tiff" "gd" "gd-external" confutils_use_depend_any "xpm" "gd" "gd-external" @@ -346,7 +346,7 @@ php5-sapi_src_compile() { enable_extension_enable "bcmath" "bcmath" 1 enable_extension_with "bz2" "bzip2" 1 enable_extension_enable "calendar" "calendar" 1 - enable_extension_with "cpdflib" "cpdflib" 1 # depends on jpeg + enable_extension_with "cpdflib" "pdf" 1 # depends on jpeg enable_extension_disable "ctype" "ctype" 0 enable_extension_with "curl" "curl" 1 enable_extension_with "curlwrappers" "curlwrappers" 1 -- cgit v1.2.3-65-gdbad