Skip to content

10135 write relative install_manifest.txt for AppImage install/remove - #12104

Merged
grliszas14 merged 1 commit into
audacity:masterfrom
kfl:fix-appimage-manifest
Sep 22, 2026
Merged

grliszas14 merged 1 commit into
audacity:masterfrom
kfl:fix-appimage-manifest

Conversation

@kfl

@kfl kfl commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Resolves: #10135

The AppImage's install, update and remove commands (portable-utils)
read install_manifest.txt from the AppDir and cp --parents each entry into
PREFIX. ci_build.cmake copied CMake's install_manifest.txt verbatim, so it
contained absolute paths from the build machine
(/home/runner/work/audacity/audacity/build.release/...) and every entry in
the build, not just the desktop resources. On a user's machine cp fails
with cannot stat '/home/runner...' and the install aborts.

MuseScore's ninja_build.sh rewrites the manifest with a sed that keeps only
share/{applications,icons,man,metainfo,mime} entries, relative to the AppDir
root; the equivalent line in ci_build.cmake was commented out. This does the
same rewrite in CMake and removes the dead commented-out shell code.

Tested by building the AppDir with the CI workflow locally (act, aarch64):
install_manifest.txt now contains only relative share/... paths, and
AppRun install / AppRun remove work.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 67686e06-c45b-4c9c-8ceb-bc8fb0fc866d

📥 Commits

Reviewing files that changed from the base of the PR and between fb247d5 and 59968a2.

📒 Files selected for processing (1)
  • ci_build.cmake

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The APPIMAGE packaging flow now reads install_manifest.txt, keeps matching resources under share/applications, icons, man, metainfo, and mime, converts them to relative paths, and writes the filtered manifest into the AppDir. It no longer copies the original manifest with absolute build paths. Obsolete commented shell commands were removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 59968

The AppImage manifest now uses relative desktop-integration paths, preventing build-machine paths from breaking installation and removal. The change is merge-ready with no known blocking risk.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: writing relative install_manifest.txt paths for AppImage install and remove operations.
Description check ✅ Passed The description includes the linked issue, motivation, implementation details, testing information, and required checklist items. The optional Testflow checkbox is not checked, but the description is …
Linked Issues check ✅ Passed The change directly addresses issue #10135 by removing build-machine absolute paths from install_manifest.txt and retaining the required relative desktop-integration resource paths. This supports succ…
Out of Scope Changes check ✅ Passed The changes are limited to the AppImage manifest rewrite and removal of obsolete commented-out shell code. No unrelated code changes are identified.

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@grliszas14
grliszas14 force-pushed the fix-appimage-manifest branch from 59968a2 to 3dc42b9 Compare September 22, 2026 12:45
@grliszas14
grliszas14 merged commit d6b1f18 into audacity:master Sep 22, 2026
@grliszas14

Copy link
Copy Markdown
Contributor

@kfl thank you! merged

kryksyh added a commit that referenced this pull request Sep 22, 2026
10135 write relative install_manifest.txt for AppImage install/remove (#12104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installing the AppImage of Audacity 4 Alpha 2 fails

3 participants