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 Tue 21 Oct 2014, 02:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
DotPet registration and dependencies
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Sun 29 Apr 2007, 21:37    Post subject:  DotPet registration and dependencies  

Recently, I was in the process of creating Ruby dotpet. After reading the Makefile, I realized that Ruby comes in two parts: ruby and ruby-doc. The difference is that the former is make install, the later is make install-doc.

The dotpet indicated that while new2dir can handle multiple packages, it is not entirely reliable. To get around the problem, I did a new2dir on make install. Change the directory name to ruby-doc and did a new2dir on make install-doc. I then use dir2pet to create the two dotpet.

When I install the dotpet files, I notice that one will erase the regristration of the other. Suppose I install ruby and then ruby-doc, ruby is erased from the registration list. How do I get around this problem?

Paul
Back to top
View user's profile Send private message 
paulsiu

Joined: 16 Jan 2007
Posts: 187

PostPosted: Sun 06 May 2007, 18:12    Post subject: Figured it out  

The package is registered by the filename. I seems to attempt to read off the filename and then extract the name before the dash number. Previous, I had two packages:

ruby-1.8.6-i486
ruby-1.8.6-doc-i486

What happens is that when you do a dir2pet. It strip off the version number and everthing after it. Both end up with the signature of "ruby".

To get around the problem, I rename the ruby-1.8.6-doc-i486 to ruby-doc-1.8.6-i486.

Paul
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0362s ][ Queries: 11 (0.0032s) ][ GZIP on ]