various non-free download scripts

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

various non-free download scripts

#1 Post by technosaurus »

In case anyone wants to build a puplet with easier acces to non-free applications, I am trying to collect all of the download+install scripts in one location.
http://en.wikipedia.org/wiki/List_of_pr ... _for_Linux
Acroread - not yet supported - need permalink
Google-* - not yet supported - need permalinks
Opera - not yet supported - need permalink
Foxit - not yet supported - need permalink
RealPlayer - not yet supported - need permalink

Skype
dowload skype and set it up as a rox app dir in current directory

Code: Select all

#!/bin/sh 
wget -c http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 
tar -xf skype_static-2.1.0.81.tar.bz2 
mv skype_static-2.1.0.81 skype 
mv skype/skype skype/AppRun 
ln -sf icons/SkypeBlue_48x48.png skype/.DirIcon
Flash
select a version of flashplayer to install (and mask it as latest version if needed)

Code: Select all

#!/bin/sh 
PREFIX=/usr 
PLUGINDIR=$PREFIX/lib/mozilla/plugins 
mkdir -p $PLUGINDIR 
NEWVER="10.1 r" 
case $1 in 
--help)echo "   options are: 
7  for smallest size and dependencies, 
9  for medium size and fewer dependencies 
10 for latest version 
f  fix existing 
   no options will bring up an xdialog" 
;; 

#download all flash7 & fake latest as 10.1 r9 
7)wget -c http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp7_archive.zip 
unzip fp7_archive.zip 
tar -xf fp7_archive/r73/install_flash_player_7_linux_r73.tar.gz 
cat install_flash_player_7_linux/libflashplayer.so |sed -e "s/7.0 r73/10.1 r9/g" >$PLUGINDIR/libflashplayer.so 
rm -rf fp7_archive.zip install_flash_player_7_linux_r73.tar.gz install_flash_player_7_linux fp7_archive 
Xdialog --no-buttons --infobox "flash7 installed as flash10.1" 0 0 5000 
;; 

#download latest flash9 & fake install as 10.1 r99 
9)wget -c http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz 
tar -xf install_flash_player_9.tar.gz 
VER=`strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"` 
cat libflashplayer.so |sed -e "s/$VER/10.1 r99/g" >$PLUGINDIR/libflashplayer.so 
rm -f libflashplayer.so install_flash_player_9.tar.gz 
Xdialog --no-buttons --infobox "flash9 installed as flash10.1" 0 0 5000 
;; 

#download and install latest flash 
10)wget -c http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz 
tar -xf install_flash_player_10_linux.tar.gz 
mv -f libflashplayer.so $PLUGINDIR/libflashplayer.so 
rm -f install_flash_player_10_linux.tar.gz 
Xdialog --no-buttons --infobox "latest flash installed" 0 0 5000 
;; 

#assuming it is in /usr/lib/mozilla/plugins/ for now ... should use find instead 
f)FLASHLOC=$PLUGINDIR/libflashplayer.so 
mv $FLASHLOC /tmp/flash 
VER=`strings /tmp/flash | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g"` 
while [ "${#NEWVER}" -lt "${#VER}" ] 
do 
NEWVER=${NEWVER}9 
done 
cat /tmp/flash |sed -e "s/$VER/$NEWVER/g" >$FLASHLOC 
rm -f /tmp/flash 
Xdialog --no-buttons --infobox "flash fixed - upgrade faked" 0 0 5000 
;; 
*)$0 `Xdialog --stdout --no-tags --radiolist "Select a flash version to install:" 0 0 4 10 flash-latest=12mb off 9 flash-9.0rXXX=8mb ON 7 flash-7r73=2mb off f fix-fake-upgrade off`;; 
esac
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

adobe reader stuff from tiny core is here:
http://tinycorelinux.com/forum/index.ph ... 7#msg16157

and RealPlayer
http://tinycorelinux.com/forum/index.ph ... 3#msg16683

foxit reader is a much better choice unless you have a very nuanced pdf file - its only about 1mb or so and the script on that one should be pretty easy since it is only a single executable if I recall correctly.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply