-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 the desktop file #1309
Fix the desktop file #1309
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Any news? I would like to work more on the linux standards in order to improve the usability of this application :) |
@bilelmoussaoui If you don't mind that it can take a long time to get a PR merged, you are welcome to work on this! 👍 |
Yeah, totally got that. Except that the idea is to make the software easily available on Linux and working out of the box to bring more Linux users. |
The time it takes to test it is not the issue, webtorrent members have to actually do it, and this repository doesn't currently have much activity. Whether this should have been merged or not is not up to you, and that's why you should only work on this if you don't mind the long wait time. |
This would help me #1502 to review on Fedora ;-) |
Just a quick update on this: here's the Desktop file specs: https://standards.freedesktop.org/desktop-entry-spec/latest/ |
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.
I don't see a reason why not to include this
@Borewit Thanks for merging this! |
Thanks for your effort @bilelmoussaoui. |
@bilelmoussaoui Sorry for the long delay on this PR. If you'd like to continue improving Linux support, please do so! We'll try to be better about reviewing nice, small PRs like this one in a more timely manner. Thanks! |
@feross Thanks for reaching. I just wanted to mention that WebTorrent is now packaged as a flatpak package (those new cool container based packaging formats) here https://flathub.org/apps/details/io.webtorrent.WebTorrent we are shipping a few files to make the app looks nice on every Linux software center downstream; would you mind having it here instead? https://github.com/flathub/io.webtorrent.WebTorrent/blob/master/io.webtorrent.WebTorrent.appdata.xml also I would give you write access if you want to automate the upgrade somehow :) |
@bilelmoussaoui A few questions:
|
The flatpak is built from a manifest, either a JSON or YAML file, https://github.com/flathub/io.webtorrent.WebTorrent/blob/master/io.webtorrent.WebTorrent.json You can build it locally if you have Flatpak uses runtimes, which is basically a very simple container that contains the basics libraries to compile a new application. We have a BaseApp which is a bunch of shared modules used by a lot of apps but not enough to be a runtime. WebTorrent uses Currently, the package only extract the deb file & install it content. See the webtorrent module here https://github.com/flathub/io.webtorrent.WebTorrent/blob/master/io.webtorrent.WebTorrent.json#L20 I can make it build from the source code instead. Regarding the updates, we can't "for now" look and auto-update packages just like that, as some other apps might not work with the latest runtime available, libraries... But you just need to update the URL pointing to the deb packages & sha256. You can either push directly to the master repository if you're sure that the build is working or open a PR & a bot will automatically build the package, provide you with a testing URL to try the app before merging & publishing your app see this MR for example flathub/com.spotify.Client#74. Flathub is about stable, reproducible builds (but it has a beta branch support too). So the builds are built in Flathub structure build it for the 4 supported architectures & thanks to Flatpak the users of whatever distro can get the latest update no matter which distro they are using, if it supports Flatpak. Don't hesitate to ping me for further questions. |
This is what you are looking @feross: flathub/flathub#188
|
@bilelmoussaoui Thanks for answering my questions. So if we move this manifest json file to this repo, like you're suggesting, will we be able to ship new versions to flathub users without sending a PR to the flathub repo? |
@feross You can't host the file here and have updates on Flathub without updating the file on Flathub repository. I can give you write access to whoever you want |
@bilelmoussaoui I think it would be best if you guys and the community can handle keeping this file up to date since I don't have an easy way to test this. |
Sure, do you mind if I send a PR to add the appdata file that we have downstream? It's not a Flatpak specific thing, it's used to display the application info on almost any App Center on Linux. https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps |
Sure! This should fix the problem where WebTorrent Desktop shows up as "Proprietary" software in the App Center, right? PR welcome! |
Yes! Perfect, I will prepare a PR for that whenever I can. |
If you run
desktop-file-validate
on the desktop file you will get this list of errorsThis PR does: