Re: How to make package?
| From: | Christian Stocker | Date: | Wed, 04 Aug 2004 10:13:53 +0000 |
| Subject: | Re: How to make package? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1086@lists.php.net to get a copy of this message | ||
Hi
maybe 0.1-dev is not allowed. Try with 0.1 only...
chregu
On 4.8.2004 12:07 Uhr, Wenlong Wu wrote:
When I use pear to make package, it say "Error: invalid package version".
What's wrong with this?
package.xml file
=====================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
<name>FreeImage</name>
<summary>Provides a wrapper to the FreeImage library.</summary>
<description>
This extension is a wrapper for the FreeImage
(http://freeimage.sourceforge.net)
library that allows PHP to support popular graphics image fromats like
GIF, PNG,
BMP, JPEG, TIFF, PSD, XPM and others as needed by today's multimedia
application.
See the examples in the examples/ directory for some hints on how to use
it.
</description>
<license>PHP</license>
<maintainers>
<maintainer>
<user>wenlong</user>
<name>Wenlong Wu</name>
<email>wenlong@php.net</email>
<role>lead</role>
</maintainer>
</maintainers>
<release>
<state>beta</state>
<version>0.1-dev</version>
<date>2004-07-24</date>
<notes>
- Rewritten all code.
- Both a procedural and an OO API is provided.
- Upgraded FreeImage library to version 3.4.0.
- Added stream support.
- Added PHP5 support.
- First Release in PECL.
</notes>
<filelist>
<dir role="src" name="/" >
<file role="src">config.m4</file>
<file role="src">config.w32</file>
<file role="src">freeimage.c</file>
<file role="src">freeimage.h</file>
<file role="src">freeimage_io.c</file>
<file role="src">freeimage_io.h</file>
<file role="src">freeimage.dsp</file>
<file role="doc">CREDITS</file>
<file role="doc">README</file>
<file role="doc">EXPERIMENTAL</file>
<file role="doc">freeimage-license.txt</file>
<dir name="examples">
<file role="doc">Brightness.php</file>
<file role="doc">ColorQuantize.php</file>
<file role="doc">Contrast.php</file>
<file role="doc">Copy.php</file>
<file role="doc">Dither.php</file>
<file role="doc">Flip.php</file>
<file role="doc">Gamma.php</file>
<file role="doc">Invert.php</file>
<file role="doc">LoadFromUrl.php</file>
<file role="doc">LoadSave.php</file>
<file role="doc">Paste.php</file>
<file role="doc">Plugin.php</file>
<file role="doc">Rescale.php</file>
<file role="doc">Rotate.php</file>
<file role="doc">Threshold.php</file>
<dir name="orig_images">
<file role="doc">php_orig.gif</file>
<file role="doc">php_orig.ico</file>
<file role="doc">php_orig.jpg</file>
<file role="doc">php_orig.pcx</file>
<file role="doc">php_orig.png</file>
<file role="doc">php_orig.psd</file>
<file role="doc">php_orig.tga</file>
<file role="doc">php_orig.tif</file>
</dir>
</dir>
</dir>
</filelist>
</release>
</package>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB