Add a menu with About and Donate, and build only through Flatpak #9

Merged
GrumpyStraw merged 3 commits from feature/about-donate-menu into main 2026-10-11 13:30:55 +02:00
Owner

Menu with About and Donate

A menu button (application-menu) in the library column's toolbar, next to Settings:

  • About Strawly Music opens a dialog with the app icon, the version from CMakeLists.txt, the summary, links to the website, the source code and the Source First License 1.1, and the copyright line (src/qml/AboutDialog.qml).
  • Donate is a submenu with Ko-fi and Liberapay, which open in the browser, and Monero, which opens a dialog with the address and a Copy address button (src/qml/MoneroDialog.qml).

The menu has DisplayHint.KeepVisible. In a narrow column the toolbar's actions move into its overflow menu, and Kirigami's overflow menu hides submenus nested more than one level deep, so Donate did not show there. Kirigami 6.30 and the KDE 6.11 runtime have the same code.

CHANGELOG.md gets an Unreleased section for these changes, and the About and donation items are ticked in ROADMAP.md.

Summary and homepage

  • The summary in the metainfo and the .desktop file is now "Play and edit your playlist files". Discover shows it even for bundle installs.
  • The homepage in the metainfo and the About dialog's Website link point to https://music.strawly.app, which redirects to this repository until the website exists.

README

The README only documents the Flatpak path now:

  • The native build, run and install steps are gone.
  • Builds use org.flatpak.Builder from Flathub, the same builder as the CI. The host flatpak-builder printed VIPS warnings from the host's appstreamcli. --socket=session-bus lets the builder ask D-Bus to reload its configuration after installing, which the sandbox otherwise blocks with an "Unknown bus method ReloadConfig" warning.
  • The test command builds in the SDK's /tmp and deletes the build folder at the end, because Flatpak keeps that /tmp in memory and shares it between runs.

Checked

  • Builds without warnings and qmllint is clean in org.kde.Sdk//6.11. Both tests pass with the README's test command.
  • The local Flatpak build with org.flatpak.Builder prints no warnings.
  • Tested in the installed Flatpak: the About dialog, the Donate submenu, the Ko-fi and Liberapay links, and copying the Monero address.

The version stays 0.1.1 until the 0.2.0 release prep.

## Menu with About and Donate A menu button (`application-menu`) in the library column's toolbar, next to Settings: - **About Strawly Music** opens a dialog with the app icon, the version from `CMakeLists.txt`, the summary, links to the website, the source code and the Source First License 1.1, and the copyright line (`src/qml/AboutDialog.qml`). - **Donate** is a submenu with Ko-fi and Liberapay, which open in the browser, and Monero, which opens a dialog with the address and a **Copy address** button (`src/qml/MoneroDialog.qml`). The menu has `DisplayHint.KeepVisible`. In a narrow column the toolbar's actions move into its overflow menu, and Kirigami's overflow menu hides submenus nested more than one level deep, so Donate did not show there. Kirigami 6.30 and the KDE 6.11 runtime have the same code. `CHANGELOG.md` gets an Unreleased section for these changes, and the About and donation items are ticked in `ROADMAP.md`. ## Summary and homepage - The summary in the metainfo and the `.desktop` file is now "Play and edit your playlist files". Discover shows it even for bundle installs. - The homepage in the metainfo and the About dialog's Website link point to `https://music.strawly.app`, which redirects to this repository until the website exists. ## README The README only documents the Flatpak path now: - The native build, run and install steps are gone. - Builds use `org.flatpak.Builder` from Flathub, the same builder as the CI. The host `flatpak-builder` printed VIPS warnings from the host's `appstreamcli`. `--socket=session-bus` lets the builder ask D-Bus to reload its configuration after installing, which the sandbox otherwise blocks with an "Unknown bus method ReloadConfig" warning. - The test command builds in the SDK's `/tmp` and deletes the build folder at the end, because Flatpak keeps that `/tmp` in memory and shares it between runs. ## Checked - Builds without warnings and `qmllint` is clean in `org.kde.Sdk//6.11`. Both tests pass with the README's test command. - The local Flatpak build with `org.flatpak.Builder` prints no warnings. - Tested in the installed Flatpak: the About dialog, the Donate submenu, the Ko-fi and Liberapay links, and copying the Monero address. The version stays 0.1.1 until the 0.2.0 release prep.
GrumpyStraw scheduled this pull request to auto merge when all checks succeed 2026-10-11 13:30:50 +02:00
GrumpyStraw deleted branch feature/about-donate-menu 2026-10-11 13:30:55 +02:00
Sign in to join this conversation.
No description provided.