"sK1-0.9.1" in "Quirky-1.40" ! script

Paint programs, vector editors, 3d modelers, animation editors, etc.
Post Reply
Message
Author
postfs1

"sK1-0.9.1" in "Quirky-1.40" ! script

#1 Post by postfs1 »

:arrow:
Install_sK1--sr0.sh

Code: Select all

#!/bin/bash
#
#Information: there are an error outputs in the command line at use of the program.
#
#= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#The program provides importing of picture with resolution 72dpi with such a result
#what the user expects(size of picture is a such, as in another program).
#= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
#= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#An installed proprietary -=nvidia=- driver is important thing here.
#(in the case when there is the -=nvidia=- video card in the system)
#= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#
# # #
#
#
cd /room ; 
#
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/hicolor-icon-theme-0.10-6.noarch.rpm ;
if [ ! `echo -e "22cd3de45ecf50adeebcb36728021598  hicolor-icon-theme-0.10-6.noarch.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i hicolor-icon-theme-0.10-6.noarch.rpm ;
sleep 0.5s ;
rm /room/hicolor-icon-theme-0.10-6.noarch.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "3d270f0adf1488423d909723ddc6975c  python-2.6-12.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-imaging-1.1.6-14.fc11.i586.rpm ;
if [ ! `echo -e "4f4dd8b2bafe79f5bb2903abfbc2626f  python-imaging-1.1.6-14.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-imaging-1.1.6-14.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-imaging-1.1.6-14.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-imaging-tk-1.1.6-14.fc11.i586.rpm ;
if [ ! `echo -e "0ac9b40d5b246496f98334121941bd5b  python-imaging-tk-1.1.6-14.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-imaging-tk-1.1.6-14.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-imaging-tk-1.1.6-14.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-lcms-1.19-1.fc11.i586.rpm ;
if [ ! `echo -e "713d245a6357be63dc2cfc25d7410956  python-lcms-1.19-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-lcms-1.19-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-lcms-1.19-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-libs-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "c195928248c026a3165fc7fde03a975b  python-libs-2.6-12.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-libs-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-libs-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/python-reportlab-2.3-2.fc11.i586.rpm ;
if [ ! `echo -e "d8d99d200df2ffac75edd411b1c4eafb  python-reportlab-2.3-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-reportlab-2.3-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-reportlab-2.3-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/sK1-0.9.1-0.1.pre_rev730.fc11.i586.rpm ;
if [ ! `echo -e "60d4a6547c4561e09625dce500bd4f37  sK1-0.9.1-0.1.pre_rev730.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i sK1-0.9.1-0.1.pre_rev730.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/sK1-0.9.1-0.1.pre_rev730.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/tcl-8.5.6-6.fc11.i586.rpm ;
if [ ! `echo -e "78c01338185a77799a72669ed48dd997  tcl-8.5.6-6.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i tcl-8.5.6-6.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/tcl-8.5.6-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#9
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/tk-8.5.6-4.fc11.i586.rpm ;
if [ ! `echo -e "805a269736d031136b116ff6773eb996  tk-8.5.6-4.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i tk-8.5.6-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/tk-8.5.6-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/_Files/sK1/Fedora-11_files/tkinter-2.6-14.fc11.i586.rpm ;
if [ ! `echo -e "36b06838d5907483ec89d78a9e0522b0  tkinter-2.6-14.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i tkinter-2.6-14.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/tkinter-2.6-14.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
#
rm /usr/share/applications/sK1.desktop ;
#
sed -i".tmp" '/"sK1"/d' /root/Choices/ROX-Filer/PuppyPin ;
#
echo '[Desktop Entry]' > /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Version=1.0' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Type=Application' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Name=sK1' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'GenericName=Vector Graphics Editor' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Comment=Create and edit Scalable Vector Graphics images' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo "Exec=sk1" >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Icon=/usr/share/icons/hicolor/48x48/apps/sK1.png' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'Categories=VectorGraphics' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'X-Desktop-File-Install-Version=0.15' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'StartupNotify=true' >> /usr/share/applications/sK1-0.9.1.desktop ;
echo 'MimeType=image/x-sk;' >> /usr/share/applications/sK1-0.9.1.desktop ;
#
sed -i".tmp" '/\/pinboard/d' /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
#echo '<icon x="992" y="512" label="sK1">/usr/share/applications/sK1-0.9.1.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '<icon x="160" y="536" label="sK1">/usr/share/applications/sK1-0.9.1.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage "Program -=sK1-0.9.1=- has been installed." `jwm -restart`

Edit: 2012, mar 09.


Permissions for -=Install_sK1--sr0.sh=- were changed as shown:

Code: Select all

cd /place_where_Install_sK1--sr0.sh_is_located ; chmod u+x Install_sK1--sr0.sh
A script's content can be copied into text editor by means of <Quote> mode.

ImageImageImage

Information about installation of the -=sK1=- program for -=Puppy Lucid=-(10.04) Image

Links to download: http://sk1project.org/modules.php?name= ... p=download
Information about the Internet page:
sK1 Project © All Rights Reserved.

To find needful packages for -=sK1=-: http://packages.ubuntu.com/en/
Information about the Internet page:
Content Copyright © 1997 - 2011 Canonical Ltd.

-=Urxvt terminal emulator=- program is to help to install packages, to find the problems at installation, to find the problems after installation.

-=curl=- program is to copy files from one place to another.

ImageImageImage
Last edited by postfs1 on Sun 09 Sep 2012, 08:01, edited 4 times in total.

paulski
Posts: 130
Joined: Fri 06 Oct 2006, 15:30
Location: Cologne, Germany &/or Perth, Australia

#2 Post by paulski »

Looks like a clever script
I'm wanting to install SK1 in Lucid Puppy.

Any explanation on what the script is doing so I can try it manually? (Lucid has no curl function built in).

It looks like its downloading a pile of Fedora 11 rpms and then setting up menu stuff.

There are an awful lot of dependencies there.

Any idea what is essential?

Post Reply