Commit graph

41 commits

Author SHA1 Message Date
Ben Gotow 650263ee18 Fix snap environment error in the Travis logs 2024-09-13 17:32:56 -05:00
Marco Trevisan 181e2fb11a
snap: Remove unused permissions and duplicated libraries (#2478)
* snap: Remove various unneeeded plugs

Remove various permissions that the snap required and that are not
actually used. In particular now all the file and settings access is handled
by XDG portals, so there's no need to grant direct file access.

Also this is not a media app or network management software, so no
need to add screen inhibitors or network observation.

* snap: Do not add libnss3

That's already provided by GNOME so no need to duplicate it.

* Update snapcraft.yaml

Put back password-manager-service, home for now

---------

Co-authored-by: Ben Gotow <bengotow@gmail.com>
2023-12-10 12:19:29 -06:00
Ben Gotow e2e0f882ae Copy snap configuration from chromium’s snapcraft.yaml 2023-11-21 12:05:15 -06:00
Ben Gotow 29805b89f3 Fix snapcraft.yaml to reflect small changes to craftctl 2023-10-09 16:33:51 -05:00
সৌম্যদীপ ঘোষ(सौम्यदीपः घोषः) fbfaceaf0d
update to gnome extension and core22 (#2464) 2023-10-09 14:23:11 -05:00
kz6fittycent f9d7fc0528 Improve load times with LZO
Should see increased loading performance using LZO.
2021-11-21 21:56:07 -06:00
Marco Trevisan (Treviño) 44853d81e7 snap: Mark license as GPL-3.0 2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) 4113770281 snap: Cleanup uneeded files when done 2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) d0e51bb067 snap/.travis: Build snap using core18 as base using snapcraft via lxd
This is the preferred way to build snaps now, it allows using desktop
extensions that includes xdg-portals and better integration, reducing
the snap size.

Build this using travis snaps native implementation.
2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) fd880478c2 snap: Ignore snap/.snapcraft files 2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) 3857564f64 snap: Do not simulate running as Unity, new electron handles it properly
There's no need to fake this anymore
2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) 26d0956a0e snap: Inherit informations from appdata when possible 2021-05-03 08:07:00 -05:00
Marco Trevisan (Treviño) 04051d514f snap: Use native snapcraft scriptlets to set version
No need to make travis to do it
2021-05-03 08:07:00 -05:00
Ben Gotow 02cb922dea When running from the Linux snap, use no-sandbox 2021-04-13 11:44:19 -05:00
Janosch Maier 331f0edc64
Rename mailspring.desktop to Mailspring.desktop (#2261) 2021-02-01 22:22:59 -06:00
Nick Meyer 089dd48330 Add DISABLE_WAYLAND to snapcraft.yaml to resolve Electron/snapd/Wayland issues (#1517) 2019-06-10 17:52:21 -05:00
Ben Gotow c61ef941c4 Stop explicitly staging share/* directories in the snap 2019-04-01 11:42:17 -07:00
Ben Gotow 74d2b5a65a In the composer, allow the user to delete a selection from the first character forward 2019-03-27 01:31:00 -07:00
Ben Gotow da4b34f08a Fix regression in removing quoted text caused by TS conversion #1434 2019-03-26 22:02:39 -07:00
Ben Gotow cd4539f934 Update snapcraft.yml to copy the icon to the part’s staging area 2019-03-26 10:35:44 -07:00
Ben Gotow af2ccff963 Update snapcraft.yml since prepare has been deprecated by override-build 2019-03-26 09:32:57 -07:00
Ben Gotow 839009f50b Update snapcraft.yml to include gtk-3-themes #1435 2019-03-26 09:03:58 -07:00
Ben Gotow fd741eb741 Add canberra-gtk-module to Snap stage-packages 2018-07-16 16:47:18 -07:00
Ben Gotow 9bbb25f23c Add OpenGL interface to Snapcraft for Electron 2.x 2018-07-16 16:38:11 -07:00
Ben Gotow e5e5756e09 Make Snap library path explicit to track down segfault 2018-07-15 02:11:21 -07:00
Ben Gotow 237f809170 Upgrade snapcraft template for Electron 2 2018-07-15 00:58:51 -07:00
Ben Gotow 96fb3a99bf Improve Linux snap App Indicator compatibility by coercing desktop to Unity
(Special thanks to Martin at Ubuntu!)
2018-05-24 11:47:24 -07:00
Ben Gotow 99aadfd010 Snap: Add desktop plug, see if it fixes font issue 2017-12-08 11:56:16 -08:00
Ben Gotow 3d5d10b511 Snap: revert enabling allow-sandbox, did not fix issue 2017-11-08 13:32:48 +01:00
Ben Gotow 963460540a Snap: see if added permissions provided by allow-sandbox fix issue
https://forum.snapcraft.io/t/electron-snap-killed-when-using-app-makesingleinstance-api/2667/17
2017-11-03 22:27:22 +01:00
Ben Gotow 338067681b Snap: add network-bind interface in case it’s preventing unix socket comm 2017-11-01 11:16:57 -07:00
Ben Gotow 086c8262e9 Remove unneeded snap plugs, remove execstack bit 2017-11-01 09:31:44 -07:00
Ben Gotow 189a24adb5 Add bluez, process-control plugs to snap for testing 2017-11-01 00:32:53 -07:00
Ben Gotow ff88bda64a Add system-observe plug to snap for testing 2017-10-31 22:12:35 -07:00
Ben Gotow f0c45d7c4e For Linux Snap, move local storage, etc. to SNAP_USER_COMMON 2017-10-20 00:07:22 -07:00
Ben Gotow 578194c2d2 Mailspring doesn’t need network-control permission in snap sandbox 2017-10-12 13:53:32 -07:00
Ben Gotow ae5055f848 Update debian package to require libsecret-1-0 2017-10-09 15:08:01 -07:00
Ben Gotow 77a1598cfc Linux: Don’t use Snap’s per-revision folder for /anything/ 2017-10-06 17:10:56 -07:00
Ben Gotow d02dd462d2 Generate snapcraft.yml on the fly to contain correct version 2017-10-05 14:10:15 -07:00
Ben Gotow 36fdd024f8 Don’t upload extra snap files, use deb version for snap version 2017-10-05 13:30:01 -07:00
Ben Gotow 54339964a8 Adding Linux Snapcraft configuration, integration with Travis 2017-10-05 12:38:23 -07:00