Skip to content

Conversation

borgmanJeremy
Copy link
Collaborator

This fixes the linting errors encountered when pushing v13 to flathub. One of the main issues was flathub does not allow network calls during the build so the dependencies must be fetched and CMake must accomodate both options.

@borgmanJeremy borgmanJeremy requested a review from Copilot August 5, 2025 01:01
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes linting errors for Flathub submission by addressing network restrictions during builds. The main changes accommodate Flathub's requirement that dependencies be pre-fetched rather than downloaded during the build process.

  • Modifies Flatpak manifest to fetch dependencies as separate sources rather than relying on network access during build
  • Updates CMake configuration to support both local and remote dependency fetching
  • Adjusts Flatpak permissions for better security compliance

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packaging/flatpak/org.flameshot.Flameshot.yml Updates Flatpak manifest to pre-fetch dependencies and adjust permissions
CMakeLists.txt Adds conditional logic to use local dependencies when available, falling back to FetchContent

fixed typo

Co-authored-by: Copilot <[email protected]>
@borgmanJeremy borgmanJeremy merged commit 24332cf into master Aug 5, 2025
15 of 16 checks passed
@borgmanJeremy borgmanJeremy mentioned this pull request Aug 5, 2025
@borgmanJeremy borgmanJeremy deleted the flathub_linting branch August 15, 2025 22:01
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.

1 participant