Skip to content

Commit a9bde4c

Browse files
committed
Merge branch 'release/2025.3.0'
2 parents 67ebae1 + fb90cd2 commit a9bde4c

32 files changed

+729
-1262
lines changed

.github/actions/download/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13-
- uses: actions/download-artifact@v4
13+
- uses: actions/download-artifact@v5
1414
with:
1515
name: ${{ inputs.platform }}.env
1616
path: ${{ inputs.platform }}.env
@@ -22,7 +22,7 @@ runs:
2222
echo "package_name=$PACKAGE_NAME" >> $GITHUB_OUTPUT
2323
echo "$PACKAGE_NAME/$PACKAGE_NAME" >> package_paths.env
2424
id: env
25-
- uses: actions/download-artifact@v4
25+
- uses: actions/download-artifact@v5
2626
with:
2727
name: ${{ steps.env.outputs.package_name }}
2828
path: ${{ steps.env.outputs.package_name }}

.github/workflows/build.yml

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build-workflow
1+
name: build
22

33
on:
44
push:
@@ -17,7 +17,7 @@ on:
1717
- 'NOTICE'
1818

1919
jobs:
20-
build-linux:
20+
build_linux:
2121
strategy:
2222
fail-fast: false
2323
matrix:
@@ -27,11 +27,11 @@ jobs:
2727
name: Build zakuro for ${{ matrix.name }}
2828
runs-on: ${{ matrix.name == 'ubuntu-24.04_x86_64' && 'ubuntu-24.04' || 'ubuntu-22.04' }}
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131
- name: Install deps
3232
run: |
3333
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install libx11-dev libxext-dev
34-
- run: python3 run.py ${{ matrix.name }} --package
34+
- run: python3 run.py build ${{ matrix.name }} --package
3535
- name: Get package name
3636
shell: bash
3737
run: |
@@ -48,20 +48,51 @@ jobs:
4848
with:
4949
name: ${{ matrix.name }}.env
5050
path: _package/${{ matrix.name }}/release/zakuro.env
51-
create-release:
51+
build_macos:
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
name:
56+
- macos_arm64
57+
name: Build zakuro for ${{ matrix.name }}
58+
runs-on: macos-15
59+
steps:
60+
- uses: actions/checkout@v5
61+
- run: python3 run.py build ${{ matrix.name }} --package
62+
- name: Get package name
63+
shell: bash
64+
run: |
65+
source _package/${{ matrix.name }}/release/zakuro.env
66+
echo "name=${PACKAGE_NAME}" >> $GITHUB_OUTPUT
67+
id: package_name
68+
- name: Upload Artifact
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: ${{ steps.package_name.outputs.name }}
72+
path: _package/${{ matrix.name }}/release/${{ steps.package_name.outputs.name }}
73+
- name: Upload Environment
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: ${{ matrix.name }}.env
77+
path: _package/${{ matrix.name }}/release/zakuro.env
78+
create_release:
5279
name: Create Release
5380
if: contains(github.ref, 'tags/202')
5481
needs:
55-
- build-linux
82+
- build_linux
83+
- build_macos
5684
runs-on: ubuntu-24.04
5785
steps:
58-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@v5
5987
- uses: ./.github/actions/download
6088
with:
6189
platform: ubuntu-22.04_x86_64
6290
- uses: ./.github/actions/download
6391
with:
6492
platform: ubuntu-24.04_x86_64
93+
- uses: ./.github/actions/download
94+
with:
95+
platform: macos_arm64
6596
- name: Env to output
6697
run: |
6798
echo "package_paths=$(cat package_paths.env | tr '\n' ' ')" >> $GITHUB_OUTPUT

.github/workflows/claude.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request_review_comment:
77
types: [created]
88

9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
actions: read
14+
915
env:
1016
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY_SORA_OSS_SONNET }}
1117

@@ -15,7 +21,7 @@ jobs:
1521
runs-on: ubuntu-24.04
1622
timeout-minutes: 20
1723
steps:
18-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
1925
- uses: anthropics/claude-code-action@beta
2026
with:
2127
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN_VOLUNTAS }}
@@ -25,17 +31,30 @@ jobs:
2531
timeout_minutes: 15
2632
disallowed_tools: "Bash(git:*)"
2733

