Pmusic, FFConvert, Peasyscan

PET updates:

Pmusic 2.6.1 (zigbert)
FFConvert 1.2.2 (shinobar) -- also FFConvert NLS pkg.


I move this from 'noarch' to 'common' repo, as it has a binary executable...

Peasyscan 2.0 (rcrsn51)

Posted on 23 May 2012, 24:31


Comments:

Posted on 24 May 2012, 7:07 by zigbert
Pburn
Pburn updated today to 3.6.0


Posted on 24 May 2012, 9:20 by BarryK
pinstall.sh scripts
Some notes for the developer guys:

Peasyscan
I picked this one up in earlier Peasyscans, but forgot to inform rcrsn51. In the pinstall.sh script you must not use absolute paths. The script has "cd /usr/lib" -- building in Woof, that changes the directory to my host system, then as all the pinstall.sh scripts are concatenated to one big pinstall.sh, all following operations will take affect on the host system. Potential disaster. My save-file seems to have survived though.

The pinstall.sh for Peasyscan should be:

#!/bin/sh

[ -e usr/lib/libjpeg.so.7 ] || ln -s libjpeg.so.62.0.0 usr/lib/libjpeg.so.7


Pmusic
Running in Woof, again in the concatenated pinstall.sh script, Pmusic 2.6.1 outputs these error messages:

Configuring Pmusic...

cp: cannot stat `tmp/pmusic_install/OpenWith/*': No such file or directory
/mnt/sda10/woofproject2/woof-out_x86_x86_ubuntu_precise/sandbox3/pinstall.sh: line 341: echo
<rule match="/usr/local/pmusic/pmusic">
<icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
</rule>: No such file or directory


...the first cp message has always been there, the xml error is new, or rather I never noticed it before.



Posted on 24 May 2012, 19:06 by zigbert
RE: pinstall.sh scripts
I am sorry for not having the woof-focus. I have added your note to the pinstall script and rewritten it to fit both woof and petget.

Would you please have a look as I don't use woof myself....

#!/bin/sh

#BK Note!!!
#In the pinstall.sh script you must not use absolute paths.
#The woof build script has "cd /usr/lib" -- building in Woof, that changes the directory to my host system, then as all the pinstall.sh scripts are concatenated to one big pinstall.sh, all following operations will take affect on the host system. Potential disaster.

echo "Configuring Pmusic..."

#set default audioplayer for WOOF install only
if [ "`pwd`" != "/" ]; then
echo '#!/bin/sh' > ./usr/local/bin/defaultaudioplayer
echo 'exec pmusic "$@"' >> ./usr/local/bin/defaultaudioplayer
chmod 755 ./usr/local/bin/defaultaudioplayer
fi

#install rox-apps if not present.
mkdir -p .${HOME}/.config/rox.sourceforge.net/OpenWith 2> /dev/null
if [ ! "`ls .${HOME}/.config/rox.sourceforge.net/OpenWith/.audio_x-mp3 2> /dev/null | grep -i pmusic`" ];then
cp -rf ./tmp/pmusic_install/OpenWith/* .${HOME}/.config/rox.sourceforge.net/OpenWith/
rm -rf ./tmp/pmusic_install
fi

#give /usr/local/pmusic/pmusic an icon --> Drag to desktop
[ ! "`grep -F 'pmusic.svg' .${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons`" ] && echo'
<rule match="/usr/local/pmusic/pmusic">
<icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
</rule>' >> .${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons