# get the DVD device
get_dvd () {
DVD_DEV="sr0"
if [ -f "/etc/dvddevice" ];then
while read line
do
DVD_DEV=$line
done </etc/dvddevice
fi
# set a default, if a value was not returned
if [ ! -z "$DVD_DEV" ];then
DVD_DEV="sr0"
fi
echo "The DVD device being used is /dev/$DVD_DEV"
}

# get the CD device
get_cd () {
CD_DEV="sr0"
if [ -f "/etc/cdromdevice" ];then
while read line
do
CD_DEV=$line
done </etc/cdromdevice
fi
# set a default, if a value was not returned
if [ ! -z "$CD_DEV" ];then
CD_DEV="sr0"
fi
echo "The CD device being used is /dev/$CD_DEV"
}

# VIDEO OUT combobox
VOUT_ARRAY=(Default X11 SDL SVGAlib)
VOUT_ITEMS="<item>$VOUT</item>" #stored value should be first in list
for i in "${VOUT_ARRAY[@]}"
do
if [ $i != "$VOUT" ];then
VOUT_ITEMS=`echo "$VOUT_ITEMS<item>$i</item>"`
fi
done

# DOLBY combobox
DOLBY_ARRAY=(Auto On Off)
DOLBY_ITEMS="<item>$DOLBY</item>" #stored value should be first in list
for i in "${DOLBY_ARRAY[@]}"
do
if [ $i != "$DOLBY" ];then
DOLBY_ITEMS=`echo "$DOLBY_ITEMS<item>$i</item>"`
fi
done

However, the on-screen controls do not work. I will need to ask scottman about that.

Note also, I was unable to compile the Mozilla plugin, which is a shame.

Another note, if the 'zzx_upgrade_73_to_75_nokms' PET is installed, this VLC package may not work, as it is compiled with 'xcb' version 1.0 and the upgrade has a later version of xcb. I don't know, haven't tested it yet, but if it proves to be the case, I will recompile another VLC for use with the upgrade.

Posted on 8 Jan 2011, 15:26

Comments:

Posted on 8 Jan 2011, 15:43 by ttuuxxxVLCHi Barry, man we think alike, I've been compiling a static VLC all day now, lol Just about finished, Well I'll let you know how it goes, The version I'm building has 17 extra deps compared to yours. More features/formats etc.
ttuuxxx

Posted on 8 Jan 2011, 19:18 by IgulederWoof Squashfs fixesBarry, there are two problems with Squashfs that arise with kernel 2.6.36+ and Squashfs 4.1:
- A line needs to be added for Squashfs 4.1:

[ $SUB_KERNELVER -ge 36 ] && MKSQUASHFS='mksquashfs4.1'

However, in my case I compiled squashfs-tools with lzo as the default compressor and that's what mksquashfs does. If you want to give the user choice, that's more complicated.
- Squashfs has dependencies; in my 2.6.36.2 it depends on lzo_decompress.ko. After some debugging work I found out why my spup won't boot. I added lzo_decompress.ko to NEEDEDINITRDMODS, but if you have LZMA compression in Squashfs, you'll need more modules.

Posted on 8 Jan 2011, 22:32 by ttuuxxxqt4Hi Barry the reason why the latest scribus isn't compiling with your Qt is because your using qt4.5 the error 'UniqueConnection' is not a member of 'Qt' is because UniqueConnection wasn't introduced until 4.6. But with my static qt 4.6 it compiles fine, but too large because of the static libs, Oh what compile commands do you use to compile qt? your qt packages are much smaller than my qt.
ttuuxxx

Posted on 8 Jan 2011, 22:49 by BarryKRe Qtttuuxxx,
I didn't compile Qt myself, it was compiled in T2.

Posted on 9 Jan 2011, 8:13 by technosaurusvlc-gtkthe failures may just be differences in the title/window id possibly changing
the vlc-gtk gui uses xdotool in the background to send events to the vlc window(s)