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 Fri 24 Oct 2014, 19:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Updated dir2pet, petspcs scripts
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Mon 01 Feb 2010, 01:55    Post_subject:  Updated dir2pet, petspcs scripts  

This is in Woof, but all Puppy developers using 4.3.1 or later can use these scripts. That is, anyone who uses dir2pet to create a PET package.

I have made small improvements to make more appropriate selections of some of the fields in the package database entry.

Two scripts are affected, dir2pet and petspecs, that reside at /usr/bin.
petspec.gz
Description 
gz

 Download 
Filename  petspec.gz 
Filesize  2.54 KB 
Downloaded  1129 Time(s) 
dir2pet.gz
Description 
gz

 Download 
Filename  dir2pet.gz 
Filesize  5.21 KB 
Downloaded  1132 Time(s) 

_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 04 Mar 2010, 03:37    Post_subject:  

A couple of bugs fixed. These scripts are in Woof, March 4, 2010, and they live in /usr/bin. Attached...
petspec.gz
Description  From Woof, March 4, 2010
gz

 Download 
Filename  petspec.gz 
Filesize  2.56 KB 
Downloaded  1054 Time(s) 
dir2pet.gz
Description  From Woof, March 4, 2010
gz

 Download 
Filename  dir2pet.gz 
Filesize  5.29 KB 
Downloaded  1074 Time(s) 

_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10827
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 05 Mar 2010, 12:49    Post_subject: Re: Updated dir2pet, petspcs scripts  

BarryK wrote:
This is in Woof, but all Puppy developers using 4.3.1 or later can use these scripts. That is, anyone who uses dir2pet to create a PET package.

I have made small improvements to make more appropriate selections of some of the fields in the package database entry.

Two scripts are affected, dir2pet and petspecs, that reside at /usr/bin.


Hi Barry it would be nice if you added a strip bins and .so files to script, so when you run new2dir it would automatically strip the bin,so files Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Fri 05 Mar 2010, 13:09    Post_subject:  

I have a patch for dir2pet (dir2pxt via symlink) that will allow either xz or gz compression (xz is about 10-30% better and just as fast to decompress) I have also previously patched petget as well, and added tar.xz support while I was at it (for new arch and slack packages) If you are interested, I need to resync with woof anyways if it would be better to get the patch using bones.

I had also made a fully gui version as part of Pcompile that combined the two, but it was missing a couple of features that are in dir2pet and I plan to eventually rewrite it using amigo's src2pkg. It actually stripped bin and .so including removing gcc notes and comments (the gui was called adoptpet, but was basically broken out into the gui adoptdir which was incorporated in adoptpet and adoptpxt)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Fri 05 Mar 2010, 14:15    Post_subject:  

Why not try using src2pkg itself? It already has loads of features just up Puppy's alley, including strip, compress, culling of files, supports both old and new *.specs files. Plus, it knows how to build all sorts of sources -mostly with out any help. It uses a forked version of installwatch which tracks many more system calls and more reliably. src2pkg scripts provide a perfect concise, yet extendable API for scripting the creation of any package. Already built-in support for extensions for anything you find missing or for proposed additions to main code. 5 years and going strong...
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/

src2pkg pet here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.1/src2pkg-2.1-noarch-7.pet
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Fri 05 Mar 2010, 15:49    Post_subject:  

I like it just as it is - and it will probably be in the devx of 4.4. I just want to setup a basic gui frontend to it (probably after 4.4), unless you have already added one yourself.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10827
Location: Ontario Canada,Sydney Australia

PostPosted: Sat 06 Mar 2010, 00:07    Post_subject:  

technosaurus wrote:
I have a patch for dir2pet (dir2pxt via symlink) that will allow either xz or gz compression (xz is about 10-30% better and just as fast to decompress)


I mentioned that about 6+months ago on Barry's blog and even gave actual examples but never received a response Confused
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
toomuchcomputertime


Joined: 18 Apr 2008
Posts: 171
Location: /usr/local/lib/X11/pixmaps/Cleveland\ OH\ USA.png

PostPosted: Fri 16 Apr 2010, 13:08    Post_subject:  

How do I use new2dir? I have been trying
Code:
new2dir make install
but it just makes an empty directory. If I just run
Code:
 make install] the programs install, so I know they work.

Thanks, I hope I am not hijacking your thread.:oops:
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10827
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 16 Apr 2010, 20:00    Post_subject:  

toomuchcomputertime wrote:
How do I use new2dir? I have been trying
Code:
new2dir make install
but it just makes an empty directory. If I just run
Code:
 make install] the programs install, so I know they work.

Thanks, I hope I am not hijacking your thread.:oops:

first you need to install the compiler/devx, then usually you configure it.
Barry likes ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
then you type make
then you type new2dir make install
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Thu 12 Aug 2010, 10:47    Post_subject:  

GUI error:


http://murga-linux.com/puppy/viewtopic.php?t=58615

Code:

** ERROR **: gtkdialog: Error in line 16, near token '</default>': syntax error

aborting...
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.0715s ][ Queries: 13 (0.0080s) ][ GZIP on ]