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 30 Oct 2014, 13:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
alien2puppy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 09 Jul 2010, 09:35    Post_subject:  alien2puppy
Sub_title: 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
alien2puppy-0.2.tar.gz
Description  new version 20101229
gz

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

 Download 
Filename  alien2puppy-0.1.tar.gz 
Filesize  5.13 KB 
Downloaded  1107 Time(s) 
avidemux.png
 Description   in Spup
 Filesize   156.11 KB
 Viewed   4302 Time(s)

avidemux.png


_________________
Woof Mailing List | keep the faith Cool |

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: Mon 26 Jul 2010, 15:27    Post_subject: alien2puppy Tutorial
Sub_title: 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

____________________________________________________________________

Edited_times_total
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: 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

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
gcmartin

Joined: 14 Oct 2005
Posts: 4379
Location: Earth

PostPosted: Wed 18 Aug 2010, 20:21    Post_subject: Space priblems probably should be tested for AND warned
Sub_title: 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 people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3355
Location: Ontario

PostPosted: 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.

__________________________________________
alien2puppy_gettext.tar.gz
Description 
gz

 Download 
Filename  alien2puppy_gettext.tar.gz 
Filesize  6.11 KB 
Downloaded  385 Time(s) 
Back to top
View user's profile Send_private_message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Sun 26 May 2013, 17:22    Post_subject: Russian translation  

I have made Russian translation.
Run this in terminal to make it work:
Code:
gzip -d ru.mo.gz; cp ru.mo /usr/share/locale/ru/LC_MESSAGES/alien2puppy.mo
ru.mo.gz
Description 
gz

 Download 
Filename  ru.mo.gz 
Filesize  3.99 KB 
Downloaded  331 Time(s) 
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) » Utilities
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.0762s ][ Queries: 13 (0.0054s) ][ GZIP on ]