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 23 Oct 2014, 15:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to convert a RPM to a PET?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Sun 10 Mar 2013, 19:13    Post subject:  How to convert a RPM to a PET?  

Is it possible to convert an RPM file to a PET?
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Sun 10 Mar 2013, 19:17    Post subject:  

You'll have Wink zero trouble finding rpm2pet here.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Sun 10 Mar 2013, 21:13    Post subject: Tar.GZ into a working Puppy Prog.  

Ha ha, thanks for the tip Semme. The rpm turned into an uncontrollable mess.
Found a tar.gz.

http://sourceforge.net/projects/speak-freely/files/speak-freely/7.6a/speak_freely-7.6a.tar.gz/download?use_mirror=netcologne&use_mirror=superb-west

Next question, how can this be Puppified? (A working pet?) I know it's a bit retro..
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Sun 10 Mar 2013, 21:33    Post subject:  

While there might be binaries float'n around, you've gotta build it.

Depending on how you're run'n THINSlacko, you'll need this Pups corresponding devx pkg.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Mon 11 Mar 2013, 04:33    Post subject:  

Not sure what you mean about how I am running Thin Slacko, I am just running it live from a cd, remastered with extras.

Ok found this one:
01micko/slacko/FATSlacko/devx_slacko_5.3.3x.sfs

Do you reckon that's the right one to build against?

Then I will follow this tutorial:

http://puppy.b0x.me/wiki/doku.php?id=compile

Last edited by Smithy on Mon 11 Mar 2013, 13:16; edited 1 time in total
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Mon 11 Mar 2013, 06:13    Post subject:  

As long as you have a home for it, I was particular about my link.

Where compiling's concerned- consider this page a supplement.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Mon 11 Mar 2013, 13:25    Post subject:  

Thank you for the the link. I have found a .deb version, seems to install.
(after tl/tk pets installed).
Interface looks..er rudimentary and it can't find
root.xspeakfree.rc. (And it probably never will).
So will try at this, before descending into the madness of compiling.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Mon 11 Mar 2013, 13:33    Post subject:  

Is that the exact file name?
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 11 Mar 2013, 13:59    Post subject:  

Snipplet from one petget script altered by me:
Code:
rpm)
RPM2CPIO="rpm2cpio"
[ "`which rpm2cpio2`" ] && RPM2CPIO='rpm2cpio2'
$RPM2CPIO ${FULLPKGNAME} 2>$TEMP_D/_rpm2cpio.errs| cpio -d -i -m 2>>$TEMP_D/_rpm2cpio.errs
if [ "$?" != '0' ];then
xmessage -bg red -file $TEMP_D/_rpm2cpio.errs
exec petget "$PASSEDPARAM"
fi
#tar xf ${FULLPKG}.tar
#trustedgrub-1.1.3-15.1.src.rpm
#included TrustedGRUB-1.1.3.tgz
FIND_PATTERN=`echo "$FULLPKG" | tr -d '[[:punct:]][[:digit:]]'| sed 's|src$||'`
echo "FIND_PATTERN=$FIND_PATTERN'"
#NEW_FULLPKG_NAME=`find -iname "*$FIND_PATTERN*" |grep -v '\.rpm$'`
NEW_FULLPKG_NAME=`find -iname "*$FIND_PATTERN*" |grep -E '\.tgz$|\.tar$|\.gz$|\.bz2$|\.lzo$|\.lzma$|\.xz$'`
echo "NEW_FULLPKG_NAME='$NEW_FULLPKG_NAME'"
#TODO if more than one ;(

