The time now is Fri 24 May 2013, 05:05
All times are UTC - 4 |
| Author |
Message |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Fri 09 Jul 2010, 09:35 Post subject:
alien2puppy Subject description: make pets and sfs from debs, tgz, txz 2010-07-09 |
|
Hi folks,
New version, 20101229, handles txz better
With the advent of "Woof - The Puppy Builder" there has been a pack of different Puppy's with different lineages crossbreeding.
Prime examples are Lupu Puppy 5, the Luci development for 5.1 and Barry's Spup Slackpup betas.
One problem.. the actual Puppy repos particular to those 'wooflets' are barish, though the Luci repo is starting to look healthy.. and the tool described here is a small part of that.
alien2puppy is a command line based tool to get a main app and it's dependencies 'merged' into a puppy package, either sfs or pet.
What you do is, plonk the app and all the dependencies in a single working directory, for big apps, do this outside your pupsave. Then you invoke the script in that directory with: | Code: | | alien2puppy -s Packagename_ver-001 | for an sfs or: | Code: | | alien2puppy -p Packagename_ver-001 | for a pet.
It's pretty easy, and the script walks you through the various stages and options as you go. It's quite verbose, with just a splash of colour.
I actually wrote it some time ago with a different name, debs2pkg.. Luci followers may have seen it before, even used the script.
Now, this isn't for everybody, you should be comfortable with the Linux command line and filesystem. Also, my coding is pretty rudimentary, so advanced users please cough up any suggestions where improvements could be made.
Notes
* the script is designed to make a small package, so there is an option for stripping, and in the Slackware section, the packages are split into doc, dev and nls.
*Debian/Ubuntu packages are far more simple, but you may find that you have many .debs even for a smallish app. In a way it's a good thing, because you can usually get all doc, dev, nls stuff separately.. consequently, splitting is not enabled for .debs.
*Slackware packages usually include a "doinst.sh" script, similar to Puppy's pinstall.sh script which is executed on installation. I have taken care of this but it may not be perfect.
*there is the chance to pause the script to sort out .desktop files which govern menu entries, and menu icons. In 'dir2pet' you have the option to rebuild the .desktop file to make it Puppy compliant, or you can do it before hand at the pause. The script attempts to discover where the program icon is located.. for KDE apps you may get alot of hits at this stage.
*in the Slackware section, after you make the initial .pet or sfs you are offered the choice to make the dev, doc, nls sfs OR pet if you initially chose '-s' sfs option or pets only if you initially chose the '-p' pet option.
There is a README in the tarball (no it's not a pet, you need to whack it in your $PATH or execute in situ) and there is a '-h' basic help option. As far as a man page goes, well this is it!
don570 has written a neat little tutorial here
______________________________________________________________________
Please enjoy and if you find a bug swat it, or call 000, 999, 911 or some other number than mine.. (er..joking of course, just report it!)
Cheers
 |
| Description |
new version 20101229
|

Download |
| Filename |
alien2puppy-0.2.tar.gz |
| Filesize |
4.27 KB |
| Downloaded |
616 Time(s) |
| Description |
|

Download |
| Filename |
alien2puppy-0.1.tar.gz |
| Filesize |
5.13 KB |
| Downloaded |
743 Time(s) |
| Description |
in Spup |
| Filesize |
156.11 KB |
| Viewed |
3129 Time(s) |

|
_________________ keep the faith .. 
Last edited by 01micko on Wed 29 Dec 2010, 00:43; edited 2 times in total
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Sat 17 Jul 2010, 12:33 Post subject:
alien2puppy evalution |
|
Worked great for me. Instructions were clear.
I made Audacity and Abiword pet packages out of
debian packages in only couple of minutes.
Great stuff!!
To compare with old method of making pet packages see
http://www.murga-linux.com/puppy/viewtopic.php?t=55740&start=690
---------------------------------------------------------------------------------------------
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Mon 26 Jul 2010, 15:27 Post subject:
alien2puppy Tutorial Subject description: build audacity package |
|
I wanted to show how easy it was to use alien2puppy
so I wrote a tutorial located here
I used Audacity as the example but lots of other application packages
can be built using this procedure.
EDIT: I wrote another tutorial this time for building Abiword here
____________________________________________________________________
Last edited by don570 on Thu 29 Jul 2010, 19:09; edited 2 times in total
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Mon 26 Jul 2010, 16:16 Post subject:
|
|
Thanks don570
I'll put a link to that in the first post, near where I say that there's no "man" page.
Cheers
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Thu 29 Jul 2010, 13:52 Post subject:
one flaw in alien2puppy |
|
I have discovered one flaw in alien2puppy.
I made the mistake of using a pupsave file that was
very small, therefore there was little space in filesystem for the new
pet package to form.
My recommendation is to make sure that there is at least 20 mb of free
space to let the pet package be created. Unfortunately there
is no warning at terminal so the user can become confused.
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2637 Location: Earth
|
Posted: Wed 18 Aug 2010, 20:21 Post subject:
Space priblems probably should be tested for AND warned Subject description: dm570 |
|
dm570 hit an issue where a check in the alien2puppy tool could be improved on
On this space finding, would it be prudent to put a "test" at the beginning of the alien2puppy script to see if there is 20MB, then warn the user?
It it helps make a better user experience, it may be worth considering.
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Sat 21 Aug 2010, 14:19 Post subject:
space for pet |
|
Recently I have been building my pets on a partition that has lots of space.
This way I avoid the 'lack of space problem'
I originally had been building in /root which is probably a bad practice.
___________________________________________________
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Thu 11 Apr 2013, 13:43 Post subject:
|
|
I describe how to make Audacity 2.0.4 alpha from nightly build...
http://www.murga-linux.com/puppy/viewtopic.php?p=697808#697808
Just a note... I am finding when constructing SFS packages that
I must move libraries to /usr/lib/ from /usr/lib/i386-linux-gnu
Pet packages don't have this problem.
___________________________________________________________
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: Sat 18 May 2013, 13:53 Post subject:
gettext version of alien2puppy 0.2 |
|
I made a gettext version of alien2puppy 0.2
I changed some of the wording slightly and
I put a warning if the folder name has blank spaces.
I included a pot file if that will help the translators.
Instructions: put script 'alien2puppy' in executable path.
__________________________________________
| Description |
|

Download |
| Filename |
alien2puppy_gettext.tar.gz |
| Filesize |
6.11 KB |
| Downloaded |
19 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
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
|