Skip to content

Commit fa5f471

Browse files
Update snapcraft config
Signed-off-by: Jacki <[email protected]>
1 parent b871f64 commit fa5f471

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

snap/snapcraft.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,22 @@ description: |
1919
adopt-info: manuskript
2020
grade: stable
2121
confinement: strict
22-
base: core18
22+
base: core24
2323
icon: icons/Manuskript/manuskript.svg
2424
layout:
2525
/usr/share/pandoc/data/templates:
2626
bind: $SNAP/usr/share/pandoc/data/templates
27+
/usr/share/X11/xkb:
28+
bind: $SNAP/usr/share/X11/xkb
2729

2830
apps:
2931
manuskript:
3032
command: bin/desktop-launch $SNAP/bin/manuskript
3133
environment:
3234
# Fallback to XWayland if running in a Wayland session.
3335
DISABLE_WAYLAND: 1
36+
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages${PYTHONPATH:+:$PYTHONPATH}
37+
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy
3438
plugs:
3539
- desktop
3640
- desktop-legacy
@@ -39,6 +43,8 @@ apps:
3943
- x11
4044
- opengl
4145
- home
46+
- network
47+
- network-bind
4248
- network-manager # (Seems to be necessary on older Ubuntu to open the window)
4349

4450
parts:
@@ -54,33 +60,28 @@ parts:
5460
source-subdir: qt
5561
stage-packages:
5662
- libxkbcommon0
57-
- ttf-ubuntu-font-family
5863
- dmz-cursor-theme
5964
- light-themes
6065
- adwaita-icon-theme
61-
- gnome-themes-standard
6266
- shared-mime-info
6367
- libqt5gui5
6468
- libgdk-pixbuf2.0-0
6569
- libqt5svg5
66-
- try:
67-
- appmenu-qt5
6870
- locales-all
6971
- xdg-user-dirs
7072
- fcitx-frontend-qt5
7173
- libxcursor1
7274
- libgtk2.0-0
75+
- qtwayland5
7376

7477
pip-fix:
7578
plugin: nil
7679
stage-packages:
77-
- python3-distutils
7880
- python3-setuptools
7981

8082
pyspellchecker:
8183
after: [pip-fix]
8284
plugin: python
83-
python-version: python3
8485
source: https://github.com/barrust/pyspellchecker.git
8586

8687
manuskript:

0 commit comments

Comments
 (0)