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 Thu 24 Apr 2014, 00:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
easypackage
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Sun 23 Jan 2011, 17:40    Post subject:  easypackage
Subject description: cli tool for combining pets into pet or sfs
 

easypackage
cli tool for combining pets into pet or sfs

This is a very simple little tool that will combine the pets in a given directory into either a pet file or sfs file.
There is little error checking, but just make sure the directory you point it to contains only pets and you will be fine.

It's offered as is, in case anyone wants it.

It requires Xdialog and dir2pet.

Usage:

Code:
easypackage [directory]
easypackage-0.1.pet
Description 
pet

 Download 
Filename  easypackage-0.1.pet 
Filesize  1022 Bytes 
Downloaded  691 Time(s) 

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Sun 23 Jan 2011, 18:47    Post subject:  

This could be a great resource every time I need to start up with a new save file and I don't want to get bored installing 20+ little pets: I simply could use this tool and make a unique pet and get things installed in a few clicks...

but...

what about if I want to uninstall just one of the 20+ packages, say to upgrade it or whatever...

it would be veery handy the ability to have a package manager that will install all pets in a row, something like apt-get for local files:

Code:
easypackage cmus-2.3.3-w5.pet p7zip-4.58.pet edit_sfs-2.1.pet pwidgets-2.3.1.pet ...


so, for example, I just can group my pets in a folder and run

Code:
easypackage *.pet
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 23 Jan 2011, 19:34    Post subject:  

Something like

Code:
for i in `ls *.pet` ; do
   petget $i
done


should do the job. You'll still have to press OK a lot.,
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 878

PostPosted: Mon 24 Jan 2011, 00:47    Post subject:  

Or maybe have your own auto-keypuncher. Very Happy

Code:
for i in *.pet ; do
   petget $i & xdotool key Return
   sleep 2 # probably needs sleep adjusting here and below
   xdotool key Return
   sleep 2
done


s
Back to top
View user's profile Send private message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Mon 24 Jan 2011, 04:11    Post subject:  

jemimah wrote:
You'll still have to press OK a lot.,


It's right what I'd like to duck...

I give auto-keypuncher a try Cool

Anyway the fact in puppy there's no pure cli package installing / removing is strange... does petget work without X?
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2368
Location: UK

PostPosted: Mon 24 Jan 2011, 14:58    Post subject:  

yeah sorry neurino, this is only for making packages, not installing them.
_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Mon 24 Jan 2011, 15:59    Post subject:  

Well I'm givin' a look at petget source and I'm goin' to edit it (in a new file...) to get rid of gtkdialog3 parts with simple prints to stdout and without user confirmation, also removing all non-pet-related code (deb, tgz|.txz, tar.gz).

All I need, and maybe also others want, is just a quick and dirty install all these pets I already tested.

Let's see... what sounds weird to me is no one already did it before so maybe there are difficulties I can't see now.
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1012
Location: Australia

PostPosted: Wed 31 Aug 2011, 05:13    Post subject:  

Ah heck, I wish I discovered this a long time ago. All this while I've been extracting I don't know how many pets to make KDE sfses. Hah, ah well, at least I've discovered it today thanks to some Chinese spam bot Wink

Of course thanks to you too Scott Very Happy

Battleshooter

_________________
Kdenlive for Saluki
Openshot for Saluki
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 2291
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 11 Sep 2012, 05:19    Post subject: Hum interressant / interesting
Subject description: A pet of several pets
 

When we start a new session by puppy pfix=ram, it would be very quicker to have a package of usual things we do to make our personal desk browser, etc... la routine.

easy package seems to do that : a package of pets.

In fact I am looking for a macro.

At the end of the first session, we have the sum of changes registered somewhere. Where ?

Is it possible to do a pet with that ? Merci messieurs les techniciens.
Back to top
View user's profile Send private message Yahoo Messenger 
tlchost

Joined: 05 Aug 2007
Posts: 1643
Location: Baltimore, Maryland USA

PostPosted: Tue 11 Sep 2012, 11:08    Post subject: Re: Hum interressant / interesting
Subject description: A pet of several pets
 

Pelo wrote:

In fact I am looking for a macro.


I like the idea of a macro that installs a series of individual pets, or indirvidual pets in a directory. The advantage is that if they are installed
individually, you can uninstall a single one. I don't belive you can do that with the combined pet approach.

Thom
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2036
Location: Germany

PostPosted: Tue 11 Sep 2012, 19:21    Post subject: Re: Hum interressant / interesting
Subject description: A pet of several pets
 

tlchost wrote:
Pelo wrote:

In fact I am looking for a macro.


I like the idea of a macro that installs a series of individual pets, or indirvidual pets in a directory. The advantage is that if they are installed
individually, you can uninstall a single one. I don't belive you can do that with the combined pet approach.

Thom


Hi.

I have made something like that in LazY Puppy. You can do a right-click on a directory containing .pet files and convert them all to sfs in batch function. Might be helpful to have a look at the applications in /root/my-roxapps inside LazY Puppy.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2036
Location: Germany

PostPosted: Tue 11 Sep 2012, 21:46    Post subject: A really smart dog...  

Aaahhhh,

forget about the batch function to convert .pet to sfs. Laughing

LazY Puppy has already exactly what you want. The LazY Puppy Remaster Suite (/usr/local/lazy_remaster) is able to install all .pet files from a directory in front of running the remaster script.

Sometimes i do not have in mind, how smart this dog really is ! ! ! Cool

So, you can go to /usr/local/lazy_remaster and have a look at those two files:

- lp2_install_to_remaster
- lp2_pkginstall_on_remaster

Grab and modify those files for your own purposes, or, better solution:

Wait a few minutes until i have made my next post. Then there will be LazY-FBI, the (F)antastic (B)atch-Mode Pet-(I)nstaller. I have modified exactly those two files and made a .pet.

Using LazY-FBI you can do a right-click on a directory and then install all included .pet files.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 2291
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 15 Feb 2013, 11:33    Post subject: Lazy Puppy is our future
Subject description: so many new processes
 

Lazy Puppy is our future !
and I am wasting time exploring other distros !
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0806s ][ Queries: 13 (0.0059s) ][ GZIP on ]