Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Jun 2013, 01:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
How to name dependencies?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2218
Location: near here

PostPosted: Tue 15 May 2012, 06:47    Post_subject:  How to name dependencies?  

If I make a package which needs the libs below, how would I name the dependencies for the PET file?

Code:
libFLAC++.so.6.2.0
libSoundTouch.so.1.0.0
libwx_baseu-2.8.so.0.6.0
libwx_baseu_net-2.8.so.0.6.0
libwx_baseu_xml-2.8.so.0.6.0
libwx_gtk2u_adv-2.8.so.0.6.0
libwx_gtk2u_aui-2.8.so.0.6.0
libwx_gtk2u_core-2.8.so.0.6.0
libwx_gtk2u_fl-2.8.so.0.6.0
libwx_gtk2u_gizmos-2.8.so.0.6.0
libwx_gtk2u_gizmos_xrc-2.8.so.0.6.0
libwx_gtk2u_gl-2.8.so.0.6.0
libwx_gtk2u_html-2.8.so.0.6.0
libwx_gtk2u_media-2.8.so.0.6.0
libwx_gtk2u_ogl-2.8.so.0.6.0
libwx_gtk2u_plot-2.8.so.0.6.0
libwx_gtk2u_qa-2.8.so.0.6.0
libwx_gtk2u_richtext-2.8.so.0.6.0
libwx_gtk2u_stc-2.8.so.0.6.0
libwx_gtk2u_svg-2.8.so.0.6.0
libwx_gtk2u_xrc-2.8.so.0.6.0

_________________
Wiki Audacity 2.0.1
Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 1573
Location: The Blue Marble

PostPosted: Tue 15 May 2012, 06:57    Post_subject:  

You need to collect all these libs into one PET file, say libwxgtk-2.8.pet (just a guess - I don't know what these libs are). Then when you build the your apps pet, add +libwxgtk to the "dependency" section. Note: Put your libs pet name without version number.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2218
Location: near here

PostPosted: Tue 15 May 2012, 09:30    Post_subject:  

so it would be something like this:-

+libFLAC++,+libSoundTouch,+libwx_baseu,+libwx_gtk2u

?

I'm unsure whether I need to put lib in front of all the dependencies . . .

_________________
Wiki Audacity 2.0.1
Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 1573
Location: The Blue Marble

PostPosted: Fri 18 May 2012, 04:05    Post_subject:  

Yes, assuming that's how you name your library pets.
Let's say you keep your libraries in 3 pets:
- libwxgtk-2.8pet
- libflac-3.7-git.pet
- soundtouch-5.0.pet

Then in your app you put the depedency as:
+libwxgt,+libflac,+soundtouch

The name of the libs doesn't matter; it is the name of the pet that must match (the name before the first "-" dash character).

If on the other hand you decide to combine all the libs into one big pet, say my_big_lib_collection-1.0.pet; you need to add "+my_big_lib_collection" as your dependency.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0388s ][ Queries: 12 (0.0060s) ][ GZIP on ]