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 Wed 17 Sep 2014, 05:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
"sK1-0.9.1" in "Quirky-1.40" ! script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Fri 09 Mar 2012, 13:38    Post subject:  "sK1-0.9.1" in "Quirky-1.40" ! script
Subject description: Picture Editor
 

Arrow

Quote:

Install_sK1--sr0.sh
Code:

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

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.



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

Links to download: http://sk1project.org/modules.php?name=Products&product=sk1&op=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.


_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.


Last edited by postfs1 on Sun 09 Sep 2012, 04:01; edited 4 times in total
Back to top
View user's profile Send private message 
paulski

Joined: 06 Oct 2006
Posts: 127
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Sat 08 Sep 2012, 17:05    Post subject:  

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?
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) » Graphics
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.0728s ][ Queries: 12 (0.0087s) ][ GZIP on ]