view debian/daily-build.sh @ 34081:66c5a04a5c32

Fix cursor autohide functionality of the GUI. There will only be calls to wsEvents() (through GUI_HANDLE_X_EVENT in x11_common.c) which handles the cursor autohide, if there are X events pending - which during normal playback isn't the case. If you happen to have configured option use-filename-title, then there will be periodical XStoreName() calls which trigger X events that keep calling GUI_HANDLE_X_EVENT as a side effect. To ensure recurring calls to the cursor autohide code in any case it has been made a separate function which is called through GUI_HANDLE_EVENTS now. GUI_HANDLE_EVENTS is periodically called by MPlayer. Additionally, only show cursor in wsEvents() (and thereby enable autohide) if it previously was hidden.
author ib
date Sat, 01 Oct 2011 15:09:09 +0000
parents 1522fac67d56
children
line wrap: on
line source

#!/bin/sh

# wrapper around dpkg-buildpackage to generate correct changelog
# use "debian/daily-build.sh -b" to create binary packages
# and "debian/daily-build.sh -S" to create a source package only
#
# use this invocation to load system libdvdcss at runtime
# env DEB_EXTRA_CONFIGURE_FLAGS=--disable-libdvdcss-internal debian/daily-build.sh -Ilibdvdcss

LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2
version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)

# ensure correct directory
test -r debian/control || exit 1

rm debian/changelog
echo $version > snapshot_version
dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build"

dpkg-buildpackage -us -uc -i -I.svn "$@"
rm -f snapshot_version