├── .coveragerc ├── .gitattributes ├── .github └── workflows │ ├── docker-builds.yml │ ├── python-sonar.yml │ ├── python.yml │ └── release.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .prospector └── aswfdocker.yaml ├── CHANGELOG.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── ci-base ├── Dockerfile ├── README.md └── image.yaml ├── ci-baseqt ├── Dockerfile ├── README.md └── image.yaml ├── ci-common ├── Dockerfile ├── README.md └── image.yaml ├── ci-materialx ├── Dockerfile ├── README.md └── image.yaml ├── ci-ocio ├── Dockerfile ├── README.md └── image.yaml ├── ci-oiio ├── Dockerfile ├── README.md └── image.yaml ├── ci-opencue ├── Dockerfile ├── README.md └── image.yaml ├── ci-openexr ├── Dockerfile ├── README.md └── image.yaml ├── ci-openrv ├── Dockerfile ├── README.md └── image.yaml ├── ci-openvdb ├── Dockerfile ├── README.md └── image.yaml ├── ci-osl ├── Dockerfile ├── README.md └── image.yaml ├── ci-otio ├── Dockerfile ├── README.md └── image.yaml ├── ci-usd ├── Dockerfile ├── README.md └── image.yaml ├── ci-vfxall ├── Dockerfile ├── README.md └── image.yaml ├── mypy.ini ├── packages ├── base1 │ └── Dockerfile ├── base2 │ └── Dockerfile ├── base3 │ └── Dockerfile ├── common │ └── Dockerfile ├── conan │ ├── .gitignore │ ├── data │ │ └── .empty │ ├── recipes │ │ ├── LICENSE │ │ ├── README.md │ │ ├── alembic │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.8.2-0001-fix-cmake.patch │ │ │ │ ├── 1.8.5-0001-fix-cmake.patch │ │ │ │ └── 1.8.8-0001-fix-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── b2 │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ └── conanfile.py │ │ ├── blosc │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── cmake-dependencies-1.21.4+.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── boost │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── dependencies │ │ │ │ ├── dependencies-1.78.yml │ │ │ │ ├── dependencies-1.79.yml │ │ │ │ ├── dependencies-1.80.0.yml │ │ │ │ ├── dependencies-1.81.0.yml │ │ │ │ ├── dependencies-1.82.0.yml │ │ │ │ ├── dependencies-1.83.0.yml │ │ │ │ ├── dependencies-1.84.0.yml │ │ │ │ ├── dependencies-1.85.0.yml │ │ │ │ └── dependencies-1.86.0.yml │ │ │ ├── patches │ │ │ │ ├── 1.82.0-locale-iconv-library-option.patch │ │ │ │ └── 1.85.0-container-aliasing-violation-fix.patch │ │ │ ├── rebuild-dependencies.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── chrono.cpp │ │ │ │ ├── conanfile.py │ │ │ │ ├── coroutine.cpp │ │ │ │ ├── fiber.cpp │ │ │ │ ├── json.cpp │ │ │ │ ├── lambda.cpp │ │ │ │ ├── locale.cpp │ │ │ │ ├── nowide.cpp │ │ │ │ ├── numpy.cpp │ │ │ │ ├── process.cpp │ │ │ │ ├── python.cpp │ │ │ │ ├── python.py │ │ │ │ ├── random.cpp │ │ │ │ ├── regex.cpp │ │ │ │ ├── stacktrace.cpp │ │ │ │ ├── test.cpp │ │ │ │ └── url.cpp │ │ ├── brotli │ │ │ └── conanfile.py │ │ ├── bzip2 │ │ │ ├── CMakeLists.txt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── 0001-fix-sys-stat-include.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── clang │ │ │ ├── CMakeLists.txt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── dummy.diff │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── test_function.ll │ │ │ │ └── test_package.cpp │ │ ├── cmake │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ └── conanfile.py │ │ ├── cppunit │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── conanfile.py_NEW │ │ │ ├── conanfile.py_OLD │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── cpython │ │ │ ├── PythonConfig.cmake │ │ │ ├── PythonConfigVersion.cmake │ │ │ ├── Python_DevelopmentTargets.cmake │ │ │ ├── Python_InterpreterTargets.cmake │ │ │ ├── Python_Macros.cmake │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 3.10 │ │ │ │ │ └── 3.10.0-0003-_ctypes-ffi.patch │ │ │ │ ├── 3.11 │ │ │ │ │ └── 3.11.7-0001-_ctypes-ffi.patch │ │ │ │ ├── 3.12 │ │ │ │ │ ├── 3.12.1-0001-_ctypes-ffi.patch │ │ │ │ │ └── 3.12.1-0002-remove-module-deps.patch │ │ │ │ ├── 3.8 │ │ │ │ │ └── 3.8.12-0002-_ctypes-ffi.patch │ │ │ │ ├── 3.9 │ │ │ │ │ ├── 3.9.7-0002-_msi-vcxproj.patch │ │ │ │ │ └── 3.9.7-0003-_ctypes-ffi.patch │ │ │ │ ├── 3.x-0001-relocatable-python-config.patch │ │ │ │ └── 3.x-0002-remove-module-deps.patch │ │ │ ├── run-with-system-python │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── setup.py │ │ │ │ ├── test_module.c │ │ │ │ ├── test_package.c │ │ │ │ └── test_package.py │ │ ├── dbus │ │ │ └── conanfile.py │ │ ├── double-conversion │ │ │ └── conanfile.py │ │ ├── expat │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── 0001-2.3.0-relax-vs-restriction.patch │ │ │ ├── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ │ ├── test_package_module │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ │ ├── test_v1_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ │ └── test_v1_package_module │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ ├── fmt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── fix-install-5.3.0.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── test_package.cpp │ │ │ │ └── test_ranges.cpp │ │ ├── fontconfig │ │ │ └── conanfile.py │ │ ├── freetype │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── OpenSans-Bold.ttf │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ │ └── test_package_module │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ ├── gdbm │ │ │ └── conanfile.py │ │ ├── giflib │ │ │ └── conanfile.py │ │ ├── glew │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0001-fix-cmake-2.1.0.patch │ │ │ │ ├── 0001-fix-cmake-2.2.0.patch │ │ │ │ └── 0002-vs16-release-fix.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── glfw │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 3.3.2-0001-fix-objc-cmake3.19+.patch │ │ │ │ ├── 3.3.2-0002-macos-relocatable.patch │ │ │ │ ├── 3.3.2-0003-Wayland-Remove-extra-cmake-modules-dependency.patch │ │ │ │ ├── 3.3.3-0001-Wayland-Remove-extra-cmake-modules-dependency.patch │ │ │ │ └── 3.3.5-0001-Wayland-Remove-extra-cmake-modules-dependency.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── glib │ │ │ └── conanfile.py │ │ ├── gtest │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── gtest-1.10.0-override.patch │ │ │ │ ├── gtest-1.10.0.patch │ │ │ │ └── gtest-1.8.1.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── main.cpp │ │ │ │ └── test_package.cpp │ │ ├── highway │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── 1.2.0-0001-fix-dllexport.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── icu │ │ │ └── conanfile.py │ │ ├── imath │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── 3.1.10-gcc5-backport.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── lcms │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── patches │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libalsa │ │ │ └── conanfile.py │ │ ├── libaom-av1 │ │ │ └── conanfile.py │ │ ├── libbacktrace │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0001-pointer-arithmetic.patch │ │ │ │ ├── 0002-msvc-unistd-alternative.patch │ │ │ │ └── cci.20240719-0001-pointer-arithmetic.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libdeflate │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_packagec │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libdrm │ │ │ └── conanfile.py │ │ ├── libffi │ │ │ └── conanfile.py │ │ ├── libiconv │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── 0001-libcharset-fix-linkage.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libjpeg-turbo │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ │ └── test_package_module │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ ├── libjxl │ │ │ ├── conan_deps.cmake │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libmp3lame │ │ │ └── conanfile.py │ │ ├── libpng │ │ │ └── conanfile.py │ │ ├── libsndfile │ │ │ └── conanfile.py │ │ ├── libsquish │ │ │ └── conanfile.py │ │ ├── libsvtav1 │ │ │ └── conanfile.py │ │ ├── libtiff │ │ │ └── conanfile.py │ │ ├── libuhdr │ │ │ ├── conandata.yml │ │ │ └── conanfile.py │ │ ├── libvpx │ │ │ └── conanfile.py │ │ ├── libwebp │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.1.0-0001-fix-dll-export.patch │ │ │ │ ├── 1.1.0-0002-qnx.patch │ │ │ │ ├── 1.1.0-0003-build-libwebpmux.patch │ │ │ │ ├── 1.3.1-0001-fix-cmake.patch │ │ │ │ ├── 1.4.0-0001-fix-cmake.patch │ │ │ │ └── 1.5.0-0001-fix-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libxcrypt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── libxshmfence │ │ │ └── conanfile.py │ │ ├── log4cplus │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.2.2-0001-fix-cmake.patch │ │ │ │ ├── 2.0.6-0001-fix-cmake,patch │ │ │ │ └── 2.1.2-0001-fix-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── test_package.cpp │ │ │ │ └── test_package_v1.cpp │ │ ├── lz4 │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0003-cmake-minimum-required-first-1.9.3.patch │ │ │ │ └── 0004-Added-namespace-declaration-for-xxhash-in-CMake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── lib.c │ │ │ │ └── test_package.c │ │ ├── materialx │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.39.3-cmake-libraries.patch │ │ │ │ └── pybind11-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── md4c │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0.4.8-0001-honor-vc-runtime.patch │ │ │ │ ├── 0.5.1-0001-honor-vc-runtime.patch │ │ │ │ └── 0.5.2-0001-honor-vc-runtime.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── minizip-ng │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 3.0.10-0001-fix-cmake-project.patch │ │ │ │ ├── 3.0.10-0001-mz-path-remove-slash.patch │ │ │ │ ├── 3.0.6-0002-fix-lzma-libdir.patch │ │ │ │ ├── 3.0.7-0001-fix-cmake-project.patch │ │ │ │ ├── 3.0.8-0001-fix-cmake-project.patch │ │ │ │ └── 3.0.9-0001-fix-cmake-project.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── mpdecimal │ │ │ └── conanfile.py │ │ ├── mpg123 │ │ │ └── conanfile.py │ │ ├── nasm │ │ │ └── conanfile.py │ │ ├── ninja │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── add_install_target_to_cmake_build.patch │ │ │ │ ├── add_subproject_support.patch │ │ │ │ ├── build_testing_option.patch │ │ │ │ └── build_testing_option_1.10.1.patch │ │ │ └── test_package │ │ │ │ └── conanfile.py │ │ ├── nspr │ │ │ └── conanfile.py │ │ ├── nss │ │ │ └── conanfile.py │ │ ├── ocio │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.1.1-fix-cmake.patch │ │ │ │ ├── 2.1.0-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ ├── 2.1.0-0002-fix-pystring.patch │ │ │ │ ├── 2.1.0-0003-strlen.patch │ │ │ │ ├── 2.1.0-0004-fix-cpp-version-check.patch │ │ │ │ ├── 2.2.1-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ ├── 2.2.1-0002-fix-pystring.patch │ │ │ │ ├── 2.2.1-0003-strlen.patch │ │ │ │ ├── 2.3.1-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ ├── 2.4.0-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ ├── 2.4.1-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ ├── 2.4.2-0001-fix-cmake-source-dir-and-targets.patch │ │ │ │ └── 2.4.2-0002-cmake-deps-for-shared-libs.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── ogg │ │ │ └── conanfile.py │ │ ├── oiio │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 2.4.17.0-cmake-targets.patch │ │ │ │ ├── 2.4.7.1-cmake-targets.patch │ │ │ │ ├── 2.4.7.1-fix-msvc2017.patch │ │ │ │ ├── 2.5.14.0-cmake-targets.patch │ │ │ │ ├── 2.5.17.0-cmake-targets.patch │ │ │ │ ├── 3.0.4.0-cmake-fmt.patch │ │ │ │ ├── 3.0.4.0-imath-includes.txt │ │ │ │ ├── 3.0.5.0-cmake-fmt.patch │ │ │ │ ├── 3.0.5.0-imath-includes.txt │ │ │ │ ├── 3.0.6.1-cmake-fmt.patch │ │ │ │ └── 3.0.6.1-imath-includes.txt │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── onetbb │ │ │ ├── 2020.x │ │ │ │ ├── conandata.yml │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── conanfile.py │ │ │ │ │ └── test_package.cpp │ │ │ ├── all │ │ │ │ ├── conandata.yml │ │ │ │ ├── conanfile.py │ │ │ │ ├── patches │ │ │ │ │ ├── android-ndk25.patch │ │ │ │ │ ├── fix-overeager-stripping-of-compile-flag.diff │ │ │ │ │ ├── onetbb-wait-namespace.patch │ │ │ │ │ └── pkg-search-module-use-imported-target.diff │ │ │ │ └── test_package │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── conanfile.py │ │ │ │ │ └── test_package.cpp │ │ │ └── config.yml │ │ ├── openal-soft │ │ │ └── conanfile.py │ │ ├── openexr │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 3.1.4-gcc5-bug-workaround.patch │ │ │ │ ├── 3.2.1-find-libdeflate.patch │ │ │ │ └── 3.2.1-gcc5-bug-workaround.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── opengl │ │ │ ├── conanfile.py │ │ │ ├── test_cmake_module_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── osx.mm │ │ │ │ ├── test_package.cpp │ │ │ │ └── win.cpp │ │ ├── openjpeg │ │ │ └── conanfile.py │ │ ├── openssl │ │ │ └── conanfile.py │ │ ├── opensubdiv │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 3.4.4-0001-cmake-minimum-required.patch │ │ │ │ ├── 3.4.4-0002-cmake-no-rpath.patch │ │ │ │ ├── 3.6.0-0002-cmake-no-rpath.patch │ │ │ │ ├── cmake-no-versions.diff │ │ │ │ └── cmake-ptex-lib64.diff │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── opus │ │ │ └── conanfile.py │ │ ├── partio │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── patches │ │ │ │ ├── cmake-find-python.diff │ │ │ │ └── cmake-python-version.diff │ │ ├── pcre2 │ │ │ └── conanfile.py │ │ ├── ptex │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 2.4.0-0001-fix-cmake.patch │ │ │ │ └── 2.4.2-0001-fix-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── pugixml │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── pulseaudio │ │ │ └── conanfile.py │ │ ├── pybind11 │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ └── no-python-module.diff │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── test.py │ │ │ │ └── test_package.cpp │ │ ├── pyside │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 28958df.diff │ │ │ │ ├── 9ae6382.diff │ │ │ │ ├── clang_in_lib64.diff │ │ │ │ ├── libpython_in_lib64.diff │ │ │ │ ├── pyside_in_lib64.diff │ │ │ │ ├── pyside_pysidesignal.diff │ │ │ │ ├── shiboken_in_lib64.diff │ │ │ │ ├── shiboken_numpy_1_23.diff │ │ │ │ └── shiboken_sbkcontainer.diff │ │ │ └── test_package_DISABLED │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common.py │ │ │ │ ├── conanfile.py │ │ │ │ ├── test_pyside.cpp │ │ │ │ ├── test_qt_core.py │ │ │ │ ├── test_uic.py │ │ │ │ └── test_version.py │ │ ├── pystring │ │ │ ├── CMakeLists.txt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── qt │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0001-CVE-2023-51714-qtbase-6.5.diff │ │ │ │ ├── 0001-ninja-1.12-build.diff │ │ │ │ ├── 0002-CVE-2023-51714-qtbase-6.5.diff │ │ │ │ ├── 32fa63f_6.5.0.patch │ │ │ │ ├── CVE-2024-25580-qtbase-6.5.diff │ │ │ │ ├── CVE-2024-30161-qtbase-6.5.diff │ │ │ │ ├── CVE-2024-36048-qtnetworkauth-6.5.diff │ │ │ │ ├── QTBUG-59769.diff │ │ │ │ ├── QTBUG-88625.diff │ │ │ │ ├── aa2a39dea5.diff │ │ │ │ ├── c72097e.diff │ │ │ │ ├── fix-long-path-on-windows_6.5.3.patch │ │ │ │ ├── fix-long-path-on-windows_6.5.4.patch │ │ │ │ ├── fix-macdeployqt.diff │ │ │ │ ├── python-markdown-importlib.diff │ │ │ │ ├── qt-everywhere-opensource-src-5.15.9-kf5-1.diff │ │ │ │ ├── qtbase-core-cmake.diff │ │ │ │ ├── qtbase-core-cmake_6.5.4.diff │ │ │ │ ├── qtbase-system-harfbuzz.diff │ │ │ │ ├── qtsan_impl.diff │ │ │ │ └── spellcheck_buildflags.diff │ │ │ ├── qtmodules5.12.6.conf │ │ │ ├── qtmodules5.15.2.conf │ │ │ ├── qtmodules5.15.9.conf │ │ │ ├── qtmodules6.5.3.conf │ │ │ ├── qtmodules6.5.4.conf │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── example.qrc │ │ │ │ ├── greeter.h │ │ │ │ ├── resource.txt │ │ │ │ ├── test_macosbundle.cpp │ │ │ │ └── test_package.cpp │ │ ├── snappy │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.1.10-0001-fix-inlining-failure.patch │ │ │ │ ├── 1.1.10-0003-fix-clobber-list-older-llvm.patch │ │ │ │ ├── 1.1.9-0001-fix-inlining-failure.patch │ │ │ │ ├── 1.1.9-0002-no-Werror.patch │ │ │ │ ├── 1.1.9-0003-fix-clobber-list-older-llvm.patch │ │ │ │ ├── 1.1.9-0004-rtti-by-default.patch │ │ │ │ ├── 1.2.0-0003-fix-clobber-list-older-llvm.patch │ │ │ │ └── 1.2.0-0004-rtti-by-default.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ ├── test_package.c │ │ │ │ └── test_package.cpp │ │ ├── sqlite3 │ │ │ └── conanfile.py │ │ ├── tcl │ │ │ └── conanfile.py │ │ ├── tk │ │ │ └── conanfile.py │ │ ├── tsl-robin-map │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── util-linux-libuuid │ │ │ └── conanfile.py │ │ ├── vorbis │ │ │ └── conanfile.py │ │ ├── vulkan-headers │ │ │ └── conanfile.py │ │ ├── vulkan-loader │ │ │ └── conanfile.py │ │ ├── xkbcommon │ │ │ └── conanfile.py │ │ ├── xorg-proto │ │ │ └── conanfile.py │ │ ├── xorg │ │ │ ├── conanfile.py │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ ├── xz_utils │ │ │ └── conanfile.py │ │ ├── yaml-cpp │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 0001-install-0.7.0.patch │ │ │ │ └── 0002-libcxx-and-gcc.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.cpp │ │ ├── zlib │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ │ ├── 1.2.13 │ │ │ │ │ └── 0001-Fix-cmake.patch │ │ │ │ ├── 1.2.x │ │ │ │ │ ├── 0001-fix-cmake.patch │ │ │ │ │ ├── 0003-gzguts-fix-widechar-condition.patch │ │ │ │ │ ├── 0004-Fix-a-bug-when-getting-a-gzip-header-extra-field-wit.patch │ │ │ │ │ └── 0005-Fix-extra-field-processing-bug-that-dereferences-NUL.patch │ │ │ │ ├── 1.3.1 │ │ │ │ │ └── 0001-fix-cmake.patch │ │ │ │ └── 1.3 │ │ │ │ │ └── 0001-fix-cmake.patch │ │ │ └── test_package │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── conanfile.py │ │ │ │ └── test_package.c │ │ └── zstd │ │ │ ├── conandata.yml │ │ │ ├── conanfile.py │ │ │ ├── patches │ │ │ ├── 1.5.0-remove-explicit-standard-setting.patch │ │ │ ├── 1.5.2-cmake-remove-asm-except-x86_64.patch │ │ │ ├── 1.5.5-qnx_support.patch │ │ │ └── 1.5.6-public-scope-windows-shared.patch │ │ │ └── test_package │ │ │ ├── CMakeLists.txt │ │ │ ├── conanfile.py │ │ │ └── test_package.c │ └── settings │ │ ├── extensions │ │ └── plugins │ │ │ ├── compatibility │ │ │ ├── compatibility.py │ │ │ └── cppstd_compat.py │ │ │ └── profile.py │ │ ├── global.conf │ │ ├── hooks │ │ └── attribute_checker.py │ │ ├── profiles_aswf │ │ ├── ci_common1 │ │ ├── ci_common2 │ │ ├── ci_common3 │ │ ├── ci_common4 │ │ ├── ci_common5 │ │ ├── vfx2019 │ │ ├── vfx2020 │ │ ├── vfx2021 │ │ ├── vfx2022 │ │ ├── vfx2023 │ │ ├── vfx2024 │ │ └── vfx2025 │ │ ├── profiles_aswftesting │ │ ├── ci_common1 │ │ ├── ci_common2 │ │ ├── ci_common3 │ │ ├── ci_common4 │ │ ├── ci_common5 │ │ ├── vfx2019 │ │ ├── vfx2020 │ │ ├── vfx2021 │ │ ├── vfx2022 │ │ ├── vfx2023 │ │ ├── vfx2024 │ │ └── vfx2025 │ │ ├── remotes.json │ │ ├── settings.yml │ │ └── version.txt ├── review │ └── Dockerfile ├── vfx1 │ └── Dockerfile └── vfx2 │ └── Dockerfile ├── pylintrc ├── pyproject.toml ├── python ├── README.md └── aswfdocker │ ├── __init__.py │ ├── aswfinfo.py │ ├── builder.py │ ├── cli │ ├── __init__.py │ └── aswfdocker.py │ ├── constants.py │ ├── data │ ├── __init__.py │ ├── ci-image-dockerfile.jinja2 │ ├── ci-image-readme.jinja2 │ └── versions.yaml │ ├── dockergen.py │ ├── groupinfo.py │ ├── index.py │ ├── migrater.py │ ├── releaser.py │ ├── settings.py │ ├── tests │ ├── __init__.py │ ├── test_builder.py │ ├── test_dockergen.py │ ├── test_index.py │ ├── test_migrater.py │ ├── test_releaser.py │ ├── test_settings.py │ └── test_utils.py │ ├── utils.py │ └── versioninfo.py ├── scripts ├── base │ ├── build_boost.sh │ ├── build_cppunit.sh │ ├── build_glew.sh │ ├── build_glfw.sh │ ├── build_log4cplus.sh │ ├── build_pybind11.sh │ ├── build_pyside.sh │ ├── build_python.sh │ ├── build_qt.sh │ └── install_cmake.sh ├── common │ ├── before_build.sh │ ├── build_clang.sh │ ├── build_ninja.sh │ ├── copy_new_files.sh │ ├── install_ccache.sh │ ├── install_conan.sh │ ├── install_conanpackages.sh │ ├── install_cudadevel.sh │ ├── install_dev_ccache.sh │ ├── install_dev_cmake.sh │ ├── install_opengl.sh │ ├── install_optix.sh │ ├── install_pippackages.sh │ ├── install_sonar.sh │ ├── install_yq.sh │ ├── install_yumpackages.sh │ └── setup_aswfuser.sh ├── review │ └── build_openrv.sh ├── tests │ ├── 1 │ │ └── test_common.sh │ ├── 2 │ │ └── test_common.sh │ ├── 3 │ │ └── test_common.sh │ ├── 2018 │ │ ├── test_base.sh │ │ └── test_openvdb.sh │ ├── 2019 │ │ ├── test_base.sh │ │ └── test_openvdb.sh │ ├── 2020 │ │ └── test_base.sh │ ├── 2022 │ │ └── test_base.sh │ └── 2023 │ │ └── test_base_disable.sh └── vfx │ ├── build_alembic.sh │ ├── build_blosc.sh │ ├── build_imath.sh │ ├── build_materialx.sh │ ├── build_ocio.sh │ ├── build_oiio.sh │ ├── build_openexr.sh │ ├── build_opensubdiv.sh │ ├── build_openvdb.sh │ ├── build_osl.sh │ ├── build_otio.sh │ ├── build_partio.sh │ ├── build_ptex.sh │ ├── build_usd.sh │ └── openvdb-imath.patch ├── setup.py ├── sonar-project.properties └── versions.yaml /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | source = 3 | python/aswfdocker 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | # Avoid Windows line breaks in shell scripts (bound to fail) 5 | *.sh text eol=lf 6 | 7 | # Tell GitHub that these files are automatically generated 8 | ci-*/Dockerfile linguist-generated 9 | ci-*/README.md linguist-generated 10 | 11 | # Pipfile lock file is not nice to look at... 12 | Pipfile.lock linguist-generated -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | packages/*/*.tar.gz 2 | packages/*.json 3 | .pytest_cache/ 4 | *.egg-info/ 5 | __pycache__/ 6 | .vscode/ 7 | .mypy_cache/ 8 | build/ 9 | dist/ 10 | *.log 11 | test-*-results.xml 12 | cov*.xml 13 | .coverage 14 | .scannerwork 15 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: https://github.com/ambv/black 3 | rev: 22.12.0 4 | hooks: 5 | # Don't reformat vendored Conan recipes 6 | - id: black 7 | language_version: python3.9 8 | exclude: packages/conan/recipes/ 9 | - repo: local 10 | hooks: 11 | - id: pytest 12 | name: Check pytest unit tests pass 13 | entry: pipenv run pytest python/aswfdocker 14 | pass_filenames: false 15 | language: system 16 | types: [python] 17 | - id: mypy 18 | name: Check mypy static types match 19 | entry: pipenv run mypy python/aswfdocker 20 | pass_filenames: false 21 | language: system 22 | types: [python] 23 | - id: pylint 24 | name: Check linting with pylint 25 | entry: pipenv run pylint python/aswfdocker 26 | pass_filenames: false 27 | language: system 28 | types: [python] 29 | -------------------------------------------------------------------------------- /.prospector/aswfdocker.yaml: -------------------------------------------------------------------------------- 1 | strictness: medium 2 | doc-warnings: false 3 | test-warnings: true 4 | autodetect: true 5 | member-warnings: true 6 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/about-codeowners/ 2 | # for more info about CODEOWNERS file 3 | 4 | # It uses the same pattern rule for gitignore file 5 | # https://git-scm.com/docs/gitignore#_pattern_format 6 | 7 | # Admin 8 | * @aloysbaillet @jfpanisset 9 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | The aswf-docker project abides by the LF Projects LLC code of conduct, which you can read in full at https://lfprojects.org/policies/code-of-conduct. -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- 1 | [[source]] 2 | name = "pypi" 3 | url = "https://pypi.org/simple" 4 | verify_ssl = true 5 | 6 | [dev-packages] 7 | pytest = "*" 8 | atomicwrites = {version = "*", markers = "platform_system == 'Windows'"} 9 | pytest-cov = "*" 10 | pylint = "==3.2.7" 11 | black = "==22.12" 12 | mypy = "*" 13 | pre-commit = "*" 14 | pytest-pylint = "*" 15 | types-click = "*" 16 | types-jinja2 = "*" 17 | types-pyyaml = "*" 18 | types-requests = "*" 19 | pipenv-setup = "*" 20 | aswfdocker = {editable = true, path = "."} 21 | twine = "*" 22 | 23 | [packages] 24 | aswfdocker = {editable = true, path = "."} 25 | click = "*" 26 | pygithub = "*" 27 | pyyaml = "*" 28 | jinja2 = "*" 29 | requests = "*" 30 | importlib-resources = "*" 31 | conan = "==1.65.0" 32 | pytest = "*" 33 | mypy = "*" 34 | 35 | [requires] 36 | python_version = "3.9" 37 | 38 | [pipenv] 39 | allow_prereleases = true 40 | -------------------------------------------------------------------------------- /ci-base/image.yaml: -------------------------------------------------------------------------------- 1 | name: "base" 2 | title: "Base CI Docker Image" 3 | description: | 4 | Contains: Python, TBB, Boost and other base libraries 5 | packages: 6 | - b2 # base1-1 packages 7 | - bzip2 8 | - cppunit 9 | - expat 10 | - fmt 11 | - gtest 12 | - libbacktrace 13 | - libdeflate 14 | - libiconv 15 | - libxcrypt 16 | - lz4 17 | - pugixml 18 | - pystring 19 | - snappy 20 | - onetbb 21 | - tsl-robin-map 22 | - yaml-cpp 23 | - zlib 24 | - zstd 25 | - blosc # base1-2 packages 26 | - cpython 27 | - freetype 28 | - gdbm 29 | - glew 30 | - glfw 31 | - log4cplus 32 | - minizip-ng 33 | - boost # base1-3 packages 34 | - pybind11 35 | implicit_packages: 36 | - numpy 37 | - vfxplatform 38 | docker_from: ${ASWF_ORG}/ci-common:${CI_COMMON_VERSION}-clang${ASWF_CLANG_MAJOR_VERSION} 39 | docker_package_version: $ASWF_VFXPLATFORM_VERSION 40 | -------------------------------------------------------------------------------- /ci-opencue/image.yaml: -------------------------------------------------------------------------------- 1 | name: "opencue" 2 | title: "OpenCue CI Docker Image" 3 | description: | 4 | Contains: Python, CMake and other OpenCue upstream dependencies 5 | Warning: this image does *not* contain OpenCue itself as it is used to *build* OpenCue! 6 | packages: 7 | - cpython 8 | implicit_packages: 9 | - numpy 10 | - vfxplatform 11 | docker_from: ${ASWF_ORG}/ci-common:${CI_COMMON_VERSION}-clang${ASWF_CLANG_MAJOR_VERSION} 12 | docker_package_version: $ASWF_VFXPLATFORM_VERSION 13 | docker_commands: | 14 | RUN sudo yum -y install \ 15 | java-17-openjdk.x86_64 \ 16 | java-17-openjdk-devel.x86_64 17 | RUN sudo alternatives --set java java-17-openjdk.x86_64 && \ 18 | sudo alternatives --set javac java-17-openjdk.x86_64 && \ 19 | sudo alternatives --set jre_openjdk java-17-openjdk.x86_64 20 | -------------------------------------------------------------------------------- /ci-openexr/image.yaml: -------------------------------------------------------------------------------- 1 | name: "openexr" 2 | title: "OpenEXR CI Docker Image" 3 | description: | 4 | Contains: Python and other OpenEXR upstream dependencies 5 | Warning: this image does *not* contain OpenEXR itself as it is used to *build* OpenEXR! 6 | packages: 7 | - boost # boost and dependencies 8 | - bzip2 9 | - cpython 10 | - libbacktrace 11 | - libdeflate # other dependencies 12 | - pybind11 13 | implicit_packages: 14 | - numpy 15 | - vfxplatform 16 | docker_from: ${ASWF_ORG}/ci-common:${CI_COMMON_VERSION}-clang${ASWF_CLANG_MAJOR_VERSION} 17 | docker_package_version: $ASWF_VFXPLATFORM_VERSION 18 | -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | python_version = 3.11 3 | files = python/aswfdocker/**/*.py 4 | -------------------------------------------------------------------------------- /packages/conan/.gitignore: -------------------------------------------------------------------------------- 1 | data/ 2 | settings/.conan.db 3 | settings/cacert.pem 4 | settings/artifacts.properties 5 | ccache/ -------------------------------------------------------------------------------- /packages/conan/data/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcademySoftwareFoundation/aswf-docker/884aeeb72af751401021bb28a04356298fc6b6db/packages/conan/data/.empty -------------------------------------------------------------------------------- /packages/conan/recipes/README.md: -------------------------------------------------------------------------------- 1 | # Conan Package Recipes 2 | 3 | Many of these recipes are borrowed from the [Conan Center Index](https://github.com/conan-io/conan-center-index/tree/master/recipes), 4 | but a few modifications to allow all the VFX versions to build, avoid ABI mixes with the Conan Center packages. 5 | The `python` setting has been added to better separate packages by python minor version. 6 | 7 | As the Conan Center Index is MIT licensed the whole subfolder here is also MIT licensed for consistency. 8 | 9 | ## Adding new Conan packages 10 | 11 | Follow the instructions in [CONTRIBUTING](../../../CONTRIBUTING.md#building-conan-packages) 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/alembic/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/2a3cb93885141024c1b405a01a79fb3abc239b12/recipes/alembic/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(Alembic REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE Alembic::Alembic) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/b2/test_package/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/7abb9ee39e6009e3dbc45043307a1098246d4ad7/recipes/b2/portable/test_package/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | 10 | class TestPackageConan(ConanFile): 11 | settings = "os", "arch", "compiler", "build_type" 12 | generators = "VirtualBuildEnv" 13 | test_type = "explicit" 14 | 15 | def build_requirements(self): 16 | self.tool_requires(self.tested_reference_str) 17 | 18 | def test(self): 19 | self.run("b2 -v") 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/blosc/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/c-blosc/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(blosc REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE blosc::blosc) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/patches/1.82.0-locale-iconv-library-option.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libs/locale/build/Jamfile.v2 b/libs/locale/build/Jamfile.v2 2 | index f1321db3..36899cdc 100644 3 | --- a/libs/locale/build/Jamfile.v2 4 | +++ b/libs/locale/build/Jamfile.v2 5 | @@ -22,6 +22,7 @@ project /boost/locale 6 | # Features 7 | 8 | feature.feature boost.locale.iconv : on off : optional propagated ; 9 | +feature.feature boost.locale.iconv.lib : libc libiconv : optional propagated ; 10 | feature.feature boost.locale.icu : on off : optional propagated ; 11 | feature.feature boost.locale.posix : on off : optional propagated ; 12 | feature.feature boost.locale.std : on off : optional propagated ; 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/chrono.cpp: -------------------------------------------------------------------------------- 1 | // This comes from the following Boost example: 2 | // https://www.boost.org/doc/libs/1_72_0/doc/html/chrono/users_guide.html#chrono.users_guide.examples 3 | #include 4 | #include 5 | #include 6 | 7 | int main() 8 | { 9 | boost::chrono::system_clock::time_point start = boost::chrono::system_clock::now(); 10 | 11 | for ( long i = 0; i < 10000000; ++i ) 12 | std::sqrt( 123.456L ); // burn some time 13 | 14 | boost::chrono::duration sec = boost::chrono::system_clock::now() - start; 15 | std::cout << "took " << sec.count() << " seconds\n"; 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/coroutine.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #if defined(BOOST_NAMESPACE) 5 | namespace boost = BOOST_NAMESPACE; 6 | #endif 7 | 8 | using namespace boost::coroutines; 9 | 10 | void cooperative(coroutine::push_type &sink) 11 | { 12 | std::cout << "Hello"; 13 | sink(); 14 | std::cout << "world"; 15 | } 16 | 17 | int main() 18 | { 19 | coroutine::pull_type source(cooperative); 20 | std::cout << ", "; 21 | source(); 22 | std::cout << "!\n"; 23 | } 24 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/json.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if defined(BOOST_NAMESPACE) 4 | namespace boost = BOOST_NAMESPACE; 5 | #endif 6 | 7 | using namespace boost::json; 8 | 9 | #include 10 | #include 11 | 12 | int main() { 13 | object obj; 14 | obj[ "pi" ] = 3.141; 15 | obj[ "happy" ] = true; 16 | obj[ "name" ] = "Boost"; 17 | obj[ "nothing" ] = nullptr; 18 | obj[ "answer" ].emplace_object()["everything"] = 42; 19 | obj[ "list" ] = { 1, 0, 2 }; 20 | obj[ "object" ] = { {"currency", "USD"}, {"value", 42.99} }; 21 | std::string s = serialize(obj); 22 | std::cout << s << '\n'; 23 | } 24 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/lambda.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #if defined(BOOST_NAMESPACE) 7 | namespace boost = BOOST_NAMESPACE; 8 | #endif 9 | 10 | int main(int argc, const char * const argv[]) 11 | { 12 | using namespace boost::lambda; 13 | 14 | std::vector values; 15 | for (int i = 1; i < argc; ++i) 16 | values.push_back(atoi(argv[i])); 17 | 18 | std::for_each(values.begin(), values.end(), std::cout << _1 * 3 << " " ); 19 | 20 | return 0; 21 | } 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/numpy.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #if defined(BOOST_NAMESPACE) 5 | namespace boost = BOOST_NAMESPACE; 6 | #endif 7 | 8 | namespace p = boost::python; 9 | namespace np = boost::python::numpy; 10 | 11 | int main(int argc, char **argv) 12 | { 13 | Py_Initialize(); 14 | np::initialize(); 15 | 16 | p::tuple shape = p::make_tuple(3, 3); 17 | np::dtype dtype = np::dtype::get_builtin(); 18 | np::ndarray a = np::zeros(shape, dtype); 19 | 20 | np::ndarray b = np::empty(shape,dtype); 21 | 22 | std::cout << "Original array:\n" << p::extract(p::str(a)) << std::endl; 23 | 24 | // Reshape the array into a 1D array 25 | a = a.reshape(p::make_tuple(9)); 26 | // Print it again. 27 | std::cout << "Reshaped array:\n" << p::extract(p::str(a)) << std::endl; 28 | } 29 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/python.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if defined(BOOST_NAMESPACE) 4 | namespace boost = BOOST_NAMESPACE; 5 | #endif 6 | 7 | char const* greet() 8 | { 9 | return "hello, world!!!!!"; 10 | } 11 | 12 | BOOST_PYTHON_MODULE(hello_ext) 13 | { 14 | using namespace boost::python; 15 | def("greet", greet); 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/python.py: -------------------------------------------------------------------------------- 1 | import hello_ext 2 | 3 | txt = hello_ext.greet() 4 | print(txt) 5 | 6 | if txt != "hello, world!!!!!": 7 | raise Exception("did not expect this!") 8 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/random.cpp: -------------------------------------------------------------------------------- 1 | // This comes from the following Boost example: 2 | // https://www.boost.org/doc/libs/1_71_0/doc/html/boost_random/tutorial.html 3 | #include 4 | #include 5 | #include 6 | 7 | #if defined(BOOST_NAMESPACE) 8 | namespace boost = BOOST_NAMESPACE; 9 | #endif 10 | 11 | int main() { 12 | std::string chars( 13 | "abcdefghijklmnopqrstuvwxyz" 14 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 15 | "1234567890" 16 | "!@#$%^&*()" 17 | "`~-_=+[{]}\\|;:'\",<.>/? "); 18 | boost::random::random_device rng; 19 | boost::random::uniform_int_distribution<> index_dist(0, chars.size() - 1); 20 | for(int i = 0; i < 8; ++i) { 21 | std::cout << chars[index_dist(rng)]; 22 | } 23 | std::cout << std::endl; 24 | } 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/regex.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #if defined(BOOST_NAMESPACE) 5 | namespace boost = BOOST_NAMESPACE; 6 | #endif 7 | 8 | int main(int argc, const char * const argv[]) 9 | { 10 | std::string line; 11 | boost::regex pat( "^Subject: (Re: |Aw: )*(.*)" ); 12 | 13 | std::vector values; 14 | for (int i = 1; i < argc; ++i) { 15 | const std::string word(argv[i]); 16 | boost::smatch matches; 17 | if (boost::regex_match(line, matches, pat)) 18 | std::cout << matches[2] << std::endl; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/test.cpp: -------------------------------------------------------------------------------- 1 | #define BOOST_TEST_MODULE Test 2 | #include "boost/test/unit_test.hpp" 3 | 4 | BOOST_AUTO_TEST_CASE( free_test_function ) 5 | { 6 | BOOST_TEST( true /* test assertion */ ); 7 | } 8 | -------------------------------------------------------------------------------- /packages/conan/recipes/boost/test_package/url.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2022 alandefreitas (alandefreitas@gmail.com) 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // https://www.boost.org/LICENSE_1_0.txt 6 | // 7 | 8 | #include 9 | #include 10 | 11 | int main() { 12 | assert(sizeof(boost::urls::url) > 0); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/bzip2/conandata.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/5fecff85282c68fae05e776fb330779bdb94a6e8/recipes/bzip2/all/conandata.yml 6 | 7 | sources: 8 | "1.0.8": 9 | url: "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" 10 | sha256: "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" 11 | "1.0.6": 12 | url: "https://sourceware.org/pub/bzip2/bzip2-1.0.6.tar.gz" 13 | sha256: "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" 14 | patches: 15 | "1.0.6": 16 | - patch_file: "patches/0001-fix-sys-stat-include.patch" 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/bzip2/patches/0001-fix-sys-stat-include.patch: -------------------------------------------------------------------------------- 1 | --- a/bzip2.c 2 | +++ b/bzip2.c 3 | @@ -128,7 +128,7 @@ 4 | #if BZ_LCCWIN32 5 | # include 6 | # include 7 | -# include 8 | +# include 9 | 10 | # define NORETURN /**/ 11 | # define PATH_SEP '\\' 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/bzip2/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/5fecff85282c68fae05e776fb330779bdb94a6e8/recipes/bzip2/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | #include "bzlib.h" 12 | 13 | 14 | int main(void) { 15 | char buffer [256] = {0}; 16 | unsigned int size = 256; 17 | const char* version = BZ2_bzlibVersion(); 18 | printf("Bzip2 version: %s\n", version); 19 | BZ2_bzBuffToBuffCompress(buffer, &size, "conan-package-manager", 21, 1, 0, 1); 20 | printf("Bzip2 compressed: %s\n", buffer); 21 | return EXIT_SUCCESS; 22 | } 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/clang/patches/dummy.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcademySoftwareFoundation/aswf-docker/884aeeb72af751401021bb28a04356298fc6b6db/packages/conan/recipes/clang/patches/dummy.diff -------------------------------------------------------------------------------- /packages/conan/recipes/clang/test_package/test_function.ll: -------------------------------------------------------------------------------- 1 | @.str = private unnamed_addr constant [25 x i8] c"LLVM IR interpreter ok!\0A\00", align 1 2 | define i32 @test() #0 { 3 | call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0)) 4 | ret i32 0 5 | } 6 | declare i32 @printf(i8*, ...) #1 7 | -------------------------------------------------------------------------------- /packages/conan/recipes/cmake/test_package/conanfile.py: -------------------------------------------------------------------------------- 1 | from six import StringIO 2 | from conan import ConanFile 3 | import re 4 | 5 | 6 | class TestPackageConan(ConanFile): 7 | settings = "os", "arch", "compiler", "build_type" 8 | generators = "VirtualBuildEnv" 9 | test_type = "explicit" 10 | 11 | def build_requirements(self): 12 | self.tool_requires(self.tested_reference_str) 13 | 14 | def test(self): 15 | output = StringIO() 16 | # Third arg to self.run renamed "stdout" in Conan 2.0 but 1.x linter doesn't like it 17 | self.run("cmake --version", output) 18 | output_str = str(output.getvalue()) 19 | self.output.info("Installed version: {}".format(output_str)) 20 | tokens = re.split("[@#]", self.tested_reference_str) 21 | require_version = tokens[0].split("/", 1)[1] 22 | self.output.info("Expected version: {}".format(require_version)) 23 | assert_cmake_version = "cmake version %s" % require_version 24 | assert assert_cmake_version in output_str 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/cppunit/conandata.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/cppunit/all/conandata.yml 6 | 7 | sources: 8 | "1.15.1": 9 | url: "http://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz" 10 | sha256: "89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7" 11 | -------------------------------------------------------------------------------- /packages/conan/recipes/cppunit/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/cppunit/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(cppunit REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE cppunit::cppunit) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/PythonConfig.cmake: -------------------------------------------------------------------------------- 1 | if (CMAKE_VERSION VERSION_LESS 3.10.0) 2 | message(FATAL_ERROR "Python requires CMake 3.10+") 3 | endif() 4 | 5 | set(_requested_components ${Python_FIND_COMPONENTS}) 6 | if (NOT Python_FIND_COMPONENTS) 7 | set(_requested_components Interpreter) 8 | endif() 9 | 10 | 11 | set(_supported_components Interpreter Development) 12 | foreach(_component ${_requested_components}) 13 | if (NOT "${_component}" IN_LIST _supported_components) 14 | set(Python_FOUND False) 15 | set(Python_NOT_FOUND_MESSAGE "Unsupported component: ${_component}. Supported components: ${_supported_components}") 16 | endif() 17 | include("${CMAKE_CURRENT_LIST_DIR}/Python_${_component}Targets.cmake") 18 | endforeach() 19 | 20 | 21 | if (Development IN_LIST _requested_components) 22 | include("${CMAKE_CURRENT_LIST_DIR}/Python_Macros.cmake") 23 | endif() -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/PythonConfigVersion.cmake: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION {{version_major}}.{{version_minor}}.{{version_patch}}) 2 | 3 | if (PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) 4 | set(PACKAGE_VERSION_COMPATIBLE False) 5 | else() 6 | set(PACKAGE_VERSION_COMPATIBLE True) 7 | if (PACKAGE_VERSION STREQUAL PACKAGE_FIND_VERSION) 8 | set(PACKAGE_VERSION_EXACT True) 9 | endif() 10 | endif() -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/Python_InterpreterTargets.cmake: -------------------------------------------------------------------------------- 1 | if (TARGET Python::Interpreter) 2 | return() 3 | endif() 4 | 5 | unset(_python_install_prefix) 6 | # CMake modules installed in {platlibdir}/cmake/python need 3 levels up to find bin 7 | get_filename_component(_python_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) 8 | {% if os == "Macos" %} 9 | set(Python_EXECUTABLE "${_python_install_prefix}/Python.framework/Versions/{{version_major}}.{{version_minor}}/bin/python{{version_major}}.{{version_minor}}") 10 | {% elif os == "Windows" %} 11 | set(Python_EXECUTABLE "${_python_install_prefix}/python{{ '_d' if bt == 'Debug' else '' }}.exe") 12 | {% else %} 13 | set(Python_EXECUTABLE "${_python_install_prefix}/bin/python{{version_major}}.{{version_minor}}") 14 | {% endif %} 15 | set(Python_Interpreter_FOUND True) 16 | 17 | add_executable(Python::Interpreter IMPORTED) 18 | set_target_properties(Python::Interpreter PROPERTIES IMPORTED_LOCATION ${Python_EXECUTABLE}) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/Python_Macros.cmake: -------------------------------------------------------------------------------- 1 | function(Python_ADD_LIBRARY name) 2 | cmake_parse_arguments(PARSE_ARGV 1 PYTHON_ADD_LIBRARY "STATIC;SHARED;MODULE" "" "") 3 | 4 | if (PYTHON_ADD_LIBRARY_STATIC) 5 | set(type STATIC) 6 | elseif (PYTHON_ADD_LIBRARY_SHARED) 7 | set(type SHARED) 8 | else() 9 | set(type MODULE) 10 | endif() 11 | 12 | add_library(${name} ${type} ${PYTHON_ADD_LIBRARY_UNPARSED_ARGUMENTS}) 13 | 14 | get_property(type TARGET ${name} PROPERTY TYPE) 15 | 16 | if (type STREQUAL "MODULE_LIBRARY") 17 | target_link_libraries(${name} PRIVATE Python::Module) 18 | set_target_properties(${name} 19 | PROPERTIES 20 | PREFIX ""{% if os == "Windows" %} 21 | SUFFIX ".pyd" 22 | DEBUG_POSTFIX "_d"{% endif %} 23 | ) 24 | else() 25 | target_link_libraries(${name} PRIVATE Python::Python) 26 | endif() 27 | endfunction() -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/patches/3.9/3.9.7-0002-_msi-vcxproj.patch: -------------------------------------------------------------------------------- 1 | --- PCbuild/_msi.vcxproj 2 | +++ PCbuild/_msi.vcxproj 3 | @@ -23,7 +23,7 @@ 4 | 5 | 6 | PGInstrument 7 | - ARM4 8 | + ARM64 9 | 10 | 11 | PGInstrument 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/patches/3.x-0001-relocatable-python-config.patch: -------------------------------------------------------------------------------- 1 | --- Misc/python-config.sh.in 2 | +++ Misc/python-config.sh.in 3 | @@ -30,7 +30,7 @@ 4 | # locations. Keep prefix & exec_prefix using their original values in case 5 | # they are referenced in other configure variables, to prevent double 6 | # substitution, issue #22140. 7 | -prefix="@prefix@" 8 | +prefix="$PYTHON_ROOT" 9 | exec_prefix="@exec_prefix@" 10 | exec_prefix_real=${prefix_real} 11 | includedir=$(echo "@includedir@" | sed "s#$prefix#$prefix_real#") 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/patches/3.x-0002-remove-module-deps.patch: -------------------------------------------------------------------------------- 1 | --- PCbuild/pcbuild.sln 2 | +++ PCbuild/pcbuild.sln 3 | @@ -9,7 +9,4 @@ 4 | EndProjectSection 5 | EndProject 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "python", "python.vcxproj", "{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}" 7 | - ProjectSection(ProjectDependencies) = postProject 8 | - {0E9791DB-593A-465F-98BC-681011311618} = {0E9791DB-593A-465F-98BC-681011311618} 9 | - EndProjectSection 10 | EndProject 11 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/run-with-system-python: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Unsets all environment variables so that the system python can function normally 3 | # To use, just prefix any command with run-with-system-python 4 | unset PYTHONPATH 5 | unset LIBRARY_PATH 6 | unset PKG_CONFIG_PATH 7 | export LD_LIBRARY_PATH=/opt/rh/devtoolset-${ASWF_DTS_VERSION}/root/usr/lib64:/opt/rh/devtoolset-${ASWF_DTS_VERSION}/root/usr/lib 8 | export PATH=/opt/rh/devtoolset-${ASWF_DTS_VERSION}/root/usr/bin:/opt/app-root/src/bin:/opt/rh/devtoolset-${ASWF_DTS_VERSION}/root/usr/bin/:/usr/sbin:/usr/bin:/sbin:/bin 9 | exec "$@" 10 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/test_package/setup.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/cpython/all/test_package/setup.py 6 | 7 | import os 8 | 9 | # Hack to work around Python 3.8+ secure dll loading: 10 | # see https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew 11 | if hasattr(os, "add_dll_directory"): 12 | for directory in os.environ.get("PATH", "").split(os.pathsep): 13 | if os.path.isdir(directory): 14 | os.add_dll_directory(directory) 15 | 16 | from setuptools import setup, Extension 17 | 18 | script_dir = os.path.dirname(os.path.realpath(__file__)) 19 | 20 | setup( 21 | name="test_package", 22 | version="1.0", 23 | ext_modules=[ 24 | Extension("spam", [os.path.join(script_dir, "test_module.c")]), 25 | ], 26 | ) 27 | -------------------------------------------------------------------------------- /packages/conan/recipes/cpython/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/cpython/all/test_package/test_package.c 7 | */ 8 | 9 | #define PY_SSIZE_T_CLEAN 10 | #include 11 | 12 | int 13 | main(int argc, char *argv[]) 14 | { 15 | wchar_t *program = Py_DecodeLocale(argv[0], NULL); 16 | if (program == NULL) { 17 | fprintf(stderr, "Fatal error: cannot decode argv[0]\n"); 18 | exit(1); 19 | } 20 | Py_Initialize(); 21 | PyRun_SimpleString("from time import time, ctime\n" 22 | "print('Today is', ctime(time()))\n"); 23 | if (Py_FinalizeEx() < 0) { 24 | exit(120); 25 | } 26 | PyMem_RawFree(program); 27 | return 0; 28 | } 29 | -------------------------------------------------------------------------------- /packages/conan/recipes/dbus/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/dbus/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemDbusConan(ConanFile): 10 | name = "dbus" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include/dbus-1.0"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["dbus-1"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "DBus1") 21 | self.cpp_info.set_property("cmake_target_name", "dbus-1") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/double-conversion/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/double-conversion/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemDoubleConversionConan(ConanFile): 10 | name = "double-conversion" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["double-conversion"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "double-conversion") 21 | self.cpp_info.set_property("cmake_target_name", "double-conversion::double-conversion") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/patches/0001-2.3.0-relax-vs-restriction.patch: -------------------------------------------------------------------------------- 1 | diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt 2 | index e3564691..0dc5cf80 100644 3 | --- CMakeLists.txt 4 | +++ CMakeLists.txt 5 | @@ -133,7 +133,7 @@ if(MSVC) 6 | # Minimum supported MSVC version is 1910 = Visual Studio 15.0/2017 7 | # See also https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html 8 | if(MSVC_VERSION VERSION_LESS 1910) 9 | - message(SEND_ERROR "MSVC_VERSION ${MSVC_VERSION} is not a supported Visual Studio compiler version. Please use Visual Studio 15.0/2017 or any later version.") 10 | + message(WARNING "MSVC_VERSION ${MSVC_VERSION} is not a supported Visual Studio compiler version. Please use Visual Studio 15.0/2017 or any later version.") 11 | endif() 12 | endif() 13 | 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | project(test_package LANGUAGES C) 3 | 4 | find_package(expat REQUIRED CONFIG) 5 | 6 | add_executable(${PROJECT_NAME} test_package.c) 7 | target_link_libraries(${PROJECT_NAME} PRIVATE expat::expat) 8 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_package/conanfile.py: -------------------------------------------------------------------------------- 1 | from conan import ConanFile 2 | from conan.tools.build import can_run 3 | from conan.tools.cmake import CMake, cmake_layout 4 | import os 5 | 6 | 7 | class TestPackageConan(ConanFile): 8 | settings = "os", "arch", "compiler", "build_type" 9 | generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv" 10 | test_type = "explicit" 11 | 12 | def layout(self): 13 | cmake_layout(self) 14 | 15 | def requirements(self): 16 | self.requires(self.tested_reference_str) 17 | 18 | def build(self): 19 | cmake = CMake(self) 20 | cmake.configure() 21 | cmake.build() 22 | 23 | def test(self): 24 | if can_run(self): 25 | bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package") 26 | self.run(bin_path, env="conanrun") 27 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_package_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | project(test_package LANGUAGES C) 3 | 4 | find_package(EXPAT REQUIRED MODULE) 5 | 6 | add_executable(${PROJECT_NAME} ../test_package/test_package.c) 7 | target_link_libraries(${PROJECT_NAME} PRIVATE EXPAT::EXPAT) 8 | 9 | # Test whether variables from https://cmake.org/cmake/help/latest/module/FindEXPAT.html 10 | # are properly defined in conan generators 11 | set(_custom_vars 12 | EXPAT_INCLUDE_DIRS 13 | EXPAT_LIBRARIES 14 | EXPAT_FOUND 15 | ) 16 | foreach(_custom_var ${_custom_vars}) 17 | if(DEFINED ${_custom_var}) 18 | message(STATUS "${_custom_var}: ${${_custom_var}}") 19 | else() 20 | message(FATAL_ERROR "${_custom_var} not defined") 21 | endif() 22 | endforeach() 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_package_module/conanfile.py: -------------------------------------------------------------------------------- 1 | from conan import ConanFile 2 | from conan.tools.build import can_run 3 | from conan.tools.cmake import CMake, cmake_layout 4 | import os 5 | 6 | 7 | class TestPackageConan(ConanFile): 8 | settings = "os", "arch", "compiler", "build_type" 9 | generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv" 10 | test_type = "explicit" 11 | 12 | def layout(self): 13 | cmake_layout(self) 14 | 15 | def requirements(self): 16 | self.requires(self.tested_reference_str) 17 | 18 | def build(self): 19 | cmake = CMake(self) 20 | cmake.configure() 21 | cmake.build() 22 | 23 | def test(self): 24 | if can_run(self): 25 | bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package") 26 | self.run(bin_path, env="conanrun") 27 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_v1_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | project(test_package LANGUAGES C) 3 | 4 | include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) 5 | conan_basic_setup(TARGETS) 6 | 7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package/ 8 | ${CMAKE_CURRENT_BINARY_DIR}/test_package/) 9 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_v1_package/conanfile.py: -------------------------------------------------------------------------------- 1 | from conans import ConanFile, CMake 2 | from conan.tools.build import cross_building 3 | import os 4 | 5 | 6 | class TestPackageV1Conan(ConanFile): 7 | settings = "os", "arch", "compiler", "build_type" 8 | generators = "cmake", "cmake_find_package_multi" 9 | 10 | def build(self): 11 | cmake = CMake(self) 12 | cmake.configure() 13 | cmake.build() 14 | 15 | def test(self): 16 | if not cross_building(self): 17 | bin_path = os.path.join("bin", "test_package") 18 | self.run(bin_path, run_environment=True) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_v1_package_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | project(test_package LANGUAGES C) 3 | 4 | include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) 5 | conan_basic_setup(TARGETS) 6 | 7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package_module/ 8 | ${CMAKE_CURRENT_BINARY_DIR}/test_package_module/) 9 | -------------------------------------------------------------------------------- /packages/conan/recipes/expat/test_v1_package_module/conanfile.py: -------------------------------------------------------------------------------- 1 | from conans import ConanFile, CMake 2 | from conan.tools.build import cross_building 3 | import os 4 | 5 | 6 | class TestPackageV1Conan(ConanFile): 7 | settings = "os", "arch", "compiler", "build_type" 8 | generators = "cmake", "cmake_find_package" 9 | 10 | def build(self): 11 | cmake = CMake(self) 12 | cmake.configure() 13 | cmake.build() 14 | 15 | def test(self): 16 | if not cross_building(self): 17 | bin_path = os.path.join("bin", "test_package") 18 | self.run(bin_path, run_environment=True) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/fmt/patches/fix-install-5.3.0.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -235,7 +235,9 @@ if (FMT_INSTALL) 4 | 5 | # Install the library and headers. 6 | install(TARGETS ${INSTALL_TARGETS} EXPORT ${targets_export_name} 7 | - DESTINATION ${FMT_LIB_DIR}) 8 | + LIBRARY DESTINATION ${FMT_LIB_DIR} 9 | + ARCHIVE DESTINATION ${FMT_LIB_DIR} 10 | + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 11 | 12 | install(FILES $ DESTINATION ${FMT_LIB_DIR} OPTIONAL) 13 | install(FILES ${FMT_HEADERS} DESTINATION ${FMT_INC_DIR}) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/fmt/test_package/test_ranges.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/b96b04ffad873992cbcfb98f0d84f6f44beb169d/recipes/fmt/all/test_package/test_ranges.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | #include "fmt/ranges.h" 12 | 13 | int main() { 14 | std::vector numbers; 15 | fmt::format_to(std::back_inserter(numbers), "{}{}{}", 1, 2, 3); 16 | const std::string str_numbers = fmt::format("{}", numbers); 17 | fmt::print("numbers: {}\n", str_numbers); 18 | return EXIT_SUCCESS; 19 | } 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/fontconfig/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/fontconfig/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemFontconfigConan(ConanFile): 10 | name = "fontconfig" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["fontconfig"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "Fontconfig") 21 | self.cpp_info.set_property("cmake_target_name", "Fontconfig::Fontconfig") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/freetype/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f2c56e90ae28fef1ee1a392adf59f96199ee1277/recipes/freetype/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(freetype REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE freetype) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/freetype/test_package/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AcademySoftwareFoundation/aswf-docker/884aeeb72af751401021bb28a04356298fc6b6db/packages/conan/recipes/freetype/test_package/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /packages/conan/recipes/gdbm/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | 4 | from conan import ConanFile 5 | 6 | class SystemGdbmConan(ConanFile): 7 | name = "gdbm" 8 | version = "system" 9 | 10 | settings = "os", "arch", "compiler", "build_type" 11 | 12 | def package_info(self): 13 | self.cpp_info.includedirs = ["/usr/include"] 14 | self.cpp_info.libdirs = ["/usr/lib64"] 15 | self.cpp_info.libs = ["gdbm", "gdbm_compat"] 16 | 17 | self.cpp_info.set_property("cmake_file_name", "gdbm") 18 | self.cpp_info.set_property("cmake_target_name", "gdbm::gdbm") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/giflib/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/giflib/5.1.x/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemGiflibConan(ConanFile): 10 | name = "giflib" 11 | version = "5.1.4" # For oiio recipe 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["gif"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "GIF") 21 | self.cpp_info.set_property("cmake_target_name", "GIF::GIF") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/glew/patches/0001-fix-cmake-2.1.0.patch: -------------------------------------------------------------------------------- 1 | --- a/build/cmake/CMakeLists.txt 2 | +++ b/build/cmake/CMakeLists.txt 3 | @@ -1,10 +1,10 @@ 4 | +cmake_minimum_required (VERSION 2.8.12) 5 | +project (glew C) 6 | if ( NOT DEFINED CMAKE_BUILD_TYPE ) 7 | set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" ) 8 | endif () 9 | 10 | -project (glew) 11 | 12 | -cmake_minimum_required (VERSION 2.8.12) 13 | 14 | include(GNUInstallDirs) 15 | 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/glew/patches/0001-fix-cmake-2.2.0.patch: -------------------------------------------------------------------------------- 1 | --- a/build/cmake/CMakeLists.txt 2 | +++ b/build/cmake/CMakeLists.txt 3 | @@ -1,10 +1,10 @@ 4 | +cmake_minimum_required (VERSION 2.8.12) 5 | +project (glew C) 6 | if ( NOT DEFINED CMAKE_BUILD_TYPE ) 7 | set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" ) 8 | endif () 9 | 10 | -project (glew C) 11 | 12 | -cmake_minimum_required (VERSION 2.8.12) 13 | 14 | include(GNUInstallDirs) 15 | 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/glew/patches/0002-vs16-release-fix.patch: -------------------------------------------------------------------------------- 1 | diff -Nuar a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt 2 | --- a/build/cmake/CMakeLists.txt 2020-01-23 04:02:19.297625325 +0300 3 | +++ b/build/cmake/CMakeLists.txt 2020-01-23 04:02:57.444622827 +0300 4 | @@ -109,6 +109,8 @@ 5 | target_compile_options (glew_s PRIVATE -GS-) 6 | # remove stdlib dependency 7 | target_link_libraries (glew LINK_PRIVATE -nodefaultlib -noentry) 8 | + target_link_libraries (glew LINK_PRIVATE libvcruntime.lib) 9 | + target_link_libraries (glew LINK_PRIVATE msvcrt.lib ) 10 | string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) 11 | elseif (WIN32 AND ((CMAKE_C_COMPILER_ID MATCHES "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))) 12 | # remove stdlib dependency on windows with GCC and Clang (for similar reasons 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/glew/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/glew/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(GLEW REQUIRED) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE GLEW::GLEW) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/glew/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/glew/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | int main () 16 | { 17 | assert(glewGetString(GLEW_VERSION)); 18 | printf("GLEW %s\n", glewGetString(GLEW_VERSION)); 19 | return EXIT_SUCCESS; 20 | } 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/glfw/patches/3.3.2-0001-fix-objc-cmake3.19+.patch: -------------------------------------------------------------------------------- 1 | from https://github.com/glfw/glfw/commit/3327050ca66ad34426a82c217c2d60ced61526b7 2 | --- a/src/CMakeLists.txt 3 | +++ b/src/CMakeLists.txt 4 | @@ -72,7 +72,7 @@ if (_GLFW_X11 OR _GLFW_WAYLAND) 5 | endif() 6 | endif() 7 | 8 | -if (APPLE) 9 | +if ("${CMAKE_VERSION}" VERSION_LESS "3.16" AND APPLE) 10 | # For some reason CMake didn't know about .m until version 3.16 11 | set_source_files_properties(cocoa_init.m cocoa_joystick.m cocoa_monitor.m 12 | cocoa_window.m nsgl_context.m PROPERTIES 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/glfw/patches/3.3.2-0002-macos-relocatable.patch: -------------------------------------------------------------------------------- 1 | --- a/src/CMakeLists.txt 2 | +++ b/src/CMakeLists.txt 3 | @@ -160,8 +160,6 @@ if (BUILD_SHARED_LIBS) 4 | # Add -fno-common to work around a bug in Apple's GCC 5 | target_compile_options(glfw PRIVATE "-fno-common") 6 | 7 | - set_target_properties(glfw PROPERTIES 8 | - INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}") 9 | endif() 10 | 11 | if (UNIX) 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/glfw/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/glfw/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(glfw3 REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE glfw) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/glfw/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/glfw/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | 11 | int main (void) 12 | { 13 | GLFWwindow* window; 14 | GLFWmonitor* monitor = NULL; 15 | 16 | monitor = glfwGetPrimaryMonitor(); 17 | 18 | window = glfwCreateWindow(640, 480, "Window name", monitor, NULL); 19 | 20 | glfwDestroyWindow(window); 21 | glfwTerminate(); 22 | 23 | return 0; 24 | } 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/gtest/patches/gtest-1.10.0.patch: -------------------------------------------------------------------------------- 1 | diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake 2 | index 2f70f0b0..8cd03693 100644 3 | --- a/googletest/cmake/internal_utils.cmake 4 | +++ b/googletest/cmake/internal_utils.cmake 5 | @@ -154,7 +154,7 @@ function(cxx_library_with_type name type cxx_flags) 6 | # Generate debug library name with a postfix. 7 | set_target_properties(${name} 8 | PROPERTIES 9 | - DEBUG_POSTFIX "d") 10 | + DEBUG_POSTFIX "${CUSTOM_DEBUG_POSTFIX}") 11 | # Set the output directory for build artifacts 12 | set_target_properties(${name} 13 | PROPERTIES 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/gtest/patches/gtest-1.8.1.patch: -------------------------------------------------------------------------------- 1 | diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake 2 | index 8c1f9ba..2203d3c 100644 3 | --- a/googletest/cmake/internal_utils.cmake 4 | +++ b/googletest/cmake/internal_utils.cmake 5 | @@ -166,7 +166,7 @@ function(cxx_library_with_type name type cxx_flags) 6 | # Generate debug library name with a postfix. 7 | set_target_properties(${name} 8 | PROPERTIES 9 | - DEBUG_POSTFIX "d") 10 | + DEBUG_POSTFIX "${CUSTOM_DEBUG_POSTFIX}") 11 | if (BUILD_SHARED_LIBS OR type STREQUAL "SHARED") 12 | set_target_properties(${name} 13 | PROPERTIES 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/gtest/test_package/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/gtest/all/test_package/main.cpp 7 | */ 8 | 9 | #include "gtest/gtest.h" 10 | 11 | int main(int argc, char **argv) { 12 | ::testing::InitGoogleTest(&argc, argv); 13 | return RUN_ALL_TESTS(); 14 | } 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/highway/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/b96b04ffad873992cbcfb98f0d84f6f44beb169d/recipes/highway/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(highway REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE highway::highway) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/imath/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/cceee569179c10fa56d1fd9c3582f3371944ba59/recipes/imath/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.12) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(Imath REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} Imath::Imath) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/imath/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/cceee569179c10fa56d1fd9c3582f3371944ba59/recipes/imath/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | int main(int argc, char *argv[]) 13 | { 14 | std::cout << half(1.0) << "\n"; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/lcms/patches/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/lcms/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(lcms REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE lcms::lcms) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/lcms/patches/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/lcms/all/test_package/test_package.c 7 | */ 8 | 9 | #include "lcms2.h" 10 | 11 | int main() 12 | { 13 | cmsUInt16Number linear[2] = { 0, 0xffff }; 14 | cmsToneCurve * curve = cmsBuildTabulatedToneCurve16(0, 2, linear); 15 | cmsFreeToneCurve(curve); 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/libalsa/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libalsa/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibalsaConan(ConanFile): 10 | name = "libalsa" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["asound"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "ALSA") 21 | self.cpp_info.set_property("cmake_target_name", "ALSA:ALSA") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/libaom-av1/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libaom-av1/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibaomAv1Conan(ConanFile): 10 | name = "libaom-av1" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["aom"] 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libbacktrace/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/7abb9ee39e6009e3dbc45043307a1098246d4ad7/recipes/libbacktrace/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(libbacktrace REQUIRED CONFIG) 11 | 12 | add_executable(test_package test_package.c) 13 | target_link_libraries(test_package PRIVATE libbacktrace::libbacktrace) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/libdeflate/test_packagec/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/187fd740e479c64303915954b5d43f56a490ce68/recipes/libdeflate/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(libdeflate REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | if(TARGET libdeflate::libdeflate_static) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE libdeflate::libdeflate_static) 15 | else() 16 | target_link_libraries(${PROJECT_NAME} PRIVATE libdeflate::libdeflate_shared) 17 | endif() 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/libdeflate/test_packagec/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/187fd740e479c64303915954b5d43f56a490ce68/recipes/libdeflate/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | 11 | int main () { 12 | struct libdeflate_compressor *c; 13 | c = libdeflate_alloc_compressor(12); 14 | libdeflate_free_compressor(c); 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/libffi/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | 4 | from conan import ConanFile 5 | 6 | class SystemLibffiConan(ConanFile): 7 | name = "libffi" 8 | version = "system" 9 | 10 | settings = "os", "arch", "compiler", "build_type" 11 | 12 | def package_info(self): 13 | self.cpp_info.includedirs = ["/usr/include"] 14 | self.cpp_info.libdirs = ["/usr/lib64"] 15 | self.cpp_info.libs = ["ffi"] 16 | 17 | self.cpp_info.set_property("cmake_file_name", "libffi") 18 | self.cpp_info.set_property("cmake_target_name", "libffi::libffi") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libiconv/conandata.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/libiconv/all/conandata.yml 6 | 7 | sources: 8 | "1.17": 9 | url: "https://ftp.gnu.org/gnu/libiconv/libiconv-1.17.tar.gz" 10 | sha256: "8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313" 11 | "1.16": 12 | url: "https://ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz" 13 | sha256: "e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04" 14 | "1.15": 15 | url: "https://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz" 16 | sha256: "ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178" 17 | patches: 18 | "1.16": 19 | - patch_file: "patches/0001-libcharset-fix-linkage.patch" 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/libiconv/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/libiconv/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package C) 9 | 10 | find_package(Iconv REQUIRED) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE Iconv::Iconv) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/libjpeg-turbo/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libjpeg-turbo/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(libjpeg-turbo REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | if(TARGET libjpeg-turbo::jpeg) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE libjpeg-turbo::jpeg) 15 | else() 16 | target_link_libraries(${PROJECT_NAME} PRIVATE libjpeg-turbo::jpeg-static) 17 | endif() 18 | target_compile_features(${PROJECT_NAME} PRIVATE c_std_99) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libjpeg-turbo/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libjpeg-turbo/all/test_package/test_package.c\ 7 | */ 8 | 9 | #include 10 | #include "jpeglib.h" 11 | 12 | int main() { 13 | struct jpeg_decompress_struct info; 14 | struct jpeg_error_mgr err; 15 | info.err = jpeg_std_error(&err); 16 | jpeg_create_decompress(&info); 17 | } 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/libjpeg-turbo/test_package_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libjpeg-turbo/all/test_package_module/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(JPEG REQUIRED) 11 | 12 | add_executable(${PROJECT_NAME} ../test_package/test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE JPEG::JPEG) 14 | target_compile_features(${PROJECT_NAME} PRIVATE c_std_99) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/libjxl/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/b96b04ffad873992cbcfb98f0d84f6f44beb169d/recipes/libjxl/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package C) 9 | 10 | find_package(libjxl REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE libjxl::libjxl) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/libjxl/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/b96b04ffad873992cbcfb98f0d84f6f44beb169d/recipes/libjxl/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | #include "jxl/decode.h" 13 | #include "jxl/thread_parallel_runner.h" 14 | 15 | int main() 16 | { 17 | JxlDecoder *dec = NULL; 18 | void *runner = NULL; 19 | dec = JxlDecoderCreate(NULL); 20 | 21 | // Allways True 22 | if (JxlDecoderSubscribeEvents(dec, JXL_DEC_BASIC_INFO) == JXL_DEC_SUCCESS) 23 | { 24 | printf("Test"); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /packages/conan/recipes/libmp3lame/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libmp3lame/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibMP3LameConan(ConanFile): 10 | name = "libmp3lame" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["mp3lame"] 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libpng/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/libpng/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibpngConan(ConanFile): 10 | name = "libpng" 11 | version = "1.6.34" # For oiio recipe 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["png"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "PNG") 21 | self.cpp_info.set_property("cmake_target_name", "PNG::PNG") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/libsndfile/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libsndfile/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibsndfileConan(ConanFile): 10 | name = "libsndfile" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["sndfile"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "SndFile") 21 | self.cpp_info.set_property("cmake_target_name", "SndFile::sndfile") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/libsquish/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libsquish/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibsquishConan(ConanFile): 10 | name = "libsquish" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["squish"] 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libsvtav1/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libsvtav1/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemSVTAV1Conan(ConanFile): 10 | name = "libsvtav1" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | 19 | self.cpp_info.components["encoder"].libs = ["SvtAv1Enc"] 20 | self.cpp_info.components["encoder"].includedirs = ["/usr/include/svt-av1"] 21 | self.cpp_info.components["decoder"].libs = ["SvtAv1Dec"] 22 | self.cpp_info.components["decoder"].includedirs = ["/usr/include/svt-av1"] 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/libtiff/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libtiff/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibtiffConan(ConanFile): 10 | name = "libtiff" 11 | version = "4.0.9" # for OIIO recipe 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["tiff", "tiffxx"] 19 | 20 | self.cpp_info.set_property("cmake_find_mode", "both") 21 | self.cpp_info.set_property("cmake_file_name", "TIFF") 22 | self.cpp_info.set_property("cmake_target_name", "TIFF::TIFF") 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/libvpx/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/libvpx/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibvpxConan(ConanFile): 10 | name = "libvpx" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["vpx"] 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/patches/1.1.0-0001-fix-dll-export.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/webp/types.h b/src/webp/types.h 2 | index 0ce2622..69f7e89 100644 3 | --- a/src/webp/types.h 4 | +++ b/src/webp/types.h 5 | @@ -39,7 +39,9 @@ typedef long long int int64_t; 6 | #ifndef WEBP_EXTERN 7 | // This explicitly marks library functions and allows for changing the 8 | // signature for e.g., Windows DLL builds. 9 | -# if defined(__GNUC__) && __GNUC__ >= 4 10 | +# if defined(_MSC_VER) && defined(WEBP_DLL) 11 | +# define WEBP_EXTERN __declspec(dllexport) 12 | +# elif defined(__GNUC__) && __GNUC__ >= 4 13 | # define WEBP_EXTERN extern __attribute__ ((visibility ("default"))) 14 | # else 15 | # define WEBP_EXTERN extern 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/patches/1.1.0-0002-qnx.patch: -------------------------------------------------------------------------------- 1 | diff --git a/cmake/deps.cmake b/cmake/deps.cmake 2 | index f19c0378..7b2d7cd7 100644 3 | --- a/cmake/deps.cmake 4 | +++ b/cmake/deps.cmake 5 | @@ -24,7 +24,8 @@ check_c_source_compiles(" 6 | # Check for libraries. 7 | find_package(Threads) 8 | if(Threads_FOUND) 9 | - if(CMAKE_USE_PTHREADS_INIT) 10 | + # work around cmake bug on QNX (https://chromium-review.googlesource.com/c/webm/libwebp/+/2637274) 11 | + if(CMAKE_USE_PTHREADS_INIT AND NOT CMAKE_SYSTEM_NAME STREQUAL "QNX") 12 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") 13 | endif() 14 | foreach(PTHREAD_TEST HAVE_PTHREAD_PRIO_INHERIT PTHREAD_CREATE_UNDETACHED) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/patches/1.1.0-0003-build-libwebpmux.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -402,7 +402,7 @@ if(WEBP_BUILD_CWEBP) 4 | install(TARGETS cwebp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 5 | endif() 6 | 7 | -if(WEBP_BUILD_GIF2WEBP OR WEBP_BUILD_IMG2WEBP) 8 | +if(1) 9 | parse_makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/src/mux "WEBP_MUX_SRCS" "") 10 | add_library(libwebpmux ${WEBP_MUX_SRCS}) 11 | target_link_libraries(libwebpmux webp) 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/patches/1.3.1-0001-fix-cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index ad5e14c3..89c836f3 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -58,7 +58,6 @@ if(WEBP_LINK_STATIC) 6 | else() 7 | set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) 8 | endif() 9 | - set(CMAKE_POSITION_INDEPENDENT_CODE ON) 10 | # vwebp does not compile on Ubuntu with static libraries so disabling it for 11 | # now. 12 | set(WEBP_BUILD_VWEBP OFF) 13 | @@ -153,7 +152,7 @@ endif() 14 | set(PTHREAD_LIBS ${CMAKE_THREAD_LIBS_INIT}) 15 | set(INSTALLED_LIBRARIES) 16 | 17 | -if(MSVC) 18 | +if(0) 19 | # match the naming convention used by nmake 20 | set(webp_libname_prefix "lib") 21 | set(CMAKE_SHARED_LIBRARY_PREFIX "${webp_libname_prefix}") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/patches/1.4.0-0001-fix-cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index ad5e14c3..89c836f3 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -60,7 +60,6 @@ if(WEBP_LINK_STATIC) 6 | else() 7 | set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) 8 | endif() 9 | - set(CMAKE_POSITION_INDEPENDENT_CODE ON) 10 | # vwebp does not compile on Ubuntu with static libraries so disabling it for 11 | # now. 12 | set(WEBP_BUILD_VWEBP OFF) 13 | @@ -155,7 +154,7 @@ endif() 14 | set(PTHREAD_LIBS ${CMAKE_THREAD_LIBS_INIT}) 15 | set(INSTALLED_LIBRARIES) 16 | 17 | -if(MSVC) 18 | +if(0) 19 | # match the naming convention used by nmake 20 | set(webp_libname_prefix "lib") 21 | set(CMAKE_SHARED_LIBRARY_PREFIX "${webp_libname_prefix}") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f2c56e90ae28fef1ee1a392adf59f96199ee1277/recipes/libwebp/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(WebP REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE WebP::webp) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/libwebp/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/f2c56e90ae28fef1ee1a392adf59f96199ee1277/recipes/libwebp/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | int main(void) 13 | { 14 | int version = WebPGetDecoderVersion(); 15 | printf("Webp Decoder version: %d\n", version); 16 | 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/libxcrypt/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/libxcrypt/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(libxcrypt REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE libxcrypt::libxcrypt) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/libxcrypt/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/libxcrypt/all/test_package/test_package.c 7 | */ 8 | 9 | #include "crypt.h" 10 | 11 | #include 12 | int main() 13 | { 14 | printf("preferred method: %s\n", crypt_preferred_method()); 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/libxshmfence/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/libxshmfence/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemLibxshmfenceConan(ConanFile): 10 | name = "libxshmfence" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["xshmfence"] 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/patches/1.2.2-0001-fix-cmake.patch: -------------------------------------------------------------------------------- 1 | --- CMakeLists.txt 2 | +++ CMakeLists.txt 3 | @@ -11,8 +11,8 @@ 4 | # Remove when CMake >= 2.8.4 is required 5 | set (CMAKE_LEGACY_CYGWIN_WIN32 0) 6 | 7 | +cmake_minimum_required (VERSION 3.15) 8 | project (log4cplus) 9 | -cmake_minimum_required (VERSION 2.8.12) 10 | 11 | enable_language (CXX) 12 | include(GNUInstallDirs) 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/patches/2.0.6-0001-fix-cmake,patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 5fa96f7..4209098 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -1,3 +1,5 @@ 6 | +cmake_minimum_required (VERSION 3.12) 7 | + 8 | # This block needs to stay before the project (log4cplus) line so that 9 | # the output files placed into Android's libs directory. 10 | if (CMAKE_TOOLCHAIN_FILE) 11 | @@ -12,10 +14,6 @@ endif () 12 | set (CMAKE_LEGACY_CYGWIN_WIN32 0) 13 | 14 | project (log4cplus) 15 | -cmake_minimum_required (VERSION 3.12) 16 | - 17 | -# Use "-fPIC" / "-fPIE" for all targets by default, including static libs. 18 | -set (CMAKE_POSITION_INDEPENDENT_CODE ON) 19 | 20 | enable_language (CXX) 21 | if (MSVC) 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/patches/2.1.2-0001-fix-cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 9dcbb8a..f80d3b9 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -15,7 +15,7 @@ cmake_minimum_required (VERSION 3.12) 6 | project (log4cplus) 7 | 8 | # Use "-fPIC" / "-fPIE" for all targets by default, including static libs. 9 | -set (CMAKE_POSITION_INDEPENDENT_CODE ON) 10 | +# set (CMAKE_POSITION_INDEPENDENT_CODE ON) 11 | 12 | enable_language (CXX) 13 | if (MSVC) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/log4cplus/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(log4cplus REQUIRED CONFIG) 11 | 12 | if(log4cplus_VERSION VERSION_GREATER_EQUAL 2) 13 | add_executable(${PROJECT_NAME} test_package.cpp) 14 | else() 15 | add_executable(${PROJECT_NAME} test_package_v1.cpp) 16 | endif() 17 | target_link_libraries(${PROJECT_NAME} PRIVATE log4cplus::log4cplus) 18 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/log4cplus/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | log4cplus::Initializer initializer; 17 | 18 | log4cplus::BasicConfigurator config; 19 | config.configure(); 20 | 21 | log4cplus::Logger logger = log4cplus::Logger::getInstance(LOG4CPLUS_TEXT("main")); 22 | LOG4CPLUS_WARN(logger, LOG4CPLUS_TEXT("Hello, World!")); 23 | 24 | return 0; 25 | } 26 | -------------------------------------------------------------------------------- /packages/conan/recipes/log4cplus/test_package/test_package_v1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/22dfbd2b42eed730eca55e14025e8ffa65f723b2/recipes/log4cplus/all/test_package/test_package_v1.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | log4cplus::initialize(); 16 | 17 | log4cplus::BasicConfigurator config; 18 | config.configure(); 19 | 20 | log4cplus::Logger logger = log4cplus::Logger::getInstance(LOG4CPLUS_TEXT("main")); 21 | LOG4CPLUS_WARN(logger, LOG4CPLUS_TEXT("Hello, World!")); 22 | 23 | return 0; 24 | } 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/lz4/patches/0004-Added-namespace-declaration-for-xxhash-in-CMake.patch: -------------------------------------------------------------------------------- 1 | --- a/build/cmake/CMakeLists.txt 2 | +++ b/build/cmake/CMakeLists.txt 3 | @@ -131,6 +131,16 @@ if(BUILD_STATIC_LIBS) 4 | list(APPEND LZ4_LIBRARIES_BUILT lz4_static) 5 | endif() 6 | 7 | +# xxhash namesapce 8 | +if(BUILD_SHARED_LIBS) 9 | + target_compile_definitions(lz4_shared PRIVATE 10 | + XXH_NAMESPACE=LZ4_) 11 | +endif() 12 | +if(BUILD_STATIC_LIBS) 13 | + target_compile_definitions(lz4_static PRIVATE 14 | + XXH_NAMESPACE=LZ4_) 15 | +endif() 16 | + 17 | if(BUILD_STATIC_LIBS) 18 | set(LZ4_LINK_LIBRARY lz4_static) 19 | else() 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/lz4/test_package/lib.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/lz4/all/test_package/lib.c 7 | */ 8 | 9 | #include "lz4.h" 10 | 11 | #ifdef _MSC_VER 12 | #define API __declspec(dllexport) 13 | #else 14 | #define API __attribute__ ((visibility("default"))) 15 | #endif 16 | 17 | API 18 | int lz4_version() 19 | { 20 | return LZ4_versionNumber(); 21 | } 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/lz4/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/lz4/all/test_package/test_package.c 7 | */ 8 | 9 | // LZ4 trivial example : print Library version number 10 | // Copyright : Takayuki Matsuoka & Yann Collet 11 | 12 | 13 | #include 14 | #include "lz4.h" 15 | 16 | int main(int argc, char** argv) 17 | { 18 | (void)argc; (void)argv; 19 | printf("Hello World ! LZ4 Library version = %d\n", LZ4_versionNumber()); 20 | return 0; 21 | } 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/materialx/patches/1.39.3-cmake-libraries.patch: -------------------------------------------------------------------------------- 1 | --- cmake/modules/MaterialXConfig.cmake.in 2 | +++ cmake/modules/MaterialXConfig.cmake.in 3 | @@ -18,7 +18,7 @@ 4 | # MATERIALX_RESOURCES_DIR Path to MaterialX Resources (sample data, mtlx etc) 5 | 6 | set_and_check(MATERIALX_BASE_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@") 7 | -set_and_check(MATERIALX_STDLIB_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@/libraries") 8 | +set_and_check(MATERIALX_STDLIB_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@/share/MaterialX") 9 | if(@MATERIALX_BUILD_PYTHON@ AND @MATERIALX_INSTALL_PYTHON@) 10 | set_and_check(MATERIALX_PYTHON_DIR "@PACKAGE_CMAKE_INSTALL_PREFIX@/python") 11 | endif() 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/materialx/patches/pybind11-cmake.patch: -------------------------------------------------------------------------------- 1 | --- a/source/PyMaterialX/CMakeLists.txt 2 | +++ b/source/PyMaterialX/CMakeLists.txt 3 | @@ -9,6 +9,7 @@ 4 | 5 | # First look for a PyBind11 package via CMake. 6 | if(MATERIALX_PYTHON_PYBIND11_DIR STREQUAL "") 7 | + find_package(Python3 COMPONENTS Interpreter Development) 8 | find_package(pybind11 QUIET) 9 | if(pybind11_FOUND) 10 | include_directories(${PYBIND11_INCLUDE_DIR}) 11 | -------------------------------------------------------------------------------- /packages/conan/recipes/materialx/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/2a3cb93885141024c1b405a01a79fb3abc239b12/recipes/materialx/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | 9 | project(test_package LANGUAGES CXX) 10 | 11 | find_package(materialx REQUIRED CONFIG) 12 | 13 | add_executable(${PROJECT_NAME} test_package.cpp) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE materialx::MaterialXCore materialx::MaterialXFormat) 15 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/md4c/patches/0.4.8-0001-honor-vc-runtime.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -42,15 +42,6 @@ elseif(MSVC) 4 | # Disable warnings about the so-called unsecured functions: 5 | add_definitions(/D_CRT_SECURE_NO_WARNINGS) 6 | 7 | - # Specify proper C runtime library: 8 | - string(REGEX REPLACE "/M[DT]d?" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") 9 | - string(REGEX REPLACE "/M[DT]d?" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") 10 | - string(REGEX REPLACE "/M[DT]d?" "" CMAKE_C_FLAGS_RELWITHDEBINFO "{$CMAKE_C_FLAGS_RELWITHDEBINFO}") 11 | - string(REGEX REPLACE "/M[DT]d?" "" CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL}") 12 | - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd") 13 | - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT") 14 | - set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} /MT") 15 | - set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_RELEASE} /MT") 16 | endif() 17 | 18 | include(GNUInstallDirs) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/md4c/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/md4c/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(md4c CONFIG REQUIRED) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(test_package PRIVATE md4c::md4c) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.10-0001-fix-cmake-project.patch: -------------------------------------------------------------------------------- 1 | --- CMakeLists.txt 2 | +++ CMakeLists.txt 3 | @@ -80,6 +80,7 @@ 4 | 5 | # Library version 6 | set(VERSION "3.0.10") 7 | +project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) 8 | 9 | # API version 10 | set(SOVERSION "3") 11 | @@ -662,7 +663,6 @@ 12 | list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) 13 | 14 | # Create minizip library 15 | -project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) 16 | 17 | if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") 18 | message(STATUS "Project configured as ${PROJECT_NAME}") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.10-0001-mz-path-remove-slash.patch: -------------------------------------------------------------------------------- 1 | --- mz_os.c 2 | +++ mz_os.c 3 | @@ -68,7 +68,7 @@ 4 | 5 | int32_t mz_path_has_slash(const char *path) { 6 | int32_t path_len = (int32_t)strlen(path); 7 | - if (path[path_len - 1] != '\\' && path[path_len - 1] != '/') 8 | + if (path_len > 0 && path[path_len - 1] != '\\' && path[path_len - 1] != '/') 9 | return MZ_EXIST_ERROR; 10 | return MZ_OK; 11 | } 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.6-0002-fix-lzma-libdir.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -304,6 +304,7 @@ if(MZ_LZMA) 4 | 5 | list(APPEND MINIZIP_INC ${LIBLZMA_INCLUDE_DIRS}) 6 | list(APPEND MINIZIP_LIB ${LIBLZMA_LIBRARIES}) 7 | + list(APPEND MINIZIP_LBD ${LIBLZMA_LIBRARY_DIRS}) 8 | 9 | set(PC_PRIVATE_LIBS "${PC_PRIVATE_LIBS} -lliblzma") 10 | elseif(MZ_FETCH_LIBS) 11 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.7-0001-fix-cmake-project.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -70,6 +70,7 @@ enable_language(C) 4 | 5 | # Library version 6 | set(VERSION "3.0.7") 7 | +project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION} LANGUAGES C) 8 | 9 | # API version 10 | set(SOVERSION "3") 11 | @@ -670,7 +671,6 @@ endif() 12 | list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) 13 | 14 | # Create minizip library 15 | -project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) 16 | 17 | if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") 18 | message(STATUS "Project configured as ${PROJECT_NAME}") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.8-0001-fix-cmake-project.patch: -------------------------------------------------------------------------------- 1 | diff --git a/a/CMakeLists.txt b/b/CMakeLists.txt 2 | index a073919..7ff2b58 100644 3 | --- a/a/CMakeLists.txt 4 | +++ b/b/CMakeLists.txt 5 | @@ -70,6 +70,7 @@ enable_language(C) 6 | 7 | # Library version 8 | set(VERSION "3.0.8") 9 | +project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION} LANGUAGES C) 10 | 11 | # API version 12 | set(SOVERSION "3") 13 | @@ -663,7 +664,6 @@ endif() 14 | list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) 15 | 16 | # Create minizip library 17 | -project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) 18 | 19 | if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") 20 | message(STATUS "Project configured as ${PROJECT_NAME}") 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/patches/3.0.9-0001-fix-cmake-project.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index be7205c..cad8d50 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -80,6 +80,7 @@ enable_language(C) 6 | 7 | # Library version 8 | set(VERSION "3.0.9") 9 | +project(minizip${MZ_PROJECT_SUFFIX} VERSION ${VERSION} LANGUAGES C) 10 | 11 | # API version 12 | set(SOVERSION "3") 13 | @@ -665,7 +666,6 @@ endif() 14 | list(APPEND MINIZIP_INC ${CMAKE_CURRENT_SOURCE_DIR}) 15 | 16 | # Create minizip library 17 | -project(minizip${MZ_PROJECT_SUFFIX} LANGUAGES C VERSION ${VERSION}) 18 | 19 | if(NOT ${MZ_PROJECT_SUFFIX} STREQUAL "") 20 | message(STATUS "Project configured as ${PROJECT_NAME}") 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/minizip-ng/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(minizip-ng REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE MINIZIP::minizip-ng) 14 | target_compile_features(${PROJECT_NAME} PRIVATE c_std_99) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/minizip-ng/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/minizip-ng/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | int main(int argc, char** argv) 14 | { 15 | char output[256]; 16 | memset(output, 'z', sizeof(output)); 17 | int32_t err = mz_path_resolve("c:\\test\\.", output, sizeof(output)); 18 | int32_t ok = (strcmp(output, "c:\\test\\") == 0); 19 | return EXIT_SUCCESS; 20 | } 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/mpdecimal/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | 4 | from conan import ConanFile 5 | 6 | class SystemMpdecimalConan(ConanFile): 7 | name = "mpdecimal" 8 | version = "system" 9 | 10 | settings = "os", "arch", "compiler", "build_type" 11 | 12 | def package_info(self): 13 | self.cpp_info.includedirs = ["/usr/include"] 14 | self.cpp_info.libdirs = ["/usr/lib64"] 15 | self.cpp_info.libs = ["mpdec"] 16 | 17 | self.cpp_info.set_property("cmake_file_name", "mpdecimal") 18 | self.cpp_info.set_property("cmake_target_name", "mpdecimal::mpdecimal") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/nasm/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/b96b04ffad873992cbcfb98f0d84f6f44beb169d/recipes/nasm/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemNASMConan(ConanFile): 10 | name = "nasm" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = [""] 17 | self.cpp_info.libdirs = [""] 18 | self.cpp_info.bindirs = ["/usr/bin"] 19 | self.cpp_info.binaries = ["nasm"] 20 | 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/ninja/patches/add_install_target_to_cmake_build.patch: -------------------------------------------------------------------------------- 1 | From 34d1bf2f1dcc138f7cb3a54daf771931cd799785 Mon Sep 17 00:00:00 2001 2 | From: rezso 3 | Date: Sat, 8 Feb 2020 19:08:06 +0100 4 | Subject: [PATCH] Add install target to CMake build 5 | 6 | --- 7 | CMakeLists.txt | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/CMakeLists.txt b/CMakeLists.txt 11 | index 60fd8a1a7..228535770 100644 12 | --- a/CMakeLists.txt 13 | +++ b/CMakeLists.txt 14 | @@ -127,3 +127,5 @@ endforeach() 15 | 16 | enable_testing() 17 | add_test(NinjaTest ninja_test) 18 | + 19 | +install(TARGETS ninja DESTINATION bin) 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/ninja/patches/add_subproject_support.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2020-07-16 14:12:55.679748344 +0200 2 | +++ b/CMakeLists.txt 2020-07-16 14:13:44.435902524 +0200 3 | @@ -32,9 +32,9 @@ 4 | COMMAND ${RE2C} -b -i --no-generation-date -o ${OUT} ${IN} 5 | ) 6 | endfunction() 7 | - re2c(${CMAKE_SOURCE_DIR}/src/depfile_parser.in.cc ${CMAKE_BINARY_DIR}/depfile_parser.cc) 8 | - re2c(${CMAKE_SOURCE_DIR}/src/lexer.in.cc ${CMAKE_BINARY_DIR}/lexer.cc) 9 | - add_library(libninja-re2c OBJECT ${CMAKE_BINARY_DIR}/depfile_parser.cc ${CMAKE_BINARY_DIR}/lexer.cc) 10 | + re2c(${PROJECT_SOURCE_DIR}/src/depfile_parser.in.cc ${PROJECT_BINARY_DIR}/depfile_parser.cc) 11 | + re2c(${PROJECT_SOURCE_DIR}/src/lexer.in.cc ${PROJECT_BINARY_DIR}/lexer.cc) 12 | + add_library(libninja-re2c OBJECT ${PROJECT_BINARY_DIR}/depfile_parser.cc ${PROJECT_BINARY_DIR}/lexer.cc) 13 | else() 14 | message(WARNING "re2c was not found; changes to src/*.in.cc will not affect your build.") 15 | add_library(libninja-re2c OBJECT src/depfile_parser.cc src/lexer.cc) 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/ninja/test_package/conanfile.py: -------------------------------------------------------------------------------- 1 | from conan import ConanFile 2 | 3 | 4 | class TestPackageConan(ConanFile): 5 | settings = "os", "arch", "compiler", "build_type" 6 | generators = "VirtualBuildEnv" 7 | test_type = "explicit" 8 | 9 | def build_requirements(self): 10 | self.tool_requires(self.tested_reference_str) 11 | 12 | def test(self): 13 | self.run("ninja --version") 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/nspr/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/nspr/all/conanfile.py# 6 | 7 | from conan import ConanFile 8 | 9 | class SystemNsprConan(ConanFile): 10 | name = "nspr" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include/nspr4"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["plds4", "plc4", "nspr4"] 19 | self.cpp_info.system_libs.extend(["dl", "pthread", "rt"]) 20 | self.cpp_info.resdirs = ["res"] 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/patches/2.1.0-0003-strlen.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/OpenColorIO/FileRules.cpp b/src/OpenColorIO/FileRules.cpp 2 | index 794dfdbe..94729459 100644 3 | --- a/src/OpenColorIO/FileRules.cpp 4 | +++ b/src/OpenColorIO/FileRules.cpp 5 | @@ -6,6 +6,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | #include 12 | 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/patches/2.1.0-0004-fix-cpp-version-check.patch: -------------------------------------------------------------------------------- 1 | diff --git a/share/cmake/utils/CppVersion.cmake b/share/cmake/utils/CppVersion.cmake 2 | index aeca6c0..6b4dc4e 100644 3 | --- a/share/cmake/utils/CppVersion.cmake 4 | +++ b/share/cmake/utils/CppVersion.cmake 5 | @@ -12,11 +12,11 @@ if(NOT DEFINED CMAKE_CXX_STANDARD) 6 | message(STATUS "Setting C++ version to '11' as none was specified.") 7 | set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard to compile against") 8 | elseif(NOT CMAKE_CXX_STANDARD IN_LIST SUPPORTED_CXX_STANDARDS) 9 | - message(FATAL_ERROR 10 | + message(WARNING 11 | "CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} is unsupported. Supported standards are: ${SUPPORTED_CXX_STANDARDS_STR}.") 12 | endif() 13 | 14 | -set_property(CACHE CMAKE_CXX_STANDARD PROPERTY STRINGS "${SUPPORTED_CXX_STANDARDS}") 15 | +#set_property(CACHE CMAKE_CXX_STANDARD PROPERTY STRINGS "${SUPPORTED_CXX_STANDARDS}") 16 | 17 | include(CheckCXXCompilerFlag) 18 | 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/patches/2.2.1-0003-strlen.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/OpenColorIO/FileRules.cpp b/src/OpenColorIO/FileRules.cpp 2 | index 61a5e0f..e0df0d0 100644 3 | --- a/src/OpenColorIO/FileRules.cpp 4 | +++ b/src/OpenColorIO/FileRules.cpp 5 | @@ -62,7 +62,7 @@ std::string ConvertToRegularExpression(const char * globPattern, bool ignoreCase 6 | 7 | if (ignoreCase) 8 | { 9 | - const size_t length = strlen(globPattern); 10 | + const size_t length = std::strlen(globPattern); 11 | bool respectCase = false; 12 | for (size_t i = 0; i < length; ++i) 13 | { 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/patches/2.4.2-0002-cmake-deps-for-shared-libs.patch: -------------------------------------------------------------------------------- 1 | diff --git src/cmake/Config.cmake.in src/cmake/Config.cmake.in 2 | index 0eaec4be..e711295c 100755 3 | --- src/cmake/Config.cmake.in 4 | +++ src/cmake/Config.cmake.in 5 | @@ -2,7 +2,7 @@ 6 | 7 | include(CMakeFindDependencyMacro) 8 | 9 | -if (NOT @BUILD_SHARED_LIBS@) # NOT @BUILD_SHARED_LIBS@ 10 | +if (NOT OFF) # NOT @BUILD_SHARED_LIBS@ 11 | if (APPLE) 12 | # Store the previous value of CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE. 13 | set(_PREVIOUS_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK}) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/opencolorio/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(OpenColorIO REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE OpenColorIO::OpenColorIO) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/ocio/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/opencolorio/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | int main() 13 | { 14 | std::cout << "OpenColorIO " << OCIO_NAMESPACE::GetVersion() << "\n"; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/ogg/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/ogg/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemOggConan(ConanFile): 10 | name = "ogg" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["ogg"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "Ogg") 21 | self.cpp_info.set_property("cmake_target_name", "Ogg::ogg") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/oiio/patches/3.0.4.0-cmake-fmt.patch: -------------------------------------------------------------------------------- 1 | diff --git src/cmake/externalpackages.cmake src/cmake/externalpackages.cmake 2 | index d99dd79ac..bfda2778a 100644 3 | --- src/cmake/externalpackages.cmake 4 | +++ src/cmake/externalpackages.cmake 5 | @@ -233,6 +233,8 @@ 6 | BUILD_LOCAL missing 7 | ) 8 | get_target_property(FMT_INCLUDE_DIR fmt::fmt-header-only INTERFACE_INCLUDE_DIRECTORIES) 9 | +# Get rid of generator expression from Conan 10 | +string(REGEX REPLACE "^\\$<\\$:(.*)>$" "\\1" FMT_INCLUDE_DIR "${FMT_INCLUDE_DIR}") 11 | 12 | 13 | ########################################################################### 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/oiio/patches/3.0.5.0-cmake-fmt.patch: -------------------------------------------------------------------------------- 1 | diff --git src/cmake/externalpackages.cmake src/cmake/externalpackages.cmake 2 | index d99dd79ac..bfda2778a 100644 3 | --- src/cmake/externalpackages.cmake 4 | +++ src/cmake/externalpackages.cmake 5 | @@ -234,7 +234,9 @@ 6 | VERSION_MIN 7.0 7 | BUILD_LOCAL missing 8 | ) 9 | -get_target_property(FMT_INCLUDE_DIR fmt::fmt-header-only INTERFACE_INCLUDE_DIRECTORIES) 10 | +get_target_property(FMT_INCLUDE_DIR fmt::fmt INTERFACE_INCLUDE_DIRECTORIES) 11 | +# Get rid of generator expression from Conan 12 | +string(REGEX REPLACE "^\\$<\\$:(.*)>$" "\\1" FMT_INCLUDE_DIR "${FMT_INCLUDE_DIR}") 13 | 14 | 15 | ########################################################################### 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/oiio/patches/3.0.6.1-cmake-fmt.patch: -------------------------------------------------------------------------------- 1 | diff --git src/cmake/externalpackages.cmake src/cmake/externalpackages.cmake 2 | index d99dd79ac..bfda2778a 100644 3 | --- src/cmake/externalpackages.cmake 4 | +++ src/cmake/externalpackages.cmake 5 | @@ -234,7 +234,9 @@ 6 | VERSION_MIN 7.0 7 | BUILD_LOCAL missing 8 | ) 9 | -get_target_property(FMT_INCLUDE_DIR fmt::fmt-header-only INTERFACE_INCLUDE_DIRECTORIES) 10 | +get_target_property(FMT_INCLUDE_DIR fmt::fmt INTERFACE_INCLUDE_DIRECTORIES) 11 | +# Get rid of generator expression from Conan 12 | +string(REGEX REPLACE "^\\$<\\$:(.*)>$" "\\1" FMT_INCLUDE_DIR "${FMT_INCLUDE_DIR}") 13 | 14 | 15 | ########################################################################### 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/oiio/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/openimageio/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package CXX) 9 | 10 | find_package(OpenImageIO REQUIRED CONFIG) 11 | find_package(fmt REQUIRED CONFIG) 12 | 13 | add_executable(${PROJECT_NAME} test_package.cpp) 14 | # ASWF: when building test package, Conan package name is part of target 15 | target_link_libraries(${PROJECT_NAME} PRIVATE oiio::OpenImageIO 16 | oiio::OpenImageIO_Util 17 | fmt::fmt) 18 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/oiio/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/openimageio/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | 11 | int main() 12 | { 13 | std::cout << "OpenImageIO " << OIIO_VERSION_STRING << "\n"; 14 | 15 | std::string formats = OIIO::get_string_attribute("format_list"); 16 | std::cout << "Supported formats:\n" << formats << "\n"; 17 | } 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/onetbb/2020.x/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/cceee569179c10fa56d1fd9c3582f3371944ba59/recipes/onetbb/2020.x/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package CXX) 9 | 10 | find_package(TBB REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} TBB::tbb) 14 | set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/onetbb/all/patches/fix-overeager-stripping-of-compile-flag.diff: -------------------------------------------------------------------------------- 1 | diff --git a/cmake/utils.cmake b/cmake/utils.cmake 2 | index f74abfcf9..a090bacbb 100644 3 | --- a/cmake/utils.cmake 4 | +++ b/cmake/utils.cmake 5 | @@ -18,7 +18,7 @@ macro(tbb_remove_compile_flag flag) 6 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY COMPILE_OPTIONS ${_tbb_compile_options}) 7 | unset(_tbb_compile_options) 8 | if (CMAKE_CXX_FLAGS) 9 | - string(REGEX REPLACE ${flag} "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) 10 | + string(REGEX REPLACE "(^|[ \t\r\n]+)${flag}($|[ \t\r\n]+)" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) 11 | endif() 12 | endmacro() 13 | 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/onetbb/all/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/c29c3a06d0c5d4fd98529a34586c4f60ab00f659/recipes/onetbb/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(TBB REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE TBB::tbb) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/onetbb/all/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/c29c3a06d0c5d4fd98529a34586c4f60ab00f659/recipes/onetbb/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | int main(){ 13 | std::cout << "tbb runtime version: " << TBB_runtime_version() << "\n"; 14 | std::cout << "tbb runtime interface version: " << TBB_runtime_interface_version() << "\n"; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/openal-soft/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/openal/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemOpenALSoftConan(ConanFile): 10 | name = "openal-soft" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include/AL"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["openal"] 19 | 20 | self.cpp_info.set_property("cmake_find_mode", "both") 21 | self.cpp_info.set_property("cmake_file_name", "OpenAL") 22 | self.cpp_info.set_property("cmake_target_name", "OpenAL::OpenAL") 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/openexr/patches/3.1.4-gcc5-bug-workaround.patch: -------------------------------------------------------------------------------- 1 | Workaround for GCC bug #82336, see: 2 | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82336 3 | 4 | --- a/src/lib/OpenEXR/ImfAttribute.h 5 | +++ b/src/lib/OpenEXR/ImfAttribute.h 6 | @@ -119,7 +119,7 @@ class IMF_EXPORT_TEMPLATE_TYPE TypedAttribute: public Attribute 7 | // that the type T is copyable/assignable/moveable. 8 | //------------------------------------------------------------ 9 | 10 | - TypedAttribute () = default; 11 | + TypedAttribute () {} 12 | TypedAttribute (const T &value); 13 | TypedAttribute (const TypedAttribute &other) = default; 14 | TypedAttribute (TypedAttribute &&other) = default; 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/openexr/patches/3.2.1-gcc5-bug-workaround.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/lib/OpenEXR/ImfAttribute.h b/src/lib/OpenEXR/ImfAttribute.h 2 | index bccd980..c8438f3 100644 3 | --- a/src/lib/OpenEXR/ImfAttribute.h 4 | +++ b/src/lib/OpenEXR/ImfAttribute.h 5 | @@ -108,7 +108,7 @@ public: 6 | // that the type T is copyable/assignable/moveable. 7 | //------------------------------------------------------------ 8 | 9 | - TypedAttribute () = default; 10 | + TypedAttribute () {}; 11 | TypedAttribute (const T& value); 12 | TypedAttribute (const TypedAttribute& other) = default; 13 | TypedAttribute (TypedAttribute&& other) = default; 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/openexr/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/cceee569179c10fa56d1fd9c3582f3371944ba59/recipes/openexr/3.x/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(OpenEXR REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE OpenEXR::OpenEXR) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/openexr/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include 5 | 6 | int main (int argc, char *argv[]) 7 | { 8 | Imf::Header header; 9 | std::cout << "Test: " << header.screenWindowWidth() << std::endl; 10 | return EXIT_SUCCESS; 11 | } 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/openjpeg/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/openjpeg/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemOpenjpegConan(ConanFile): 10 | name = "openjpeg" 11 | version = "2.4.0" # for OIIO recipe 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["openjp2"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "OpenJPEG") 21 | self.cpp_info.set_property("cmake_target_name", "openjp2") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/openssl/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: MIT 3 | 4 | from conan import ConanFile 5 | 6 | class SystemOpenSSLConan(ConanFile): 7 | name = "openssl" 8 | version = "system" 9 | 10 | settings = "os", "arch", "compiler", "build_type" 11 | options = { 12 | "shared": [True, False], 13 | } 14 | default_options = { 15 | "shared": True, 16 | } 17 | 18 | def package_info(self): 19 | self.cpp_info.includedirs = ["/usr/include"] 20 | self.cpp_info.libdirs = ["/usr/lib64"] 21 | self.cpp_info.libs = ["ssl", "crypto"] 22 | 23 | self.cpp_info.set_property("cmake_file_name", "OpenSSL") 24 | self.cpp_info.set_property("cmake_target_name", "OpenSSL::OpenSSL") 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/patches/3.4.4-0001-cmake-minimum-required.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -22,9 +22,9 @@ 4 | # language governing permissions and limitations under the Apache License. 5 | # 6 | 7 | +cmake_minimum_required(VERSION 3.1) 8 | project(OpenSubdiv) 9 | 10 | -cmake_minimum_required(VERSION 2.8.6) 11 | 12 | # Turn on folder support 13 | set_property(GLOBAL PROPERTY USE_FOLDERS ON) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/patches/3.4.4-0002-cmake-no-rpath.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -146,12 +146,10 @@ if (NOT CMAKE_COMPILER_IS_ICC) 4 | # sequences of ':' that this command causes. The consequence is that examples 5 | # built and installed using icc will not have an rpath pointing to the built 6 | # OSD library which they depend on and will have to set LD_LIBRARY_PATH instead. 7 | - list(APPEND CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") 8 | endif() 9 | 10 | # add the automatically determined parts of the RPATH 11 | # which point to directories outside the build tree to the install RPATH 12 | -SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 13 | 14 | # ensure that ARC is shown as enabled in the Xcode UI 15 | if(CMAKE_GENERATOR STREQUAL "Xcode") 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/patches/3.6.0-0002-cmake-no-rpath.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 8620cf3..aba7a90 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -157,12 +157,12 @@ if (NOT CMAKE_COMPILER_IS_ICC) 6 | # sequences of ':' that this command causes. The consequence is that examples 7 | # built and installed using icc will not have an rpath pointing to the built 8 | # OSD library which they depend on and will have to set LD_LIBRARY_PATH instead. 9 | - list(APPEND CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") 10 | +# list(APPEND CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") 11 | endif() 12 | 13 | # add the automatically determined parts of the RPATH 14 | # which point to directories outside the build tree to the install RPATH 15 | -SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 16 | +#SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 17 | 18 | # ensure that ARC is shown as enabled in the Xcode UI 19 | if(CMAKE_GENERATOR STREQUAL "Xcode") 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/patches/cmake-no-versions.diff: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 8620cf3d..a6832314 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -353,7 +353,7 @@ if(NOT NO_OMP) 6 | find_package(OpenMP) 7 | endif() 8 | if(NOT NO_TBB) 9 | - find_package(TBB 2018 COMPONENTS tbb) 10 | + find_package(TBB COMPONENTS tbb) 11 | endif() 12 | if (NOT NO_OPENGL) 13 | find_package(OpenGL) 14 | @@ -376,7 +376,7 @@ if(NOT NO_GLFW AND NOT NO_OPENGL AND NOT ANDROID AND NOT IOS) 15 | find_package(GLFW 3.0.0) 16 | endif() 17 | if(NOT NO_PTEX) 18 | - find_package(PTex 2.0) 19 | + find_package(PTex) 20 | find_package(ZLIB 1.2) 21 | endif() 22 | if(APPLE AND NOT NO_METAL) 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/patches/cmake-ptex-lib64.diff: -------------------------------------------------------------------------------- 1 | diff --git a/cmake/FindPTex.cmake b/cmake/FindPTex.cmake 2 | index fde70773..263bbe4b 100644 3 | --- a/cmake/FindPTex.cmake 4 | +++ b/cmake/FindPTex.cmake 5 | @@ -102,11 +102,11 @@ else () 6 | NAMES 7 | Ptex wdasPtex 8 | HINTS 9 | - "${PTEX_LOCATION}/lib" 10 | - "$ENV{PTEX_LOCATION}/lib" 11 | + "${PTEX_LOCATION}/lib64" 12 | + "$ENV{PTEX_LOCATION}/lib64" 13 | PATHS 14 | /usr/lib 15 | - /usr/local/lib 16 | + /usr/local/lib64 17 | /usr/openwin/lib 18 | /usr/X11R6/lib 19 | DOC "The Ptex library") 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/opensubdiv/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/2a3cb93885141024c1b405a01a79fb3abc239b12/recipes/opensubdiv/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(OpenSubdiv REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | if(TARGET OpenSubdiv::osdcpu_static) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE OpenSubdiv::osdcpu_static) 15 | else() 16 | target_link_libraries(${PROJECT_NAME} PRIVATE OpenSubdiv::osdcpu) 17 | endif() 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/opus/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/opus/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemOpusConan(ConanFile): 10 | name = "opus" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.libdirs = ["/usr/lib64"] 17 | 18 | self.cpp_info.set_property("cmake_file_name", "Opus") 19 | self.cpp_info.set_property("cmake_target_name", "Opus::opus") 20 | self.cpp_info.set_property("pkg_config_name", "opus") 21 | self.cpp_info.libs = ["opus"] 22 | self.cpp_info.includedirs.append("/usr/include/opus") 23 | self.cpp_info.system_libs.append("m") 24 | -------------------------------------------------------------------------------- /packages/conan/recipes/partio/patches/cmake-find-python.diff: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 570e633..1338c2b 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -121,8 +121,12 @@ set(OpenGL_GL_PREFERENCE GLVND) 6 | find_package(Threads REQUIRED) 7 | find_package(GLUT REQUIRED) 8 | find_package(OpenGL REQUIRED) 9 | -find_package(PythonInterp REQUIRED) 10 | -find_package(PythonLibs REQUIRED) 11 | +if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.12") 12 | + find_package(Python COMPONENTS Interpreter Development) 13 | +else() 14 | + find_package(PythonInterp REQUIRED) 15 | + find_package(PythonLibs REQUIRED) 16 | +endif() 17 | find_package(ZLIB) 18 | if (ZLIB_FOUND) 19 | add_definitions(-DPARTIO_USE_ZLIB) 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/ptex/patches/2.4.2-0001-fix-cmake.patch: -------------------------------------------------------------------------------- 1 | --- a/src/ptex/CMakeLists.txt 2 | +++ b/src/ptex/CMakeLists.txt 3 | @@ -22,6 +22,7 @@ if(PTEX_BUILD_STATIC_LIBS) 4 | $ 5 | PRIVATE 6 | ${CMAKE_CURRENT_SOURCE_DIR}) 7 | + target_compile_definitions(Ptex_static PUBLIC PTEX_STATIC) 8 | target_link_libraries(Ptex_static 9 | PUBLIC Threads::Threads ZLIB::ZLIB) 10 | install(TARGETS Ptex_static EXPORT Ptex DESTINATION ${CMAKE_INSTALL_LIBDIR}) 11 | @@ -40,7 +41,7 @@ if(PTEX_BUILD_SHARED_LIBS) 12 | target_compile_definitions(Ptex_dynamic PRIVATE PTEX_EXPORTS) 13 | target_link_libraries(Ptex_dynamic 14 | PUBLIC Threads::Threads ZLIB::ZLIB) 15 | - install(TARGETS Ptex_dynamic EXPORT Ptex DESTINATION ${CMAKE_INSTALL_LIBDIR}) 16 | + install(TARGETS Ptex_dynamic EXPORT Ptex RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) 17 | endif() 18 | 19 | install(FILES 20 | -------------------------------------------------------------------------------- /packages/conan/recipes/ptex/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/2a3cb93885141024c1b405a01a79fb3abc239b12/recipes/ptex/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(ptex REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | if(TARGET Ptex::Ptex_static) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE Ptex::Ptex_static) 15 | else() 16 | target_link_libraries(${PROJECT_NAME} PRIVATE Ptex::Ptex_dynamic) 17 | endif() 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/ptex/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/2a3cb93885141024c1b405a01a79fb3abc239b12/recipes/ptex/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | 11 | int main() { 12 | PtexPtr c(PtexCache::create(0, 1024 * 1024)); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/pugixml/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/pugixml/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(pugixml REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE pugixml::pugixml) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pulseaudio/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/f83ca9df2f14d01f49b186cb279740c295ae09c9/recipes/pulseaudio/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemPulseAudioConan(ConanFile): 10 | name = "pulseaudio" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64", "/usr/lib64/pulseaudio"] 18 | 19 | self.cpp_info.components["pulse"].libs = ["pulse", "pulsecommon-14.0"] 20 | 21 | self.cpp_info.components["pulse-simple"].libs = ["pulse-simple"] 22 | self.cpp_info.components["pulse-simple"].requires = ["pulse"] 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/pybind11/patches/no-python-module.diff: -------------------------------------------------------------------------------- 1 | diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake 2 | index 9fe2eb08..de6245ff 100644 3 | --- a/tools/pybind11NewTools.cmake 4 | +++ b/tools/pybind11NewTools.cmake 5 | @@ -33,7 +33,7 @@ if(NOT Python_FOUND AND NOT Python3_FOUND) 6 | endif() 7 | 8 | # Development.Module support (required for manylinux) started in 3.18 9 | - if(CMAKE_VERSION VERSION_LESS 3.18) 10 | + if(TRUE) 11 | set(_pybind11_dev_component Development) 12 | else() 13 | set(_pybind11_dev_component Development.Module OPTIONAL_COMPONENTS Development.Embed) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pybind11/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/59cab50aa90f922e61a746eef7c488dd788e4989/recipes/pybind11/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(Python3 COMPONENTS Interpreter Development) 11 | find_package(pybind11 REQUIRED CONFIG) 12 | 13 | pybind11_add_module(test_package MODULE test_package.cpp) 14 | set_property(TARGET test_package PROPERTY CXX_STANDARD 11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/pybind11/test_package/test.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/59cab50aa90f922e61a746eef7c488dd788e4989/recipes/pybind11/all/test_package/test.py 6 | 7 | import test_package 8 | 9 | print("Adding 2 + 3 = {}".format(test_package.add(2, 3))) 10 | 11 | print("Message: '{}'".format(test_package.msg())) 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/pybind11/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/59cab50aa90f922e61a746eef7c488dd788e4989/recipes/pybind11/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | 11 | static int add(int i, int j) { 12 | return i + j; 13 | } 14 | 15 | static const char *hello() { 16 | return "Hello from the C++ world!"; 17 | } 18 | 19 | PYBIND11_MODULE(test_package, m) { 20 | m.doc() = "pybind11 example plugin"; // optional module docstring 21 | 22 | m.def("add", &add, "A function which adds two numbers"); 23 | m.def("msg", &hello, "A function returning a message"); 24 | } 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/patches/clang_in_lib64.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilerSupport.cpp b/sources/shiboken6/ApiExtractor/clangparser/compilerSupport.cpp 2 | index 996968f..a072dfd 100644 3 | --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp 4 | +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp 5 | @@ -261,7 +261,7 @@ 6 | { 7 | for (const char *envVar : {"LLVM_INSTALL_DIR", "CLANG_INSTALL_DIR"}) { 8 | if (qEnvironmentVariableIsSet(envVar)) { 9 | - const QString path = QFile::decodeName(qgetenv(envVar)) + u"/lib"_s; 10 | + const QString path = QFile::decodeName(qgetenv(envVar)) + u"/lib64"_s; 11 | if (QFileInfo::exists(path)) 12 | return path; 13 | qWarning("%s: %s as pointed to by %s does not exist.", __FUNCTION__, qPrintable(path), envVar); 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/patches/pyside_in_lib64.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sources/pysides6/cmake/PySideSetup.cmake b/sources/pyside6/cmake/PySideSetup.cmake 2 | index 996968f..a072dfd 100644 3 | --- a/sources/pyside6/cmake/PySideSetup.cmake 4 | +++ b/sources/pyside6/cmake/PySideSetup.cmake 5 | @@ -99,7 +99,7 @@ 6 | 7 | option(BUILD_TESTS "Build tests." TRUE) 8 | option(ENABLE_VERSION_SUFFIX "Used to use current version in suffix to generated files. This is used to allow multiples versions installed simultaneous." FALSE) 9 | -set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) 10 | +set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" ) 11 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) 12 | if(CMAKE_HOST_APPLE) 13 | set(ALTERNATIVE_QT_INCLUDE_DIR "" CACHE PATH "Deprecated. CMake now finds the proper include dir itself.") 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/patches/shiboken_in_lib64.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken6/cmake/ShibokenSetup.cmake b/sources/shiboken6/cmake/ShibokenSetup.cmake 2 | index 996968f..a072dfd 100644 3 | --- a/sources/shiboken6/cmake/ShibokenSetup.cmake 4 | +++ b/sources/shiboken6/cmake/ShibokenSetup.cmake 5 | @@ -92,7 +92,7 @@ 6 | set(CMAKE_CXX_STANDARD 17) 7 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 8 | 9 | -set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) 10 | +set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" ) 11 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install \ 12 | prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) 13 | set(BIN_INSTALL_DIR "bin" CACHE PATH "The subdirectory relative to the install prefix where \ 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/patches/shiboken_numpy_1_23.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp b/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp 2 | index 996968f..a072dfd 100644 3 | --- a/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp 4 | +++ b/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp 5 | @@ -116,8 +116,8 @@ std::ostream &operator<<(std::ostream &str, PyArrayObject *o) 6 | str << " NPY_ARRAY_NOTSWAPPED"; 7 | if ((flags & NPY_ARRAY_WRITEABLE) != 0) 8 | str << " NPY_ARRAY_WRITEABLE"; 9 | - if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) 10 | - str << " NPY_ARRAY_UPDATEIFCOPY"; 11 | + if ((flags & NPY_ARRAY_WRITEBACKIFCOPY) != 0) 12 | + str << " NPY_ARRAY_WRITEBACKIFCOPY"; 13 | } else { 14 | str << '0'; 15 | } 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/patches/shiboken_sbkcontainer.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sources/shiboken6/libshiboken/sbkcontainer.cpp b/sources/shiboken6/libshiboken/sbkcontainer.cpp 2 | index 996968f..a072dfd 100644 3 | --- a/sources/shiboken6/libshiboken/sbkcontainer.cpp 4 | +++ b/sources/shiboken6/libshiboken/sbkcontainer.cpp 5 | @@ -3,6 +3,7 @@ 6 | 7 | #include "sbkcontainer.h" 8 | #include "sbkstaticstrings.h" 9 | +#include "autodecref.h" 10 | 11 | namespace Shiboken 12 | { 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/test_package_DISABLED/common.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | if os.name == "nt": 4 | for path in os.getenv("FN_PYTHON_DLL_DIRECTORIES", "").split(os.pathsep): 5 | try: 6 | # from Python 3.8 DLL loading is more restrictive, disallowing PATH, see https://bugs.python.org/issue43173 7 | os.add_dll_directory(path) 8 | except AttributeError: 9 | os.environ["PATH"] += os.pathsep + path 10 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/test_package_DISABLED/test_pyside.cpp: -------------------------------------------------------------------------------- 1 | #include "QtGui/pyside6_qtgui_python.h" 2 | #include "QtWidgets/pyside6_qtwidgets_python.h" 3 | 4 | #include "autodecref.h" // from shiboken 5 | #include "sbkmodule.h" 6 | 7 | 8 | void initPySide() 9 | { 10 | Shiboken::AutoDecRef requiredCoreModule(Shiboken::Module::import("PySide6.QtCore")); 11 | if (requiredCoreModule.isNull()) { 12 | PyErr_SetString(PyExc_ImportError,"could not import PySide6.QtCore"); 13 | } 14 | else { 15 | Shiboken::AutoDecRef requiredWidgetsModule(Shiboken::Module::import("PySide6.QtWidgets")); 16 | if (requiredWidgetsModule.isNull()) { 17 | PyErr_SetString(PyExc_ImportError,"could not import PySide6.QtWidgets"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/test_package_DISABLED/test_qt_core.py: -------------------------------------------------------------------------------- 1 | import common 2 | 3 | import platform 4 | from PySide6.QtCore import QSysInfo 5 | 6 | cpu_arch = QSysInfo.currentCpuArchitecture() 7 | expected_arch = platform.machine() 8 | 9 | # remap on Windows 10 | if expected_arch == "AMD64": 11 | expected_arch = "x86_64" 12 | 13 | assert cpu_arch == expected_arch, 'Expected "{}" but got "{}"'.format( 14 | expected_arch, cpu_arch 15 | ) 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/test_package_DISABLED/test_uic.py: -------------------------------------------------------------------------------- 1 | import os 2 | import subprocess 3 | import sys 4 | 5 | import common 6 | 7 | 8 | def version_tuple(v): 9 | return tuple(map(int, (v.split(".")))) 10 | 11 | 12 | def get_test_args(): 13 | path = sys.argv[1] 14 | vers = sys.argv[2] 15 | 16 | test_file = os.path.join(os.path.dirname(__file__), "test.ui") 17 | 18 | path = os.path.join(path, "bin", "uic") 19 | return [path, test_file] 20 | 21 | 22 | assert 0 == subprocess.check_call(get_test_args()) 23 | -------------------------------------------------------------------------------- /packages/conan/recipes/pyside/test_package_DISABLED/test_version.py: -------------------------------------------------------------------------------- 1 | import common 2 | 3 | import sys 4 | 5 | expected_version = sys.argv[1] 6 | 7 | import PySide6 8 | 9 | assert ( 10 | PySide6.__version__ == expected_version 11 | ), "expected version {} got version {}".format(expected_version, PySide6.__version__) 12 | 13 | import shiboken6 14 | 15 | assert ( 16 | shiboken6.__version__ == expected_version 17 | ), "expected version {} got version {}".format(expected_version, shiboken6.__version__) 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/pystring/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/pystring/all/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.4) 8 | 9 | project(pystring LANGUAGES CXX) 10 | 11 | include(GNUInstallDirs) 12 | 13 | add_library(pystring ${PYSTRING_SRC_DIR}/pystring.cpp) 14 | set_property(TARGET pystring PROPERTY WINDOWS_EXPORT_ALL_SYMBOLS TRUE) 15 | 16 | install(TARGETS pystring 17 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 18 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 19 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 20 | 21 | install(FILES ${PYSTRING_SRC_DIR}/pystring.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/pystring/conandata.yml: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/pystring/all/conandata.yml 6 | 7 | sources: 8 | "1.1.4": 9 | url: "https://github.com/imageworks/pystring/archive/refs/tags/v1.1.4.tar.gz" 10 | sha256: "49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb" 11 | "1.1.3": 12 | url: "https://github.com/imageworks/pystring/archive/refs/tags/v1.1.3.tar.gz" 13 | sha256: "358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9" 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pystring/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/pystring/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(pystring REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE pystring::pystring) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/pystring/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/pystring/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | 13 | int main() { 14 | std::cout << pystring::capitalize("conan-center-index") << std::endl; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/patches/0001-ninja-1.12-build.diff: -------------------------------------------------------------------------------- 1 | --- src/core/configure/BUILD.root.gn.in.orig 2024-12-29 22:07:43.661647014 -0800 2 | +++ src/core/configure/BUILD.root.gn.in 2024-12-29 22:08:25.534597628 -0800 3 | @@ -220,6 +220,7 @@ 4 | source_set("devtools_sources") { 5 | configs += [ ":cpp17_config" ] 6 | deps = [ 7 | + "//chrome/app:generated_resources", 8 | "//components/zoom", 9 | "//third_party/blink/public/mojom:mojom_platform", 10 | ] 11 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/patches/fix-long-path-on-windows_6.5.3.patch: -------------------------------------------------------------------------------- 1 | --- a/src/tools/syncqt/main.cpp 2 | +++ b/src/tools/syncqt/main.cpp 3 | @@ -851,12 +851,7 @@ 4 | 5 | bool headerFileExists = std::filesystem::exists(headerFile); 6 | 7 | - std::filesystem::path headerFileRootName = 8 | - std::filesystem::weakly_canonical(headerFile, ec).root_name(); 9 | - std::string aliasedFilepath = !ec && headerFileRootName == m_outputRootName 10 | - ? std::filesystem::relative(headerFile, outputDir).generic_string() 11 | - : headerFile.generic_string(); 12 | - ec.clear(); 13 | + std::string aliasedFilepath = headerFile.generic_string(); 14 | 15 | std::string aliasPath = outputDir + '/' + m_currentFilename; 16 | 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/patches/fix-long-path-on-windows_6.5.4.patch: -------------------------------------------------------------------------------- 1 | --- a/src/tools/syncqt/main.cpp 2 | +++ b/src/tools/syncqt/main.cpp 3 | @@ -842,12 +842,7 @@ 4 | 5 | bool headerFileExists = std::filesystem::exists(headerFile); 6 | 7 | - std::filesystem::path headerFileRootName = 8 | - std::filesystem::weakly_canonical(headerFile, ec).root_name(); 9 | - std::string aliasedFilepath = !ec && headerFileRootName == m_outputRootName 10 | - ? std::filesystem::relative(headerFile, outputDir).generic_string() 11 | - : headerFile.generic_string(); 12 | - ec.clear(); 13 | + std::string aliasedFilepath = headerFile.generic_string(); 14 | 15 | std::string aliasPath = outputDir + '/' + m_currentFilename; 16 | 17 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/patches/python-markdown-importlib.diff: -------------------------------------------------------------------------------- 1 | diff -u -r a/src/3rdparty/chromium/third_party/Python-Markdown/markdown/util.py b/src/3rdparty/chromium/third_party/Python-Markdown/markdown/util.py 2 | --- a/src/3rdparty/chromium/third_party/Python-Markdown/markdown/util.py 2023-11-25 10:36:14.535016596 -0800 3 | +++ b/src/3rdparty/chromium/third_party/Python-Markdown/markdown/util.py 2023-11-25 10:38:14.942776684 -0800 4 | @@ -32,7 +32,7 @@ 5 | from importlib import metadata 6 | except ImportError: 7 | # 2 | 3 | resource.txt 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/test_package/greeter.h: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/qt/6.x.x/test_package/greeter.h 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | class Greeter : public QObject 14 | { 15 | Q_OBJECT 16 | public: 17 | Greeter(const QString& name, QObject *parent = 0) 18 | : QObject(parent) 19 | , mName(name) {} 20 | 21 | public slots: 22 | void run() 23 | { 24 | qDebug() << QString("Hello %1!").arg(mName); 25 | 26 | emit finished(); 27 | } 28 | 29 | signals: 30 | void finished(); 31 | 32 | private: 33 | const QString& mName; 34 | }; 35 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/test_package/resource.txt: -------------------------------------------------------------------------------- 1 | Hello World From Resource 2 | -------------------------------------------------------------------------------- /packages/conan/recipes/qt/test_package/test_macosbundle.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/qt/6.x.x/test_package/test_macos_bundle.cpp 7 | */ 8 | 9 | #include 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | QCoreApplication app(argc, argv); 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.10-0001-fix-inlining-failure.patch: -------------------------------------------------------------------------------- 1 | diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h 2 | index 1548ed7..3b4a9f3 100644 3 | --- a/snappy-stubs-internal.h 4 | +++ b/snappy-stubs-internal.h 5 | @@ -100,7 +100,7 @@ 6 | 7 | // Inlining hints. 8 | #if HAVE_ATTRIBUTE_ALWAYS_INLINE 9 | -#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline)) 10 | +#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE 11 | #else 12 | #define SNAPPY_ATTRIBUTE_ALWAYS_INLINE 13 | #endif // HAVE_ATTRIBUTE_ALWAYS_INLINE 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.10-0003-fix-clobber-list-older-llvm.patch: -------------------------------------------------------------------------------- 1 | diff --git a/snappy.cc b/snappy.cc 2 | index d414718..e4efb59 100644 3 | --- a/snappy.cc 4 | +++ b/snappy.cc 5 | @@ -1132,7 +1132,7 @@ inline size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) { 6 | size_t literal_len = *tag >> 2; 7 | size_t tag_type = *tag; 8 | bool is_literal; 9 | -#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) 10 | +#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) && ( (!defined(__clang__) && !defined(__APPLE__)) || (!defined(__APPLE__) && defined(__clang__) && (__clang_major__ >= 9)) || (defined(__APPLE__) && defined(__clang__) && (__clang_major__ > 11)) ) 11 | // TODO clang misses the fact that the (c & 3) already correctly 12 | // sets the zero flag. 13 | asm("and $3, %k[tag_type]\n\t" 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.9-0001-fix-inlining-failure.patch: -------------------------------------------------------------------------------- 1 | Fixes the following error: 2 | error: inlining failed in call to ‘always_inline’ ‘size_t snappy::AdvanceToNextTag(const uint8_t**, size_t*)’: function body can be overwritten at link time 3 | 4 | --- snappy-stubs-internal.h 5 | +++ snappy-stubs-internal.h 6 | @@ -100,7 +100,7 @@ 7 | 8 | // Inlining hints. 9 | #ifdef HAVE_ATTRIBUTE_ALWAYS_INLINE 10 | -#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline)) 11 | +#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE 12 | #else 13 | #define SNAPPY_ATTRIBUTE_ALWAYS_INLINE 14 | #endif 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.9-0002-no-Werror.patch: -------------------------------------------------------------------------------- 1 | --- CMakeLists.txt 2 | +++ CMakeLists.txt 3 | @@ -69,7 +69,7 @@ 4 | - # Use -Werror for clang only. 5 | +if(0) 6 | if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") 7 | if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") 9 | endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") 10 | endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") 11 | - 12 | +endif() 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.9-0003-fix-clobber-list-older-llvm.patch: -------------------------------------------------------------------------------- 1 | asm clobbers do not work for clang < 9 and apple-clang < 11 (found by SpaceIm) 2 | --- snappy.cc 3 | +++ snappy.cc 4 | @@ -1026,7 +1026,7 @@ 5 | size_t literal_len = *tag >> 2; 6 | size_t tag_type = *tag; 7 | bool is_literal; 8 | -#if defined(__GNUC__) && defined(__x86_64__) 9 | +#if defined(__GNUC__) && defined(__x86_64__) && ( (!defined(__clang__) && !defined(__APPLE__)) || (!defined(__APPLE__) && defined(__clang__) && (__clang_major__ >= 9)) || (defined(__APPLE__) && defined(__clang__) && (__clang_major__ > 11)) ) 10 | // TODO clang misses the fact that the (c & 3) already correctly 11 | // sets the zero flag. 12 | asm("and $3, %k[tag_type]\n\t" 13 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.1.9-0004-rtti-by-default.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -53,8 +53,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") 4 | add_definitions(-D_HAS_EXCEPTIONS=0) 5 | 6 | # Disable RTTI. 7 | - string(REGEX REPLACE "/GR" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 8 | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR-") 9 | else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") 10 | # Use -Wall for clang and gcc. 11 | if(NOT CMAKE_CXX_FLAGS MATCHES "-Wall") 12 | @@ -78,8 +76,6 @@ endif() 13 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions") 14 | 15 | # Disable RTTI. 16 | - string(REGEX REPLACE "-frtti" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 17 | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti") 18 | endif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") 19 | 20 | # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to make 21 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/patches/1.2.0-0003-fix-clobber-list-older-llvm.patch: -------------------------------------------------------------------------------- 1 | diff --git a/snappy.cc b/snappy.cc 2 | index 08c2a98..151de55 100644 3 | --- a/snappy.cc 4 | +++ b/snappy.cc 5 | @@ -1311,7 +1311,7 @@ inline size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) { 6 | size_t literal_len = *tag >> 2; 7 | size_t tag_type = *tag; 8 | bool is_literal; 9 | -#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) 10 | +#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) && ( (!defined(__clang__) && !defined(__APPLE__)) || (!defined(__APPLE__) && defined(__clang__) && (__clang_major__ >= 9)) || (defined(__APPLE__) && defined(__clang__) && (__clang_major__ > 11)) ) 11 | // TODO clang misses the fact that the (c & 3) already correctly 12 | // sets the zero flag. 13 | asm("and $3, %k[tag_type]\n\t" 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/master/recipes/snappy/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package) 9 | 10 | find_package(Snappy REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE Snappy::snappy) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | 16 | add_executable(${PROJECT_NAME}_c test_package.c) 17 | target_link_libraries(${PROJECT_NAME}_c PRIVATE Snappy::snappy) 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From:https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/snappy/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | int main() { 17 | const char *input = "conan-center-index"; 18 | size_t input_length = strlen(input); 19 | size_t output_length = snappy_max_compressed_length(input_length); 20 | char *output = (char*)malloc(output_length); 21 | if (output == NULL) return 0; 22 | if (snappy_compress(input, input_length, output, &output_length) == SNAPPY_OK) { 23 | printf("%s compressed: %s\n", input, output); 24 | } 25 | free(output); 26 | return 0; 27 | } 28 | -------------------------------------------------------------------------------- /packages/conan/recipes/snappy/test_package/test_package.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/snappy/all/test_package/test_package.cpp 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | int main() { 16 | std::string input("conan-enter-index"); 17 | std::string output; 18 | 19 | const size_t result = snappy::Compress(input.c_str(), input.size(), &output); 20 | 21 | std::cout << input << " compressed (" << result << "): " << output << std::endl; 22 | 23 | return EXIT_SUCCESS; 24 | } 25 | -------------------------------------------------------------------------------- /packages/conan/recipes/tcl/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e/recipes/tcl/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemTclConan(ConanFile): 10 | name = "tcl" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["tcl"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "TCL") 21 | self.cpp_info.set_property("cmake_target_name", "TCL::TCL") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/tsl-robin-map/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/b8bd958a29ef769d74a40471f1ada0426d1f8fff/recipes/tsl-robin-map/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.15) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(tsl-robin-map REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE tsl::robin_map) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/util-linux-libuuid/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e/recipes/util-linux-libuuid/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemUtilLinuxLibuuidConan(ConanFile): 10 | name = "util-linux-libuuid" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["uuid"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "libuuid") 21 | self.cpp_info.set_property("cmake_target_name", "libuuid::libuuid") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/xorg-proto/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/xorg-proto/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | import os 10 | 11 | class SystemXorgProtoConan(ConanFile): 12 | name = "xorg-proto" 13 | version = "system" 14 | 15 | settings = "os", "arch", "compiler", "build_type" 16 | 17 | def package_info(self): 18 | self.cpp_info.components["xproto"].includedirs.append("/usr/include/X11") 19 | -------------------------------------------------------------------------------- /packages/conan/recipes/xorg/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e/recipes/xorg/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(xorg REQUIRED CONFIG) 11 | 12 | add_executable(test_package test_package.c) 13 | target_link_libraries(test_package PRIVATE xorg::xorg) -------------------------------------------------------------------------------- /packages/conan/recipes/xorg/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e/recipes/xorg/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | #include 13 | 14 | #include 15 | 16 | #include 17 | 18 | int main() { 19 | Display *display = XOpenDisplay(NULL); 20 | 21 | if (!display) { 22 | printf("XOpenDisplay failed\n"); 23 | return 0; 24 | } 25 | 26 | { 27 | char *xau_file_name = XauFileName(); 28 | if (xau_file_name) 29 | printf("XauFileName: %s\n", xau_file_name); 30 | } 31 | 32 | XCloseDisplay(display); 33 | SmcSetErrorHandler(NULL); 34 | } -------------------------------------------------------------------------------- /packages/conan/recipes/xz_utils/conanfile.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/4622ac85d1cec8cb7a2fcc8a1796d4b73bff285e/recipes/xz_utils/all/conanfile.py 6 | 7 | from conan import ConanFile 8 | 9 | class SystemXZUtilsConan(ConanFile): 10 | name = "xz_utils" 11 | version = "system" 12 | 13 | settings = "os", "arch", "compiler", "build_type" 14 | 15 | def package_info(self): 16 | self.cpp_info.includedirs = ["/usr/include"] 17 | self.cpp_info.libdirs = ["/usr/lib64"] 18 | self.cpp_info.libs = ["lzma"] 19 | 20 | self.cpp_info.set_property("cmake_file_name", "LibLZMA") 21 | self.cpp_info.set_property("cmake_target_name", "LibLZMA::LibLZMA") 22 | -------------------------------------------------------------------------------- /packages/conan/recipes/yaml-cpp/patches/0001-install-0.7.0.patch: -------------------------------------------------------------------------------- 1 | # see issue https://github.com/jbeder/yaml-cpp/pull/847 2 | diff --git a/CMakeLists.txt b/CMakeLists.txt 3 | index b230b9e..35dfdca 100644 4 | --- a/CMakeLists.txt 5 | +++ b/CMakeLists.txt 6 | @@ -24,9 +24,8 @@ option(YAML_BUILD_SHARED_LIBS "Build yaml-cpp shared library" ${BUILD_SHARED_LIB 7 | cmake_dependent_option(YAML_CPP_BUILD_TESTS 8 | "Enable yaml-cpp tests" ON 9 | "BUILD_TESTING;CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF) 10 | -cmake_dependent_option(YAML_CPP_INSTALL 11 | - "Enable generation of yaml-cpp install targets" ON 12 | - "CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF) 13 | +option(YAML_CPP_INSTALL 14 | + "Enable generation of yaml-cpp install targets" ON) 15 | cmake_dependent_option(YAML_MSVC_SHARED_RT 16 | "MSVC: Build yaml-cpp with shared runtime libs (/MD)" ON 17 | "MSVC" OFF) 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/yaml-cpp/patches/0002-libcxx-and-gcc.patch: -------------------------------------------------------------------------------- 1 | From 79aa6d53e5718ca44bc01ef05fdda7a849d353e0 Mon Sep 17 00:00:00 2001 2 | From: mjvankampen 3 | Date: Thu, 15 Jul 2021 22:09:05 +0100 4 | Subject: [PATCH] Add assert to enable compilation with libcxx + gcc (#947) 5 | 6 | --- 7 | include/yaml-cpp/node/iterator.h | 3 +++ 8 | 1 file changed, 3 insertions(+) 9 | 10 | diff --git a/include/yaml-cpp/node/iterator.h b/include/yaml-cpp/node/iterator.h 11 | index b44723817..1fcf6e400 100644 12 | --- a/include/yaml-cpp/node/iterator.h 13 | +++ b/include/yaml-cpp/node/iterator.h 14 | @@ -15,6 +15,9 @@ 15 | #include 16 | #include 17 | 18 | +// Assert in place so gcc + libc++ combination properly builds 19 | +static_assert(std::is_constructible::value, "Node must be copy constructable"); 20 | + 21 | namespace YAML { 22 | namespace detail { 23 | struct iterator_value : public Node, std::pair { 24 | -------------------------------------------------------------------------------- /packages/conan/recipes/yaml-cpp/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/9a66422e07df06d2c502501de6e00b8b1213b563/recipes/yaml-cpp/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.8) 8 | project(test_package LANGUAGES CXX) 9 | 10 | find_package(yaml-cpp REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.cpp) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE yaml-cpp::yaml-cpp) 14 | target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) 15 | -------------------------------------------------------------------------------- /packages/conan/recipes/zlib/patches/1.2.x/0003-gzguts-fix-widechar-condition.patch: -------------------------------------------------------------------------------- 1 | diff --git a/gzguts.h b/gzguts.h 2 | index 990a4d2..6378d46 100644 3 | --- a/gzguts.h 4 | +++ b/gzguts.h 5 | @@ -39,7 +39,7 @@ 6 | # include 7 | #endif 8 | 9 | -#if defined(_WIN32) || defined(__CYGWIN__) 10 | +#if defined(_WIN32) 11 | # define WIDECHAR 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/zlib/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/7abb9ee39e6009e3dbc45043307a1098246d4ad7/recipes/zlib/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(ZLIB REQUIRED) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | target_link_libraries(${PROJECT_NAME} PRIVATE ZLIB::ZLIB) 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/zstd/patches/1.5.2-cmake-remove-asm-except-x86_64.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt 2 | index 4905bd9..5974725 100644 3 | --- a/build/cmake/lib/CMakeLists.txt 4 | +++ b/build/cmake/lib/CMakeLists.txt 5 | @@ -26,7 +26,11 @@ if (MSVC) 6 | file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c) 7 | add_compile_options(-DZSTD_DISABLE_ASM) 8 | else () 9 | - file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c ${LIBRARY_DIR}/decompress/*.S) 10 | + if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") 11 | + file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c ${LIBRARY_DIR}/decompress/*.S) 12 | + else() 13 | + file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c) 14 | + endif() 15 | endif () 16 | file(GLOB DictBuilderSources ${LIBRARY_DIR}/dictBuilder/*.c) 17 | 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/zstd/patches/1.5.5-qnx_support.patch: -------------------------------------------------------------------------------- 1 | --- programs/platform.h 2023-04-04 22:13:52.000000000 +0200 2 | +++ programs/platform.h 2023-09-03 10:01:58.930595800 +0200 3 | @@ -89,7 +89,7 @@ 4 | */ 5 | # elif !defined(_WIN32) \ 6 | && ( defined(__unix__) || defined(__unix) \ 7 | - || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__) ) 8 | + || defined(_QNX_SOURCE) || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__) ) 9 | 10 | # if defined(__linux__) || defined(__linux) || defined(__CYGWIN__) 11 | # ifndef _POSIX_C_SOURCE 12 | -------------------------------------------------------------------------------- /packages/conan/recipes/zstd/patches/1.5.6-public-scope-windows-shared.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt 2 | index 5d514cc..1791897 100644 3 | --- a/build/cmake/lib/CMakeLists.txt 4 | +++ b/build/cmake/lib/CMakeLists.txt 5 | @@ -123,7 +123,7 @@ set(PUBLIC_INCLUDE_DIRS ${LIBRARY_DIR}) 6 | set(library_targets) 7 | if (ZSTD_BUILD_SHARED) 8 | add_library(libzstd_shared SHARED ${Sources} ${Headers} ${PlatformDependResources}) 9 | - target_include_directories(libzstd_shared INTERFACE $) 10 | + target_include_directories(libzstd_shared PUBLIC $) 11 | list(APPEND library_targets libzstd_shared) 12 | if (ZSTD_MULTITHREAD_SUPPORT) 13 | set_property(TARGET libzstd_shared APPEND PROPERTY COMPILE_DEFINITIONS "ZSTD_MULTITHREAD") 14 | -------------------------------------------------------------------------------- /packages/conan/recipes/zstd/test_package/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: MIT 4 | # 5 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/zstd/all/test_package/CMakeLists.txt 6 | 7 | cmake_minimum_required(VERSION 3.1) 8 | project(test_package LANGUAGES C) 9 | 10 | find_package(zstd REQUIRED CONFIG) 11 | 12 | add_executable(${PROJECT_NAME} test_package.c) 13 | if (TARGET zstd::libzstd_shared) 14 | target_link_libraries(${PROJECT_NAME} PRIVATE zstd::libzstd_shared) 15 | else() 16 | target_link_libraries(${PROJECT_NAME} PRIVATE zstd::libzstd_static) 17 | endif() 18 | -------------------------------------------------------------------------------- /packages/conan/recipes/zstd/test_package/test_package.c: -------------------------------------------------------------------------------- 1 | /* 2 | # Copyright (c) Contributors to the conan-center-index Project. All rights reserved. 3 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 4 | # SPDX-License-Identifier: MIT 5 | # 6 | # From: https://github.com/conan-io/conan-center-index/blob/6aeda9d870a1253535297cb50b01bebfc8c62910/recipes/zstd/all/test_package/test_package.c 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | int main() { 15 | const char* originalData = "Sample text"; 16 | size_t compressedSize = ZSTD_compressBound(strlen(originalData) + 1); 17 | printf("%zu\n", compressedSize); 18 | 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /packages/conan/settings/extensions/plugins/compatibility/compatibility.py: -------------------------------------------------------------------------------- 1 | # This file was generated by Conan. Remove this comment if you edit this file or Conan 2 | # will destroy your changes. 3 | from cppstd_compat import cppstd_compat 4 | 5 | 6 | def compatibility(conanfile): 7 | configs = cppstd_compat(conanfile) 8 | # TODO: Append more configurations for your custom compatibility rules 9 | return configs 10 | -------------------------------------------------------------------------------- /packages/conan/settings/global.conf: -------------------------------------------------------------------------------- 1 | #[log] 2 | #run_to_output = True # environment CONAN_LOG_RUN_TO_OUTPUT 3 | #run_to_file = False # environment CONAN_LOG_RUN_TO_FILE 4 | #level = critical # environment CONAN_LOGGING_LEVEL 5 | #print_run_commands = False # environment CONAN_PRINT_RUN_COMMANDS 6 | 7 | #[general] 8 | #revisions_enabled = 1 9 | core:default_build_profile = vfx2025 10 | core:default_profile = vfx2025 11 | core.gzip:compresslevel = 9 12 | tools.system.package_manager:sudo = True 13 | core.net.http:timeout = 60 14 | core.package_id:default_unknown_mode = semver_mode 15 | 16 | # FIXME don't repeat yourself use jinja2 env vars 17 | core.cache:storage_path = /opt/conan_home/d 18 | core.download:download_cache = /tmp/downloads 19 | 20 | #[hooks] 21 | #attribute_checker 22 | 23 | -------------------------------------------------------------------------------- /packages/conan/settings/hooks/attribute_checker.py: -------------------------------------------------------------------------------- 1 | def pre_export(output, conanfile, conanfile_path, reference, **kwargs): 2 | # Check basic meta-data 3 | for field in ["url", "license", "description"]: 4 | field_value = getattr(conanfile, field, None) 5 | if not field_value: 6 | output.warn( 7 | "Conanfile doesn't have '%s'. It is recommended to add it as attribute" 8 | % field 9 | ) 10 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/ci_common1: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/ci_common1 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/ci_common2: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/ci_common2 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/ci_common3: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/ci_common3 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/ci_common4: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/ci_common4 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/ci_common5: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/ci_common5 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/vfx2019: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/vfx2019 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/vfx2020: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/vfx2020 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/vfx2021: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/vfx2021 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/vfx2022: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/vfx2022 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswf/vfx2023: -------------------------------------------------------------------------------- 1 | ../profiles_aswftesting/vfx2023 -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/ci_common1: -------------------------------------------------------------------------------- 1 | [settings] 2 | os=Linux 3 | arch=x86_64 4 | compiler=gcc 5 | compiler.version=6.3 6 | compiler.libcxx=libstdc++11 7 | compiler.cppstd=14 8 | build_type=Release 9 | [options] 10 | [tool_requires] 11 | [buildenv] 12 | GCC_INSTALL_PREFIX=/opt/rh/devtoolset-6/root/usr 13 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/ci_common2: -------------------------------------------------------------------------------- 1 | [settings] 2 | os=Linux 3 | arch=x86_64 4 | compiler=gcc 5 | compiler.version=9.3 6 | compiler.libcxx=libstdc++11 7 | compiler.cppstd=17 8 | build_type=Release 9 | [options] 10 | [tool_requires] 11 | [buildenv] 12 | GCC_INSTALL_PREFIX=/opt/rh/devtoolset-9/root/usr 13 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/ci_common3: -------------------------------------------------------------------------------- 1 | [settings] 2 | os=Linux 3 | arch=x86_64 4 | compiler=gcc 5 | compiler.version=11.2 6 | compiler.libcxx=libstdc++11 7 | compiler.cppstd=17 8 | build_type=Release 9 | [options] 10 | [tool_requires] 11 | [platform_requires] 12 | bzip2/1.0.6 13 | zlib/1.2.11 14 | [buildenv] 15 | GCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-11/root/usr 16 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/ci_common4: -------------------------------------------------------------------------------- 1 | [settings] 2 | os=Linux 3 | arch=x86_64 4 | compiler=gcc 5 | compiler.version=11.2 6 | compiler.libcxx=libstdc++11 7 | compiler.cppstd=17 8 | build_type=Release 9 | [options] 10 | # Build everything except Clang as shared libs by default 11 | *:shared=True 12 | clang/*:shared=False 13 | [tool_requires] 14 | [replace_requires] 15 | [replace_tools_requires] 16 | cmake/*: cmake/3.27.9@aswftesting/ci_common4 17 | [platform_requires] 18 | [buildenv] 19 | GCC_INSTALL_DIR=/opt/rh/gcc-toolset-11/root/lib/gcc/x86_64-redhat-linux/11 20 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/ci_common5: -------------------------------------------------------------------------------- 1 | [settings] 2 | os=Linux 3 | arch=x86_64 4 | compiler=gcc 5 | compiler.version=11.2 6 | compiler.libcxx=libstdc++11 7 | compiler.cppstd=17 8 | build_type=Release 9 | [options] 10 | # Build everything except Clang as shared libs by default 11 | *:shared=True 12 | clang/*:shared=False 13 | [tool_requires] 14 | [replace_requires] 15 | [replace_tool_requires] 16 | cmake/*: cmake/3.31.7@aswftesting/ci_common5 17 | [platform_requires] 18 | [buildenv] 19 | GCC_INSTALL_DIR=/opt/rh/gcc-toolset-11/root/lib/gcc/x86_64-redhat-linux/11 20 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/vfx2019: -------------------------------------------------------------------------------- 1 | include(ci_common1) 2 | 3 | [settings] 4 | python=2.7 5 | [options] 6 | [tool_requires] 7 | [buildenv] 8 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/vfx2020: -------------------------------------------------------------------------------- 1 | include(ci_common1) 2 | 3 | [settings] 4 | python=3.7 5 | [options] 6 | [tool_requires] 7 | [buildenv] 8 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/vfx2021: -------------------------------------------------------------------------------- 1 | include(ci_common2) 2 | 3 | [settings] 4 | python=3.7 5 | [options] 6 | [tool_requires] 7 | [buildenv] 8 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/vfx2022: -------------------------------------------------------------------------------- 1 | include(ci_common2) 2 | 3 | [settings] 4 | python=3.9 5 | [options] 6 | [tool_requires] 7 | [buildenv] 8 | -------------------------------------------------------------------------------- /packages/conan/settings/profiles_aswftesting/vfx2023: -------------------------------------------------------------------------------- 1 | include(ci_common3) 2 | 3 | [settings] 4 | python=3.10 5 | [options] 6 | [tool_requires] 7 | [platform_requires] 8 | bzip2/1.0.6 9 | zlib/1.2.11 10 | [buildenv] 11 | -------------------------------------------------------------------------------- /packages/conan/settings/remotes.json: -------------------------------------------------------------------------------- 1 | { 2 | "remotes": [ 3 | { 4 | "name": "aswf", 5 | "url": "https://linuxfoundation.jfrog.io/artifactory/api/conan/aswf-conan", 6 | "verify_ssl": true 7 | }, 8 | { 9 | "name": "conan-central", 10 | "url": "https://center2.conan.io", 11 | "verify_ssl": true 12 | }, 13 | { 14 | "name": "aswftesting", 15 | "url": "https://linuxfoundation.jfrog.io/artifactory/api/conan/aswf-conan-dev", 16 | "verify_ssl": true 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /packages/conan/settings/version.txt: -------------------------------------------------------------------------------- 1 | 2.8.0 2 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["setuptools", "wheel"] 3 | build-backend = "setuptools.build_meta:__legacy__" 4 | 5 | [tool.pytest.ini_options] 6 | testpaths = [ 7 | "python/aswfdocker/tests", 8 | ] 9 | 10 | [tool.black] 11 | target-version = ['py37', 'py38', 'py39', 'py310', 'py311' ] 12 | include = ''' 13 | ( 14 | python/.*\.py$ 15 | | packages/conan/recipes/.*\.py$ 16 | | setup\.py 17 | ) 18 | ''' 19 | -------------------------------------------------------------------------------- /python/aswfdocker/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | -------------------------------------------------------------------------------- /python/aswfdocker/cli/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | -------------------------------------------------------------------------------- /python/aswfdocker/data/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | -------------------------------------------------------------------------------- /python/aswfdocker/settings.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | import os 5 | import yaml 6 | 7 | 8 | class Settings: 9 | def __init__(self, settings_path="~/.aswfdocker"): 10 | self.settings_path = os.path.expanduser(settings_path) 11 | self.github_access_token = "" 12 | self.load() 13 | 14 | def load(self): 15 | if os.path.exists(self.settings_path): 16 | with open(self.settings_path, encoding="utf-8") as f: 17 | data = yaml.load(f, Loader=yaml.FullLoader) 18 | self.github_access_token = data.get("github_access_token", "") 19 | 20 | def save(self): 21 | data = {"github_access_token": self.github_access_token} 22 | with open(self.settings_path, "w", encoding="utf-8") as f: 23 | yaml.dump(data, f) 24 | -------------------------------------------------------------------------------- /python/aswfdocker/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 2 | # SPDX-License-Identifier: Apache-2.0 3 | -------------------------------------------------------------------------------- /scripts/base/build_cppunit.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/cppunit-${ASWF_CPPUNIT_VERSION}.tar.gz" ]; then 8 | curl --location "http://dev-www.libreoffice.org/src/cppunit-${ASWF_CPPUNIT_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/cppunit-${ASWF_CPPUNIT_VERSION}.tar.gz" 9 | fi 10 | 11 | tar xf "$DOWNLOADS_DIR/cppunit-${ASWF_CPPUNIT_VERSION}.tar.gz" 12 | cd "cppunit-${ASWF_CPPUNIT_VERSION}" 13 | 14 | ./configure --prefix="${ASWF_INSTALL_PREFIX}" 15 | make -j$(nproc) 16 | make install 17 | 18 | cd .. 19 | rm -rf "cppunit-${ASWF_CPPUNIT_VERSION}" 20 | -------------------------------------------------------------------------------- /scripts/base/build_glew.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/glew-${ASWF_GLEW_VERSION}.tgz" ]; then 8 | curl --location "https://github.com/nigels-com/glew/releases/download/glew-${ASWF_GLEW_VERSION}/glew-${ASWF_GLEW_VERSION}.tgz" -o "$DOWNLOADS_DIR/glew-${ASWF_GLEW_VERSION}.tgz" 9 | fi 10 | 11 | tar xf "$DOWNLOADS_DIR/glew-${ASWF_GLEW_VERSION}.tgz" 12 | 13 | cd "glew-${ASWF_GLEW_VERSION}/build" 14 | cmake ./cmake -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" 15 | make -j$(nproc) 16 | make install 17 | 18 | cd ../.. 19 | rm -rf "glew-${ASWF_GLEW_VERSION}" 20 | -------------------------------------------------------------------------------- /scripts/base/build_glfw.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | git clone https://github.com/glfw/glfw.git 8 | cd glfw 9 | 10 | if [ "$ASWF_GLFW_VERSION" != "latest" ]; then 11 | git checkout "tags/${ASWF_GLFW_VERSION}" -b "${ASWF_GLFW_VERSION}" 12 | fi 13 | 14 | mkdir build 15 | cd build 16 | 17 | cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" .. 18 | make -j$(nproc) 19 | make install 20 | 21 | cd ../.. 22 | rm -rf glfw 23 | -------------------------------------------------------------------------------- /scripts/base/build_log4cplus.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | LOG4CPLUS_MAJOR_MINOR=$(echo "${ASWF_LOG4CPLUS_VERSION}" | cut -d. -f-2) 8 | LOG4CPLUS_MAJOR=$(echo "${ASWF_LOG4CPLUS_VERSION}" | cut -d. -f-1) 9 | LOG4CPLUS_MINOR=$(echo "${LOG4CPLUS_MAJOR_MINOR}" | cut -d. -f2-) 10 | LOG4CPLUS_PATCH=$(echo "${ASWF_LOG4CPLUS_VERSION}" | cut -d. -f3-) 11 | 12 | git clone https://github.com/log4cplus/log4cplus.git 13 | cd log4cplus 14 | 15 | if [ "$ASWF_LOG4CPLUS_VERSION" != "latest" ]; then 16 | git checkout "tags/REL_${LOG4CPLUS_MAJOR}_${LOG4CPLUS_MINOR}_${LOG4CPLUS_PATCH}" -b "${ASWF_LOG4CPLUS_VERSION}" 17 | fi 18 | 19 | mkdir build 20 | cd build 21 | cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" .. 22 | make -j$(nproc) 23 | make install 24 | 25 | cd ../.. 26 | rm -rf log4cplus 27 | -------------------------------------------------------------------------------- /scripts/base/build_pybind11.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/pybind11-${ASWF_PYBIND11_VERSION}.tar.gz" ]; then 8 | curl --location "https://github.com/pybind/pybind11/archive/v${ASWF_PYBIND11_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/pybind11-${ASWF_PYBIND11_VERSION}.tar.gz" 9 | fi 10 | tar -zxf "$DOWNLOADS_DIR/pybind11-${ASWF_PYBIND11_VERSION}.tar.gz" 11 | cd "pybind11-${ASWF_PYBIND11_VERSION}" 12 | 13 | mkdir build 14 | cd build 15 | 16 | cmake -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" -DPYBIND11_TEST=OFF .. 17 | make -j$(nproc) 18 | make install 19 | 20 | cd ../.. 21 | 22 | rm -rf "pybind11-${ASWF_PYBIND11_VERSION}" 23 | -------------------------------------------------------------------------------- /scripts/base/install_cmake.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/cmake-${ASWF_CMAKE_VERSION}-Linux-x86_64.sh" ]; then 8 | curl --location "https://github.com/Kitware/CMake/releases/download/v${ASWF_CMAKE_VERSION}/cmake-${ASWF_CMAKE_VERSION}-Linux-x86_64.sh" -o "$DOWNLOADS_DIR/cmake-${ASWF_CMAKE_VERSION}-Linux-x86_64.sh" 9 | fi 10 | 11 | sh "$DOWNLOADS_DIR/cmake-${ASWF_CMAKE_VERSION}-Linux-x86_64.sh" --skip-license --prefix=/usr/local --exclude-subdir 12 | -------------------------------------------------------------------------------- /scripts/common/before_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | rm -rf /package 8 | 9 | cd "${ASWF_INSTALL_PREFIX}" 10 | find . -type f -o -type l | cut -c3- > /tmp/previous-prefix-files.txt 11 | -------------------------------------------------------------------------------- /scripts/common/build_ninja.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/ninja-${ASWF_NINJA_VERSION}.tar.gz" ]; then 8 | curl --location "https://github.com/ninja-build/ninja/archive/v${ASWF_NINJA_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/ninja-${ASWF_NINJA_VERSION}.tar.gz" 9 | fi 10 | 11 | tar xf "$DOWNLOADS_DIR/ninja-${ASWF_NINJA_VERSION}.tar.gz" 12 | cd "ninja-${ASWF_NINJA_VERSION}" 13 | 14 | ./configure.py --bootstrap 15 | 16 | sudo cp ninja /usr/local/bin/ninja 17 | -------------------------------------------------------------------------------- /scripts/common/copy_new_files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | mkdir -p /package 8 | 9 | cd "${ASWF_INSTALL_PREFIX}" 10 | rsync -arv --exclude-from=/tmp/previous-prefix-files.txt --prune-empty-dirs "${ASWF_INSTALL_PREFIX}"/ /package/ 11 | -------------------------------------------------------------------------------- /scripts/common/install_dev_cmake.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | mkdir -p /opt/aswfbuilder 8 | 9 | export DEV_CMAKE_VERSION=3.31.6 10 | 11 | if [ ! -f "$DOWNLOADS_DIR/cmake-${DEV_CMAKE_VERSION}-Linux-x86_64.sh" ]; then 12 | curl --location "https://github.com/Kitware/CMake/releases/download/v${DEV_CMAKE_VERSION}/cmake-${DEV_CMAKE_VERSION}-Linux-x86_64.sh" -o "$DOWNLOADS_DIR/cmake-${DEV_CMAKE_VERSION}-Linux-x86_64.sh" 13 | fi 14 | sh "$DOWNLOADS_DIR/cmake-${DEV_CMAKE_VERSION}-Linux-x86_64.sh" --skip-license --prefix=/opt/aswfbuilder --exclude-subdir 15 | -------------------------------------------------------------------------------- /scripts/common/install_pippackages.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | BASEOS_MAJORVERSION=$(sed -n 's/^.* release \([0-9]*\)\..*$/\1/p' /etc/redhat-release) 8 | 9 | if [ "$BASEOS_MAJORVERSION" -gt "7" ]; then 10 | python -m ensurepip --upgrade 11 | 12 | # There is a package called python3-html5lib through yum/dnf but it install it 13 | # for the system Python - which is not the same one that it used by downstream projects. 14 | python -m pip install html5lib 15 | fi -------------------------------------------------------------------------------- /scripts/common/install_yq.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # Install the yq command line tool for processing yaml files. 6 | # Since it is written in Golang, and no RPM is currently in EPEL, 7 | # we just install a binary. 8 | 9 | set -ex 10 | 11 | curl --output /usr/local/bin/yq -L https://github.com/mikefarah/yq/releases/download/v${ASWF_YQ_VERSION}/yq_linux_amd64 12 | chmod +x /usr/local/bin/yq 13 | -------------------------------------------------------------------------------- /scripts/common/setup_aswfuser.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | # Grant user 'aswfuser' SUDO privilege and allow it run any command without authentication. 8 | # 1001 is used by Azure Pipelines user so we use 1002 9 | useradd -m -u 1002 aswfuser 10 | groupadd aswfgroup 11 | usermod -a -G aswfgroup aswfuser 12 | su -c "echo '%aswfgroup ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers" 13 | -------------------------------------------------------------------------------- /scripts/tests/1/test_common.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | clang_v=$(clang --version) 8 | if [[ $clang_v != clang\ version\ 7.1* ]] 9 | then 10 | exit 1 11 | fi 12 | 13 | clang_tidy_v=$(clang-tidy --version) 14 | if [[ $clang_tidy_v != *LLVM\ version\ 7.1* ]] 15 | then 16 | exit 1 17 | fi 18 | 19 | gcc_v=$(gcc --version) 20 | if [[ $gcc_v != gcc\ \(GCC\)\ 6.3* ]] 21 | then 22 | exit 1 23 | fi 24 | 25 | ninja_v=$(ninja --version) 26 | if [[ $ninja_v != 1.* ]] 27 | then 28 | exit 1 29 | fi 30 | 31 | git_v=$(git --version) 32 | if [[ $git_v != 2.* ]] 33 | then 34 | exit 1 35 | fi 36 | -------------------------------------------------------------------------------- /scripts/tests/2/test_common.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | os_v=$(cat /etc/redhat-release) 8 | if [[ $os_v != CentOS\ Linux\ release\ 7.9.2009* ]] 9 | then 10 | exit 1 11 | fi 12 | 13 | clang_v=$(clang --version) 14 | if [[ $clang_v != clang\ version\ 10.0* ]] 15 | then 16 | exit 1 17 | fi 18 | 19 | clang_tidy_v=$(clang-tidy --version) 20 | if [[ $clang_tidy_v != *LLVM\ version\ 10.0* ]] 21 | then 22 | exit 1 23 | fi 24 | 25 | gcc_v=$(gcc --version) 26 | if [[ $gcc_v != gcc\ \(GCC\)\ 9.3* ]] 27 | then 28 | exit 1 29 | fi 30 | 31 | ninja_v=$(ninja --version) 32 | if [[ $ninja_v != 1.* ]] 33 | then 34 | exit 1 35 | fi 36 | 37 | git_v=$(git --version) 38 | if [[ $git_v != 2.* ]] 39 | then 40 | exit 1 41 | fi 42 | -------------------------------------------------------------------------------- /scripts/tests/2018/test_base.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | pypath=$(which python) 8 | if [[ $pypath != /usr/local/bin/python ]] 9 | then 10 | echo "Wrong python location: $pypath" 11 | exit 1 12 | fi 13 | 14 | pyversion=$(python --version 2>&1) 15 | if [[ $pyversion != Python\ 2.7* ]] 16 | then 17 | echo "Wrong python version: $pyversion" 18 | exit 1 19 | fi 20 | 21 | numpyversion=$(python -c "import numpy; print(numpy.__version__)") 22 | if [[ $numpyversion != 1.14* ]] 23 | then 24 | echo "Wrong numpy version: $numpyversion" 25 | exit 1 26 | fi 27 | -------------------------------------------------------------------------------- /scripts/tests/2018/test_openvdb.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | git clone https://github.com/AcademySoftwareFoundation/openvdb 8 | cd openvdb 9 | 10 | git checkout b5af82007f869a29f6fa1af729f14763e99f85be # Known working at that commit... 11 | 12 | source activate_ccache.sh 13 | 14 | ccache --show-stats 15 | 16 | ci/build.sh clang++ Release 6 ON 17 | 18 | ccache --show-stats 19 | -------------------------------------------------------------------------------- /scripts/tests/2019/test_base.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | pypath=$(which python) 8 | if [[ $pypath != /usr/local/bin/python ]] 9 | then 10 | echo "Wrong python location: $pypath" 11 | exit 1 12 | fi 13 | 14 | pyversion=$(python --version 2>&1) 15 | if [[ $pyversion != Python\ 2.7* ]] 16 | then 17 | echo "Wrong python version: $pyversion" 18 | exit 1 19 | fi 20 | 21 | numpyversion=$(python -c "import numpy; print(numpy.__version__)") 22 | if [[ $numpyversion != 1.14* ]] 23 | then 24 | echo "Wrong numpy version: $numpyversion" 25 | exit 1 26 | fi 27 | -------------------------------------------------------------------------------- /scripts/tests/2019/test_openvdb.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | git clone https://github.com/AcademySoftwareFoundation/openvdb 8 | cd openvdb 9 | 10 | git checkout b5af82007f869a29f6fa1af729f14763e99f85be # Known working at that commit... 11 | 12 | source activate_ccache.sh 13 | 14 | ccache --show-stats 15 | 16 | ci/build.sh clang++ Release 6 ON 17 | 18 | ccache --show-stats 19 | -------------------------------------------------------------------------------- /scripts/tests/2020/test_base.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | pypath=$(which python) 8 | if [[ $pypath != /usr/local/bin/python ]] 9 | then 10 | echo "Wrong python location: $pypath" 11 | exit 1 12 | fi 13 | 14 | pyversion=$(python --version) 15 | if [[ $pyversion != Python\ 3.7* ]] 16 | then 17 | echo "Wrong python version: $pyversion" 18 | exit 1 19 | fi 20 | 21 | numpyversion=$(python -c "import numpy; print(numpy.__version__)") 22 | if [[ $numpyversion != 1.16* ]] 23 | then 24 | echo "Wrong numpy version: $numpyversion" 25 | exit 1 26 | fi 27 | -------------------------------------------------------------------------------- /scripts/tests/2022/test_base.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | pypath=$(which python) 8 | if [[ $pypath != /usr/local/bin/python ]] 9 | then 10 | echo "Wrong python location: $pypath" 11 | exit 1 12 | fi 13 | 14 | pyversion=$(python --version) 15 | if [[ $pyversion != Python\ 3.9* ]] 16 | then 17 | echo "Wrong python version: $pyversion" 18 | exit 1 19 | fi 20 | 21 | numpyversion=$(python -c "import numpy; print(numpy.__version__)") 22 | if [[ $numpyversion != 1.20* ]] 23 | then 24 | echo "Wrong numpy version: $numpyversion" 25 | exit 1 26 | fi 27 | 28 | yumversion=$(yum --version) 29 | if [[ $yumversion != 3.4* ]] 30 | then 31 | echo "Wrong yum version: $yumversion" 32 | exit 1 33 | fi 34 | -------------------------------------------------------------------------------- /scripts/tests/2023/test_base_disable.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | pypath=$(which python) 8 | if [[ $pypath != /usr/local/bin/python ]] 9 | then 10 | echo "Wrong python location: $pypath" 11 | exit 1 12 | fi 13 | 14 | pyversion=$(python --version) 15 | if [[ $pyversion != Python\ 3.10* ]] 16 | then 17 | echo "Wrong python version: $pyversion" 18 | exit 1 19 | fi 20 | 21 | numpyversion=$(python -c "import numpy; print(numpy.__version__)") 22 | if [[ $numpyversion != 1.23* ]] 23 | then 24 | echo "Wrong numpy version: $numpyversion" 25 | exit 1 26 | fi 27 | 28 | dnfversion=$(dnf --version) 29 | if [[ $dnfversion != 4.7* ]] 30 | then 31 | echo "Wrong dnf version: $dnfversion" 32 | exit 1 33 | fi 34 | -------------------------------------------------------------------------------- /scripts/tests/3/test_common.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | os_v=$(cat /etc/redhat-release) 8 | if [[ $os_v != Rocky\ Linux\ release\ 8.8* ]] 9 | then 10 | exit 1 11 | fi 12 | 13 | clang_v=$(clang --version) 14 | if [[ $clang_v != clang\ version\ 15.0* ]] 15 | then 16 | exit 1 17 | fi 18 | 19 | clang_tidy_v=$(clang-tidy --version) 20 | if [[ $clang_tidy_v != *LLVM\ version\ 15.0* ]] 21 | then 22 | exit 1 23 | fi 24 | 25 | gcc_v=$(gcc --version) 26 | if [[ $gcc_v != gcc\ \(GCC\)\ 11.2* ]] 27 | then 28 | exit 1 29 | fi 30 | 31 | ninja_v=$(ninja --version) 32 | if [[ $ninja_v != 1.11* ]] 33 | then 34 | exit 1 35 | fi 36 | 37 | git_v=$(git --version) 38 | if [[ $git_v != 2.* ]] 39 | then 40 | exit 1 41 | fi 42 | -------------------------------------------------------------------------------- /scripts/vfx/build_blosc.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | git clone https://github.com/Blosc/c-blosc.git 8 | cd c-blosc 9 | 10 | if [ "$ASWF_BLOSC_VERSION" != "latest" ]; then 11 | git checkout "tags/v${ASWF_BLOSC_VERSION}" -b "v${ASWF_BLOSC_VERSION}" 12 | fi 13 | 14 | mkdir build 15 | cd build 16 | cmake .. -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" 17 | make -j$(nproc) 18 | make install 19 | 20 | cd ../.. 21 | rm -rf c-blosc 22 | -------------------------------------------------------------------------------- /scripts/vfx/build_imath.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [[ $ASWF_IMATH_VERSION == 2* ]]; then 8 | echo "Imath package is a dummy package with no actual file for v2." 9 | touch ${ASWF_INSTALL_PREFIX}/no-imath-${ASWF_IMATH_VERSION}-package 10 | else 11 | if [ ! -f "$DOWNLOADS_DIR/Imath-${ASWF_IMATH_VERSION}.tar.gz" ]; then 12 | curl --location "https://github.com/AcademySoftwareFoundation/Imath/archive/v${ASWF_IMATH_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/Imath-${ASWF_IMATH_VERSION}.tar.gz" 13 | fi 14 | 15 | tar xf "$DOWNLOADS_DIR/Imath-${ASWF_IMATH_VERSION}.tar.gz" 16 | cd "Imath-${ASWF_IMATH_VERSION}" 17 | 18 | mkdir build 19 | cd build 20 | cmake \ 21 | -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" \ 22 | -DPYTHON=ON \ 23 | .. 24 | make -j$(nproc) 25 | make install 26 | 27 | cd ../.. 28 | rm -rf $IMATH_FOLDER 29 | fi 30 | 31 | -------------------------------------------------------------------------------- /scripts/vfx/build_osl.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/osl-${ASWF_OSL_VERSION}.tar.gz" ]; then 8 | curl --location "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/archive/refs/tags/v${ASWF_OSL_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/osl-${ASWF_OSL_VERSION}.tar.gz" 9 | fi 10 | 11 | tar -zxf "$DOWNLOADS_DIR/osl-${ASWF_OSL_VERSION}.tar.gz" 12 | cd "OpenShadingLanguage-${ASWF_OSL_VERSION}" 13 | 14 | mkdir build 15 | cd build 16 | 17 | cmake -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" \ 18 | -DBoost_USE_STATIC_LIBS=OFF \ 19 | -DBUILD_SHARED_LIBS=ON \ 20 | -DCMAKE_CXX_STANDARD="${ASWF_CXX_STANDARD}" \ 21 | -Dpybind11_DIR="${ASWF_INSTALL_PREFIX}/lib64/cmake/pybind11" \ 22 | ../. 23 | 24 | make -j$(nproc) 25 | make install 26 | 27 | cd ../.. 28 | rm -rf "OpenShadingLanguage-Release-${ASWF_OSL_VERSION}" 29 | -------------------------------------------------------------------------------- /scripts/vfx/build_otio.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | git clone https://github.com/PixarAnimationStudios/OpenTimelineIO.git 8 | cd OpenTimelineIO 9 | 10 | if [ "$ASWF_OTIO_VERSION" != "latest" ]; then 11 | git checkout "tags/v${ASWF_OTIO_VERSION}" -b "v${ASWF_OTIO_VERSION}" 12 | fi 13 | 14 | pip3 install --prefix="${ASWF_INSTALL_PREFIX}" . 15 | 16 | cd .. 17 | rm -rf OpenTimelineIO 18 | -------------------------------------------------------------------------------- /scripts/vfx/build_partio.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) Contributors to the aswf-docker Project. All rights reserved. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | set -ex 6 | 7 | if [ ! -f "$DOWNLOADS_DIR/partio-${ASWF_PARTIO_VERSION}.tar.gz" ]; then 8 | curl --location "https://github.com/wdas/partio/archive/v${ASWF_PARTIO_VERSION}.tar.gz" -o "$DOWNLOADS_DIR/partio-${ASWF_PARTIO_VERSION}.tar.gz" 9 | fi 10 | 11 | tar -zxf "$DOWNLOADS_DIR/partio-${ASWF_PARTIO_VERSION}.tar.gz" 12 | cd "partio-${ASWF_PARTIO_VERSION}" 13 | 14 | mkdir build 15 | cd build 16 | cmake -DCMAKE_INSTALL_PREFIX="${ASWF_INSTALL_PREFIX}" .. 17 | make -j$(nproc) 18 | make install 19 | 20 | cd ../.. 21 | rm -rf "partio-${ASWF_PARTIO_VERSION}" 22 | -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- 1 | sonar.organization=academysoftwarefoundation 2 | sonar.projectKey=AcademySoftwareFoundation_aswf-docker 3 | sonar.sources=. 4 | sonar.python.coverage.reportPaths=coverage.xml 5 | sonar.python.pylint.reportPath=test-pylint-results.xml 6 | sonar.python.xunit.reportPath=test-pytest-results.xml 7 | sonar.c.file.suffixes=- 8 | sonar.cpp.file.suffixes=- 9 | sonar.objc.file.suffixes=- 10 | -------------------------------------------------------------------------------- /versions.yaml: -------------------------------------------------------------------------------- 1 | python/aswfdocker/data/versions.yaml --------------------------------------------------------------------------------