Source for file generate_package_xml.php
Documentation is available at generate_package_xml.php
require_once('PEAR/PackageFileManager.php');
$pkg = new PEAR_PackageFileManager;
// directory that PEAR CVS is located in
$summary = 'This class allows the rendering of 3 dimensional objects utilizing PHP.';
Image_3D is a highly object oriented PHP5 package
that allows the creation of 3 dimensional images
Image_3D currently supports:
* Creation of 3D objects like cubes, spheres, maps, text, pie, torus, ...
* Own object definitions possible
* Own material definitions
* Unlimited number of light sources
* Rendering output via GD, SVG or ASCII
* Modified API to add lights
* Added spotlights and ambient lights
* Added driver SVGControl
array ('simpleoutput' => true ,
'description' => $description,
'packagedirectory' => $packagedir,
'pathtopackagefile' => $packagedir,
'filelistgenerator' => 'cvs',
'ignore' => array ('*.xml',
exit (__FILE__ . ':' . __LINE__ . "\n");
$e = $pkg->addMaintainer ('kore', 'lead', 'Kore Nordmann', 'pear@kore-nordmann.de');
$e = $pkg->addMaintainer ('toby', 'lead', 'Tobias Schlitt', 'toby@php.net');
$e = $pkg->addMaintainer ('norro', 'developer', 'Arne Nordmann', 'mail@arne-nordmann.de');
exit (__FILE__ . ':' . __LINE__ . "\n");
$e = $pkg->addDependency ('gd', null , 'has', 'ext');
exit (__FILE__ . ':' . __LINE__ . "\n");
$e = $pkg->addDependency ('php', '5.0.0', 'ge', 'php');
exit (__FILE__ . ':' . __LINE__ . "\n");
$e = $pkg->addGlobalReplacement ('package-info', '@package_version@', 'version');
exit (__FILE__ . ':' . __LINE__ . "\n");
$e = $pkg->addGlobalReplacement ('pear-config', '@data_dir@', 'data_dir');
exit (__FILE__ . ':' . __LINE__ . "\n");
// hack until they get their shit in line with docroot role
$pkg->addRole ('tpl', 'php');
$pkg->addRole ('png', 'php');
$pkg->addRole ('gif', 'php');
$pkg->addRole ('jpg', 'php');
$pkg->addRole ('css', 'php');
$pkg->addRole ('js', 'php');
$pkg->addRole ('ini', 'php');
$pkg->addRole ('inc', 'php');
$pkg->addRole ('afm', 'php');
$pkg->addRole ('pkg', 'doc');
$pkg->addRole ('cls', 'doc');
$pkg->addRole ('proc', 'doc');
$pkg->addRole ('sh', 'doc');
$e = $pkg->writePackageFile ();
$e = $pkg->debugPackageFile ();
echo '<a href="' . $_SERVER['PHP_SELF'] . '?make=1">Make this file</a>';
Documentation generated on Mon, 11 Mar 2019 15:29:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|