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 01 Jul 2015, 08:58
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Create pet package with several apps inside
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 10 Mar 2010
Posts: 3778
Location: Ontario

PostPosted: Mon 20 Aug 2012, 19:27    Post_subject:  Create pet package with several apps inside  

Barryk has made a change to petget recently so that
I had to explore a new method to make my rightclick package.

I discovered that it is possible to make a pet package with
more than one application inside. Here's the method...

1) Create a folder with appropriate name like abiword-6.0
The appropriate files structure should be inside such
as /usr , /usr/local/ etc.

2) A pinstall script must be placed inside. I suggest


yaf-splash  -bg_gradient false  -close never -fontsize large -bg orange -fb black -text "Please wait for installation... " & PID=$!

 JWMVER=`jwm -v|head -n1|cut -d ' ' -f2|cut -d - -f2`
 if vercmp $JWMVER lt 574;then # change from 547 to 574.
   jwm -restart
   jwm -reload
jwm -reload
kill $PID
exit 0

3) Make a temporary folder in /root

4) Drag all .desktop files in 'abiword-6.0' to temporary folder
(These are the files in /usr/share/applications/)

5) Now launch terminal and run command 'dir2pet abiword-6.0'
or whatever the name of package will be.
petget is fooled into believing that there is no desktop files,
but just before final making of pet package you should return
all .desktop files back to folder.

Note that pinstall script will reconstruct the menu when installing
the pet package. The apps should be in correct category. Check and see
if the installation is correct before posting.

Note on script: The command 'vercmp' is only installed in
recent puppies but this doesn't matter.

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0481s ][ Queries: 11 (0.0085s) ][ GZIP on ]