gnope php gtk gui gnope.org  

Pear Packages

 
Post new topic   Reply to topic    gnope.org Forum Index -> Tutorials and questions
View previous topic :: View next topic  
Author Message
Trey



Joined: 08 Mar 2006
Posts: 5

PostPosted: Wed Mar 08, 2006 11:00 pm    Post subject: Pear Packages Reply with quote

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

PostPosted: Thu Mar 09, 2006 12:07 am    Post subject: Reply with quote

Hi,

here's my working package.xml

Greetings

Christian
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Thu Mar 09, 2006 8:28 am    Post subject: Reply with quote

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

PostPosted: Fri Mar 10, 2006 3:45 pm    Post subject: Reply with quote

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

PostPosted: Fri Mar 10, 2006 3:49 pm    Post subject: Reply with quote

scott wrote:
PEAR_PackageFileManager_GUI_Gtk

I didn't recommend that as it doesn't work with PHP-Gtk2.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> Tutorials and questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.