Commit Graph

39 Commits

Author SHA1 Message Date
Robo
fae32c4c21 fix: ci for snap builds (#280871) 2025-12-03 07:22:13 +00:00
Robo
c6bc106818 fix: snap crash on startup with wayland sessions (#280656) 2025-12-02 17:27:29 +00:00
João Moreno
a82ba894c6 Snap: Remove SUID from sandbox binary (#246307)
* debug

* remove SUID

* damn it

* remove unnecessary logs
2025-04-11 15:44:37 +02:00
Robo
4b19907cc8 fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
Robo
3b80131054 chore: add missing gl libraries for snap (#215493)
* chore: add missing gl libraries for angle

* chore: add wayland egl library
2024-06-14 01:36:01 +02:00
Robo
6facfe23b3 fix: snap packaging for argument parsing (#214560) 2024-06-07 09:45:12 +02:00
Robo
6e6d38007e fix: force software gl backend for snap (#214548)
Refs https://github.com/microsoft/vscode/issues/212494

When using the default ANGLE gl/gles backend, v1.90 attempts
to get display refresh rate for vsync from an internal implementation
instead of using the gl extension EGL_CHROMIUM_sync_control,
this eventually ends up loading display info from XRandr and chromium
attempts to set a label for the data from the shipped resource pak
file that is not accessible to the gpu process triggering a SIGTRAP
in ui::ResourceBundle::GetSharedInstance.
2024-06-07 06:16:32 +02:00
João Moreno
a19614e8e2 fix build (#186470) 2023-06-28 09:29:16 +02:00
Robo
9c8c21872a chore: disable portals for snap (#180238) 2023-04-18 18:52:06 +02:00
Robo
b2a1932329 fix: gtk module search paths for snap (#177976) 2023-03-22 08:58:15 +01:00
Robo
502ac5b213 ci: switch to core20 for snap (#127320)
* ci: switch to core20 for snap

* chore: update rpath of crashpad handler

* chore: remove unused exports
2023-03-08 18:14:55 -08:00
Evpok
dbae720630 Enable Wayland build for snaps (#156551)
Enable Wayland build
2022-07-30 03:59:55 +02:00
deepak1556
7eae810d8a chore: disable sandbox on snap package
Fixes https://github.com/microsoft/vscode/issues/127081
Refs https://github.com/microsoft/vscode/issues/127140
2021-06-25 19:26:08 +09:00
Robo
92999c339e fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Rachel Macfarlane
79e2119c5e Revert "snap: set compression to lzo, #117852 (#118116)"
This reverts commit e22c2be14d.
2021-03-09 10:55:22 -08:00
soredake
e22c2be14d snap: set compression to lzo, #117852 (#118116) 2021-03-08 16:23:35 +01:00
João Moreno
edf43e529a build snap packages for linux arm 2020-11-18 10:04:55 +01:00
Daniel Imms
b0baa3a2d8 Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
champignoom
e125e0a4d5 stage ibus-gtk3 to try to make ibus work (#100480)
try to address #96041
2020-06-21 17:05:58 +02:00
João Moreno
ab10e26096 Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Sergio Schvezov
19526f4123 snap: add assets verbatim (#80585)
* snap: add assets verbatim

Providing the desktop files in snap/gui will have snapcraft copy over
those assets into the snaps meta/gui verbatim.

Addtionally, add a leading ${SNAP} to the Icon entry which was also
moved to snap/gui for the "package" to have an icon by default
(which is important when sideloading).

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

* escape

* fix snapcraft.yml

* use @@EXEC@@ in desktop files

* fix bad path

* fix snap desktop file
2019-09-10 17:12:45 +02:00
Robert Ancell
05ceb5e8ac snapcaft.yaml: Set the AppStream ID in the Snap metadata
This allows software store to recognise this snap matches Visual Studio Code in
other formats (.deb, .rpm, Flatpak etc). It also means reviews on ODRS are
grouped together.
2019-07-02 10:19:28 +12:00
Martin Wimpress
24e592c52c snapcraft.yaml: Add the url-handler 2019-03-21 08:49:53 +00:00
Martin Wimpress
7f9406d777 snapcraft.yaml: Source Glib schemas from within the snap. 2019-03-21 08:49:05 +00:00
Martin Wimpress
d5c14c6300 snapcraft.yaml: Fallback to XWayland if running in a Wayland session 2019-03-21 08:48:23 +00:00
Martin Wimpress
e07c331459 snapcraft.yaml: Remove braces from ${SNAP} in command: 2019-03-21 08:47:13 +00:00
Martin Wimpress
73b7ed584f snapcraft.yaml: Remove unnecessary data from the snap 2019-03-21 08:45:32 +00:00
Martin Wimpress
c134334c4c snapcraft.yaml: Update stage-packages
Clean up the stage-packages: to drop any unnecessary libraries and ensure all required libraries to maintain ABI compatibility are bundled in the snap.
2019-03-21 08:44:47 +00:00
Martin Wimpress
e91b073155 snapcraft.yaml: Add the GNOME 3.26 PPA.
Adds the PPA for the GNOME 3.26 framework which is maintained by the Ubuntu Desktop team.

This PPA includes GTK3 and GNOME3 components used to create the GNOME 3.26 Framework snap for Ubuntu 16.04.

  * Fixes:  https://github.com/Microsoft/vscode/issues/63194
  * Fixes:  https://github.com/Microsoft/vscode/issues/57019
2019-03-21 08:42:01 +00:00
Daniel Imms
ffe6f7950e Drop gconf dependency
Fixes #62580
2018-12-27 11:03:06 -08:00
Joao Moreno
5c3e3ec85a snap updates 2018-11-08 14:44:32 +00:00
Joao Moreno
4ae69c8c4a cleanup snapcraft.yaml 2018-11-07 12:41:03 +00:00
Joao Moreno
9c4b3954c2 update snapcraft.yaml 2018-11-06 16:16:35 +00:00
Daniel Imms
2d1b17d100 Include more stage packages in snap 2018-01-31 18:01:56 -08:00
Daniel Imms
195aa35bb3 Remove unnecessar snap deps 2018-01-31 16:06:19 -08:00
Daniel Imms
1d8b6bd409 Update snap build 2018-01-31 15:44:11 -08:00
Daniel Imms
081a57ca96 Remove epoch from snap package 2017-10-02 13:34:07 -07:00
Daniel Imms
e05b15cd12 Clean up comment 2017-10-02 13:33:30 -07:00
Daniel Imms
d2b2b4d7ea Add support for building x64 snap package 2017-09-26 14:18:00 -04:00