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 Sun 24 Mar 2019, 07:25
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
dir2pet ignores pet.spec information - fix attached
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
rerwin


Joined: 24 Aug 2005
Posts: 1935
Location: Maine, USA

PostPosted: Thu 04 Aug 2016, 17:00    Post subject:  dir2pet ignores pet.spec information - fix attached
Subject description: Dependencies are lost -- in Tahrpup-and-later version
 

Dir2pet uses the wrong path to the pet.specs file, so ignores it. The attachment fixes that problem.

The fix also makes the use of the compression default setting consistent, so that the help listing shows the correct default and the correct default is always used. Until now, if the "skip" option (-s) were specified, 'gz' would be used; otherwise 'xz'.

Developers wanting to change the default from "gz" to "xz" need change only line 80, to "comp=xz".

Note that this fix applies only to the version of dir2pet that offers the option to change the type of compression (gz or xz) to use.
dir2pet-20160816.pet
Description  Fixes pet.specs and compression default issues.
Restores Help button functionality.
pet

 Download 
Filename  dir2pet-20160816.pet 
Filesize  10.76 KB 
Downloaded  196 Time(s) 

Last edited by rerwin on Tue 16 Aug 2016, 18:41; edited 1 time in total
Back to top
View user's profile Send private message 
ASD

Joined: 22 Mar 2016
Posts: 99

PostPosted: Wed 10 Aug 2016, 14:08    Post subject:  

Hi rerwin,

Thank you very much for this pet and for all you do for us.

In case it may be of general interest, I report that when I click the "Help" tab at the bottom left of the window I get a 404 message.
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1935
Location: Maine, USA

PostPosted: Wed 10 Aug 2016, 20:51    Post subject:  

The Help page seems to have been dropped in the transition of the puppylinux.com site from Barry to 01micko. Could you address this issue, Mick?
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3731
Location: Worcestershire, UK

PostPosted: Thu 11 Aug 2016, 02:32    Post subject:  

Hi rerwin

dir2pet comes in rootfs-skeleton in woof-ce....do your changes apply to that version?

If so, they need to be made on github??

Thanks
peebee

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPup, ScPup & ScPup64, LxPup, LxPupSc and LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
ASD

Joined: 22 Mar 2016
Posts: 99

PostPosted: Thu 11 Aug 2016, 05:49    Post subject:  

Hi guys,

I use Precise 5.6 and tahr-64-6.0.5 and in both cases I access “dir2pet” via a right click on the chosen directory and then choosing “Create a pet package” which uses “makepet” (from Stu90) to load “dir2pet” via a Yes/No option.

It seems, to me, that the intermediate, Yes/No, option is not needed because Yes will not result in a critical error and, in any event, if the option is omitted, it is easy to apply “Cancel” from the main window.

Having chosen “Create a pet package”, to eliminate the intermediate step I have remarked out lines 13 to 16 of “makepet” (as in the screen shot below) and I wonder if this might also be of interest to those in charge of woof-ce.
makepet.png
Description 
png

 Download 
Filename  makepet.png 
Filesize  77.99 KB 
Downloaded  197 Time(s) 
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1551

PostPosted: Thu 11 Aug 2016, 06:49    Post subject:  

@ASD: I don't think makepet is part of woof-ce. The Help page button url actually comes from /usr/bin/petspec I noticed
Back to top
View user's profile Send private message 
ASD

Joined: 22 Mar 2016
Posts: 99

PostPosted: Thu 11 Aug 2016, 07:49    Post subject:  

Hello Sailor,

Thank you for joining in. I have no detailed detailed knowledge and very little general knowledge about woof-ce. My assumption (probably erroneous) was based on the premise that I believe 666philb used woof-ce to build his tahr versions and tahr-64-6.0.5, at least, includes "makepet".

I get the 404 message (wherever the "Help" tab emanates from) and, whilst I haven't knowingly needed it thus far, it might be helpful to see its contents.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3731
Location: Worcestershire, UK

PostPosted: Thu 11 Aug 2016, 12:23    Post subject:  

rerwin wrote:
The Help page seems to have been dropped in the transition of the puppylinux.com site from Barry to 01micko. Could you address this issue, Mick?

Changes to the website are also done on github I believe....."all" we need to do is find the old contents.....

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPup, ScPup & ScPup64, LxPup, LxPupSc and LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1935
Location: Maine, USA

PostPosted: Thu 11 Aug 2016, 17:26    Post subject:  

peebee wrote:
dir2pet comes in rootfs-skeleton in woof-ce....do your changes apply to that version?

If so, they need to be made on github??
I made the changes there first.

peebee wrote:
Changes to the website are also done on github I believe....."all" we need to do is find the old contents.....
Has anyone mirrored the old site so that we might retrieve the old content? I am not comfortable editing web pages, so would need some help if we do find the content.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3731
Location: Worcestershire, UK

PostPosted: Thu 11 Aug 2016, 19:10    Post subject:  

rerwin wrote:
Has anyone mirrored the old site so that we might retrieve the old content? I am not comfortable editing web pages, so would need some help if we do find the content.

The old site appears to be archived here:
http://barryk.org/puppylinux/index2.html
however the page the help button tries to go to is probably:
http://barryk.org/woof/pkg-db-format.htm??
but this looks like it needs lots of editing....

Perhaps the best thing is just to remove the Help button Confused lines 300-307 of petspec

The website is at:
https://github.com/puppylinux-woof-CE/puppylinux-woof-CE.github.io
This thread explains the change process:
http://www.murga-linux.com/puppy/viewtopic.php?t=102853

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPup, ScPup & ScPup64, LxPup, LxPupSc and LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1935
Location: Maine, USA

PostPosted: Tue 16 Aug 2016, 18:50    Post subject:  

Thanks, peebee, for that information.

I have now changed petspec to use the barryk.org/woof URL, in woofCE and in a replacement dir2pet package uploaded after download number 50.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0496s ][ Queries: 12 (0.0174s) ][ GZIP on ]