Skip to content

Sync from original repository#10

Merged
FaraSys merged 5 commits intoFaraSys:masterfrom
flameshot-org:master
Apr 27, 2025
Merged

Sync from original repository#10
FaraSys merged 5 commits intoFaraSys:masterfrom
flameshot-org:master

Conversation

@FaraSys
Copy link
Copy Markdown
Owner

@FaraSys FaraSys commented Apr 27, 2025

No description provided.

borgmanJeremy and others added 5 commits April 7, 2025 11:02
* Bumped minimum Cmake version to fix build issues on Cmake 4.0. 3.22 was chosen since that is the version on Ubuntu 22.04

* lowered cmake version to 3.18 for debian bullseye
* add --last-region to manpage

* Add shell completions for --last-region
Commit updates appstream data to pass strict validation, which is necessary to build new Flatpak versions.

Flatpak builder added strict validation and requires "developer" information [1] to be provided.

Build error:

```
Run docker run --rm --privileged \
+ flatpak-builder-lint --exceptions repo repo
{
    "errors": [
        "appstream-missing-developer-name"
    ],
    "warnings": [
        "appstream-screenshot-missing-caption"
    ],
    "info": [
        "appstream-screenshot-missing-caption: One or more screenshots
are missing captions in the Metainfo file",
        "appstream-missing-developer-name: No developer tag found in
Metainfo file"
    ],
    "message": "Please consult the documentation at
https://docs.flathub.org/docs/for-app-authors/linter"
}
error: Recipe `validate-build` failed with exit code 1
```

For good measure, captions for the provided screenshots are added.

After changes made, `appstreamcli validate` only mentions issue with uppercase cid component which should be kept as is:

```sh
$ appstreamcli validate --pedantic data/appdata/org.flameshot.Flameshot.metainfo.xml
P: org.flameshot.Flameshot:7: cid-contains-uppercase-letter org.flameshot.Flameshot

✔ Validation was successful: pedantic: 1
```

[1]: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines#developer-name
@FaraSys FaraSys merged commit b1a0f40 into FaraSys:master Apr 27, 2025
24 of 48 checks passed
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.

6 participants