diff options
author | wm4 <wm4@nowhere> | 2012-10-11 02:04:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:14:32 +0200 |
commit | 65fc530f0c3ff02f982a0e4c74988d4a53730f04 (patch) | |
tree | c1faf4915a2c1e4e1d593b41a42891f0d547022f /configure | |
parent | 3d712eb56da9b9dccdef28fa1a3694c4d8fccd65 (diff) | |
download | mpv-65fc530f0c3ff02f982a0e4c74988d4a53730f04.tar.bz2 mpv-65fc530f0c3ff02f982a0e4c74988d4a53730f04.tar.xz |
Rename to "mpv"
This changes the name of this project to mpv. Most user-visible mentions
of "MPlayer" and "mplayer" are changed to "mpv". The binary name and the
default config file location are changed as well.
The new default config file location is: ~/.mpv/
Remove etc/mplayer.desktop. Apparently this was for the MPlayer GUI,
which has been removed from mplayer2 ages ago.
We don't have a logo, and the MS Windows resource files sort-of require
one, so leave etc/mplayer.ico/.xpm as-is.
Remove the debian and rpm packaging scripts. These contained outdated
dependencies and likely were more harmful than useful. (Patches which
add working and well-tested packaging are welcome.)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 39 |
1 files changed, 18 insertions, 21 deletions
@@ -274,7 +274,7 @@ esac msg_lang_all='' ls po/*.po >/dev/null 2>&1 && msg_lang_all=$(echo po/*.po | sed -e 's:po/\([^[:space:]]*\)\.po:\1:g') -man_lang_all=$(echo DOCS/man/??/mplayer.1 DOCS/man/??_??/mplayer.1 | sed -e "s:DOCS/man/\(..\)/mplayer.1:\1:g" -e "s:DOCS/man/\(.._..\)/mplayer.1:\1:g") +man_lang_all=$(echo DOCS/man/??/mpv.1 DOCS/man/??_??/mpv.1 | sed -e "s:DOCS/man/\(..\)/mpv.1:\1:g" -e "s:DOCS/man/\(.._..\)/mpv.1:\1:g") doc_lang_all=$(echo DOCS/xml/??/ DOCS/xml/??_??/ | sed -e "s:DOCS/xml/\(..\)/:\1:g" -e "s:DOCS/xml/\(.._..\)/:\1:g") show_help(){ @@ -288,16 +288,16 @@ Installation directories: --prefix=DIR prefix directory for installation [/usr/local] --bindir=DIR directory for installing binaries [PREFIX/bin] --datadir=DIR directory for installing machine independent - data files (skins, etc) [PREFIX/share/mplayer] + data files (skins, etc) [PREFIX/share/mpv] --mandir=DIR directory for installing man pages [PREFIX/share/man] --confdir=DIR directory for installing configuration files - [PREFIX/etc/mplayer] + [PREFIX/etc/mpv] --localedir=DIR directory for locale tree [PREFIX/share/locale] --libdir=DIR directory for object code libraries [PREFIX/lib] --codecsdir=DIR directory for binary codecs [LIBDIR/codecs] Optional features: - --disable-mplayer disable MPlayer compilation [enable] + --disable-mpv disable mpv compilation [enable] --disable-encoding disable encoding functionality [enable] --enable-termcap use termcap database for key codes [autodetect] --enable-termios use termios database for key codes [autodetect] @@ -397,9 +397,9 @@ Available values for --language-msg are: all $msg_lang_all Miscellaneous options: --enable-cross-compile enable cross-compilation [disable] - --cc=COMPILER C compiler to build MPlayer [gcc] + --cc=COMPILER C compiler to build mpv [gcc] --pkg-config=PKGCONFIG pkg-config to find some libraries [pkg-config] - --windres=WINDRES windres to build MPlayer [windres] + --windres=WINDRES windres to build mpv [windres] --target=PLATFORM target platform (i386-linux, arm-linux, etc) --enable-static build a statically linked binary --with-install=PATH path to a custom install program @@ -413,7 +413,7 @@ Use these options if autodetection fails: --extra-cflags=FLAGS extra CFLAGS --extra-ldflags=FLAGS extra LDFLAGS --extra-libs=FLAGS extra linker flags - --extra-libs-mplayer=FLAGS extra linker flags for MPlayer + --extra-libs-mpv=FLAGS extra linker flags for mpv This configure script is NOT autoconf-based, even though its output is similar. It will try to autodetect all configuration options. If you --enable an option @@ -565,7 +565,7 @@ for ac_option do --extra-libs=*) extra_libs=$(echo $ac_option | cut -d '=' -f 2) ;; - --extra-libs-mplayer=*) + --extra-libs-mpv=*) libs_mplayer=$(echo $ac_option | cut -d '=' -f 2) ;; @@ -621,8 +621,8 @@ for ac_option do --disable-translation) _translation=no ;; --enable-cross-compile) _cross_compile=yes ;; --disable-cross-compile) _cross_compile=no ;; - --enable-mplayer) _mplayer=yes ;; - --disable-mplayer) _mplayer=no ;; + --enable-mpv) _mplayer=yes ;; + --disable-mpv) _mplayer=no ;; --enable-encoding) _encoding=yes ;; --disable-encoding) _encoding=no ;; --enable-x11) _x11=yes ;; @@ -785,9 +785,9 @@ done # Atmos: moved this here, to be correct, if --prefix is specified test -z "$_bindir" && _bindir="$_prefix/bin" -test -z "$_datadir" && _datadir="$_prefix/share/mplayer" +test -z "$_datadir" && _datadir="$_prefix/share/mpv" test -z "$_mandir" && _mandir="$_prefix/share/man" -test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" +test -z "$_confdir" && _confdir="$_prefix/etc/mpv" test -z "$_libdir" && _libdir="$_prefix/lib" test -z "$_localedir" && _localedir="$_prefix/share/locale" @@ -795,7 +795,7 @@ for tmpdir in "$TMPDIR" "$TEMPDIR" "/tmp" ; do test "$tmpdir" && break done -mplayer_tmpdir="$tmpdir/mplayer-configure-$RANDOM-$$" +mplayer_tmpdir="$tmpdir/mpv-configure-$RANDOM-$$" mkdir $mplayer_tmpdir || die "Unable to create tmpdir." TMPLOG="config.log" @@ -1140,7 +1140,7 @@ case "$host_arch" in *) echo "The architecture of your CPU ($host_arch) is not supported by this configure script" - echo "It seems nobody has ported MPlayer to your OS or CPU type yet." + echo "It seems nobody has ported mpv to your OS or CPU type yet." die "unsupported architecture $host_arch" ;; esac # case "$host_arch" in @@ -3677,10 +3677,10 @@ Config files successfully generated by ./configure $configuration ! Video output: $novomodules 'config.h' and 'config.mak' contain your configuration options. -Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer +Note: If you alter theses files (for instance CFLAGS) mpv may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** -'make' will now compile MPlayer and 'make install' will install it. +'make' will now compile mpv and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. EOF @@ -3699,19 +3699,16 @@ If you used one of these options and experience a compilation or linking failure, make sure you have passed the necessary compiler/linker flags to configure. -If you suspect a bug, please read DOCS/HTML/$language_doc/bugreports.html. - EOF if test "$warn_cflags" = yes; then cat <<EOF -MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS set by you, -but: +mpv compilation will use the CPPFLAGS/CFLAGS/LDFLAGS set by you, but: *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** -It is strongly recommended to let MPlayer choose the correct CFLAGS! +It is strongly recommended to let mpv choose the correct CFLAGS! To do so, execute 'CFLAGS= ./configure <options>' EOF |