Skip to content

Commit f92d15c

Browse files
committed
Merge remote-tracking branch 'mixxxdj/2.6' into update_26_rel_withlibdjinterop0_27_1
2 parents 11d0712 + 4a1bc74 commit f92d15c

File tree

8 files changed

+78
-5
lines changed

8 files changed

+78
-5
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
target-branch: "2.6"

.github/deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ TMP_PATH="../../.tmp/${UPLOAD_ID}"
1919

2020
echo "Deploying to ${TMP_PATH}, then to ${DEST_PATH}."
2121

22+
mkdir -p $HOME/.ssh
23+
2224
eval "$(ssh-agent -s)" >/dev/null
2325

2426
cleanup() {

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,11 @@ jobs:
181181

182182
- name: Upload GitHub Actions artifacts of build logs
183183
if: always()
184-
uses: actions/upload-artifact@v4
184+
uses: actions/upload-artifact@v7
185185
with:
186186
name: logs-${{ matrix.deps_name }}
187187
path: ${{ matrix.vcpkg_path }}/buildtrees/**/*.log
188+
archive: true
188189

189190
- name: Create buildenv archive
190191
run: ./vcpkg export --vcpkg-root=${{ matrix.vcpkg_path }} --x-all-installed --zip --output=${{ env.DEPS_BASE_NAME }}-${{ env.MIXXX_VERSION }}-${{ matrix.deps_name }}-${{ steps.vars.outputs.sha_short }} --output-dir=${{ matrix.vcpkg_path }}
@@ -214,6 +215,7 @@ jobs:
214215
# Use retry loop to work around intermittent transfer issue
215216
uses: nick-fields/retry@9417ab499314dfe692edb043ded2ff9b3f5f0a68 # v3
216217
with:
218+
shell: bash
217219
max_attempts: 10
218220
timeout_minutes: 20
219221
retry_wait_seconds: 5
@@ -230,10 +232,11 @@ jobs:
230232
UPLOAD_ID: ${{ github.run_id }}
231233

232234
- name: Upload GitHub Actions artifacts
233-
uses: actions/upload-artifact@v4
235+
uses: actions/upload-artifact@v7
234236
with:
235237
name: ${{ env.DEPS_BASE_NAME }}-${{ env.MIXXX_VERSION }}-${{ matrix.deps_name }}-${{ steps.vars.outputs.sha_short }}
236238
path: ${{ matrix.vcpkg_path }}/${{ env.DEPS_BASE_NAME }}-${{ env.MIXXX_VERSION }}-${{ matrix.deps_name }}-${{ steps.vars.outputs.sha_short }}.zip
239+
archive: false
237240

238241
# Workaround for https://github.com/actions/cache/issues/531
239242
- name: Use system tar & zstd from Chocolatey for caching
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 7ca2d6f..f317c4d 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -226,6 +226,9 @@ configure_file(
6+
include(GNUInstallDirs)
7+
set(DJINTEROP_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_INCLUDEDIR}/djinterop")
8+
9+
+find_package(date CONFIG REQUIRED)
10+
+find_path(SQLITE_MODERN_CPP_INCLUDE_DIRS "sqlite_modern_cpp.h")
11+
+
12+
target_include_directories(
13+
DjInterop PUBLIC
14+
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
15+
@@ -234,13 +237,13 @@ target_include_directories(
16+
target_include_directories(
17+
DjInterop PRIVATE SYSTEM
18+
${ZLIB_INCLUDE_DIRS}
19+
- ext/sqlite_modern_cpp
20+
- ext/date)
21+
+ ${SQLITE_MODERN_CPP_INCLUDE_DIRS})
22+
23+
target_link_libraries(
24+
DjInterop PUBLIC
25+
- ${ZLIB_LIBRARIES})
26+
-
27+
+ ${ZLIB_LIBRARIES}
28+
+ PRIVATE
29+
+ date::date)
30+
31+
if(SYSTEM_SQLITE)
32+
# Search for system installation of SQLite and use that.
33+
diff --git a/src/djinterop/util/chrono.cpp b/src/djinterop/util/chrono.cpp
34+
index 0d551dd..475aece 100644
35+
--- a/src/djinterop/util/chrono.cpp
36+
+++ b/src/djinterop/util/chrono.cpp
37+
@@ -22,7 +22,7 @@
38+
#include <stdexcept>
39+
#include <string>
40+
41+
-#include <date.h>
42+
+#include <date/date.h>
43+
44+
namespace djinterop::util
45+
{

ports/libdjinterop/portfile.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO xsco/libdjinterop
44
REF "${VERSION}"
5-
SHA512 45969510c2a2c863bd9627ddc73f404c84d12cc0eea922c23a04dc3486420188936ef556e6a5372e3cc390b3b12d748d64d0cae82a845d6306a4da18227bb435
5+
SHA512 3d10815725b4f7c9ae835609c1aaca5373d9b1ce010d0fdd64f8116847d90cbdcf50f160f73b590be95db49632e93bd82c4133be0bbdc84c34e543bc29573494
66
HEAD_REF master
7+
PATCHES
8+
devendor_libs.diff
79
)
810

11+
file(REMOVE_RECURSE "${SOURCE_PATH}/ext")
12+
913
vcpkg_cmake_configure(
1014
SOURCE_PATH "${SOURCE_PATH}"
1115
OPTIONS

ports/libdjinterop/vcpkg.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "libdjinterop",
3-
"version": "0.27.0",
3+
"version": "0.27.1",
44
"description": "C++ library for access to DJ record libraries. Currently only supports Denon Engine Prime databases",
55
"homepage": "https://github.com/xsco/libdjinterop",
66
"license": "LGPL-3.0-or-later",
77
"supports": "!xbox",
88
"dependencies": [
9+
"date",
10+
"sqlite-modern-cpp",
911
"sqlite3",
1012
{
1113
"name": "vcpkg-cmake",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4549,7 +4549,7 @@
45494549
"port-version": 0
45504550
},
45514551
"libdjinterop": {
4552-
"baseline": "0.27.0",
4552+
"baseline": "0.27.1",
45534553
"port-version": 0
45544554
},
45554555
"libdmtx": {

versions/l-/libdjinterop.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "07808e552bb04ad62cb87a63a5249bf888162c57",
5+
"version": "0.27.1",
6+
"port-version": 0
7+
},
8+
{
9+
"git-tree": "eb88b6ff11d18e737c84eafdf99e4c555d8d7056",
10+
"version": "0.27.0",
11+
"port-version": 1
12+
},
313
{
414
"git-tree": "d49a24f19dcdfc7403bb37d41e30b9f7d96141e8",
515
"version": "0.27.0",

0 commit comments

Comments
 (0)