From 50d38ba36c545b1df33196bca8d3919368362806 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Fri, 30 Mar 2018 20:04:34 +0300 Subject: [PATCH] FS-10980: [mod_lua] Update lua version to 5.3.4 and move it to pre-compiled binaries on Windows. --- Freeswitch.2015.sln | 30 --- libs/.gitignore | 2 + libs/win32/Download lua.2015.vcxproj | 81 ------- libs/win32/lua/lua.2015.vcxproj | 198 ------------------ .../languages/mod_lua/mod_lua.2015.vcxproj | 6 +- w32/lua-version.props | 2 +- w32/lua.props | 60 +++++- 7 files changed, 62 insertions(+), 317 deletions(-) delete mode 100644 libs/win32/Download lua.2015.vcxproj delete mode 100644 libs/win32/lua/lua.2015.vcxproj diff --git a/Freeswitch.2015.sln b/Freeswitch.2015.sln index 6587c691a3..0e3b1fb7fb 100644 --- a/Freeswitch.2015.sln +++ b/Freeswitch.2015.sln @@ -616,10 +616,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download tiff", "libs\win32 EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_http_cache", "src\mod\applications\mod_http_cache\mod_http_cache.vcxproj", "{87933C2D-0159-46F7-B326-E1B6E982C21E}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua52", "libs\win32\lua\lua.2015.vcxproj", "{4F990563-6DFB-45C3-B083-1938C6D7FFA4}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download lua", "libs\win32\Download lua.2015.vcxproj", "{45CD36EE-0AF3-4387-8790-4F11E928299D}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download g722_1", "libs\win32\Download g722_1.2015.vcxproj", "{36603FE1-253F-4C2C-AAB6-12927A626135}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download iLBC", "libs\win32\Download iLBC.2015.vcxproj", "{53AADA60-DF12-46FF-BF94-566BBF849336}" @@ -2818,30 +2814,6 @@ Global {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|Win32.Build.0 = Release|Win32 {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|x64.ActiveCfg = Release|x64 {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|x64.Build.0 = Release|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.All|Win32.ActiveCfg = Release|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.All|Win32.Build.0 = Release|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.All|x64.ActiveCfg = Release|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.All|x64.Build.0 = Release|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Debug|Win32.ActiveCfg = Debug|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Debug|Win32.Build.0 = Debug|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Debug|x64.ActiveCfg = Debug|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Debug|x64.Build.0 = Debug|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Release|Win32.ActiveCfg = Release|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Release|Win32.Build.0 = Release|Win32 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Release|x64.ActiveCfg = Release|x64 - {4F990563-6DFB-45C3-B083-1938C6D7FFA4}.Release|x64.Build.0 = Release|x64 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.All|Win32.ActiveCfg = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.All|Win32.Build.0 = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.All|x64.ActiveCfg = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.All|x64.Build.0 = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Debug|Win32.ActiveCfg = Debug|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Debug|Win32.Build.0 = Debug|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Debug|x64.ActiveCfg = Debug|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Debug|x64.Build.0 = Debug|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Release|Win32.ActiveCfg = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Release|Win32.Build.0 = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Release|x64.ActiveCfg = Release|Win32 - {45CD36EE-0AF3-4387-8790-4F11E928299D}.Release|x64.Build.0 = Release|Win32 {36603FE1-253F-4C2C-AAB6-12927A626135}.All|Win32.ActiveCfg = Release|Win32 {36603FE1-253F-4C2C-AAB6-12927A626135}.All|Win32.Build.0 = Release|Win32 {36603FE1-253F-4C2C-AAB6-12927A626135}.All|x64.ActiveCfg = Release|Win32 @@ -3267,8 +3239,6 @@ Global {6D1BC01C-3F97-4C08-8A45-69C9B94281AA} = {C120A020-773F-4EA3-923F-B67AF28B750D} {583D8CEA-4171-4493-9025-B63265F408D8} = {C120A020-773F-4EA3-923F-B67AF28B750D} {87933C2D-0159-46F7-B326-E1B6E982C21E} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} - {4F990563-6DFB-45C3-B083-1938C6D7FFA4} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} - {45CD36EE-0AF3-4387-8790-4F11E928299D} = {C120A020-773F-4EA3-923F-B67AF28B750D} {36603FE1-253F-4C2C-AAB6-12927A626135} = {C120A020-773F-4EA3-923F-B67AF28B750D} {53AADA60-DF12-46FF-BF94-566BBF849336} = {C120A020-773F-4EA3-923F-B67AF28B750D} {46502007-0D94-47AC-A640-C2B5EEA98333} = {C120A020-773F-4EA3-923F-B67AF28B750D} diff --git a/libs/.gitignore b/libs/.gitignore index 376e537633..79dbc2ca7a 100644 --- a/libs/.gitignore +++ b/libs/.gitignore @@ -846,3 +846,5 @@ zlib-*/ zlib-* libpq-*/ libpq-* +lua-*/ +lua-* diff --git a/libs/win32/Download lua.2015.vcxproj b/libs/win32/Download lua.2015.vcxproj deleted file mode 100644 index ff8763b7ca..0000000000 --- a/libs/win32/Download lua.2015.vcxproj +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download lua - Download lua - Win32Proj - {45CD36EE-0AF3-4387-8790-4F11E928299D} - - - - Utility - MultiByte - v140 - - - Utility - MultiByte - v140 - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\lua\$(Configuration)\ - $(PlatformName)\lua\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading lua. - if not exist "$(SolutionDir)libs\lua-$(LuaVersion)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/lua-$(LuaVersion).tar.gz "$(SolutionDir)libs" - - $(SolutionDir)libs\lua-$(LuaVersion);%(Outputs) - Downloading lua. - if not exist "$(SolutionDir)libs\lua-$(LuaVersion)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/lua-$(LuaVersion).tar.gz "$(SolutionDir)libs" - - $(SolutionDir)libs\lua-$(LuaVersion);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/lua/lua.2015.vcxproj b/libs/win32/lua/lua.2015.vcxproj deleted file mode 100644 index ab57b9d995..0000000000 --- a/libs/win32/lua/lua.2015.vcxproj +++ /dev/null @@ -1,198 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - lua52 - lua55 - Win32Proj - {4F990563-6DFB-45C3-B083-1938C6D7FFA4} - - - - DynamicLibrary - MultiByte - v140 - - - DynamicLibrary - MultiByte - v140 - - - DynamicLibrary - MultiByte - v140 - - - DynamicLibrary - MultiByte - v140 - - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - - WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - 4127; 4505;%(DisableSpecificWarnings) - false - - - true - false - MachineX86 - - - - - X64 - - - WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - 4127; 4505;%(DisableSpecificWarnings) - false - - - true - false - MachineX64 - - - - - _CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL;%(PreprocessorDefinitions) - MultiThreadedDLL - 4127; 4505;%(DisableSpecificWarnings) - - - false - MachineX86 - - - - - X64 - - - _CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL;%(PreprocessorDefinitions) - MultiThreadedDLL - 4127; 4505;%(DisableSpecificWarnings) - - - false - MachineX64 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {45cd36ee-0af3-4387-8790-4f11e928299d} - - - - - - \ No newline at end of file diff --git a/src/mod/languages/mod_lua/mod_lua.2015.vcxproj b/src/mod/languages/mod_lua/mod_lua.2015.vcxproj index 51f8b4d921..ba4e217fb6 100644 --- a/src/mod/languages/mod_lua/mod_lua.2015.vcxproj +++ b/src/mod/languages/mod_lua/mod_lua.2015.vcxproj @@ -25,7 +25,7 @@ Win32Proj - + DynamicLibrary MultiByte @@ -155,10 +155,6 @@ {202d7a4e-760d-4d0e-afa1-d7459ced30ff} false - - {4F990563-6DFB-45C3-B083-1938C6D7FFA4} - false - diff --git a/w32/lua-version.props b/w32/lua-version.props index cb39a1bfb7..c01dae59b0 100644 --- a/w32/lua-version.props +++ b/w32/lua-version.props @@ -2,7 +2,7 @@ - 5.2.4 + 5.3.4 true diff --git a/w32/lua.props b/w32/lua.props index 7589e56174..72dc226000 100644 --- a/w32/lua.props +++ b/w32/lua.props @@ -2,14 +2,70 @@ + $(SolutionDir)libs\lua-$(LuaVersion) - $(LuaLibDir)\src + + + + + + + + + + + + + + + + + + + - $(LuaDir);%(AdditionalIncludeDirectories) + $(LuaLibDir)\include;%(AdditionalIncludeDirectories) + + $(LuaLibDir)\binaries\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories) + lua53.lib;%(AdditionalDependencies) + \ No newline at end of file