waveboxapp icon indicating copy to clipboard operation
waveboxapp copied to clipboard

Feature request: flatpak package

Open patriziobruno opened this issue 8 years ago • 17 comments

  • 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

patriziobruno avatar Sep 13 '17 17:09 patriziobruno

Flatpak support would be beneficial to RHEL, CentOS, and Fedora users since flatpak support is included in each.

tonyjames avatar Oct 09 '17 20:10 tonyjames

This would be really great. Flatpak is supported in many different distros and it is super easy to install and use.

johnnyasantoss avatar Oct 31 '17 22:10 johnnyasantoss

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 avatar Dec 23 '17 15:12 tolga-balci

@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...

  1. 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
  2. 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.

Thomas101 avatar Jan 02 '18 11:01 Thomas101

Thanks very much Thomas!

tolga-balci avatar Jan 02 '18 19:01 tolga-balci

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/

FischTank avatar Feb 01 '18 01:02 FischTank

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.

tonyjames avatar Feb 04 '18 19:02 tonyjames

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 avatar Jun 25 '18 17:06 ghisvail

@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?

Thomas101 avatar Jun 26 '18 08:06 Thomas101

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.

ghisvail avatar Jun 26 '18 08:06 ghisvail

@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.

ghisvail avatar Jul 08 '18 15:07 ghisvail

For Chromium version there is now https://flathub.org/apps/details/io.wavebox.Wavebox

50nar avatar Feb 17 '22 13:02 50nar

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?

bayazidbh avatar Aug 13 '23 01:08 bayazidbh

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

Thomas101 avatar Aug 22 '23 13:08 Thomas101

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 avatar Oct 25 '23 04:10 etrigan63

@etrigan63 can you please raise the issue with this information on https://github.com/flathub/io.wavebox.Wavebox/issues ?

JayDoubleu avatar Oct 25 '23 07:10 JayDoubleu

@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

etrigan63 avatar Oct 25 '23 13:10 etrigan63