Commit 57548ac9 authored by Antoine Cellerier's avatar Antoine Cellerier

Deprecate the C rc, http and telnet interfaces. They are still available as...

Deprecate the C rc, http and telnet interfaces. They are still available as oldrc, oldhttp and oldtelnet.
parent b601fe0a
...@@ -349,7 +349,7 @@ case "${host_os}" in ...@@ -349,7 +349,7 @@ case "${host_os}" in
VLC_ADD_LDFLAGS([vlc],[-mwindows]) VLC_ADD_LDFLAGS([vlc],[-mwindows])
VLC_ADD_LIBS([activex mozilla],[-lgdi32]) VLC_ADD_LIBS([activex mozilla],[-lgdi32])
VLC_ADD_LIBS([cdda vcdx cddax sdl_image aout_sdl vout_sdl],[-lwinmm]) VLC_ADD_LIBS([cdda vcdx cddax sdl_image aout_sdl vout_sdl],[-lwinmm])
VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp access_output_shout access_output_rtmp sap slp http stream_out_standard stream_out_rtp stream_out_raop vod_rtsp access_realrtsp rtp telnet rc netsync gnutls growl_udp flac ts audioscrobbler lua remoteosd zvbi audiobargraph_a],[-lws2_32]) VLC_ADD_LIBS([access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp access_output_shout access_output_rtmp sap slp oldhttp stream_out_standard stream_out_rtp stream_out_raop vod_rtsp access_realrtsp rtp oldtelnet oldrc netsync gnutls growl_udp flac ts audioscrobbler lua remoteosd zvbi audiobargraph_a],[-lws2_32])
VLC_ADD_LIBS([access_file], [-lshlwapi]) VLC_ADD_LIBS([access_file], [-lshlwapi])
dnl dnl
dnl DEP and ASLR options dnl DEP and ASLR options
...@@ -363,7 +363,7 @@ case "${host_os}" in ...@@ -363,7 +363,7 @@ case "${host_os}" in
fi fi
if test "${SYS}" = "mingwce"; then if test "${SYS}" = "mingwce"; then
# add ws2 for closesocket, select, recv # add ws2 for closesocket, select, recv
VLC_ADD_LIBS([libvlccore access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp access_output_rtmp sap http netsync audioscrobbler growl rtp stream_out_rtp remoteosd ts telnet audiobargraph_a],[-lws2]) VLC_ADD_LIBS([libvlccore access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp access_output_rtmp sap oldhttp netsync audioscrobbler growl rtp stream_out_rtp remoteosd ts oldtelnet audiobargraph_a],[-lws2])
VLC_ADD_LIBS([libvlccore],[-lmmtimer]) VLC_ADD_LIBS([libvlccore],[-lmmtimer])
fi fi
;; ;;
...@@ -388,9 +388,9 @@ case "${host_os}" in ...@@ -388,9 +388,9 @@ case "${host_os}" in
LDFLAGS_save="${LDFLAGS_save} -lintl"; LDFLAGS="${LDFLAGS_save}" LDFLAGS_save="${LDFLAGS_save} -lintl"; LDFLAGS="${LDFLAGS_save}"
dnl Check for BONE dnl Check for BONE
if test -f /boot/beos/system/lib/libbind.so; then if test -f /boot/beos/system/lib/libbind.so; then
VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlccore growl_udp],[-lbind -lsocket]) VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp oldtelnet netsync sap libvlccore growl_udp],[-lbind -lsocket])
else else
VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp telnet netsync sap libvlccore growl_udp],[-lnet]) VLC_ADD_LIBS([access_file access_ftp access_mms access_output_udp oldtelnet netsync sap libvlccore growl_udp],[-lnet])
fi fi
dnl Ugly check for Zeta dnl Ugly check for Zeta
...@@ -1232,7 +1232,7 @@ AC_LANG_POP(C++) ...@@ -1232,7 +1232,7 @@ AC_LANG_POP(C++)
if test "${SYS}" != "mingwce"; then if test "${SYS}" != "mingwce"; then
VLC_ADD_PLUGIN([gestures]) VLC_ADD_PLUGIN([gestures])
VLC_ADD_PLUGIN([rc]) VLC_ADD_PLUGIN([oldrc])
VLC_ADD_PLUGIN([hotkeys]) VLC_ADD_PLUGIN([hotkeys])
VLC_ADD_PLUGIN([showintf]) VLC_ADD_PLUGIN([showintf])
VLC_ADD_PLUGIN([marq]) VLC_ADD_PLUGIN([marq])
...@@ -1805,7 +1805,7 @@ AC_ARG_ENABLE(httpd, ...@@ -1805,7 +1805,7 @@ AC_ARG_ENABLE(httpd,
[ --enable-httpd HTTP daemon (default enabled)]) [ --enable-httpd HTTP daemon (default enabled)])
if test "${enable_httpd}" != "no" if test "${enable_httpd}" != "no"
then then
VLC_ADD_PLUGIN([http]) VLC_ADD_PLUGIN([oldhttp])
AC_DEFINE(ENABLE_HTTPD, 1, Define if you want the HTTP dameon support) AC_DEFINE(ENABLE_HTTPD, 1, Define if you want the HTTP dameon support)
fi fi
AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"]) AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"])
...@@ -1839,7 +1839,7 @@ AS_IF([test "${enable_vlm}" != "no"], [ ...@@ -1839,7 +1839,7 @@ AS_IF([test "${enable_vlm}" != "no"], [
AC_MSG_ERROR([VLM requires the stream output. Do not use --disable-sout.]) AC_MSG_ERROR([VLM requires the stream output. Do not use --disable-sout.])
]) ])
AC_DEFINE(ENABLE_VLM, 1, [Define if you want the VideoLAN manager support]) AC_DEFINE(ENABLE_VLM, 1, [Define if you want the VideoLAN manager support])
VLC_ADD_PLUGIN([telnet]) VLC_ADD_PLUGIN([oldtelnet])
]) ])
AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"]) AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"])
......
SUBDIRS = http globalhotkeys SUBDIRS = http globalhotkeys
SOURCES_gestures = gestures.c SOURCES_gestures = gestures.c
SOURCES_telnet = telnet.c SOURCES_oldtelnet = telnet.c
SOURCES_netsync = netsync.c SOURCES_netsync = netsync.c
SOURCES_ntservice = ntservice.c SOURCES_ntservice = ntservice.c
SOURCES_hotkeys = hotkeys.c SOURCES_hotkeys = hotkeys.c
SOURCES_lirc = lirc.c SOURCES_lirc = lirc.c
SOURCES_rc = rc.c SOURCES_oldrc = rc.c
SOURCES_dbus = dbus.c dbus.h SOURCES_dbus = dbus.c dbus.h
SOURCES_signals = signals.c SOURCES_signals = signals.c
if HAVE_DARWIN if HAVE_DARWIN
......
SOURCES_http = \ SOURCES_oldhttp = \
http.c \ http.c \
http.h \ http.h \
rpn.c \ rpn.c \
......
...@@ -99,13 +99,13 @@ static const struct ...@@ -99,13 +99,13 @@ static const struct
const char *psz_name; const char *psz_name;
} pp_shortcuts[] = { } pp_shortcuts[] = {
{ "luarc", "rc" }, { "luarc", "rc" },
/* { "rc", "rc" }, */ { "rc", "rc" },
{ "luahotkeys", "hotkeys" }, { "luahotkeys", "hotkeys" },
/* { "hotkeys", "hotkeys" }, */ /* { "hotkeys", "hotkeys" }, */
{ "luatelnet", "telnet" }, { "luatelnet", "telnet" },
/* { "telnet", "telnet" }, */ { "telnet", "telnet" },
{ "luahttp", "http" }, { "luahttp", "http" },
/* { "http", "http" }, */ { "http", "http" },
{ NULL, NULL } }; { NULL, NULL } };
static bool WordInList( const char *psz_list, const char *psz_word ) static bool WordInList( const char *psz_list, const char *psz_word )
......
...@@ -73,16 +73,21 @@ vlc_module_begin () ...@@ -73,16 +73,21 @@ vlc_module_begin ()
set_callbacks( Import_LuaPlaylist, Close_LuaPlaylist ) set_callbacks( Import_LuaPlaylist, Close_LuaPlaylist )
add_submodule () add_submodule ()
add_shortcut( "luaintf" ) set_description( N_("Lua Interface Module (shortcuts)") )
add_shortcut( "luarc" ) add_shortcut( "luarc" )
/* add_shortcut( "rc" ) */ add_shortcut( "rc" )
set_capability( "interface", 25 )
set_callbacks( Open_LuaIntf, Close_LuaIntf )
add_submodule ()
set_description( N_("Lua Interface Module") )
add_shortcut( "luaintf" )
add_shortcut( "luahttp" )
add_shortcut( "http" )
add_shortcut( "luatelnet" )
add_shortcut( "telnet" )
add_shortcut( "luahotkeys" ) add_shortcut( "luahotkeys" )
/* add_shortcut( "hotkeys" ) */ /* add_shortcut( "hotkeys" ) */
add_shortcut( "luatelnet" )
/* add_shortcut( "telnet" ) */
add_shortcut( "luahttp" )
/* add_shortcut( "http" ) */
set_description( N_("Lua Interface Module") )
set_capability( "interface", 0 ) set_capability( "interface", 0 )
add_string( "lua-intf", "dummy", NULL, add_string( "lua-intf", "dummy", NULL,
INTF_TEXT, INTF_LONGTEXT, false ) INTF_TEXT, INTF_LONGTEXT, false )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment