The time now is Wed 19 Jun 2013, 01:13
All times are UTC - 4 |
| Author |
Message |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: 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
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: 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
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: 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
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: 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
|
|
 |
|
|
|
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 ] |