-
Notifications
You must be signed in to change notification settings - Fork 34
Port ArrowVortex to Linux #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
2543610
Integrate clang-format into the build
uvcat7 38baf6f
Replaced Butterworth.cpp with Iir library.
uvcat7 d31e50b
Move aubio to vcpkg
uvcat7 bb8fc55
Made ImageLoader use stb_image
uvcat7 4ed8c5a
WIP - tried ogg conversion with ffmpeg documentation but it doesn't w…
uvcat7 0602f7d
Got ffmpeg .ogg conversion working.
uvcat7 0ee8752
Remove oggenc2 from build.
uvcat7 337cb39
Update the CREDITS file.
uvcat7 46ca513
Merge branch 'beta' into external-libs
uvcat7 386ceee
oh no a weird cmake edge case
uvcat7 8dfe304
Merge branch 'beta' into external-libs
uvcat7 c0eae70
Merge branch 'beta' into external-libs
uvcat7 f151fd3
Manually specify source files, and split out formatting CI.
uvcat7 6ad497b
WIP--half-pass of converting code
uvcat7 f99464a
It builds, but doesn't work.
uvcat7 3777b8c
The OpenGL context works, but input and frame handling is not working…
uvcat7 7174e0b
Rebase attempt with beta
uvcat7 4a08edb
Rebase attempt.
uvcat7 f344553
Rebase: The OpenGL context works, but input and frame handling is not…
uvcat7 4cdf66b
Rebase: Working on file dialogs.
uvcat7 7ac914d
Rebase cleanup.
uvcat7 3e274c0
Rebase fix attempt 2.
uvcat7 d7d324c
Finished conversion except doing display scaling.
uvcat7 f495b12
Add monitor scaling support, sans some complicated issues
uvcat7 46a5da3
vector icons text glyphs
Psycast 5f61eeb
wip - mixer
uvcat7 13aa78d
Merge branch 'sdl3' of https://github.com/uvcat7/ArrowVortex into sdl3
uvcat7 53e93d8
WIP - the mixer plays audio, but offsets and sound effects don't work.
uvcat7 7082952
ported Windows mixer to SDL_Audio
uvcat7 e4dc54e
Fix scaling for sprites and remaining display elements.
uvcat7 8329153
Cleanup/bugfix mixer.
uvcat7 061f544
Merge branch 'beta' into sdl3
uvcat7 3b40989
Fix cmakelists.txt for build
uvcat7 ef687a0
Merge branch 'sdl3' of https://github.com/uvcat7/ArrowVortex into sdl3
uvcat7 15ec66c
Update vcpkg baseline version
uvcat7 02a1ece
Revert vcpkg baseline
uvcat7 d07a87d
Merge branch 'beta' into sdl3
uvcat7 5db0a69
Fix audio conversion dialogs.
uvcat7 2bacfb9
Fix again
uvcat7 bc5c81c
Fix launch directory on Windows
uvcat7 264ffc2
i am going crazy
uvcat7 434b4dc
It works, kinda sorta. Vector->std::vector, various multiplatform fixes.
uvcat7 45e14c6
finish refactoring
uvcat7 964c2b9
Starting OpenGL menu bar (bar is printed to top.)
uvcat7 26cce40
Menu bar is functional, but overlaps active window
uvcat7 c9cb075
separate editor from menu bar
uvcat7 ec034d9
Make Windows functionality work.
uvcat7 9a4461f
Make .yml work on Linux
uvcat7 8cb9c77
Make clang-tidy work again.
uvcat7 6c22b6d
Try another .yml
uvcat7 3f6d73d
again
uvcat7 41c7556
again..
uvcat7 2a8a608
test...
uvcat7 0dda99c
try6
uvcat7 57a0867
try7
uvcat7 6895cfa
try8
uvcat7 23e6e60
try9
uvcat7 942ea8c
try10
uvcat7 b87d559
try11
uvcat7 3b42971
try12, get all packages
uvcat7 69070fb
try13, remove libudev-dev
uvcat7 41d132d
try14
uvcat7 9229f1e
try15, fix clang-format
uvcat7 a6d4700
try16
uvcat7 2390ac8
try17
uvcat7 4b549cc
last edit.
uvcat7 a1486dd
one more build cleanup
uvcat7 c79b745
fix vector allocation and backport termination from sdl3 branch
uvcat7 53eb377
Merge branch 'beta' into linux
uvcat7 ae69054
update latest beta fixes
uvcat7 addbb2e
update codeql
uvcat7 792667e
fix alignment code
uvcat7 90e46b8
Made builds work on Fedora. Fix file dialog and scaling bugs. Documen…
uvcat7 5ef2fc6
format.
uvcat7 3b5ec74
oh no x2
uvcat7 40979d3
oh nox3
uvcat7 4c6ff9b
oh no x4
uvcat7 2e23de7
try once more
uvcat7 a9f5bb1
i gave up
uvcat7 095c4da
replace menu bar ifdefs with common define, cmakelists.txt cleanup
uvcat7 e18ec86
per LetalexAlex: correctly handle mouse position with SDL functions
uvcat7 06b8454
Fix text edit rendering bugs from vector/clamp conversion
uvcat7 7b7b1f4
Fixed sessions on linux (non portable installations) and added .deskt…
LetalexAlex 780afd9
reformat
uvcat7 2c46bde
try fixing missing packages again
uvcat7 dc8c83c
try3
uvcat7 300b0e6
try again
uvcat7 4e895ef
fix review issues
uvcat7 fdec0ec
Linux small fixes (#300)
Psycast 6cfdfec
fix merge conflicts
uvcat7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| name: Build & Latest Beta | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
| paths-ignore: | ||
| - '**.md' | ||
|
|
||
| env: | ||
| USERNAME: uvcat7 | ||
| FEED_URL: https://nuget.pkg.github.com/uvcat7/index.json | ||
| VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/uvcat7/index.json,readwrite" | ||
|
|
||
| jobs: | ||
| formatting: | ||
| name: "Check formatting" | ||
| runs-on: windows-2022 | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Get AV | ||
| uses: actions/checkout@v7 | ||
| - name: Check formatting with clang-format | ||
| run: > | ||
| clang-format --dry-run --Werror -style=file $(find src/ -type f \( -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.hpp' \)) | ||
| shell: bash | ||
| windows: | ||
| name: "Build Windows x64" | ||
| runs-on: windows-2022 | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Get AV | ||
| uses: actions/checkout@v7 | ||
| - name: Add NuGet sources | ||
| shell: pwsh | ||
| run: | | ||
| .$(vcpkg fetch nuget) ` | ||
| sources add ` | ||
| -Source "${{ env.FEED_URL }}" ` | ||
| -StorePasswordInClearText ` | ||
| -Name GitHubPackages ` | ||
| -UserName "${{ env.USERNAME }}" ` | ||
| -Password "${{ secrets.GH_PACKAGES_TOKEN }}" | ||
| .$(vcpkg fetch nuget) ` | ||
| setapikey "${{ secrets.GH_PACKAGES_TOKEN }}" ` | ||
| -Source "${{ env.FEED_URL }}" | ||
| - name: Configure CMake | ||
| run: > | ||
| cmake -Bbuild -DCMAKE_BUILD_TYPE=Release | ||
| -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" | ||
| -DVCPKG_TARGET_TRIPLET=x64-windows-static-md | ||
| -DYML=YML | ||
| - name: Build AV | ||
| run: cmake --build build --config Release --parallel "$env:NUMBER_OF_PROCESSORS" | ||
| - name: Collect into a directory | ||
| if: github.ref_name == 'beta' | ||
| run: cmake --install build --config Release --prefix ./ | ||
| - name: Upload artifact | ||
| if: github.ref_name == 'beta' | ||
| uses: actions/upload-artifact@v5 | ||
| with: | ||
| name: ArrowVortex-${{ github.sha }} | ||
| path: | | ||
| bin/assets | ||
| bin/noteskins | ||
| bin/settings | ||
| bin/ArrowVortex.exe | ||
| if-no-files-found: error | ||
| linux: | ||
| name: "Build Linux x64" | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Get AV | ||
| uses: actions/checkout@v7 | ||
| - name: Add NuGet sources | ||
| shell: bash | ||
| run: | | ||
| sudo apt-get install -qq -y mono-devel nasm libltdl-dev \ | ||
| autoconf autoconf-archive automake libtool \ | ||
| libx11-dev libxft-dev libxext-dev \ | ||
| libwayland-dev libxkbcommon-dev libegl1-mesa-dev \ | ||
| libibus-1.0-dev zenity clang-tidy clang-format build-essential git \ | ||
| pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \ | ||
| libaudio-dev libjack-dev libsndio-dev libusb-1.0-0-dev libx11-dev libxext-dev \ | ||
| libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \ | ||
| libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \ | ||
| libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev fcitx-libs-dev \ | ||
| libasound2-dev libdecor-0-dev python3-venv libthai-dev libpipewire-0.3-dev \ | ||
| liburing-dev | ||
| mono `vcpkg fetch nuget | tail -n 1` \ | ||
| sources add \ | ||
| -Source "${{ env.FEED_URL }}" \ | ||
| -StorePasswordInClearText \ | ||
| -Name GitHubPackages \ | ||
| -UserName "${{ env.USERNAME }}" \ | ||
| -Password "${{ secrets.GH_PACKAGES_TOKEN }}" | ||
| mono `vcpkg fetch nuget | tail -n 1` \ | ||
| setapikey "${{ secrets.GH_PACKAGES_TOKEN }}" \ | ||
| -Source "${{ env.FEED_URL }}" | ||
| - name: Configure CMake | ||
| run: > | ||
| cmake -Bbuild -DCMAKE_BUILD_TYPE=Release | ||
| -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" | ||
| -DVCPKG_TARGET_TRIPLET=x64-linux | ||
| -DPRESET_NAME=linux-release | ||
| -DYML=YML | ||
| - name: Build AV | ||
| run: cmake --build build --config Release --parallel $(nproc) | ||
| - name: Collect into a directory | ||
| if: github.ref_name == 'beta' | ||
| run: cmake --install build --config Release --prefix ./ | ||
| - name: Upload artifact | ||
| if: github.ref_name == 'beta' | ||
| uses: actions/upload-artifact@v5 | ||
| with: | ||
| name: ArrowVortex-${{ github.sha }} | ||
| path: | | ||
| bin/assets | ||
| bin/noteskins | ||
| bin/settings | ||
| bin/ArrowVortex | ||
| if-no-files-found: error |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.