Skip to content
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

fix executable path in desktop file #62

Merged
merged 2 commits into from
Jan 30, 2024
Merged

fix executable path in desktop file #62

merged 2 commits into from
Jan 30, 2024

Conversation

anarcat
Copy link
Collaborator

@anarcat anarcat commented Jan 30, 2024

The file shipped upstream tries to execute supersonic-desktop, which we do not have.

We also use the --set-icon shortcut to resolve any possible ambiguity with multiple --set-key options. I think multiples are allowed, but it seems prettier (and shorter) that way anyway.

Closes: dweymouth/supersonic#323

The file shipped upstream tries to execute supersonic-desktop, which
we do not have.

We also use the --set-icon shortcut to resolve any possible ambiguity
with multiple --set-key options. I *think* multiples are allowed, but
it seems prettier (and shorter) that way anyway.
@flathubbot
Copy link
Contributor

Started test build 96689

@anarcat anarcat changed the title fix executable path in desktop file (Closes: dweymouth/supersonic#323) fix executable path in desktop file Jan 30, 2024
@flathubbot
Copy link
Contributor

Build 96689 failed

@anarcat
Copy link
Collaborator Author

anarcat commented Jan 30, 2024

wow, @dweymouth it looks like flatpak introduced a new linting error that we just tripped, possibly as a coincidence:

https://docs.flathub.org/docs/for-app-authors/linter/#appstream-missing-developer-name

amazingly, it's complaining about a deprecated tag too:

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name

amazing.

builder failed with:

flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions repo repo
 in dir /srv/buildbot/worker/build-x86_64-1/build (timeout 1200 secs)
 watching logfiles {}
 argv: b'flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions repo repo'
 using PTY: False
{
    "errors": [
        "appstream-missing-developer-name"
    ],
    "warnings": [
        "appstream-summary-too-long",
        "appstream-screenshot-missing-caption"
    ]
}
Please consult the documentation at https://docs.flathub.org/docs/for-app-authors/linter
program finished with exit code 1
elapsedTime=54.274905
@flathubbot
Copy link
Contributor

Started test build 96692

anarcat added a commit to anarcat/supersonic that referenced this pull request Jan 30, 2024
It seems this is necessary in Flatpaks now. I have a build that failed with:

```
flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions repo repo
 in dir /srv/buildbot/worker/build-x86_64-1/build (timeout 1200 secs)
 watching logfiles {}
 argv: b'flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions repo repo'
 using PTY: False
{
    "errors": [
        "appstream-missing-developer-name"
    ],
    "warnings": [
        "appstream-summary-too-long",
        "appstream-screenshot-missing-caption"
    ]
}
Please consult the documentation at https://docs.flathub.org/docs/for-app-authors/linter
program finished with exit code 1
elapsedTime=54.274905
```

... interestingly, that is marked as "warning" in the above
documentation:

https://docs.flathub.org/docs/for-app-authors/linter/#appstream-missing-developer-name

... but is reported as an error now. Even worse, the tag is
deprecated:

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name

I tried to fix it by vendoring this fixed version in the flatpak,
we'll see how that goes:

flathub/io.github.dweymouth.supersonic#62 (comment)
@anarcat
Copy link
Collaborator Author

anarcat commented Jan 30, 2024

filed flathub-infra/flatpak-builder-lint#273 about the linter SNAFU.

@flathubbot
Copy link
Contributor

Build 96692 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/79451/io.github.dweymouth.supersonic.flatpakref

@anarcat anarcat merged commit afebaa5 into master Jan 30, 2024
1 check passed
@anarcat anarcat deleted the fix-323 branch January 30, 2024 14:30
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.

.desktop file executes wrong executable
2 participants