diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2015-01-07 19:45:51 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2015-01-07 19:45:51 -0500 | 
| commit | 27951fa1d40abd8cca679f3192264472469e9364 (patch) | |
| tree | e429bf04090fa9f79a11b86d05312e12bcecb1ac | |
| parent | 8ec4e83d5d9535de3b109728cc5e810770d4a749 (diff) | |
First cut at consuming new slplugins autobuild package.
The contents are extracted, but not yet built into the viewer installer.
| -rwxr-xr-x | autobuild.xml | 32 | ||||
| -rwxr-xr-x | indra/cmake/CMakeLists.txt | 14 | ||||
| -rwxr-xr-x | indra/cmake/Linking.cmake | 2 | ||||
| -rwxr-xr-x | indra/llplugin/CMakeLists.txt | 2 | ||||
| -rwxr-xr-x | indra/newview/CMakeLists.txt | 29 | 
5 files changed, 59 insertions, 20 deletions
| diff --git a/autobuild.xml b/autobuild.xml index 4306d21eb5..97211eb45e 100755 --- a/autobuild.xml +++ b/autobuild.xml @@ -2063,6 +2063,38 @@          <key>version</key>          <string>7.3</string>        </map> +      <key>slplugins</key> +      <map> +        <key>copyright</key> +        <string>Second Life Viewer Source Code - Copyright (C) 2010, Linden Research, Inc.</string> +        <key>description</key> +        <string>Second Life Viewer Plugins and launcher</string> +        <key>license</key> +        <string>LGPL</string> +        <key>license_file</key> +        <string>LICENSES/slplugins-license.txt</string> +        <key>name</key> +        <string>slplugins</string> +        <key>platforms</key> +        <map> +          <key>windows</key> +          <map> +            <key>archive</key> +            <map> +              <key>hash</key> +              <string>55358f8aca309a73f828929cc4b1b0d2</string> +              <key>hash_algorithm</key> +              <string>md5</string> +              <key>url</key> +              <string>http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/slplugins_3p-update-slplugins/rev/297645/arch/CYGWIN/installer/slplugins-3.7.22.297128.297645-windows-297645.tar.bz2</string> +            </map> +            <key>name</key> +            <string>windows</string> +          </map> +        </map> +        <key>version</key> +        <string>3.7.22.297128.297645</string> +      </map>        <key>slvoice</key>        <map>          <key>copyright</key> diff --git a/indra/cmake/CMakeLists.txt b/indra/cmake/CMakeLists.txt index 10a23ea068..4d98e73092 100755 --- a/indra/cmake/CMakeLists.txt +++ b/indra/cmake/CMakeLists.txt @@ -23,7 +23,7 @@ set(cmake_SOURCE_FILES      DirectX.cmake      DragDrop.cmake      EXPAT.cmake -    ExamplePlugin.cmake +##  ExamplePlugin.cmake      FindAPR.cmake      FindAutobuild.cmake      FindBerkeleyDB.cmake @@ -44,9 +44,9 @@ set(cmake_SOURCE_FILES      GLEXT.cmake      GLH.cmake      GLOD.cmake -    GStreamer010Plugin.cmake +##  GStreamer010Plugin.cmake      GetPrerequisites_2_8.cmake -    Glui.cmake +##  Glui.cmake      Glut.cmake      GoogleBreakpad.cmake      GoogleMock.cmake @@ -81,18 +81,18 @@ set(cmake_SOURCE_FILES      LLXML.cmake      LScript.cmake      Linking.cmake -    MediaPluginBase.cmake +##  MediaPluginBase.cmake      NDOF.cmake      OPENAL.cmake      OpenGL.cmake      OpenJPEG.cmake      OpenSSL.cmake      PNG.cmake -    PluginAPI.cmake +##  PluginAPI.cmake      Prebuilt.cmake      PulseAudio.cmake      Python.cmake -    QuickTimePlugin.cmake +##  QuickTimePlugin.cmake      TemplateCheck.cmake      Tut.cmake      UI.cmake @@ -100,7 +100,7 @@ set(cmake_SOURCE_FILES      Variables.cmake      ViewerMiscLibs.cmake      VisualLeakDetector.cmake -    WebKitLibPlugin.cmake +##  WebKitLibPlugin.cmake      XmlRpcEpi.cmake      ZLIB.cmake      ) diff --git a/indra/cmake/Linking.cmake b/indra/cmake/Linking.cmake index 74fe3f1137..c95f0c3702 100755 --- a/indra/cmake/Linking.cmake +++ b/indra/cmake/Linking.cmake @@ -6,7 +6,7 @@ set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")  include(Variables)  set(ARCH_PREBUILT_DIRS ${AUTOBUILD_INSTALL_DIR}/lib) -set(ARCH_PREBUILT_DIRS_PLUGINS ${AUTOBUILD_INSTALL_DIR}/plugins) +##set(ARCH_PREBUILT_DIRS_PLUGINS ${AUTOBUILD_INSTALL_DIR}/plugins)  set(ARCH_PREBUILT_DIRS_RELEASE ${AUTOBUILD_INSTALL_DIR}/lib/release)  set(ARCH_PREBUILT_DIRS_DEBUG ${AUTOBUILD_INSTALL_DIR}/lib/debug)  if (WINDOWS) diff --git a/indra/llplugin/CMakeLists.txt b/indra/llplugin/CMakeLists.txt index 75d89aac78..05fc12e338 100755 --- a/indra/llplugin/CMakeLists.txt +++ b/indra/llplugin/CMakeLists.txt @@ -68,7 +68,7 @@ list(APPEND llplugin_SOURCE_FILES ${llplugin_HEADER_FILES})  add_library (llplugin ${llplugin_SOURCE_FILES}) -add_subdirectory(slplugin) +##add_subdirectory(slplugin)  # Add tests  if (LL_TESTS) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 1569061eba..8649386f76 100755 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -44,6 +44,7 @@ include(OPENAL)  include(OpenGL)  include(OpenSSL)  include(PNG) +include(Prebuilt)  include(TemplateCheck)  include(UI)  include(UnixInstall) @@ -60,6 +61,9 @@ if(FMODEX)    include_directories(${FMODEX_INCLUDE_DIR})  endif(FMODEX) +# install SLPlugin host executable and its dynamic-library plugins +use_prebuilt_binary(slplugins) +  include_directories(      ${DBUSGLIB_INCLUDE_DIRS}      ${JSONCPP_INCLUDE_DIR} @@ -1816,10 +1820,10 @@ if (WINDOWS)        add_dependencies(${VIEWER_BINARY_NAME} copy_win_scripts)      endif (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) -    add_dependencies(${VIEWER_BINARY_NAME} -      SLPlugin -      windows-crash-logger -      ) +##  add_dependencies(${VIEWER_BINARY_NAME} +##    SLPlugin +##    windows-crash-logger +##    )      # sets the 'working directory' for debugging from visual studio.      if (NOT UNATTENDED) @@ -2099,7 +2103,8 @@ if (DARWIN)        ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py      ) -  add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit mac-crash-logger) +##add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit mac-crash-logger) +  add_dependencies(${VIEWER_BINARY_NAME} mac-crash-logger)    if (ENABLE_SIGNING)        set(SIGNING_SETTING "--signature=${SIGNING_IDENTITY}") @@ -2153,19 +2158,21 @@ if (PACKAGE)    if (DARWIN)      list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}")      # *TODO: Generate these search dirs in the cmake files related to each binary. -    list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/llplugin/slplugin/${CMAKE_CFG_INTDIR}") +##  list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/llplugin/slplugin/${CMAKE_CFG_INTDIR}")      list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/mac_crash_logger/${CMAKE_CFG_INTDIR}") -    list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/gstreamer010/${CMAKE_CFG_INTDIR}") -    list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/quicktime/${CMAKE_CFG_INTDIR}") -    list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/webkit/${CMAKE_CFG_INTDIR}") +##  list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/gstreamer010/${CMAKE_CFG_INTDIR}") +##  list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/quicktime/${CMAKE_CFG_INTDIR}") +##  list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_BINARY_DIR}/media_plugins/webkit/${CMAKE_CFG_INTDIR}")      set(VIEWER_SYMBOL_FILE "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/secondlife-symbols-darwin.tar.bz2") -    set(VIEWER_EXE_GLOBS "'Second Life' SLPlugin mac-crash-logger") +##  set(VIEWER_EXE_GLOBS "'Second Life' SLPlugin mac-crash-logger") +    set(VIEWER_EXE_GLOBS "'Second Life' mac-crash-logger")      set(VIEWER_LIB_GLOB "*.dylib")    endif (DARWIN)    if (LINUX)      list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_CURRENT_BINARY_DIR}/packaged")      set(VIEWER_SYMBOL_FILE "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/secondlife-symbols-linux.tar.bz2") -    set(VIEWER_EXE_GLOBS "do-not-directly-run-secondlife-bin SLPlugin") +##  set(VIEWER_EXE_GLOBS "do-not-directly-run-secondlife-bin SLPlugin") +    set(VIEWER_EXE_GLOBS "do-not-directly-run-secondlife-bin")      set(VIEWER_LIB_GLOB "*${CMAKE_SHARED_MODULE_SUFFIX}*")      set(VIEWER_COPY_MANIFEST copy_l_viewer_manifest)    endif (LINUX) | 
