Feature request: flatpak package
-
Which version of Wavebox are you using? [e.g. 3.0.0] 3.3.0
-
Which Operating System are you using? [e.g. Windows 10, Mac OSX 10, Ubuntu 14.04] Fedora 27
Hi, As a Fedora user I'd rather not install snapd, preferring to use Flatpak to install software on my laptop. Would be nice to have Wavebox packaged as a flatpak.
Thanks, Patrizio
Flatpak support would be beneficial to RHEL, CentOS, and Fedora users since flatpak support is included in each.
This would be really great. Flatpak is supported in many different distros and it is super easy to install and use.
Deleted a couple of comments as the fonts were out of hand the post was like screaming. Reposting.
Hi, I hope I can contribute somehow to troubleshooting. I am on Fedora 27 (Linux workstation 4.14.7-300.fc27.x86_64 x86_64 x86_64 x86_64 GNU/Linux) I installed snapd following the official instructions (https://docs.snapcraft.io/core/install-fedora). Then I installed wavebox with the command sudo snap install wavebox. When I tried to launch it, it did not launch. Then I switched to my terminal and tried to start it as follows:
[me@fedora ~]$ wavebox [10728:1223/180016.749450:FATAL:platform_font_linux.cc(63)] Check failed: typeface. Could not find any font: Sans, sans #0 0x000000b1e9d7
#1 0x000000ad618b #2 0x000002cdb29f #3 0x000002cdaedf #4 0x000002cdbc06 #5 0x000002cd4129 #6 0x000001e31400 #7 0x000001ec62d3 #8 0x000003eed08d atom::api::WebContents::InitWithSessionAndOptions() #9 0x000003eed89f atom::api::WebContents::WebContents() #10 0x000003ef9236 atom::api::WebContents::Create() #11 0x000003f0b4ba atom::api::Window::Window() #12 0x000003f0d0bc atom::api::Window::New() #13 0x000003eacde0 mate::internal::InvokeNew<>() #14 0x000003eacf70 mate::internal::Dispatcher<>::DispatchToCallback() #15 0x7f6133a9b429 #16 0x7f6133a7eccc #17 0x7f6133a7e706 #18 0x3da72788437d
Just for the pros to review. On my side, to be frank I wish there were the flatpack package. Thanks
@tolga-balci there's a problem with the current version of Snap on Fedora & Solus. https://github.com/wavebox/waveboxapp/issues/521
We're still working on getting this fixed, but in the meantime there's a couple of things to get up and running again....
So you can get back up and running with Snap, there's a couple of things you can try...
- Install the tar version from https://wavebox.io/download. This should work out of the box for you, although you'll need to drag it to /opt/wavebox or similar
- I've uploaded the 3.6.0 snap version to our server. If you want to download that and install you can by doing the following....
- Make a copy of your user data. Some info on where that's stored here... https://wavebox.io/kb/data-locations
- Download the 3.6.0 snap from http://wavebox.io/dl/builds/Wavebox_r46_x86.snap
- Run sudo snap remove wavebox
- Run sudo snap install Wavebox_r46_x86.snap --devmode
- Copy your user data back in
Flatpak is still on our list, we were hoping to get a beta version in the quiet week before the holidays, but, ended up sidetracked with these snap problems.
Thanks very much Thomas!
Thomas, I think you don't understand: Fedora doesn't actually use Snap. It's a foreign body, and strongly associated with only a single provider (Canonical) and distribution (Ubuntu).
These might provide some context, but a Snap alone is not really helpful. https://www.phoronix.com/scan.php?page=news_item&px=Snaps-v-Flatpaks-Linux-Distros https://www.happyassassin.net/2016/06/16/on-snappy-and-flatpak-business-as-usual-in-the-canonical-propaganda-department/
I'm running Fedora 27 with snapd installed. I've followed the instructions on the Wavebox site to install the additional fonts but fonts look terrible when using the snap package vs the tar.gz to run Wavebox.
Could you guys commit a corresponding package-lock.json file to the repository? This will allow reproducible builds with flatpak from the source repository.
@ghisvail we've disabled package-lock at the moment because optional dependencies break cross-platform. We'd love to be able to start using it, but it's not really feasible because of this.
There are still a few open issues laying around on npm for this (https://github.com/npm/npm/issues/17722). Other electron projects have chosen to do things like move over to Yarn to fix this (VS code for example https://github.com/Microsoft/vscode/issues/30134).
What's the requirement for the package-lock file? Is it just so you grab the same dependencies or something else?
Is it just so you grab the same dependencies or something else?
Indeed.
Other electron projects have chosen to do things like move over to Yarn to fix this.
Which would work with flatpak too using the corresponding yarn.lock file.
@Thomas101 I read the thread regarding the issue with package-lock.json. Thanks for pointing us to it.
Still, submitting a package-lock.json specific to Linux, or a yarn.lock file, would help progress on the Flatpak packaging.
For Chromium version there is now https://flathub.org/apps/details/io.wavebox.Wavebox
It looks like the Flatpak version has not been updated yet? Is there any particular issues getting it updated?
I've been getting the update pop-up for more than a week now, but flatpak upgrade doesn't show any new updates I can download. Can the Flatpak version be built so that it would check for updates based on availability of Flatpak updates?
The Flatpak version is maintained by @JayDoubleu. I can see the bot has generated the latest version. I'll try reaching out to the maintainer again to see if they're able to publish the update
The current flatpak is using old, unsupported runtimes and needs to be updated. Here is the error message:
Info: runtime org.freedesktop.Platform branch 21.08 is end-of-life, with reason:
org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this runtime:
io.wavebox.Wavebox
Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 21.08 is end-of-life, with reason:
org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
io.wavebox.Wavebox
Info: runtime org.freedesktop.Platform.GL.default branch 21.08 is end-of-life, with reason:
org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
io.wavebox.Wavebox
@etrigan63 can you please raise the issue with this information on https://github.com/flathub/io.wavebox.Wavebox/issues ?
@etrigan63 can you please raise the issue with this information on https://github.com/flathub/io.wavebox.Wavebox/issues ?
Done: https://github.com/flathub/io.wavebox.Wavebox/issues/64