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

Switch snap to gnome-3-28 extension #8117

Merged
merged 1 commit into from Mar 16, 2020

Conversation

merlijn-sebrechts
Copy link
Contributor

@merlijn-sebrechts merlijn-sebrechts commented Mar 6, 2020

As promised; a big refactor of the snap.

  • Switch to base: core18. So now the snap is using Ubuntu 18.04 as a base. This also makes it a lot easier to build the snap because it now automatically uses multipass to create a VM to build the snap in. Just run snapcraft in the product/snapcraft folder and it will create an Ubuntu 18.04 VM to build the snap in. You can now build the snap on any Linux version as long as you have the snapcraft and multipass snaps installed.
  • Switch to gnome-3-28 extension. This removes a lot of boilerplate and pulls in the latest fixes to the desktop-launch script.
  • Added "cleanup" part to remove duplicated files. This reduces the snap size from 208MB to 108MB and reduces the time until you see the spash screen on a cold start from 6 seconds to 3 seconds!
  • Fallback to xwayland when running on wayland.
  • Adopt metadata from AppStream appdata.xml file. Metadata like name, summary, license, the .desktop launcher and the icon are now extracted from the AppStream file.
  • Get version from jar: the version number is extracted from the jar and added as metadata. So now the snap version shows the actual dbeaver version!
  • Add MySQL and MariaDB clients to the snap. Fixes Snap package doesn't have native client #7548 and Access Denied: Cannot Read /usr/bin When Installed as Snap #7521

This will probably also fix all of the issues in #6704

* Switch to core18
* Switch to gnome-3-28 extension
* Added "cleanup" part to remove duplicated files
* Fallback to xwayland when running on wayland
* Adopt metadata from AppStream appdata.xml file
* Get version from jar
* Add native MySQL and MariaDB clients so dumping works
@serge-rider
Copy link
Member

Thanks!
We'll try to adapt it in 7.0.1 version.

@serge-rider serge-rider merged commit e4b79cd into dbeaver:devel Mar 16, 2020
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.

Snap package doesn't have native client
2 participants