Skip to content

Commit

Permalink
* Export unselect.png
Browse files Browse the repository at this point in the history
* Fix paths when installed in Debian package
  • Loading branch information
Clément Stenac committed Aug 28, 2005
1 parent 4ebfb00 commit 10a77ad
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/patches/00list
@@ -1 +1,2 @@
20_no-wx-updates
20_osdmenu-paths
51 changes: 51 additions & 0 deletions debian/patches/20_osdmenu-paths.dpatch
@@ -0,0 +1,51 @@
#! /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
1 change: 1 addition & 0 deletions share/Makefile.am
Expand Up @@ -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 \
Expand Down

0 comments on commit 10a77ad

Please sign in to comment.