Skip to content

Commit f3c364b

Browse files
committed
Merge remote-tracking branch 'upstream/2.6' into StemInfoImporterImprovements
2 parents 20b7ecc + 14409c7 commit f3c364b

46 files changed

Lines changed: 578 additions & 625 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,13 @@ jobs:
363363
env:
364364
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
365365
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
366-
uses: azure/trusted-signing-action@v1.2.0
366+
uses: azure/trusted-signing-action@v2.0.0
367367
with:
368368
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
369369
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
370370
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
371371
endpoint: https://weu.codesigning.azure.net/
372-
trusted-signing-account-name: mixxx
372+
signing-account-name: mixxx
373373
certificate-profile-name: mixxx
374374
files-folder: build
375375
files-folder-filter: exe
@@ -462,7 +462,7 @@ jobs:
462462
env:
463463
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
464464
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
465-
uses: azure/trusted-signing-action@v1.2.0
465+
uses: azure/trusted-signing-action@v2.0.0
466466
with:
467467
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
468468
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -570,7 +570,7 @@ jobs:
570570
571571
- name: "Upload GitHub Actions artifacts"
572572
if: matrix.artifacts_path != null
573-
uses: actions/upload-artifact@v7
573+
uses: actions/upload-artifact@v7.0.1
574574
with:
575575
archive: "false"
576576
path: ${{ matrix.artifacts_path }}
@@ -638,13 +638,13 @@ jobs:
638638
--runtime Mixxx-${GIT_DESC}-${{ matrix.variant.arch }}.Debug.flatpak org.mixxx.Mixxx.Debug
639639
640640
- name: "Upload Flatpak bundle"
641-
uses: actions/upload-artifact@v7
641+
uses: actions/upload-artifact@v7.0.1
642642
with:
643643
archive: "false"
644644
path: Mixxx-${{ env.GIT_DESC }}-${{ matrix.variant.arch }}.flatpak
645645

646646
- name: "Upload Debug extension"
647-
uses: actions/upload-artifact@v7
647+
uses: actions/upload-artifact@v7.0.1
648648
with:
649649
archive: "false"
650650
path: Mixxx-${{ env.GIT_DESC }}-${{ matrix.variant.arch }}.Debug.flatpak

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Check if there is an open PR for this branch
2929
id: stop-build
3030
if: ${{ github.event_name == 'push' }}
31-
uses: actions/github-script@v8
31+
uses: actions/github-script@v9
3232
env:
3333
ORGANIZATION: mixxxdj
3434
REPOSITORY: mixxx

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/labeler@v6.0.1
25+
- uses: actions/labeler@v6.1.0
2626
with:
2727
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2828
sync-labels: false

