20_interfaces.dpatch
上传用户:riyaled888
上传日期:2009-03-27
资源大小:7338k
文件大小:3k
源码类别:

多媒体

开发平台:

MultiPlatform

  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. if [ $# -lt 1 ]; then
  7.     echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
  8.     exit 1
  9. fi
  10. [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
  11. patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
  12. case "$1" in
  13.     -patch) patch -p1 ${patch_opts} < $0;;
  14.     -unpatch) patch -R -p1 ${patch_opts} < $0;;
  15.     *)
  16.         echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
  17.         exit 1;;
  18. esac
  19. exit 0
  20. @DPATCH@
  21. diff -urNad /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/modules/gui/kde/kde.cpp vlc-0.7.2.svn20040826/modules/gui/kde/kde.cpp
  22. --- /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/modules/gui/kde/kde.cpp 2004-08-27 01:17:48.000000000 +0200
  23. +++ vlc-0.7.2.svn20040826/modules/gui/kde/kde.cpp 2004-08-27 01:17:56.000000000 +0200
  24. @@ -53,7 +53,7 @@
  25.      /* int i = getenv( "DISPLAY" ) == NULL ? 8 : 85; */
  26.      set_description( _("KDE interface") );
  27.      add_file( "kde-uirc", DATA_PATH "/ui.rc", NULL, N_( "path to ui.rc file" ), NULL, VLC_TRUE );
  28. -    set_capability( "interface", 0 ); /* 0 used to be i, disabled because kvlc not maintained */
  29. +    set_capability( "interface", 1 ); /* 0 used to be i, disabled because kvlc not maintained */
  30.      set_program( "kvlc" );
  31.      set_callbacks( open, close );
  32.  vlc_module_end();
  33. diff -urNad /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/modules/gui/skins2/src/skin_main.cpp vlc-0.7.2.svn20040826/modules/gui/skins2/src/skin_main.cpp
  34. --- /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/modules/gui/skins2/src/skin_main.cpp 2004-08-27 01:17:48.000000000 +0200
  35. +++ vlc-0.7.2.svn20040826/modules/gui/skins2/src/skin_main.cpp 2004-08-27 01:17:56.000000000 +0200
  36. @@ -349,7 +349,7 @@
  37.  #endif
  38.  
  39.      set_description( _("Skinnable Interface") );
  40. -    set_capability( "interface", 30 );
  41. +    set_capability( "interface", 120 );
  42.      set_callbacks( Open, Close );
  43.      add_shortcut( "skins" );
  44.      set_program( "svlc" );
  45. diff -urNad /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/src/interface/interface.c vlc-0.7.2.svn20040826/src/interface/interface.c
  46. --- /home/sam/debian/official/vlc/debian/vlc-0.7.2.svn20040826/src/interface/interface.c 2004-08-27 01:17:48.000000000 +0200
  47. +++ vlc-0.7.2.svn20040826/src/interface/interface.c 2004-08-27 01:17:56.000000000 +0200
  48. @@ -306,8 +306,10 @@
  49.  {
  50.      static char *ppsz_interfaces[] =
  51.      {
  52. +/*
  53.          "skins2", "Skins 2",
  54.          "wxwindows", "wxWindows",
  55. +*/
  56.          NULL, NULL
  57.      };
  58.      char **ppsz_parser;