if [ "$NEW_FULLPKG_NAME" ];then
EXT_1=`echo "$NEW_FULLPKG_NAME"|rev|cut -f 1 -d'.'|rev`
EXT_2=`echo "$NEW_FULLPKG_NAME"|rev|cut -f 2 -d'.'|rev`
echo "EXT_1='$EXT_1' EXT_2='$EXT_2'"
case $EXT_1 in
tgz)
cp "$NEW_FULLPKG_NAME" explore.tar.gz
tar $VERB xzf explore.tar.gz
;;
tar)
tar $VERB -xf "$NEW_FULLPKG_NAME"
;;
*)
 case $EXT_2 in
 tar)
  case $EXT_1 in
  gz)
  gunzip $VERB -f "$NEW_FULLPKG_NAME"
  ;;
  bz2)
  bunzip2 $VERB -f "$NEW_FULLPKG_NAME"
  ;;
  lzo)
  lzop $VERB -f -d "$NEW_FULLPKG_NAME"
  ;;
  lzma)
  lzma $VERB -f -d "$NEW_FULLPKG_NAME"
  ;;
  xz)
  xz $VERB -f -d "$NEW_FULLPKG_NAME"
  ;;
  *):;; #VIEW_TMP='';;
  esac
  NEW_PKG_NAME=`echo "$NEW_FULLPKG_NAME" |sed "s|\.$EXT_1||"`
  echo "NEW_PKG_NAME='$NEW_PKG_NAME'"
  tar -xf "${NEW_PKG_NAME}"
 ;;
 ""|*) :  #VIEW_TMP=''
 ;;
 esac
;;


Partly took code from /usr/local/bin/pupzip.

Rpms have changed the encryptions or cpio logics many times. Really new .rpm are likely not to work with the Puppy busybox rpm2cpio. Inside rpms there are mostly .tar.*s . They are a box with a box inside.
Back to top
View user's profile Send private message Visit poster's website 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Mon 11 Mar 2013, 18:10    Post subject:  

Semme wrote:
Is that the exact file name?


Well this is how far I have got with the .deb+tcl/tk pets.

The microphone mute button is stuck and I can't move it over to open, but that could be something else alsa usb related.

@Karl:
Yes there were a load of boxes within boxes in the rpm.
xspeakerror.jpg
Description 
jpg

 Download 
Filename  xspeakerror.jpg 
Filesize  75.93 KB 
Downloaded  84 Time(s) 
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Mon 11 Mar 2013, 18:26    Post subject:  

Yeah, maybe I'll take a look. In the meantime I found this little trinket.

PS- You ever get to try this?
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Tue 12 Mar 2013, 05:01    Post subject:  

Yes semme, I did, but it is not cross platform, no encryption, have to go through some third party, and the speak freely protocol will handle signals in remote areas where their signal drops down to virtually nothing.
Plus there is a nifty audio signal monitor that lets me tell them that they need a new microphone or their computer fan is on the way out!
Speak under wine.jpg
Description 
jpg

 Download 
Filename  Speak under wine.jpg 
Filesize  100.28 KB 
Downloaded  65 Time(s) 
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3968
Location: World_Hub

PostPosted: Tue 12 Mar 2013, 07:16    Post subject:  

So under Wine you're OK?
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 448

PostPosted: Tue 12 Mar 2013, 15:20    Post subject:  

Well it used to work sometimes. When I got the buzzing sound (like a usb sample rate mismatch, like wine couldn't change to 16 bit 8khz) I would reboot and mostly after a reboot I could use the prog in wine.

But not anymore. It constantly buzzes on transmission.
Thought maybe the Linux version would hook into alsa better.

/etc/modprobe.d/alsa-base.conf

contents added

options snd-usb-audio index=0
options snd-hda-intel index=1

where snd-hda-intel is the sound module for onboard or internal sound device.

this will force usb to always be index=o

Well that finally brought up the volume slider for usb audio, but both devices are saying that they are Device:0 in the multiple sound card wizard.
Back to the ghastly Intel HD for the moment.

EDIT: Looks like I got it wrong on some aspects of Psip

"The good thing about psip is you don't have to be logged into a server to use it. For example: if you have Psip running and I know your IP address I could add it as a buddy and call you direct."

"The buddy address entry would be something like sip:192.168.0.6"
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0752s ][ Queries: 12 (0.0038s) ][ GZIP on ]