-
Notifications
You must be signed in to change notification settings - Fork 88
feat(flatpak): build a Flathub-ready manifest offline from source #352
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
Open
EtienneLescot
wants to merge
12
commits into
main
Choose a base branch
from
claude/flathub-spike-run2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8dce4d3
fix(flatpak): give the spike a digest it can parse
EtienneLescot 49ad48c
feat(flatpak): wire the offline inputs the build actually asked for
EtienneLescot 8f6f93a
feat(flatpak): give bindgen the libclang the SDK does not ship
EtienneLescot 12b91e9
feat(flatpak): build the patchelf the compositor addon requires
EtienneLescot ae48282
feat(flatpak): pre-fetch the STT helper's three git dependencies
EtienneLescot f09143c
feat(flatpak): supply the SPIRV-Headers ggml's Vulkan backend requires
EtienneLescot 49417f9
fix(flatpak): stage ffmpeg where the pipewire helper looks for it
EtienneLescot d148ad8
fix(flatpak): waive the glibc floor for the one build it cannot apply to
EtienneLescot 29786d9
fix(flatpak): stop electron-builder reaching for the network, and cop…
EtienneLescot 297a295
ci(flatpak): check the gate Flathub actually applies
EtienneLescot b16a64b
fix(flatpak): export the repo where the sandboxed linter can read it
EtienneLescot b8d80c3
fix(flatpak): stop requesting portal bus names the sandbox already has
EtienneLescot 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| [Desktop Entry] | ||
| Type=Application | ||
| Name=OpenScreen | ||
| GenericName=Screen Recorder | ||
| Comment=Screen recorder and video editor | ||
| Exec=openscreen %U | ||
| Icon=com.getopenscreen.OpenScreen | ||
| Terminal=false | ||
| Categories=AudioVideo;AudioVideoEditing;Recorder; | ||
| Keywords=screen;record;recorder;capture;screencast;video;editor; | ||
| # Electron derives the WM class from productName, which is "Openscreen" in | ||
| # electron-builder.json5 — not the app id. Without this the window does not | ||
| # associate with the launcher icon under Wayland or GNOME. | ||
| StartupWMClass=Openscreen | ||
| StartupNotify=true |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Return the linter failure status.
If
flatpak-builder-lintfails,lintends withechoand returns zero. Lines 229-230 then leavercat zero. Stage G reports success even when the manifest or repository lint fails.Proposed fix
lint() { local mode="$1" target="$2" + local lint_rc=0 echo "### flatpak-builder-lint $mode" >> "$GITHUB_STEP_SUMMARY" echo '```' >> "$GITHUB_STEP_SUMMARY" if flatpak run --command=flatpak-builder-lint org.flatpak.Builder \ "$mode" "$target" 2>&1 | tee "/tmp/lint-$mode.json"; then echo "clean" >> "$GITHUB_STEP_SUMMARY" else cat "/tmp/lint-$mode.json" >> "$GITHUB_STEP_SUMMARY" + lint_rc=1 fi echo '```' >> "$GITHUB_STEP_SUMMARY" + return "$lint_rc" }📝 Committable suggestion
🤖 Prompt for AI Agents