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 Sat 20 Dec 2014, 07:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
JCDWriter-0.8.3 in "Quirky Linux 1.40" ! only script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 19 Nov 2011, 15:41    Post subject:  JCDWriter-0.8.3 in "Quirky Linux 1.40" ! only script
Subject description: Program for moving files onto CD or DVD
 

Arrow

Quote:

Install_JCDWriter--sr0.sh
Code:

#!/bin/bash
#
cd /room ;
#
#
rm /usr/bin/icedax /usr/bin/cdda2mp3 /usr/bin/cdda2ogg /usr/bin/cdda2wav ;
rm /etc/cdrecord.conf /usr/bin/isodebug /usr/bin/isodump ;
rm /usr/bin/isoinfo /usr/bin/isovfy /usr/bin/mkisofs ;
rm /usr/bin/genisoimage ;
rm /usr/bin/cdrecord /usr/bin/devdump /usr/bin/readom /usr/bin/readcd /usr/bin/wodim /usr/sbin/netscsid ;
#
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/icedax-1.1.9-6.fc11.i586.rpm ;
if [ ! `echo -e "330b35f97144452953b17b53f941e462  icedax-1.1.9-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 icedax-1.1.9-6.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/icedax-1.1.9-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/genisoimage-1.1.9-6.fc11.i586.rpm ;
if [ ! `echo -e "75ca107c77472c27051213c68d1be37f  genisoimage-1.1.9-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 genisoimage-1.1.9-6.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/genisoimage-1.1.9-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /usr/bin/genisoimage /usr/bin/mkisofs ;
#2
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/wodim-1.1.9-6.fc11.i586.rpm ;
if [ ! `echo -e "e1c0c522c6ba3edb1f75f9979fad49c4  wodim-1.1.9-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 wodim-1.1.9-6.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/wodim-1.1.9-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /usr/bin/readom /usr/bin/readcd ;
ln -s /usr/bin/wodim /usr/bin/cdrecord ;
ln -s /usr/bin/wodim /usr/bin/dvdrecord ;
#3
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/flac-1.2.1-5.fc11.i586.rpm ;
if [ ! `echo -e "5e9453481acbcfb1add1159540e7782f  flac-1.2.1-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 flac-1.2.1-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/flac-1.2.1-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/libogg-1.1.3-11.fc11.i586.rpm ;
if [ ! `echo -e "1752d2702bf5a0cfb5b36e6a8bca6069  libogg-1.1.3-11.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 libogg-1.1.3-11.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libogg-1.1.3-11.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/libvorbis-1.2.0-9.fc11.i586.rpm ;
if [ ! `echo -e "24677175b6c9d914be5d32df11af11c6  libvorbis-1.2.0-9.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 libvorbis-1.2.0-9.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libvorbis-1.2.0-9.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/vorbis-tools-1.2.0-5.fc11.i586.rpm ;
if [ ! `echo -e "d4069da1ef344ddb2324248c9de838bd  vorbis-tools-1.2.0-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 vorbis-tools-1.2.0-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/vorbis-tools-1.2.0-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
#
rm /usr/lib/libspeex.so.1 /usr/lib/libspeex.so.1.5.0 ;
rm /usr/lib/libspeexdsp.so.1 /usr/lib/libspeexdsp.so.1.5.0 ;
#
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/Fedora-11_files/speex-1.2-0.11.rc1.fc11.i586.rpm ;
if [ ! `echo -e "7a6fdcb8ab2e032a09ee66e7c90f8847  speex-1.2-0.11.rc1.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 speex-1.2-0.11.rc1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/speex-1.2-0.11.rc1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
#
# # #
#
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/JAR_files/jcdwriter.jar ;
if [ ! `echo -e "1446448a2beec2412a6735b95ee70716  jcdwriter.jar" | 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 ;
tar cf - jcdwriter.jar | tar -C /usr/local/bin -xpf - ;
sleep 0.5s ;
rm /room/jcdwriter.jar ;
rm /room/.md-5.sm ;
#1
#
# # #
#
cd / ;
curl -C - -O file:///mnt/sr0/JCDWriter-0.8.3--Java_CD_burner/RedHat-EL-5_files/nimbus-icon-theme-0.1.4-2.el5.i386.rpm ;
if [ ! `echo -e "f42a9ae95381dd0a2f02308950751318  nimbus-icon-theme-0.1.4-2.el5.i386.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
rpm2cpio nimbus-icon-theme-0.1.4-2.el5.i386.rpm | cpio -idv ./usr/share/icons/nimbus/48x48/apps/sun_java.png ;
sleep 0.5s ;
rm /nimbus-icon-theme-0.1.4-2.el5.i386.rpm ;
rm /.md-5.sm ;
#9
#
echo '[Desktop Entry]' > /usr/share/applications/JCDWriter.desktop ;
echo 'Name=JCDWriter' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Comment=CD burning JAVA application' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Icon=/usr/share/icons/nimbus/48x48/apps/sun_java.png' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Exec=java -jar /usr/local/bin/jcdwriter.jar' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Terminal=false' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Type=Application' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/JCDWriter.desktop ;
echo 'Categories=DiskBurning;' >> /usr/share/applications/JCDWriter.desktop ;
#
fixmenus ;
#
if [ ! -f /usr/lib/jre1.6.0_27/bin/ControlPanel ] ; then
xmessage 'Install -=Java Runtime Environment=-, please.' ;
else xmessage 'There is no need to install -=Java Runtime Environment=-.' ;
fi ;
sleep 0.5s ;
xmessage "-=JCDWriter-0.8.3=- has been installed." `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;


Edit: 2011, nov 19.


Quote:
Exclamation The "-=Java Runtime Environment 6u27=- in -=Quirky-1.4=-" topic is over here:

Code:
http://www.murga-linux.com/puppy/viewtopic.php?p=571721#571721




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

_________________
  • 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.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.0600s ][ Queries: 11 (0.0040s) ][ GZIP on ]