| View previous topic :: View next topic |
| Author |
Message |
Trey
Joined: 08 Mar 2006 Posts: 5
|
Posted: Wed Mar 08, 2006 11:00 pm Post subject: Pear Packages |
|
|
I don't think I really understand how to make the pear packages. If someone could give me a clean example of their pear package for gnope that'd be great. I tried making my own but when I try to validate it it doesn't work correctly.
Thanks |
|
| Back to top |
|
 |
Osiris
Joined: 17 Dec 2005 Posts: 65
|
Posted: Thu Mar 09, 2006 12:07 am Post subject: |
|
|
Hi,
here's my working package.xml
Greetings
Christian |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Thu Mar 09, 2006 8:28 am Post subject: |
|
|
| All the packages in the gnope channel have package.xml files. Just download the files manually and open them; you will find a package.xml in every single one of them. |
|
| Back to top |
|
 |
scott
Joined: 16 Feb 2006 Posts: 35
|
Posted: Fri Mar 10, 2006 3:45 pm Post subject: |
|
|
Hi Trey,
Warning: Gratuitous self-promotion!
Have you tried using the PEAR_PackageFileManager_GUI_Gtk Package? It will make creating the packge.xml file a breeze. Currently this version only makes package.xml version 1 but you can use pear convert to create a package2.xml.
End self-promotion
Also, you can get a copy of the package.xml for any PEAR package by downloading and unpacking the package (instead of installing it):
| Code: | $> pear download <channel>/<package>
$> tar -zxf <packagefile>.tgz
|
Finally, you can look at the package.xm files in CVS:
http://cvs.php.net/viewcvs.cgi/pear/
- Scott Mattocks |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Fri Mar 10, 2006 3:49 pm Post subject: |
|
|
| scott wrote: | | PEAR_PackageFileManager_GUI_Gtk |
I didn't recommend that as it doesn't work with PHP-Gtk2. |
|
| Back to top |
|
 |
|