34+
check-permission:
35+
if: github.event.comment.user.login != 'voluntas'
36+
runs-on: ubuntu-24.04
37+
outputs:
38+
has_permission: ${{ steps.check.outputs.has-permission }}
39+
steps:
40+
- uses: actions/checkout@v5
41+
- id: check
42+
uses: shiguredo/github-actions/.github/actions/check-write-permission@main
43+
with:
44+
username: ${{ github.event.comment.user.login }}
45+
2846
claude-sonnet-response-others:
29-
if: contains(fromJSON('["Hexa", "akko", "sile", "melpon", "tnamao", "torikizi", "miosakuma", "zztkm", "t-miya"]'), github.event.comment.user.login)
47+
needs: check-permission
48+
if: needs.check-permission.outputs.has_permission == 'true'
3049
runs-on: ubuntu-24.04
3150
timeout-minutes: 20
3251
steps:
33-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v5
3453
- uses: anthropics/claude-code-action@beta
3554
with:
3655
anthropic_api_key: ${{ env.ANTHROPIC_API_KEY }}
3756
github_token: ${{ secrets.GITHUB_TOKEN }}
3857
model: "claude-sonnet-4-20250514"
3958
trigger_phrase: "!sonnet"
4059
timeout_minutes: 15
41-
disallowed_tools: "Bash(git:*)"
60+
disallowed_tools: "Bash(git:*)"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ webrtc_logs_0
3838
.DS_Store
3939
*.swp
4040

41-
*.yaml
41+
*.jsonc
4242

4343
/_package
4444
/_source

.vscode/c_cpp_properties.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/boost/include",
1515
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/cli11/include",
1616
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/blend2d/include",
17-
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/openh264/include",
18-
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/yaml/include"
17+
"${workspaceFolder}/_install/ubuntu-22.04_x86_64/release/openh264/include"
1918
],
2019
"defines": [
2120
"WEBRTC_POSIX",
@@ -47,8 +46,7 @@
4746
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/boost/include",
4847
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/cli11/include",
4948
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/blend2d/include",
50-
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/openh264/include",
51-
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/yaml/include"
49+
"${workspaceFolder}/_install/ubuntu-24.04_x86_64/release/openh264/include"
5250
],
5351
"defines": [
5452
"WEBRTC_POSIX",

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
"[cpp]": {
1515
"editor.formatOnSave": true
1616
},
17+
"json.schemas": [{
18+
"fileMatch": ["*.jsonc"],
19+
"schema": {
20+
"allowTrailingCommas": true,
21+
}
22+
}],
1723
"files.associations": {
1824
"*.cs": "csharp",
1925
"CMakeLists.txt": "cmake",

CHANGES.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,46 @@
1111

1212
## develop
1313

14+
## 2025.3.0
15+
16+
**リリース日**: 2025-09-17
17+
18+
- [CHANGE] 設定ファイル形式を YAML から JSONC (JSON with Comments) に変更する
19+
- `/``/* */` コメントと末尾カンマをサポートする JSONC 形式を採用
20+
- 設定ファイルの拡張子を `.yaml` から `.jsonc` に変更
21+
- トップレベルの `zakuro` を削除しました
22+
- @voluntas
23+
- [CHANGE] 設定ファイルの JSONC 化により不要になった `yaml-cpp` 依存を削除
24+
- @voluntas
25+
- [CHANGE] kuzushi 機能を削除する
26+
- @voluntas
27+
- [UPDATE] Sora C++ SDK を `2025.5.0` に上げる
28+
- libwebrtc のバージョンを `m139.7258.3.0` に上げる
29+
- CMake のバージョンを `4.1.0` に上げる
30+
- Boost のバージョンを `1.89.0` に上げる
31+
- [UPDATE] blend2d のバージョンを `0.20.0` に上げる
32+
- blend2d の API 変更への追従: `camelCase` から `snake_case` へ移行
33+
- 影響範囲: `src/fake_video_capturer.cpp` のみ
34+
- 変更内容(旧 → 新)の一例 :
35+
- `image_.getData(&data);` -> `image_.get_data(&data);`
36+
- `ctx.setFillStyle(BLRgba32(0, 255, 255));` -> `ctx.set_fill_style(BLRgba32(0, 255, 255));`
37+
- `ctx.fillPie(0, 0, width * 0.09, 0, 2 * pi);` -> `ctx.fill_pie(0, 0, width * 0.09, 0, 2 * pi);`
38+
- 変更対象外の API
39+
- `ctx.end()`, `ctx.save()`, `ctx.restore()` は単語なので変更なし
40+
- @torikizi
41+
42+
### misc
43+
44+
- [UPDATE] actions/checkout を v5 にアップデート
45+
- @torikizi
46+
- [UPDATE] actions/download-artifact を v5 にアップデート
47+
- @torikizi
48+
1449
## 2025.2.0
1550

1651
**リリース日**: 2025-07-18
1752

1853
- [UPDATE] Sora C++ SDK を `2025.4.0` に上げる
19-
- それに伴って以下のライブラリのバージョンも上げる
2054
- libwebrtc のバージョンを `m138.7204.0.1` に上げる
2155
- `rtc::``webrtc::` に変更する
2256
- `cricket::``webrtc::` に変更する
@@ -63,7 +97,6 @@
6397
- [ADD] .github ディレクトリに copilot-instructions.md を追加
6498
- @torikizi
6599

66-
67100
## 2025.1.0
68101

69102
**リリース日**: 2025-06-19

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
- レビューの表現は、指摘内容を優先順位をつけること
1414
- レビューの表現は、指摘内容を優先順位をつけて、重要なものから順に記載すること
1515
- ドキュメントは別に書いているので、ドキュメトに付いては考慮しないこと
16-
- 変更点とリリースノートの整合性を確認すること
16+
- 変更点とリリースノートの整合性を確認すること

CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cmake_policy(SET CMP0091 NEW)
77

88
project(zakuro C CXX)
99

10-
list(APPEND CMAKE_PREFIX_PATH ${SORA_DIR} ${YAML_ROOT_DIR})
10+
list(APPEND CMAKE_PREFIX_PATH ${SORA_DIR})
1111
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${SORA_DIR}/share/cmake)
1212

1313
set(Boost_USE_STATIC_LIBS ON)
@@ -19,7 +19,6 @@ find_package(Sora REQUIRED)
1919
find_package(Threads REQUIRED)
2020
find_package(Blend2D REQUIRED)
2121
find_package(CLI11 REQUIRED)
22-
find_package(yaml-cpp REQUIRED)
2322

2423
add_executable(zakuro)
2524

@@ -56,7 +55,6 @@ target_link_libraries(zakuro
5655
Boost::filesystem
5756
CLI11::CLI11
5857
Blend2D::Blend2D
59-
yaml-cpp::yaml-cpp
6058
)
6159

6260
target_compile_definitions(zakuro
@@ -146,7 +144,7 @@ foreach(n RANGE ${RESOURCE_FILES_LENGTH_MINUS_ONE})
146144
set(objfile ${file}.o)
147145
add_custom_command(OUTPUT ${objfile}
148146
COMMAND ld
149-
ARGS -r -b binary -o ${CMAKE_CURRENT_BINARY_DIR}/${objfile} ${file}
147+
ARGS -r -b binary -z noexecstack -o ${CMAKE_CURRENT_BINARY_DIR}/${objfile} ${file}
150148
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/resource
151149
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/resource/${file})
152150
set_source_files_properties(${objfile}
@@ -166,11 +164,11 @@ foreach(n RANGE ${RESOURCE_FILES_LENGTH_MINUS_ONE})
166164
endforeach()
167165

168166
configure_file(
169-
${CMAKE_CURRENT_SOURCE_DIR}/src/embedded_binary.generated.template.h
167+
${CMAKE_CURRENT_SOURCE_DIR}/src/embedded_binary.generated.h.in
170168
${CMAKE_CURRENT_BINARY_DIR}/embedded_binary.generated.h
171169
@ONLY)
172170
configure_file(
173-
${CMAKE_CURRENT_SOURCE_DIR}/src/embedded_binary.generated.priv.template.h
171+
${CMAKE_CURRENT_SOURCE_DIR}/src/embedded_binary.generated.priv.h.in
174172
${CMAKE_CURRENT_BINARY_DIR}/embedded_binary.generated.priv.h
175173
@ONLY)
176174

DEPS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
SORA_CPP_SDK_VERSION=2025.4.0
2-
WEBRTC_BUILD_VERSION=m138.7204.0.1
3-
BOOST_VERSION=1.88.0
1+
SORA_CPP_SDK_VERSION=2025.5.0
2+
WEBRTC_BUILD_VERSION=m139.7258.3.0
3+
BOOST_VERSION=1.89.0
44
CLI11_VERSION=v2.4.2
5-
CMAKE_VERSION=4.0.3
6-
BLEND2D_VERSION=0.12.0
5+
CMAKE_VERSION=4.1.0
6+
BLEND2D_VERSION=0.20.0
7+
BLEND2D_SHA256_HASH=6f08f42fa53ebf57bffa7e18894294b44d6fbc478f6dbbf105791d551fdf6729
78
OPENH264_VERSION=v2.6.0
8-
YAML_CPP_VERSION=2f86d13775d119edbb69af52e5f566fd65c6953b

0 commit comments

Comments
 (0)