.github/workflows/pr-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Check if commenter is maintainer
1313
id: check-maintainer
14-
uses: actions/github-script@v8
14+
uses: actions/github-script@v9
1515
with:
1616
script: |
1717
const response = await github.rest.repos.getCollaboratorPermissionLevel({

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565

6666
- name: "Upload patch artifact"
6767
if: failure() && env.UPLOAD_PATCH_FILE != null
68-
uses: actions/upload-artifact@v7
68+
uses: actions/upload-artifact@v7.0.1
6969
with:
7070
archive: "false"
7171
path: ${{ env.UPLOAD_PATCH_FILE }}
7272

7373
- name: "Upload pre-commit.log"
7474
if: failure() && env.UPLOAD_PATCH_FILE == null
75-
uses: actions/upload-artifact@v7
75+
uses: actions/upload-artifact@v7.0.1
7676
with:
7777
archive: "false"
7878
path: /github/home/.cache/pre-commit/pre-commit.log

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,25 @@
1212
# Might be created when running a Python script from the tools folder
1313
__pycache__
1414

15+
# Ignore the patch files that our CI provides to fix pre-commit
16+
/pre-commit.patch
17+
1518
# Clang/cmake
1619
*_build
1720
compile_commands.json
1821

22+
# CMake build configurations, generated by tools/windows_buildenv.bat
23+
/CMakeSettings*.json
24+
25+
# List of discovery files, generated by CTest when running tests with CMake
26+
/cmake_test_discovery_*.json
27+
1928
# Doxygen documentation
2029
/doxygen
2130

2231
# Exclude buildenv directory from our helper scripts
2332
/buildenv
2433

25-
# CMake build configurations, generated by tools/windows_buildenv.bat
26-
/CMakeSettings*.json
27-
2834
# Build and distribution directories for various build configurations
2935
/build*
3036
/install

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ repos:
6666
]
6767
exclude: ^(packaging/wix/LICENSE.rtf.in|src/dialog/dlgabout\.cpp|res/linux/org\.mixxx\.Mixxx\.desktop|.*\.(?:pot?|(?<!\.d\.)ts|wxl|svg))$
6868
- repo: https://github.com/pre-commit/mirrors-eslint
69-
rev: v10.2.0
69+
rev: v10.4.0
7070
hooks:
7171
- id: eslint
7272
args: [--fix, --report-unused-disable-directives]
@@ -77,7 +77,7 @@ repos:
7777
- pre-commit
7878
- manual
7979
additional_dependencies:
80-
- eslint@^10.2.0
80+
- eslint@^10.4.0
8181
- "@eslint/js"
8282
- typescript-eslint
8383
- eslint-plugin-jsdoc@^v50.4.3
@@ -98,7 +98,7 @@ repos:
9898
- clang-format==19.1.3
9999
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|m|mm|proto|vert)$
100100
- repo: https://github.com/psf/black
101-
rev: 26.3.1
101+
rev: 26.5.1
102102
hooks:
103103
- id: black
104104
files: ^tools/.*$
@@ -113,11 +113,11 @@ repos:
113113
hooks:
114114
- id: shellcheck
115115
- repo: https://github.com/DavidAnson/markdownlint-cli2
116-
rev: v0.22.0
116+
rev: v0.22.1
117117
hooks:
118118
- id: markdownlint-cli2
119119
- repo: https://github.com/python-jsonschema/check-jsonschema
120-
rev: 0.37.1
120+
rev: 0.37.2
121121
hooks:
122122
- id: check-github-workflows
123123
- repo: https://github.com/pre-commit/mirrors-prettier

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ Note: Version 2.5.5 has been skipped following an issue in the release workflow.
889889
* Fix handling of "vinylcontrol_enabled" causes a frozen vinyl spinny mouse control
890890
[#15168](https://github.com/mixxxdj/mixxx/pull/15168)
891891
[#15165](https://github.com/mixxxdj/mixxx/issues/15165)
892-
* Pitch filter improvements [#15230](https15054://github.com/mixxxdj/mixxx/pull/15230)
892+
* Pitch filter improvements [#15230](https://github.com/mixxxdj/mixxx/pull/15230)
893893
* Add a quadrature phase tracker
894894
[#15217](https://github.com/mixxxdj/mixxx/pull/15217)
895895
[#15283](https://github.com/mixxxdj/mixxx/pull/15283)
@@ -2640,4 +2640,4 @@ Note: Version 2.5.5 has been skipped following an issue in the release workflow.
26402640

26412641
## Older Changelog
26422642

2643-
Find older changelog entries [here](https://github.com/mixxxdj/mixxx/blob/2.5.0/CHANGELOG.md).
2643+
Find older changelog entries in the [2.5.0 Changelog](https://github.com/mixxxdj/mixxx/blob/2.5.0/CHANGELOG.md).

CMakeLists.txt

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,19 @@ if(DEFINED ENV{MIXXX_VCPKG_ROOT} AND NOT DEFINED MIXXX_VCPKG_ROOT)
244244
endif()
245245

246246
if(DEFINED MIXXX_VCPKG_ROOT)
247+
# Validate MIXXX_VCPKG_ROOT points to a vcpkg root to avoid confusing follow-up errors.
248+
set(_vcpkg_toolchain "${MIXXX_VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake")
249+
if(NOT EXISTS "${_vcpkg_toolchain}")
250+
file(TO_NATIVE_PATH "${_vcpkg_toolchain}" _vcpkg_toolchain_native)
251+
message(
252+
STATUS
253+
"MIXXX_VCPKG_ROOT was set to \"${MIXXX_VCPKG_ROOT}\", but this is not a valid vcpkg root.\n"
254+
"Expected to find: ${_vcpkg_toolchain_native}\n"
255+
"Please set MIXXX_VCPKG_ROOT to the vcpkg root directory, the folder containing the vcpkg tool (vcpkg.exe on Windows)."
256+
)
257+
fatal_error_missing_env()
258+
endif()
259+
247260
if(
248261
EXISTS "${MIXXX_VCPKG_ROOT}/overlay/ports"
249262
OR NOT EXISTS "${MIXXX_VCPKG_ROOT}/ports"
@@ -620,7 +633,7 @@ if(MSVC)
620633
# Microsoft Visual Studio Compiler
621634
add_compile_options(/UTF8)
622635
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x64|x86_64|AMD64)$")
623-
# Target architecture is x64 -> x64 has alsways SSE and SSE2 instruction sets
636+
# Target architecture is x64 -> x64 has always SSE and SSE2 instruction sets
624637
message(STATUS "x64 Enabling SSE2 CPU optimizations (>= Pentium 4)")
625638
# Define gcc/clang style defines for SSE and SSE2 for compatibility
626639
add_compile_definitions("__SSE__" "__SSE2__")
@@ -3123,6 +3136,20 @@ if(ENGINEPRIME)
31233136
"${CMAKE_PREFIX_PATH}"
31243137
)
31253138

3139+
# Apple Clang >= 16 enabled -Wdeprecated-literal-operator by default and
3140+
# treats it as an error, which breaks the libdjinterop build because the
3141+
# library uses the deprecated whitespace syntax (operator"" _suffix).
3142+
# GCC does not have this warning at all and rejects unknown -Wno-error=
3143+
# flags, so we only pass the suppression flag on Apple Clang.
3144+
set(DJINTEROP_EXTRA_CMAKE_ARGS "")
3145+
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
3146+
list(
3147+
APPEND
3148+
DJINTEROP_EXTRA_CMAKE_ARGS
3149+
-DCMAKE_CXX_FLAGS=-Wno-error=deprecated-literal-operator
3150+
)
3151+
endif()
3152+
31263153
# For offline builds download the archive file from the URL and
31273154
# copy it into DOWNLOAD_DIR under DOWNLOAD_NAME prior to starting
31283155
# the configuration.
@@ -3157,7 +3184,7 @@ if(ENGINEPRIME)
31573184
-$<IF:$<BOOL:${CMAKE_OSX_ARCHITECTURES}>,D,U>CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
31583185
-DCMAKE_SYSTEM_PROCESSOR=${CMAKE_SYSTEM_PROCESSOR}
31593186
-DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
3160-
-DSYSTEM_SQLITE=${DJINTEROP_SYSTEM_SQLITE}
3187+
-DSYSTEM_SQLITE=${DJINTEROP_SYSTEM_SQLITE} ${DJINTEROP_EXTRA_CMAKE_ARGS}
31613188
BUILD_COMMAND ${CMAKE_COMMAND} --build . --target DjInterop
31623189
BUILD_BYPRODUCTS <INSTALL_DIR>/${DJINTEROP_LIBRARY}
31633190
EXCLUDE_FROM_ALL TRUE
@@ -5126,7 +5153,7 @@ if(NOT CPACK_DEBIAN_PACKAGE_RELEASE)
51265153
set(CPACK_DEBIAN_PACKAGE_RELEASE 1)
51275154
endif()
51285155

5129-
set(CPACK_DEBIAN_DISTRIBUTION_RELEASES noble questing resolute)
5156+
set(CPACK_DEBIAN_DISTRIBUTION_RELEASES noble questing resolute stonking)
51305157
set(CPACK_DEBIAN_SOURCE_DIR ${CMAKE_SOURCE_DIR})
51315158
set(
51325159
CPACK_DEBIAN_UPLOAD_PPA_SCRIPT

packaging/flatpak/org.mixxx.Mixxx.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,17 @@ modules:
6060
- modules/libdjinterop.yaml
6161
- name: mixxx
6262
buildsystem: cmake-ninja
63+
run-tests: true
64+
build-options:
65+
env:
66+
GTEST_COLOR: "1"
67+
CTEST_OUTPUT_ON_FAILURE: "1"
68+
CTEST_PARALLEL_LEVEL: "1"
6369
config-opts:
6470
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
6571
- -DINSTALL_USER_UDEV_RULES=OFF
6672
- -DBUILD_BENCH=OFF
67-
- -DBUILD_TESTING=OFF
73+
- -DBUILD_TESTING=ON
6874
sources:
6975
- type: dir
7076
path: ../../

0 commit comments

Comments
 (0)