Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96583 Details for
Bug 147058
add imagemagick USE flag to dev-lang/php
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add imagemagick USE flag to dev-lang/php
imagemagick-support.patch (text/plain), 6.80 KB, created by
Fab
on 2006-09-10 05:49:34 UTC
(
hide
)
Description:
add imagemagick USE flag to dev-lang/php
Filename:
MIME Type:
Creator:
Fab
Created:
2006-09-10 05:49:34 UTC
Size:
6.80 KB
patch
obsolete
>diff -Nru depend.php.eclass.old depend.php.eclass >--- depend.php.eclass.old 2006-08-07 09:36:43.000000000 +0200 >+++ depend.php.eclass 2006-09-10 13:16:58.000000000 +0200 >@@ -506,6 +506,25 @@ > die "No GD support found for PHP" > } > >+# Require a PHP built with imagemagick wrapper support >+ >+require_imagick() { >+ has_php >+ if built_with_use =${PHP_PKG} imagemagick ; then >+ return >+ fi >+ >+ # If we get here, then we don't have any Imagemagick support for PHP installed >+ eerror >+ eerror "No ImageMagick extension for PHP found." >+ eerror "Please install an Imagemagick extension for PHP," >+ eerror "this is done best by simply adding the" >+ eerror "'imagemagick' USE flag when emerging dev-lang/php." >+ eerror >+ die "No ImageMagick extension for PHP found" >+} >+ >+ > # ======================================================================== > # Misc functions > # >diff -Nru php4_4-sapi.eclass.old php4_4-sapi.eclass >--- php4_4-sapi.eclass.old 2006-08-30 11:05:56.000000000 +0200 >+++ php4_4-sapi.eclass 2006-09-10 12:59:09.000000000 +0200 >@@ -38,7 +38,7 @@ > S="${WORKDIR}/${MY_PHP_P}" > fi > >-IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl db2 dbase dbmaker dbx debug doc empress empress-bcs esoob exif expat frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hyperwave-api iconv imap informix inifile interbase iodbc ipv6 java-internal java-external kerberos ldap libedit mcal mcve memlimit mhash ming mnogosearch msql mssql mysql ncurses nls oci8 oci8-instant-client odbc oracle7 overload ovrimos pcntl pcre pfpro pic posix postgres readline recode sapdb session sharedext sharedmem snmp sockets solid spell sqlite ssl sybase sybase-ct sysvipc tokenizer truetype unicode wddx xml xmlrpc xpm xsl yaz zip zlib" >+IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl db2 dbase dbmaker dbx debug doc empress empress-bcs esoob exif expat frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hyperwave-api iconv imagemagick imap informix inifile interbase iodbc ipv6 java-internal java-external kerberos ldap libedit mcal mcve memlimit mhash ming mnogosearch msql mssql mysql ncurses nls oci8 oci8-instant-client odbc oracle7 overload ovrimos pcntl pcre pfpro pic posix postgres readline recode sapdb session sharedext sharedmem snmp sockets solid spell sqlite ssl sybase sybase-ct sysvipc tokenizer truetype unicode wddx xml xmlrpc xpm xsl yaz zip zlib" > > # these USE flags should have the correct dependencies > DEPEND="adabas? ( >=dev-db/unixODBC-1.8.13 ) >@@ -121,6 +121,7 @@ > # > # They are in PDEPEND because we need PHP installed first! > PDEPEND="doc? ( app-doc/php-docs ) >+ imagemagick? ( dev-php4/pecl-imagick ) > java-external? ( dev-php4/php-java-bridge ) > sqlite? ( dev-php4/pecl-sqlite ) > yaz? ( dev-php4/pecl-yaz ) >diff -Nru php5_0-sapi.eclass.old php5_0-sapi.eclass >--- php5_0-sapi.eclass.old 2006-08-30 11:05:56.000000000 +0200 >+++ php5_0-sapi.eclass 2006-09-10 13:01:11.000000000 +0200 >@@ -38,7 +38,7 @@ > S="${WORKDIR}/${MY_PHP_P}" > fi > >-IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl curlwrappers db2 dbase dbmaker debug doc empress empress-bcs esoob exif frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hyperwave-api iconv imap informix inifile interbase iodbc ipv6 java-external kerberos ldap libedit mcve memlimit mhash ming mnogosearch msql mssql mysql mysqli ncurses nls oci8 oci8-instant-client odbc oracle7 ovrimos pcntl pcre pdo-external pfpro pic posix postgres qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tokenizer truetype unicode wddx xml xmlrpc xpm xsl yaz zip zlib" >+IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl curlwrappers db2 dbase dbmaker debug doc empress empress-bcs esoob exif frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hyperwave-api iconv imagemagick imap informix inifile interbase iodbc ipv6 java-external kerberos ldap libedit mcve memlimit mhash ming mnogosearch msql mssql mysql mysqli ncurses nls oci8 oci8-instant-client odbc oracle7 ovrimos pcntl pcre pdo-external pfpro pic posix postgres qdbm readline recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tokenizer truetype unicode wddx xml xmlrpc xpm xsl yaz zip zlib" > > # these USE flags should have the correct dependencies > DEPEND="adabas? ( >=dev-db/unixODBC-1.8.13 ) >@@ -123,6 +123,7 @@ > # > # They are in PDEPEND because we need PHP installed first! > PDEPEND="doc? ( app-doc/php-docs ) >+ imagemagick? ( dev-php5/pecl-imagick ) > java-external? ( dev-php5/php-java-bridge ) > mcve? ( dev-php5/pecl-mcve ) > pdo-external? ( dev-php5/pecl-pdo ) >diff -Nru php5_1-sapi.eclass.old php5_1-sapi.eclass >--- php5_1-sapi.eclass.old 2006-08-30 11:05:56.000000000 +0200 >+++ php5_1-sapi.eclass 2006-09-10 12:55:07.000000000 +0200 >@@ -38,7 +38,7 @@ > S="${WORKDIR}/${MY_PHP_P}" > fi > >-IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl curlwrappers db2 dbase dbmaker debug doc empress empress-bcs esoob exif frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hash hyperwave-api iconv imap informix inifile interbase iodbc ipv6 java-external kerberos ldap libedit mcve memlimit mhash ming msql mssql mysql mysqli ncurses nls oci8 oci8-instant-client odbc pcntl pcre pdo pdo-external pic posix postgres qdbm readline reflection recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tokenizer truetype unicode vm-goto vm-switch wddx xml xmlreader xmlwriter xmlrpc xpm xsl yaz zip zlib" >+IUSE="adabas bcmath berkdb birdstep bzip2 calendar cdb cjk crypt ctype curl curlwrappers db2 dbase dbmaker debug doc empress empress-bcs esoob exif frontbase fdftk filepro firebird flatfile ftp gd gd-external gdbm gmp hardenedphp hash hyperwave-api iconv imagemagick imap informix inifile interbase iodbc ipv6 java-external kerberos ldap libedit mcve memlimit mhash ming msql mssql mysql mysqli ncurses nls oci8 oci8-instant-client odbc pcntl pcre pdo pdo-external pic posix postgres qdbm readline reflection recode sapdb sasl session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl sybase sybase-ct sysvipc tidy tokenizer truetype unicode vm-goto vm-switch wddx xml xmlreader xmlwriter xmlrpc xpm xsl yaz zip zlib" > > # these USE flags should have the correct dependencies > DEPEND="adabas? ( >=dev-db/unixODBC-1.8.13 ) >@@ -125,6 +125,7 @@ > # > # They are in PDEPEND because we need PHP installed first! > PDEPEND="doc? ( app-doc/php-docs ) >+ imagemagick? ( dev-php5/pecl-imagick ) > java-external? ( dev-php5/php-java-bridge ) > mcve? ( dev-php5/pecl-mcve ) > pdo-external? ( dev-php5/pecl-pdo )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 147058
: 96583