"Gimp-2.6.8" in "Quirky-1.4" ! script

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

"Gimp-2.6.8" in "Quirky-1.4" ! script

#1 Post by postfs1 »

:arrow:
Install_Gimp-2.6.8--sr0.sh

Code: Select all

#!/bin/bash
#
#For Python: Use quit() or Ctrl-D (i.e. EOF) to exit
#
#
# # #
#
#python
#>>> from gimpfu import *
#>>> exit ()
#
# # #
#
#LD_LIBRARY_PATH=/usr/lib/gimp/2.0/gtk2/usr/lib gimp
#
cd /room ;
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/aalib-libs-1.4.0-0.17.rc5.fc11.i586.rpm ;
if [ ! `echo -e "3b889e945ae813aa17a9530af21ba641  aalib-libs-1.4.0-0.17.rc5.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 aalib-libs-1.4.0-0.17.rc5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/aalib-libs-1.4.0-0.17.rc5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/babl-0.0.22-3.fc11.i586.rpm ;
if [ ! `echo -e "bdaa8925bcffe6d7a6ffc7e765c72f75  babl-0.0.22-3.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 babl-0.0.22-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/babl-0.0.22-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/gegl-0.0.22-3.fc11.i586.rpm ;
if [ ! `echo -e "1258ca8f684ea1046c542dfd8c5e0451  gegl-0.0.22-3.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 gegl-0.0.22-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gegl-0.0.22-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/gimp-2.6.8-1.fc11.i586.rpm ;
if [ ! `echo -e "f2baebf6d056e345dfcfb0f1d2e947a8  gimp-2.6.8-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 gimp-2.6.8-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gimp-2.6.8-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/gimp-libs-2.6.8-1.fc11.i586.rpm ;
if [ ! `echo -e "23bafdcf27a561d11a0ff8f2dd80c56a  gimp-libs-2.6.8-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 gimp-libs-2.6.8-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gimp-libs-2.6.8-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/gpm-libs-1.20.6-3.fc11.i586.rpm ;
if [ ! `echo -e "25cea904b4c0b650894e64ee848f4942  gpm-libs-1.20.6-3.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 gpm-libs-1.20.6-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gpm-libs-1.20.6-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/ilmbase-1.0.1-4.fc11.i586.rpm ;
if [ ! `echo -e "b21d48a6ed18c5904e602d7916163d68  ilmbase-1.0.1-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 ilmbase-1.0.1-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/ilmbase-1.0.1-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libcap-ng-0.6.1-1.fc11.i586.rpm ;
if [ ! `echo -e "34b642892db2e550d851545602cd57a8  libcap-ng-0.6.1-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 libcap-ng-0.6.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libcap-ng-0.6.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libopenraw-0.0.5-3.fc11.i586.rpm ;
if [ ! `echo -e "16d3e0035bcfa92bae18c489549e547c  libopenraw-0.0.5-3.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 libopenraw-0.0.5-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libopenraw-0.0.5-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#9
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-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 libselinux-2.0.80-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libstdc++-4.4.1-2.fc11.i586.rpm ;
if [ ! `echo -e "96c934cb092bf073ace9c10cce025f44  libstdc++-4.4.1-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 libstdc++-4.4.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libstdc++-4.4.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libwmf-0.2.8.4-20.fc11.i586.rpm ;
if [ ! `echo -e "0844ffa89b040d872e0d7039bc271336  libwmf-0.2.8.4-20.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 libwmf-0.2.8.4-20.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libwmf-0.2.8.4-20.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#12
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/libwmf-lite-0.2.8.4-20.fc11.i586.rpm ;
if [ ! `echo -e "b412832cdfff9957d44bbb3af83f19b9  libwmf-lite-0.2.8.4-20.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 libwmf-lite-0.2.8.4-20.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libwmf-lite-0.2.8.4-20.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#13
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/lua-5.1.4-3.fc11.i586.rpm ;
if [ ! `echo -e "b10c22cef63bb9f08a469ac34366ef55  lua-5.1.4-3.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 lua-5.1.4-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/lua-5.1.4-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#14
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/OpenEXR-libs-1.6.1-8.fc11.i586.rpm ;
if [ ! `echo -e "140259b8f448442d52664b49cb7555f6  OpenEXR-libs-1.6.1-8.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 OpenEXR-libs-1.6.1-8.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/OpenEXR-libs-1.6.1-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#15
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/openjpeg-libs-1.3-5.fc11.i586.rpm ;
if [ ! `echo -e "d992a10193150c12296683e166b4f8fd  openjpeg-libs-1.3-5.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 openjpeg-libs-1.3-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/openjpeg-libs-1.3-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#16
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/poppler-0.10.7-5.fc11.i586.rpm ;
if [ ! `echo -e "b70ebb95b7fee4dcea3c18828d81e0f9  poppler-0.10.7-5.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 poppler-0.10.7-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/poppler-0.10.7-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#17
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/poppler-glib-0.10.7-5.fc11.i586.rpm ;
if [ ! `echo -e "d15328a225ce2c413087be84530f71a2  poppler-glib-0.10.7-5.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 poppler-glib-0.10.7-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/poppler-glib-0.10.7-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#18
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/slang-2.1.4-3.fc11.i586.rpm ;
if [ ! `echo -e "272c59b21402f240a4cb90f28d941b29  slang-2.1.4-3.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 slang-2.1.4-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/slang-2.1.4-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#19
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/pycairo-1.8.2-2.fc11.i586.rpm ;
if [ ! `echo -e "d32a19ebaedac3d729497eaa8fc5a4d4  pycairo-1.8.2-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 pycairo-1.8.2-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pycairo-1.8.2-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#20
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/pygobject2-2.16.1-4.fc11.i586.rpm ;
if [ ! `echo -e "7735cbab4dfbedefb76346923a7e49c4  pygobject2-2.16.1-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 pygobject2-2.16.1-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygobject2-2.16.1-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#21
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-11_files/pygtk2-2.14.1-2.fc11.i586.rpm ;
if [ ! `echo -e "7c5f65be473f4460e45cf9a352218253  pygtk2-2.14.1-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 pygtk2-2.14.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygtk2-2.14.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#22
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/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 ;
#23
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/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 ;
#24
#
#>>> Problem: (script-fu:613): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
#Segmentation fault
#<<<
#
#Salvation: GTK2 from -=Fedora-10=- OS >>>
#
mkdir -p /usr/lib/gimp/2.0/gtk2 ;
cd /usr/lib/gimp/2.0/gtk2/ ;
#
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-10_files/gtk2-2.14.7-9.fc10.i386.rpm ;
if [ ! `echo -e "5b8d2c431a6d4ee13fe7c77562402484  gtk2-2.14.7-9.fc10.i386.rpm" | md5sum -c - >/usr/lib/gimp/2.0/gtk2/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /usr/lib/gimp/2.0/gtk2/.md-5.sm` ] ; then xmessage -file /usr/lib/gimp/2.0/gtk2/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /usr/lib/gimp/2.0/gtk2/.md-5.sm`" ; fi ;
rpm2cpio gtk2-2.14.7-9.fc10.i386.rpm | cpio -idv ;
sleep 0.5s ;
rm /usr/lib/gimp/2.0/gtk2/gtk2-2.14.7-9.fc10.i386.rpm ;
rm /usr/lib/gimp/2.0/gtk2/.md-5.sm ;
#25
curl -C - -O file:///mnt/sr0/_Files/Gimp-2.6.8/Fedora-10_files/gtk2-engines-2.16.1-1.fc10.i386.rpm ;
if [ ! `echo -e "5a7ee3f7e8e6bc3f10f3998bd512100b  gtk2-engines-2.16.1-1.fc10.i386.rpm" | md5sum -c - >/usr/lib/gimp/2.0/gtk2/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /usr/lib/gimp/2.0/gtk2/.md-5.sm` ] ; then xmessage -file /usr/lib/gimp/2.0/gtk2/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /usr/lib/gimp/2.0/gtk2/.md-5.sm`" ; fi ;
rpm2cpio gtk2-engines-2.16.1-1.fc10.i386.rpm | cpio -idv ;
sleep 0.5s ;
rm /usr/lib/gimp/2.0/gtk2/gtk2-engines-2.16.1-1.fc10.i386.rpm ;
rm /usr/lib/gimp/2.0/gtk2/.md-5.sm ;
cd / ;
#26
#<<< Salvation: GTK2 from -=Fedora-10=- OS
#
# # #
#
ln -s /usr/lib/gimp/2.0/python/gimpcolor.so /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpenums.py /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpenums.pyc /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpenums.pyo /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/_gimpenums.so /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpfu.py /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpfu.pyc /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpfu.pyo /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpplugin.py /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpplugin.pyc /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpplugin.pyo /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpshelf.py /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpshelf.pyc /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpshelf.pyo /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimp.so /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpthumb.so /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpui.py /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpui.pyc /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/gimpui.pyo /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/_gimpui.so /usr/lib/python2.6/ ;
ln -s /usr/lib/gimp/2.0/python/pygimp-logo.png /usr/lib/python2.6/ ;
#
# # #
#
#
rm /usr/share/applications/gimp.desktop ;
#
sed -i".tmp" '/"Gimp"/d' /root/Choices/ROX-Filer/PuppyPin ;
#
echo '[Desktop Entry]' > /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Version=1.0' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Type=Application' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Name=GNU Image Manipulation Program' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'GenericName=Image Editor' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Comment=Create images and edit photographs' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo "Exec=bash -c 'LD_LIBRARY_PATH=/usr/lib/gimp/2.0/gtk2/usr/lib gimp'" >> /usr/share/applications/Gimp-2.6.8.desktop ;
#echo "TryExec=bash -c 'LD_LIBRARY_PATH=/usr/lib/gimp/2.0/gtk2/usr/lib gimp-2.6'" >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Icon=/usr/share/icons/hicolor/48x48/apps/gimp.png' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Terminal=false' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'Categories=RasterGraphics' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'X-GNOME-Bugzilla-Bugzilla=GNOME' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'X-GNOME-Bugzilla-Product=GIMP' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'X-GNOME-Bugzilla-Component=General' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'X-GNOME-Bugzilla-Version=2.6.8' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'X-GNOME-Bugzilla-OtherBinaries=gimp-2.6' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'StartupNotify=true' >> /usr/share/applications/Gimp-2.6.8.desktop ;
echo 'MimeType=application/postscript;application/pdf;image/bmp;image/g3fax;image/gif;image/x-fits;image/pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/tiff;image/jpeg;image/x-psd;image/png;image/x-icon;image/x-xpixmap;image/svg+xml;image/x-wmf;' >> /usr/share/applications/Gimp-2.6.8.desktop ;
#
sed -i".tmp" '/\/pinboard/d' /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
#echo '<icon x="992" y="512" label="Gimp">/usr/share/applications/Gimp-2.6.8.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '<icon x="160" y="536" label="Gimp">/usr/share/applications/Gimp-2.6.8.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
fixmenus ;
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
xmessage 'Install -=DBus=- and -=Hal=-, please.' ;
else xmessage 'There is no need to install -=DBus=- and -=Hal=-.' ;
fi ;
sleep 0.5s ;
xmessage "Program -=Gimp-2.6.8=- has been installed." `jwm -display :0.0 -restart`
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;

Edit: 2011, dec 29.
:!: The "Dbus, Avahi, Hal" topic is over here:

Code: Select all

http://www.murga-linux.com/puppy/viewtopic.php?p=584359#584359
Permissions for -=Install_Gimp-2.6.8--sr0.sh=- were changed as shown:

Code: Select all

cd /place_where_Install_Gimp-2.6.8--sr0.sh_is_located ; chmod u+x Install_Gimp-2.6.8--sr0.sh
Note: version of the -=Gimp=- program is not ideal - appearance of messages about failings exists, what can be seen in the command box.

A script's content can be copied into text editor by means of <Quote> mode.

Post Reply