Commit 10a77ad5 authored by Clément Stenac's avatar Clément Stenac

* Export unselect.png

* Fix paths when installed in Debian package
parent 4ebfb007
20_no-wx-updates
20_osdmenu-paths
#! /bin/sh -e
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
case "$1" in
-patch) patch -p1 ${patch_opts} < $0;;
-unpatch) patch -R -p1 ${patch_opts} < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac
exit 0
@DPATCH@
--- vlc.orig/share/osdmenu/default.cfg
+++ vlc/share/osdmenu/default.cfg
@@ -1,4 +1,4 @@
-dir share/osdmenu/default
+dir /usr/share/vlc/osdmenu/default
action key-play-pause (0,0)
unselect unselected.png
select selection/play_pause.png
--- vlc.orig/share/osdmenu/dvd.cfg
+++ vlc/share/osdmenu/dvd.cfg
@@ -1,4 +1,4 @@
-dir share/osdmenu/dvd
+dir /usr/share/vlc/osdmenu/dvd
action key-play (0,0)
unselect unselect/barroff.png
select selection/play.png
--- vlc.orig/modules/video_filter/osdmenu.c
+++ vlc/modules/video_filter/osdmenu.c
@@ -90,7 +90,7 @@
#if defined( WIN32 ) || defined( UNDER_CE )
#define OSD_DEFAULT_CFG "osdmenu/default.cfg"
#else
-#define OSD_DEFAULT_CFG "share/osdmenu/default.cfg"
+#define OSD_DEFAULT_CFG "/usr/share/vlc/osdmenu/default.cfg"
#endif
#define OSD_UPDATE_MIN 0
......@@ -101,6 +101,7 @@ DIST_http = \
DIST_osdmenu_default = \
osdmenu/default.cfg \
osdmenu/default/unselected.png \
osdmenu/default/selection/bw.png \
osdmenu/default/selection/esc.png \
osdmenu/default/selection/fw.png \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment