diff options
| -rw-r--r-- | autobuild.xml | 8 | ||||
| -rw-r--r-- | indra/cmake/Copy3rdPartyLibs.cmake | 59 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 14 | 
3 files changed, 42 insertions, 39 deletions
| diff --git a/autobuild.xml b/autobuild.xml index 3ab233a733..4ff79f17d2 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -2918,7 +2918,7 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>          <key>license</key>          <string>Mixed</string>          <key>license_file</key> -        <string>LICENSES/slvoice.txt</string> +        <string>LICENSES/vivox_licenses.txt</string>          <key>name</key>          <string>slvoice</string>          <key>platforms</key> @@ -2940,9 +2940,9 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>              <key>archive</key>              <map>                <key>hash</key> -              <string>fff83736e4dc4b22218cdd24aaada680</string> +              <string>44bc68dbfe3f4b77817e80cb32845bed</string>                <key>url</key> -              <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/40868/353426/slvoice-4.9.0002.32137.529403-darwin64-529403.tar.bz2</string> +              <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/42782/379901/slvoice-4.9.0002.32137.3410b595.530683-darwin64-530683.tar.bz2</string>              </map>              <key>name</key>              <string>darwin64</string> @@ -2997,7 +2997,7 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>            </map>          </map>          <key>version</key> -        <string>4.9.0002.32137.529403</string> +        <string>4.9.0002.32137.3410b595.530683</string>        </map>        <key>tut</key>        <map> diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index 808b4601fb..c73a1fdb47 100644 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -17,17 +17,16 @@ if(WINDOWS)      #*******************************      # VIVOX - *NOTE: no debug version -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files -        SLVoice.exe -        ) +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(slvoice_src_dir "${ARCH_PREBUILT_BIN_RELEASE}")     +    set(slvoice_files SLVoice.exe )      if (ADDRESS_SIZE EQUAL 64) -        list(APPEND vivox_files +        list(APPEND vivox_libs              vivoxsdk_x64.dll              ortp_x64.dll              )      else (ADDRESS_SIZE EQUAL 64) -        list(APPEND vivox_files +        list(APPEND vivox_libs              vivoxsdk.dll              ortp.dll              ) @@ -169,9 +168,9 @@ elseif(DARWIN)      set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO   "${SHARED_LIB_STAGING_DIR}/RelWithDebInfo/Resources")      set(SHARED_LIB_STAGING_DIR_RELEASE          "${SHARED_LIB_STAGING_DIR}/Release/Resources") -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files -        SLVoice +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(slvoice_files SLVoice) +    set(vivox_libs          libortp.dylib          libvivoxsdk.dylib         ) @@ -205,14 +204,15 @@ elseif(LINUX)      set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO   "${SHARED_LIB_STAGING_DIR}")      set(SHARED_LIB_STAGING_DIR_RELEASE          "${SHARED_LIB_STAGING_DIR}") -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(vivox_libs          libsndfile.so.1          libortp.so          libvivoxoal.so.1          libvivoxsdk.so -        SLVoice -       ) +        ) +    set(slvoice_files SLVoice) +      # *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables      # or ARCH_PREBUILT_DIRS      set(debug_src_dir "${ARCH_PREBUILT_DIRS_DEBUG}") @@ -249,8 +249,8 @@ elseif(LINUX)  else(WINDOWS)      message(STATUS "WARNING: unrecognized platform for staging 3rd party libs, skipping...") -    set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-linux") -    set(vivox_files "") +    set(vivox_lib_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-linux") +    set(vivox_libs "")      # *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables      # or ARCH_PREBUILT_DIRS      set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-linux/lib/debug") @@ -273,39 +273,36 @@ endif(WINDOWS)  ################################################################  copy_if_different( -    ${vivox_src_dir} +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_DEBUG}"      out_targets  -    ${vivox_files} +    ${vivox_libs}      )  set(third_party_targets ${third_party_targets} ${out_targets})  copy_if_different( -    ${vivox_src_dir} +    ${slvoice_src_dir} +    "${SHARED_LIB_STAGING_DIR_RELEASE}" +    out_targets +    ${slvoice_files} +    ) +copy_if_different( +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_RELEASE}"      out_targets -    ${vivox_files} +    ${vivox_libs}      ) +  set(third_party_targets ${third_party_targets} ${out_targets})  copy_if_different( -    ${vivox_src_dir} +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_RELWITHDEBINFO}"      out_targets -    ${vivox_files} +    ${vivox_libs}      )  set(third_party_targets ${third_party_targets} ${out_targets}) - - -#copy_if_different( -#    ${debug_src_dir} -#    "${SHARED_LIB_STAGING_DIR_DEBUG}" -#    out_targets -#    ${debug_files} -#    ) -#set(third_party_targets ${third_party_targets} ${out_targets}) -  copy_if_different(      ${release_src_dir}      "${SHARED_LIB_STAGING_DIR_RELEASE}" diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 8a38f3a742..c5cf237f63 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -534,8 +534,11 @@ class WindowsManifest(ViewerManifest):                  self.path("msvcr120.dll")                  self.path("msvcp120.dll") -            # Vivox runtimes -            self.path("SLVoice.exe") +            # SLVoice executable +            with self.prefix(src=os.path.join(pkgdir, 'bin', 'release')): +                self.path("SLVoice.exe") + +            # Vivox libraries              if (self.address_size == 64):                  self.path("vivoxsdk_x64.dll")                  self.path("ortp_x64.dll") @@ -1032,11 +1035,14 @@ class DarwinManifest(ViewerManifest):                                  ):                      dylibs += path_optional(os.path.join(relpkgdir, libfile), libfile) -                # SLVoice and vivox lols, no symlinks needed +                # SLVoice executable +                with self.prefix(src=os.path.join(pkgdir, 'bin', 'release')): +                    self.path("SLVoice.exe") + +                # Vivox libraries                  for libfile in (                                  'libortp.dylib',                                  'libvivoxsdk.dylib', -                                'SLVoice',                                  ):                      self.path2basename(relpkgdir, libfile) | 
