Pmusic, FFConvert, Peasyscan
May 23, 2012 —
BarryK
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...
Comments
Pburnpinstall.sh scripts
Username: BarryK
"Some notes for the developer guys: [b]Peasyscan[/b] 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: [code]#!/bin/sh [ -e usr/lib/libjpeg.so.7 ] || ln -s libjpeg.so.62.0.0 usr/lib/libjpeg.so.7[/code] [b]Pmusic[/b] Running in Woof, again in the concatenated pinstall.sh script, Pmusic 2.6.1 outputs these error messages: [code]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[/code] ...the first cp message has always been there, the xml error is new, or rather I never noticed it before.
RE: pinstall.sh scripts
Username: zigbert
"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.... [code]#!/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 [/code]
Tags: puppy