site  contact  subhomenews

Skype 2.1.0.81

January 11, 2011 — BarryK
I have created a PET package for Skype. This is the static package, meaning that Qt is compiled statically into it, meaning that you do not need to install the Qt4 PET package. This Skype PET has no unmet dependencies, just install it and it will work.

Download Skype (26.7MB):
http://distro.ibiblio.org/pub/linux/distributions/quirky/pet_packages-wary5/skype_static-2.1.0.81.pet

...it should work in all puppies.

Skype home:
http://www.skype.com/

PET package creators, there is one thing in the Skype PET that might interest you: if you want to know how to create a desktop icon automatically when a PET is installed, take a look at the 'pinstall.sh' script in the Skype PET. Also 'puninstall.sh' to remove the icon.

I reckon that someone who uses Skype would very much want a desktop icon to launch it quickly.

Comments

how to create icon


create icon
Username: BarryK
"Here is pinstall.sh: [code]#!/bin/sh if [ "`pwd`" = "/" ];then echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"http://www.w3.org/2001/12/soap-envelope\"> <env:Body xmlns=\"http://rox.sourceforge.net/SOAP/ROX-Filer\"> <PinboardAdd> <Path>/usr/bin/skype</Path> <X>224</X> <Y>224</Y> <Label>skype</Label> </PinboardAdd> </env:Body> </env:Envelope>" | rox -R echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"http://www.w3.org/2001/12/soap-envelope\"> <env:Body xmlns=\"http://rox.sourceforge.net/SOAP/ROX-Filer\"> <SetIcon> <Path>/usr/bin/skype</Path> <Icon>/usr/share/pixmaps/skype.png</Icon> </SetIcon> </env:Body> </env:Envelope>" | rox -R xmessage -bg yellow -center "NOTICE: Skype has been installed. A desktop icon should have appeared alongside the 'chat' icon, for convenient starting of Skype. When started, an icon will appear in the tray for easy restarting of Skype." [ -f /root/.config/rox.sourceforge.net/ROX-Filer/globicons ] && cp -f /root/.config/rox.sourceforge.net/ROX-Filer/globicons /root/Choices/ROX-Filer/ [/code] continued...

rest of script
Username: BarryK
"It was too long for one comment... [code]else #building in Woof... sed -i -e '%^<\/pinboard>/d' ./root/Choices/ROX-Filer/PuppyPin echo '<icon x="224" y="224" label="help">/usr/bin/skype</icon>' >> ./root/Choices/ROX-Filer/PuppyPin echo '</pinboard>' >> ./root/Choices/ROX-Filer/PuppyPin sed -i -e '/^<\/special-files>/d' ./root/Choices/ROX-Filer/globicons echo '<rule match="/usr/bin/skype"> <icon>/usr/share/pixmaps/skype.png</icon> </rule>' >> ./root/Choices/ROX-Filer/globicons echo '</special-files>' >> ./root/Choices/ROX-Filer/globicons fi [/code]

Delete icon
Username: BarryK
"Content of puninstall.sh: [code]#!/bin/sh #remove skype icon from desktop... echo "<?xml version=\"1.0\"?> <env:Envelope xmlns:env=\"http://www.w3.org/2001/12/soap-envelope\"> <env:Body xmlns=\"http://rox.sourceforge.net/SOAP/ROX-Filer\"> <UnsetIcon> <Path>/usr/bin/skype</Path> </UnsetIcon> </env:Body> </env:Envelope>" | rox -R [/code]


Tags: wary