diff options
Diffstat (limited to 'build')
86 files changed, 0 insertions, 19661 deletions
diff --git a/build/__init__.py b/build/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 --- a/build/__init__.py +++ /dev/null diff --git a/build/appveyor/build_mixxx.bat b/build/appveyor/build_mixxx.bat deleted file mode 100644 index 25fab66409..0000000000 --- a/build/appveyor/build_mixxx.bat +++ /dev/null @@ -1,188 +0,0 @@ -@echo off -SETLOCAL ENABLEDELAYEDEXPANSION - -REM ================================== -REM Path setup and initial checks -REM ================================== - -IF "%ProgramW6432%" =="" ( -SET PROGRAMFILES_PATH=%ProgramFiles% -) else ( -REM doublequote the whole SET command prevents an error with parentheses -SET "PROGRAMFILES_PATH=%ProgramFiles(x86)%" -) - -rem ====== Edit to suit your environment ========= -SET VCVERSION=141 -SET PARAM_VCVARSVER=14.1 -SET "BUILDTOOLS_PATH=%PROGRAMFILES_PATH%\Microsoft Visual Studio\2017\BuildTools\VC" -SET BUILDTOOLS_SCRIPT=Auxiliary\Build\vcvarsall.bat - -IF EXIST "%BUILDTOOLS_PATH%" ( -echo Building with preconfigured path at: "%BUILDTOOLS_PATH%" -) ELSE ( -call :function_get_product -IF ERRORLEVEL 1 ( -echo. -echo Could not find "%BUILDTOOLS_PATH%" and the detection of product didn't work -echo Edit the %~nx0 file and/or install the required software -echo http://landinghub.visualstudio.com/visual-cpp-build-tools -echo https://www.microsoft.com/en-us/download/details.aspx?id=8279 -exit /b 1 -) -REM END NO PRODUCT -) -REM END EXIST BUILDTOOLS_PATH - -REM Check whether we have a 64-bit compiler available. -call :function_has_64bit -IF ERRORLEVEL 1 ( -echo Using 32-bit compiler. -SET COMPILER_X86=x86 -SET COMPILER_X64=x86_amd64 -) ELSE ( -echo Using 64-bit compiler. -SET COMPILER_X86=amd64_x86 -SET COMPILER_X64=amd64 -) - -REM ================================== -REM Parameter reading and variable setup -REM ================================== -REM ^ is the escape character. -if "%3" == "" ( - echo Missing parameters. Usage: ^(Note: keep same case and order^) - echo. - echo build_mixxx.bat x64^|x86 debug^|release^|release-fastbuild ^<winlib-path^> [skiptest] [skipinstaller] - echo. - echo skiptest means that we don't want to build and execute the mixxx-test. - echo skipinstaller means that we don't want to generate the installer after the build. - echo. - echo Example: build_mixxx.bat x64 release c:\mixxx\environments\2.3-j00013-x64-release-static-36f44bd2-minimal - exit /b 1 -) - -set MACHINE_X86="%1" == "x86" -if "%2" == "release" ( - set CONFIG_RELEASE=1==1 - set PARAM_OPTIMIZE=portable -) -if "%2" == "release-fastbuild" ( - set CONFIG_RELEASE=1==1 - set PARAM_OPTIMIZE=fastbuild -) -if "%2" == "debug" ( - set CONFIG_RELEASE=0==1 - set PARAM_OPTIMIZE=portable -) -if "%4" == "skiptest" ( - set PARAM_TEST=0 -) else ( - set PARAM_TEST=1 -) -if "%4" == "skipinstaller" ( - set PARAM_INSTALLER= -) else ( - if "%5" == "skipinstaller" ( - set PARAM_INSTALLER= - ) else ( - set PARAM_INSTALLER=makerelease - ) -) -set WINLIB_DIR=%3 - -SET BIN_DIR=%WINLIB_DIR%\bin -SET LIB_DIR=%WINLIB_DIR%\lib -SET INCLUDE_DIR=%WINLIB_DIR%\include -FOR /D %%G IN (%WINLIB_DIR%\Qt-*) DO SET QTDIR=%%G -IF "!QTDIR!" EQU "" ( -echo QT not found on %WINLIB_DIR% -exit /b 1 -) - - - -if NOT EXIST "%BIN_DIR%\scons.py" ( -echo. -echo You need to obtain and copy SCons to the folder: -echo %BIN_DIR% -exit /b 1 -) - -if NOT EXIST "%QTDIR%" ( -echo. -echo Could not find Qt %QT_VERSION% at "%QT_DIR%". -exit /b 1 -) - -REM Everything prepared. Setup the compiler. -if %MACHINE_X86% ( -call "%BUILDTOOLS_PATH%\%BUILDTOOLS_SCRIPT%" %COMPILER_X86% -vcvars_ver=%PARAM_VCVARSVER% -set MACHINE_TYPE=x86 -) else ( -call "%BUILDTOOLS_PATH%\%BUILDTOOLS_SCRIPT%" %COMPILER_X64% -vcvars_ver=%PARAM_VCVARSVER% -set MACHINE_TYPE=x86_64 -) - -if %CONFIG_RELEASE% ( -set BUILD_TYPE=release -) else ( -set BUILD_TYPE=debug -) - -rem /MP Use all CPU cores. -rem /FS force synchronous PDB writes (prevents PDB corruption with /MP) -rem /EHsc Do not handle SEH in try / except blocks. -set CXXFLAGS=/MP /FS /EHsc -set CFLAGS=/MP /FS /EHsc - -REM Now build Mixxx. -set PATH=%BIN_DIR%;%PATH% -scons.py %SCONS_NUMBER_PROCESSORS% mixxx %PARAM_INSTALLER% toolchain=msvs winlib=%WINLIB_DIR% build=%BUILD_TYPE% staticlibs=1 staticqt=1 debug_assertions_fatal=1 verbose=0 machine=%MACHINE_TYPE% qtdir=%QTDIR% hss1394=1 mediafoundation=1 opus=1 localecompare=1 optimize=%PARAM_OPTIMIZE% virtualize=0 test=%PARAM_TEST% qt_sqlite_plugin=0 build_number_in_title_bar=0 bundle_pdbs=0 - -IF ERRORLEVEL 1 ( -echo ============================== -echo. -echo Building Mixxx failed. -echo. -REM For debugging, print the configuration log. -REM echo Printing config.log: -REM type config.log -ENDLOCAL -exit /b 1 -) else ( -echo Mixxx built successfully -ENDLOCAL -) -EXIT /b 0 - -:function_get_product -FOR %%Y IN (2019,2017) DO ( - FOR %%P IN (Community,Professional,Enterprise) DO ( - SET "LOCAL_VS_PATH=%PROGRAMFILES_PATH%\Microsoft Visual Studio\%%Y\%%P\VC" - IF EXIST "!LOCAL_VS_PATH!" ( - SET "BUILDTOOLS_PATH=!LOCAL_VS_PATH!" - ECHO Using Visual Studio %%Y %%P at: !LOCAL_VS_PATH! - EXIT /B 0 - ) - ) - REM FOR - SET "LOCAL_BT_PATH=%PROGRAMFILES_PATH%\Microsoft Visual Studio\%%Y\BuildTools\VC" - IF EXIST "!LOCAL_BT_PATH!" ( - SET "BUILDTOOLS_PATH=!LOCAL_BT_PATH!" - ECHO Using BuildTools %%Y at: !LOCAL_BT_PATH! - EXIT /B 0 - ) - REM BT -) -REM FOR -EXIT /B 1 - -:function_has_64bit -FOR /F %%G IN ('dir "%BUILDTOOLS_PATH%\Tools\MSVC\%PARAM_VCVARSVER%*" /b /ad-h /o-n') DO ( - set "LOCAL_64_CL=%BUILDTOOLS_PATH%\Tools\MSVC\%%G\bin\Hostx64\x64\cl.exe" - if EXIST "!LOCAL_64_CL!" ( - EXIT /B 0 - ) -) -EXIT /B 1 diff --git a/build/certificates/README.md b/build/certificates/README.md deleted file mode 100644 index 7e171873c7..0000000000 --- a/build/certificates/README.md +++ /dev/null @@ -1,20 +0,0 @@ - -# Key Rotation - -# downloads-hostgator.mixxx.org - -SSH access is granted via an RSA key stored in `build/certificates/downloads-hostgator.mixxx.org.key`. - -To rotate this key, generate a new RSA key with a strong password (e.g. 32 character randomly generated). - -``` -ssh-keygen -t rsa -b 4096 -f downloads-hostgator.mixxx.org.key -``` - -Copy the **public** key to `$HOME/.ssh/authorized_keys`, replacing the old file to remove access for the current key. - -Encrypt the password using `travis encrypt` and update `.travis.yml`. - -``` -travis encrypt DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY_PASSWORD=hunter2 -r mixxxdj/mixxx -``` diff --git a/build/certificates/downloads-hostgator.mixxx.org.key b/build/certificates/downloads-hostgator.mixxx.org.key deleted file mode 100644 index 5bc5cc8f05..0000000000 --- a/build/certificates/downloads-hostgator.mixxx.org.key +++ /dev/null @@ -1,54 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: AES-128-CBC,4D25AED6ED1AD07B47186093278F7F27 - -/aFQab21BJ4OnILuHd/FoXQfURebSWX/LhKrukZLqE1TvkftwDVhjHHjxFmo1yp2 -oU8B4vx15os5QZa24KNGBsFVGd59scSEIZO8MTLk+T0hvF6huA7x3B6FGE7T9prJ -swKghpM9sn72IRRBF8XPmk2lPw1XwC2AcUMSp0kqPK96jxAdsbqroKfhVMWIuNEC -+kiuZjoJNkrfnwsKd3aIEtFq7x9tSuWztyxn8y8OnQuo8Vew97DOabuX97DEzpk/ -nsT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qtXcNNWgc+SNYGyS4PEAu46Fxao1mubKftw5H7RC6L3WzVHP -G50aU2ewrBox2a9IJLnaVXHe5dqiMaGbaMyZweCqZDzsIb6BfOot7+3T6NrbEZVC -57TpRDZOxAF1yaOSTO4yivsVB7PU3fPUq/YAoBIyhZt6zvi8MOhpjV7KQhwL4GZi -0v9WYGQSIYGGQ0uYzIiZ7bLloXwWIMmC4nJkpvPfVChsvVXIyy1zfNY3qrETckW8 -7jE6NzMGJ5EmK7p919J6L7+YE7E3anc+wUTJSlwrWz1K2eGIC8OmN1jyKdqZkfGj -/mE/eUFcwC5+whf7EwXaHCnd/u+e1B7lGfzPC551ovRDydGhGYT+CBNaZGqsLEnu -yq3qJCEBhbDV8kDaWgx/34ta/Vp6ZeASj7Qf6h/++645Q+yg6F/616isJrujBXO+ -qa0c99wM9rXNlyWcIAEPZ9ul0qfat4hA91Mv9LNzJd8mVSHGOpz5VEgFhix/3TKz -DSDLBpbDIyPWnPGZAo7tQg11kWCtQIgLTCB+zkfmYJklNmxKe6j3TnCC/0BjLgWF -LHHLykvZ5SxK2/m/tQwEDA7xfh1h8EqpmpIjAJVvjUbR3bu3cMrV+GRs0HuZk60I -gDM4fgUsM0JApSvgSrvJx3yMCDCqhN1VPjEwnXFHVsK39GQs6zvlCbsYjuifRzmR -AjOSGOWQfwbhDm+AdN6Zi8xi5VbYMlmaeYwYIrG00PmxxeAzqjVcAIn5Z04tCGJA ------END RSA PRIVATE KEY----- diff --git a/build/certificates/downloads-hostgator.mixxx.org.key.pub b/build/certificates/downloads-hostgator.mixxx.org.key.pub deleted file mode 100644 index 4f47da8738..0000000000 --- a/build/certificates/downloads-hostgator.mixxx.org.key.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDP1q+/ayZvi1NCqVZBmajI1TP2qAO1H5pNLx80z/qfNkFMWspgrT3//xaItMfhyIjAycQfDBYOatxFCNST5y12Pjm8H1SF74dHLIVhBdAGfb7JtOt4vAqxeJp7E7T3gn7ZmcNCJnnVPnX0Wl4NRNvS/sE7Q5a/UUNOJGWyvKfrfvuvp91J+XQqhB6shUkmGmchL5ISHbq1i6EbH3ZyRqmPQSAROJ9yyQIVBuCuSisgl3teOnqDxibFP8yMOJhysw3VA8U29ERP8gtvSjcTfDJXeiMM6y6Ty4SrYJe3KUU2OQI3u4W31KREUGj9zH9SBcfh/EvUjw/bw/OSgKxsCaJIeH8bOnFz037ipgGCTbYcdvhEKIJRFqy0/kjm7hf4rWITNJ9Wvkn83MAhvEeOVPoV6cajQZd/0r54Fg8/6/mhp7J5yBBNjKNRYDW5wDpYPjwRvxVEIYS5QD1wwUHmRF1qy1YiAJK37YmoWr4Fd8fWNF5g+ozhCacaxIMcWjKneStwCsjxIG4mTBEnJAIt6mFptoX0ewA8ozgw7POBNLSW469LiGDZOf9GTBL6YsGyaV2WzWjSIFYn2dqL+TfSaKNqDBFoHLJ2SZ+Utp5a63NCaLAY5TbGUbzAMmq8j4qrJa1wu6y7GUKiYs5BByik+j9szW0/i28FkQjnZYMPtTSJ/w== mixxx@downloads-hostgator.mixxx.org diff --git a/build/certificates/windows_sectigo_codesign_certificate.pfx.enc b/build/certificates/windows_sectigo_codesign_certificate.pfx.enc Binary files differdeleted file mode 100644 index 732161ec5a..0000000000 --- a/build/certificates/windows_sectigo_codesign_certificate.pfx.enc +++ /dev/null diff --git a/build/compile_commands.py b/build/compile_commands.py deleted file mode 100644 index 7d393e8efc..0000000000 --- a/build/compile_commands.py +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 2015 MongoDB Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import json -import SCons -import itertools - -# Implements the ability for SCons to emit a compilation database for the MongoDB project. See -# http://clang.llvm.org/docs/JSONCompilationDatabase.html for details on what a compilation -# database is, and why you might want one. The only user visible entry point here is -# 'env.CompilationDatabase'. This method takes an optional 'target' to name the file that -# should hold the compilation database, otherwise, the file defaults to compile_commands.json, -# which is the name that most clang tools search for by default. - -# TODO: Is there a better way to do this than this global? Right now this exists so that the -# emitter we add can record all of the things it emits, so that the scanner for the top level -# compilation database can access the complete list, and also so that the writer has easy -# access to write all of the files. But it seems clunky. How can the emitter and the scanner -# communicate more gracefully? -__COMPILATION_DB_ENTRIES=[] - -# Cribbed from Tool/cc.py and Tool/c++.py. It would be better if -# we could obtain this from SCons. -_CSuffixes = ['.c'] -if not SCons.Util.case_sensitive_suffixes('.c', '.C'): - _CSuffixes.append('.C') - -_CXXSuffixes = ['.cpp', '.cc', '.cxx', '.c++', '.C++'] -if SCons.Util.case_sensitive_suffixes('.c', '.C'): - _CXXSuffixes.append('.C') - -# We make no effort to avoid rebuilding the entries. Someday, perhaps we could and even -# integrate with the cache, but there doesn't seem to be much call for it. -class __CompilationDbNode(SCons.Node.Python.Value): - def __init__(self, value): - SCons.Node.Python.Value.__init__(self, value) - self.Decider(changed_since_last_build_node) - - -def changed_since_last_build_node(node, target, prev_ni, repo_node=None): - """ Dummy decider to force always building""" - return True - - -def makeEmitCompilationDbEntry(comstr): - """ - Effectively this creates a lambda function to capture: - * command line - * source - * target - :param comstr: unevaluated command line - :return: an emitter which has captured the above - """ - user_action = SCons.Action.Action(comstr) - |