]> git.sesse.net Git - vlc/blob - debian/patches/20_no-wx-updates.dpatch
debian/patches: Fix the debian package creation
[vlc] / debian / patches / 20_no-wx-updates.dpatch
1 #! /bin/sh -e
2 ## 20_interfaces.dpatch by  <sam+deb@zoy.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
6
7 if [ $# -lt 1 ]; then
8     echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
9     exit 1
10 fi
11
12 [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13 patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
14
15 case "$1" in
16     -patch) patch -p1 ${patch_opts} < $0;;
17     -unpatch) patch -R -p1 ${patch_opts} < $0;;
18     *)
19         echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
20         exit 1;;
21 esac
22
23 exit 0
24
25 @DPATCH@
26 diff -urNad /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/modules/gui/wxwidgets/interface.cpp vlc-0.7.2.svn20040826/modules/gui/wxwidgets/interface.cpp
27 --- vlc-0.8.4-svn20050823.orig/modules/gui/wxwidgets/interface.cpp
28 +++ vlc-0.8.4-svn20050823/modules/gui/wxwidgets/interface.cpp
29 @@ -437,8 +437,8 @@
30      wxMenu *help_menu = new wxMenu;
31      help_menu->Append( About_Event, wxU(_("About VLC media player")) );
32  #ifndef WIN32
33 -    help_menu->AppendSeparator();
34 -    help_menu->Append( UpdateVLC_Event, wxU(_("Check for updates ...")) );
35 +//    help_menu->AppendSeparator();
36 +//    help_menu->Append( UpdateVLC_Event, wxU(_("Check for updates ...")) );
37  #endif
38
39      /* Append the freshly created menus to the menu bar... */