cvs: pear /PECL/ecasound ECASOUND_HOWTO README.ECASOUND_VERSIONS config.m4 ecasound.c package.xml

From: Date: Sat, 18 Jan 2003 18:28:56 +0000
Subject: cvs: pear /PECL/ecasound ECASOUND_HOWTO README.ECASOUND_VERSIONS config.m4 ecasound.c package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8386@lists.php.net to get a copy of this message
tony Sat Jan 18 13:28:56 2003 EDT Added files: /pear/PECL/ecasound ECASOUND_HOWTO README.ECASOUND_VERSIONS Modified files: /pear/PECL/ecasound config.m4 ecasound.c package.xml Log: Release 0.2 added ECASOUND_HOWTO documentation Index: pear/PECL/ecasound/config.m4 diff -u pear/PECL/ecasound/config.m4:1.1 pear/PECL/ecasound/config.m4:1.2 --- pear/PECL/ecasound/config.m4:1.1 Thu Oct 3 02:52:14 2002 +++ pear/PECL/ecasound/config.m4 Sat Jan 18 13:28:55 2003 @@ -4,8 +4,8 @@ if test "$PHP_ECASOUND" != "no"; then -SEARCH_PATH="/usr/local /usr" # you might want to change this -SEARCH_FOR="/include/ecasound/ecasoundc.h" # you most likely want to change this +SEARCH_PATH="/usr/local/include/ecasound /usr/local/include/libecasoundc" # you might want to change this +SEARCH_FOR="ecasoundc.h" # you most likely want to change this if test -r $PHP_ECASOUND/; then # path given as parameter ECASOUND=$PHP_ECASOUND else # search default path list Index: pear/PECL/ecasound/ecasound.c diff -u pear/PECL/ecasound/ecasound.c:1.2 pear/PECL/ecasound/ecasound.c:1.3 --- pear/PECL/ecasound/ecasound.c:1.2 Sat Jan 4 06:55:57 2003 +++ pear/PECL/ecasound/ecasound.c Sat Jan 18 13:28:55 2003 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 4 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2003 The PHP Group | + | Copyright (c) 1997-2002 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -15,9 +15,11 @@ | Author: Tony Leake tony@webwise-data.co.uk | +----------------------------------------------------------------------+ - $Id: ecasound.c,v 1.2 2003/01/04 11:55:57 mj Exp $ + $Id: ecasound.c,v 1.3 2003/01/18 18:28:55 tony Exp $ */ +//#define OLD_ECASOUND + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -26,7 +28,12 @@ #include "php_ini.h" #include "ext/standard/info.h" #include "php_ecasound.h" -#include <ecasound/ecasoundc.h> + +#ifdef OLD_ECASOUND +#include "ecasound/ecasoundc.h" +#else +#include "libecasoundc/ecasoundc.h" +#endif /* If you declare any globals in php_ecasound.h uncomment this: ZEND_DECLARE_MODULE_GLOBALS(ecasound) Index: pear/PECL/ecasound/package.xml diff -u pear/PECL/ecasound/package.xml:1.1 pear/PECL/ecasound/package.xml:1.2 --- pear/PECL/ecasound/package.xml:1.1 Thu Oct 3 02:52:14 2002 +++ pear/PECL/ecasound/package.xml Sat Jan 18 13:28:55 2003 @@ -15,10 +15,10 @@ </maintainer> </maintainers> <release> - <version>0.1</version> + <version>0.2</version> <date>2002-10-01</date> <state>alpha</state> - <notes>First release</notes> + <notes>Updated to work with ecasound 2.2.0</notes> </release> <filelist> <dir role="src" name="/"> @@ -27,9 +27,10 @@ <file role="ext">ecasound.c</file> <file role="php">ecasound.php</file> <file role="doc">EXPERIMENTAL</file> - <file role="script">Makefile.in</file> <file role="ext">php_ecasound.h</file> <file role="doc">README</file> + <file role="doc">README.ECASOUND_VERSIONS</file> + <file role="doc">ECASOUND_HOWTO</file> <file role="doc">TODO</file> </dir> </filelist> Index: pear/PECL/ecasound/README.ECASOUND_VERSIONS +++ pear/PECL/ecasound/README.ECASOUND_VERSIONS Certain parts of the ecasound implementation have recently changed and the header files are now in /usr/local/include/libecasoundc instead of /usr/local/include/ecasound As a result if you are using a version of ecasound before 2.2 you must uncomment the line /*define _OLD_ECASOUND*/ in ecasound.c before running make.

« previous php.pear.cvs (#8386) next »