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 Mon 21 Apr 2014, 00:45
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
various non-free download scripts
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 27 Aug 2010, 11:27    Post subject:  various non-free download scripts
Subject description: pet to follow
 

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_proprietary_software_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:
#!/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:
#!/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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Mon 30 Aug 2010, 15:21    Post subject:  

adobe reader stuff from tiny core is here:
http://tinycorelinux.com/forum/index.php?topic=3129.msg16157#msg16157

and RealPlayer
http://tinycorelinux.com/forum/index.php?topic=3212.msg16683#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.

_________________
Web Programming - Pet Packaging 100 & 101
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)
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.0540s ][ Queries: 11 (0.0152s) ][ GZIP on ]