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

Add Flatpak assets and update metainfo #9932

Merged
merged 6 commits into from
Oct 9, 2024
Merged

Conversation

oskirby
Copy link
Collaborator

@oskirby oskirby commented Oct 2, 2024

Description

Now that the 2.24.1 release is out for Linux, I want to submit the application to flathub. However, the landing page doesn't look very good right now without some screenshots and graphical assets. This attempts add them to the project and cherry-picks some of the updates from the submission I am working on.

The URLs to these screenshot and logo assets need to be hosted at an HTTPS-accessible URL, so it's not sufficient to add them to the flathub repository. We need to host them somewhere, so why not in the project repository?

Some thought for future goodness: the screenshots can be localized. Some automation to generate the screenshots for each available locale, and upload them all as a bundle to the GH pages would be pretty neat.

Reference

i.e Jira or Github issue URL

Checklist

  • My code follows the style guidelines for this project
  • I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • I have performed a self review of my own code
  • I have commented my code PARTICULARLY in hard to understand areas
  • I have added thorough tests where needed

Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

Just one question.

- --disable-gudev
- --disable-introspection
- --disable-keymap
- --disable-mtd_probe
cleanup:
Copy link
Collaborator

Choose a reason for hiding this comment

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

What do the changes in this file have to do w/ the Flatpak assets for flathub?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The NetworkManager changes are not required for updating the org.mozilla.vpn.metainfo.xml manifest - I can pull them out and address this later.

Where the change came from: In my travels, I had noticed that Surfshark was able to build the libnm library without needing to build udev so I used their flatpak as a learning excercise in how to remove some unnecessary cruft from our build and minimize the dependencies.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think changing our sources should be a different PR, as that seems like a potentially risky change that should be thought about separately.

Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

I think this should be two PRs. What do you think?

- --disable-gudev
- --disable-introspection
- --disable-keymap
- --disable-mtd_probe
cleanup:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think changing our sources should be a different PR, as that seems like a potentially risky change that should be thought about separately.

@oskirby
Copy link
Collaborator Author

oskirby commented Oct 8, 2024

I think this should be two PRs. What do you think?

I agree.

@oskirby oskirby requested a review from mcleinman October 8, 2024 17:58
@oskirby
Copy link
Collaborator Author

oskirby commented Oct 8, 2024

I have removed the libnm changes, and added a few more screenshots and then loaded them into the metainfo XML document. Unfortunately, this causes the appstream linter to fail for now because the URLs won't be publicly accessible until this PR is merged, which makes this a bit of a chicken-and-egg kind of situation.

Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

Thanks!

@oskirby oskirby merged commit f7d6268 into main Oct 9, 2024
113 of 114 checks passed
@oskirby oskirby deleted the flatpak-metainfo-assets branch October 9, 2024 02:28
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.

2 participants