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 21 Sep 2014, 20:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Add a right-click option to extract RPM package
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3289
Location: Ontario

PostPosted: Mon 10 Dec 2012, 16:30    Post_subject:  Add a right-click option to extract RPM package  

Right click option to extract rpm package

Requirement: Rox or Thunar file manager
I have added 'exploderpm' to the package even though recent
puppies have this small utility already.

Here's a simple script I call extract_rpm-1.0.pet

It's only purpose is to put a right click menu option
to extract a rpm package (it must have a .rpm extension)

Just right click on file and choose 'Extract here'.
(Thunar uses 'SendTo' menu)

The original file will remain. A new folder will be created.
There will be a warning if a similar name is in use. Paths will be
preserved . (A rpm source package will be converted to gzip package)

extract_rpm-1.2.pet
Description  Right click option to extract rpm package
pet

 Download 
Filename  extract_rpm-1.2.pet 
Filesize  3.2 KB 
Downloaded  408 Time(s) 
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3289
Location: Ontario

PostPosted: Tue 11 Dec 2012, 21:07    Post_subject: new version 1.2  

New version 1.2

It now will extract all rpm packages consistently. Laughing

I have added 'exploderpm' to the package even though recent
puppies have this small utility already.

It will use 'exploderpm' rather than rpm2cpio to do the extraction.

Much better Smile

_____________________________________________
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1696
Location: wales

PostPosted: Tue 18 Dec 2012, 14:01    Post_subject:  

excellent!

cheers don570

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Tue 18 Dec 2012, 14:50    Post_subject:  

Hmm, I thought I recognized the name exploderpm:
Code:
#!/bin/sh
# exploderpm
# VERSION 0.2
# Copyright 2009-2010 Gilbert Ashley <amigo@ibiblio.org>
# The code for explode_rpm was originally written by Jeff Johnson
# and modified by Lasse Collin <lasse.collin@tukaani.org>
# Copyright (C) 2005, 2006 Lasse Collin <lasse.collin@tukaani.org>
# code for handling debian archives taken from disrpm
# released under the Gnu General Public License (GPL)
# (c) bjdouma@xs4all.nl VER="v1.5, october 2004"
#110705 bk: added -i install option for rpm.


What I did there was combine and modify some code from two different programs. The code from Lasse Collin helped make it possible to decompress modern rpm's which use lzma/xz compression. The resulting program works even better than the 'official' rpm2cpio. I use exploderpm as part of my 'src2pkg' program.
One caveat, I think that newer *.deb packages are now using xz instead of gzip for the main payload -looks like I need to upgrade the code a bit for that.
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.0519s ][ Queries: 13 (0.0042s) ][ GZIP on ]