Skip to content

Update Freedesktop runtime to 25.08 - #38

Open
dgruss wants to merge 5 commits into
flathub:masterfrom
dgruss:codex-update-freedesktop-runtime
Open

Update Freedesktop runtime to 25.08#38
dgruss wants to merge 5 commits into
flathub:masterfrom
dgruss:codex-update-freedesktop-runtime

Conversation

@dgruss

@dgruss dgruss commented May 9, 2026

Copy link
Copy Markdown

Summary

Updates the Flatpak manifest to use the current Freedesktop 25.08 runtime.

  • Bumps runtime-version from 24.08 to 25.08
  • Bumps the matching org.freedesktop.Platform.ffmpeg-full extension version from 24.08 to 25.08

This addresses the Flathub linter warning:

runtime-update-available-to-org.freedesktop.Platform-25.08

@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

Comment thread eu.usdx.UltraStarDeluxe.yaml Outdated
@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@s09bQ5

s09bQ5 commented May 9, 2026

Copy link
Copy Markdown
Collaborator

With projectM you will run into the problem that the Freedesktop SDK 25.08 provides the buggy version 23 of ax_check_gl.m4 and autoconf prefers that one over the version 22 in m4/autoconf-archive/. The only workaround I found was to rename the AX_CHECK_GL function. Version 24 would work as well.

@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

Comment thread patches/opencv-cmake-4.patch Outdated
+++ b/cmake/OpenCVGenPkgconfig.cmake
@@ -113,4 +113,4 @@ else() # DEFINED CMAKE_HELPER_SCRIPT
-cmake_minimum_required(VERSION 2.8.12.2)
+cmake_minimum_required(VERSION 3.5)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed since OpenCV 4.12. See opencv/opencv@cb80308

@s09bQ5

s09bQ5 commented May 10, 2026

Copy link
Copy Markdown
Collaborator

PortMidi also struggles with the minimum cmake version, but can be persuaded with -DCMAKE_POLICY_VERSION_MINIMUM=3.5. It also needs a patch to change PT_Time(NULL) to PT_Time() in all three places (New GCC is more picky).

Do we want to keep PortMidi now that we have that simple synthesizer in USDX?

@dgruss

dgruss commented May 10, 2026

Copy link
Copy Markdown
Author

On Linux and macos rather useless now. On windows keeping midi support makes sense though

@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@s09bQ5

s09bQ5 commented May 10, 2026

Copy link
Copy Markdown
Collaborator

Newer versions of the shared-modules submodule contain SDL2_image, but I don't like that it is configured to use stb_image instead of the proven libjpeg(-turbo) and libpng libraries. Much fewer people check that library for security bugs and it probably does not support as many variations of the file formats as the big libraries.

stb_image might be ok for games that have control over the images to be loaded, but we don't.

@s09bQ5

s09bQ5 commented May 10, 2026

Copy link
Copy Markdown
Collaborator

@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/283248/eu.usdx.UltraStarDeluxe.flatpakref

Built for aarch64 and x86_64 architectures.

@ghost ghost added the runtime label May 23, 2026
Comment thread eu.usdx.UltraStarDeluxe.yaml
@ghost ghost mentioned this pull request Jun 3, 2026
@barbeque-squared

Copy link
Copy Markdown
Collaborator

@s09bQ5

Do we want to keep PortMidi now that we have that simple synthesizer in USDX?

Personally, I'm quite okay with getting rid of PortMidi on all platforms. As far as output is concerned, there's no point keeping it around on any platform, the simple synthesizer is good enough. I think it can also be used as an input device, but I'm not sure which platforms this even works on, and it's also quite the dependency for the 99.99% of users that never use it anyway.

@dgruss

dgruss commented Jun 4, 2026

Copy link
Copy Markdown
Author

The real midi sounds are still better than our simple synthesizer.

If we want this, midi input and output still works with this one through the simple synthesizer UltraStar-Deluxe/USDX#1335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants