cefbuilds: Linux: Include cefsimple instead of cefclient in client distribution (issue #1916).

cefbuilds: Fix CEF source URL.
This commit is contained in:
Marshall Greenblatt 2016-06-06 18:03:15 -04:00
parent 733ff6ffff
commit 754638846e
2 changed files with 8 additions and 7 deletions

View File

@ -150,7 +150,7 @@ class cef_html_builder:
@staticmethod @staticmethod
def _get_cef_source_url(cef_version): def _get_cef_source_url(cef_version):
branch = cef_version.split('.')[2] branch = cef_version.split('.')[1]
return 'https://bitbucket.org/chromiumembedded/cef/get/%s.tar.bz2' % branch return 'https://bitbucket.org/chromiumembedded/cef/get/%s.tar.bz2' % branch
@staticmethod @staticmethod
@ -169,10 +169,14 @@ class cef_html_builder:
@staticmethod @staticmethod
def _get_tooltip_text(platform, cef_version, file): def _get_tooltip_text(platform, cef_version, file):
if platform == 'linux32' or platform == 'linux64':
sample_app = 'cefsimple'
else:
sample_app = 'cefclient'
return { return {
'standard': 'Standard binary distribution. Includes header files, libcef_dll_wrapper source code, binary files, CMake configuration files and source code for the cefclient and cefsimple sample applications. See the included README.txt file for usage and build requirements.', 'standard': 'Standard binary distribution. Includes header files, libcef_dll_wrapper source code, binary files, CMake configuration files and source code for the cefclient and cefsimple sample applications. See the included README.txt file for usage and build requirements.',
'minimal': 'Minimal binary distribution. Includes header files, libcef_dll_wrapper source code, Release build binary files and CMake configuration files. Does not include Debug build binary files or sample application source code. See the included README.txt file for usage and build requirements.', 'minimal': 'Minimal binary distribution. Includes header files, libcef_dll_wrapper source code, Release build binary files and CMake configuration files. Does not include Debug build binary files or sample application source code. See the included README.txt file for usage and build requirements.',
'client': 'Release build of the cefclient sample application. See the included README.txt file for usage requirements.', 'client': 'Release build of the ' + sample_app + ' sample application. See the included README.txt file for usage requirements.',
'debug_symbols': 'Debug build symbols. Must be extracted and placed next to the CEF Debug binary file with the same name and version.', 'debug_symbols': 'Debug build symbols. Must be extracted and placed next to the CEF Debug binary file with the same name and version.',
'release_symbols': 'Release build symbols. Must be extracted and placed next to the CEF Release binary file with the same name and version.' 'release_symbols': 'Release build symbols. Must be extracted and placed next to the CEF Release binary file with the same name and version.'
}[file['type']] }[file['type']]

View File

@ -44,12 +44,9 @@ def make_fake_file_info(platform, version, type):
def create_fake_files(platform, version): def create_fake_files(platform, version):
files = [] files = []
# All platforms create standard and minimal distributions. # All platforms create standard, minimal and client distributions.
files.append(make_fake_file_info(platform, version, 'standard')) files.append(make_fake_file_info(platform, version, 'standard'))
files.append(make_fake_file_info(platform, version, 'minimal')) files.append(make_fake_file_info(platform, version, 'minimal'))
# Non-Linux platforms create client distributions.
if platform.find('linux') == -1:
files.append(make_fake_file_info(platform, version, 'client')) files.append(make_fake_file_info(platform, version, 'client'))
# Windows platforms create debug symbols. # Windows platforms create debug symbols.