-
Notifications
You must be signed in to change notification settings - Fork 435
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
Package for flatpak #2080
Comments
@DevelSSN You might be interested in working on this since you opened the original issue about |
@peter Li
Am happy to do so
Will take it from the repo and try it out
Also will learn a bit of meson
…On Sun, 22 Dec 2024, 13:40 Peter Li, ***@***.***> wrote:
@DevelSSN <https://github.com/DevelSSN> You might be interested in
working on this since you opened the original issue about snap. I already
have a working version packaged with flatpak-builder, but more work is
needed to ship Yazi with all its optional features.
—
Reply to this email directly, view it on GitHub
<#2080 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBRJ3Y3LVCT5I5YPAWMSHOT2GZXVRAVCNFSM6AAAAABUBNA2JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3TAOJVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Meson is not a requirement for Rust projects. Lots of guides use it because of its convenience in building Rust+GTK applications, but you could also do a plain old I added a few more libraries in the mean time. |
Ok. Good to know you are able to add them.
Will test them through the week
…On Mon, Dec 23, 2024 at 7:05 AM Peter Li ***@***.***> wrote:
@peter <https://github.com/peter> Li Am happy to do so Will take it from
the repo and try it out Also will learn a bit of meson
Meson is not a requirement for Rust projects. Lots of guides use it
because of its convenience in building Rust+GTK applications, but you could
also do a plain old cargo build and then manually install the binaries.
I added a few more libraries in the mean time. poppler, 7zip, zoxide, fd,
rg, imagemagick, and jq are all included now. Packaging these libraries
was not as hard as I thought, and I can probably include all recommended
packages soon. There will still be lots of needs for testing, though, since
I haven't tested a lot of advanced features, which may require extra
permissions or config files located in an unusual spot due to flatpak's
sandboxing.
—
Reply to this email directly, view it on GitHub
<#2080 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBRJ3Y2MIXKBSRIDEQ553TL2G5SFVAVCNFSM6AAAAABUBNA2JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYG4ZTGMBUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I got all the dependencies packaged. All preview types that are supported out of the box are usable now. The packaged application is still rough around the edges. For example, I could not get themes to work after installing a theme with Edit: looks like something is wrong with my own config, not flatpak. The version without flatpak sandboxing also cannot be themed. |
@sxyazi One comment from the flathub review mentions moving the screenshot upstream instead of having it in the downstream flatpak packaging repository. Are you okay with adding a screenshot to this repo? If so, where would you like to store it and which image would you like to use? I tried using a frame from the introduction video in the README file but realized that flathub's guidelines on screenshots require them to be taken on Linux instead of macOS as shown in the video. |
Yeah sure, I'm open to that, you can raise a PR if necessary |
yazi --debug
outputPlease describe the problem you're trying to solve
The application is not available in lots of distributions. Having it packaged with
flatpak
would make it easier to install. #1631 already discussed tryingflatpak
with no progress being made.Would you be willing to contribute this feature?
Describe the solution you'd like
I already have a working draft in https://github.com/lihaohong6/flathub/tree/yazi-submission. After running
flatpak-builder --force-clean --user --install builddir io.github.yazi-rs.yml
, I am able to launchYazi
and browse my files.No dependencies are packaged right now, so lots of features such as image/video/pdf previews and zoxide support don't work. I'll slowly work on adding these. Help would be appreciated because the worst case scenario is that all dependencies must be built as well.
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: