]> git.sesse.net Git - vlc/blobdiff - menuconfig
Why are this variable unused ? (commented out for the moment as it memleak)
[vlc] / menuconfig
index 00d6ec4dee0ba27d76fd6ef3e46ad15ad3a8d9b7..8a2081f093ed69c9eed08aa269cd08b709febdfb 100755 (executable)
@@ -1,6 +1,6 @@
-#! /bin/sh
+#!/usr/bin/env bash
 #
 #
-# VideoLAN Client configuration script, borrowed from linux menuconfig
+# VLC media player configuration script, borrowed from linux menuconfig
 # Cyril Deguet <asmax@videolan.org>
 #
 #-----------------------------------------------------------------
 # Cyril Deguet <asmax@videolan.org>
 #
 #-----------------------------------------------------------------
@@ -188,7 +188,7 @@ function tristate () {
 
 #
 # Create a tristate radiolist function which is dependent on
 
 #
 # Create a tristate radiolist function which is dependent on
-# another kernel configuration option.
+# another vlc configuration option.
 #
 # Quote from the original configure script:
 #
 #
 # Quote from the original configure script:
 #
@@ -821,7 +821,7 @@ function activate_menu () {
                        clear
                        cat <<EOM
 
                        clear
                        cat <<EOM
 
-Menuconfig has encountered a possible error in one of the kernel's
+Menuconfig has encountered a possible error in one of the vlc's
 configuration files and is unable to continue.  Here is the error
 report:
 
 configuration files and is unable to continue.  Here is the error
 report:
 
@@ -829,10 +829,9 @@ EOM
                        sed 's/^/ Q> /' MCerror
                        cat <<EOM
 
                        sed 's/^/ Q> /' MCerror
                        cat <<EOM
 
-Please report this to the maintainer <mec@shout.net>.  You may also
-send a problem report to <linux-kernel@vger.kernel.org>.
+Please report this to the maintainer <asmax@videolan.org>.
 
 
-Please indicate the kernel version you are trying to configure and
+Please indicate the vlc version you are trying to configure and
 which menu you were trying to enter when this error occurred.
 
 EOM
 which menu you were trying to enter when this error occurred.
 
 EOM
@@ -892,8 +891,7 @@ the /usr/src/linux/scripts/lxdialog directory and issuing the
 "make clean all" command.
 
 If you have verified that your ncurses install is correct, you may email
 "make clean all" command.
 
 If you have verified that your ncurses install is correct, you may email
-the maintainer <mec@shout.net> or post a message to
-<linux-kernel@vger.kernel.org> for additional assistance. 
+the maintainer <asmax@videolan.org>.
 
 EOM
                        cleanup
 
 EOM
                        cleanup
@@ -948,11 +946,11 @@ last retrieved.  Leave blank to abort."\
                else
                        cat <<EOM >help.out
 
                else
                        cat <<EOM >help.out
 
-For various reasons, one may wish to keep several different kernel
+For various reasons, one may wish to keep several different vlc
 configurations available on a single machine.  
 
 If you have saved a previous configuration in a file other than the
 configurations available on a single machine.  
 
 If you have saved a previous configuration in a file other than the
-kernel's default, entering the name of the file here will allow you
+vlc's default, entering the name of the file here will allow you
 to modify that configuration.
 
 If you are uncertain, then you have probably never used alternate 
 to modify that configuration.
 
 If you are uncertain, then you have probably never used alternate 
@@ -1012,7 +1010,7 @@ as an alternate.  Leave blank to abort."\
                else
                        cat <<EOM >help.out
 
                else
                        cat <<EOM >help.out
 
-For various reasons, one may wish to keep different kernel
+For various reasons, one may wish to keep different vlc
 configurations available on a single machine.  
 
 Entering a file name here will allow you to later retrieve, modify
 configurations available on a single machine.  
 
 Entering a file name here will allow you to later retrieve, modify
@@ -1051,7 +1049,7 @@ function load_config_file () {
 #
 save_configuration () {
         echo
 #
 save_configuration () {
         echo
-       echo -n "Saving your kernel configuration."
+       echo -n "Saving your vlc configuration."
 
        #
        # Now, let's redefine the configuration functions for final
 
        #
        # Now, let's redefine the configuration functions for final
@@ -1334,7 +1332,7 @@ Use the <TAB> key to move from the input field to the buttons below it."
 
 DIALOG="./lxdialog/lxdialog"
 
 
 DIALOG="./lxdialog/lxdialog"
 
-backtitle="VideoLAN Client Configuration"
+backtitle="VLC media player configuration"
 
 trap "cleanup ; exit 1" 1 2 15
 
 
 trap "cleanup ; exit 1" 1 2 15
 
@@ -1409,7 +1407,7 @@ cleanup1
 # Confirm and Save
 #
 if $DIALOG --backtitle "$backtitle" \
 # Confirm and Save
 #
 if $DIALOG --backtitle "$backtitle" \
-          --yesno "Do you wish to save your new kernel configuration?" 5 60
+          --yesno "Do you wish to save your new vlc configuration?" 5 60
 then
        save_configuration
        echo
 then
        save_configuration
        echo
@@ -1419,7 +1417,7 @@ then
 else
        echo
        echo 
 else
        echo
        echo 
-       echo Your kernel configuration changes were NOT saved.
+       echo Your vlc configuration changes were NOT saved.
        echo
 fi
 
        echo
 fi