Hello guys, I’m trying to learn how to snap and so I picked a relatively simple app called Geopard (GitHub - ranfdev/Geopard: Colorful, adaptive gemini browser) that already has a flatpak, meaning it can run in a sandbox.
However, no matter what I try, I encounter this error.
(geopard:18193): GLib-GIO-ERROR **: 14:33:58.950: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
in my snapcraft.yaml I tried dumping the tar.gz with the source code and manually moving the files to their respective locations (resources.gresource is needed in the location too. It would refuse to open with a different error unless I manually placed it to its location). I also staged the gsettings-desktop-schemas
package. Even specified the gsettings plug.
I feel like I’m doing something fundamentally wrong but can’t figure out what
My snapcraft.yaml
name: geopard
base: core24
version: '1.6.0'
summary: Geopard is a browser for the Gemini protocol
description: |
Geopard is a browser for the Gemini protocol, that is, a lighter alternative to the web.
Use Geopard to browse the space and reach hundreds of Gemini capsules!
Read stories, download files, play games...
grade: devel
confinement: devmode
layout:
/usr/share/geopard:
bind: $SNAP/usr/share/geopard
parts:
resources:
plugin: dump
source: https://github.com/ranfdev/Geopard/releases/download/v1.6.0/geopard-1.6.0.tar.xz
source-type: tar
organize:
"build/data/resources/resources.gresource": usr/share/geopard/resources.gresource
"build/data/com.ranfdev.Geopard.gschema.xml": usr/share/glib-2.0/schemas/com.ranfdev.Geopard.gschema.xml
geopard:
source: https://github.com/ranfdev/Geopard/releases/download/v1.6.0/geopard-1.6.0.tar.xz
plugin: meson
build-packages:
- libglib2.0-dev
- libgtk-4-dev
- rustc
- cargo
- libssl-dev
- pkg-config
- meson
- gettext
- libadwaita-1-dev
- desktop-file-utils
- python3
- python3-gi
- python3-pip
- libglib2.0-bin
meson-parameters:
- "--prefix=/usr"
stage-packages:
- libgtk-4-1
- libglib2.0-0
- libssl3
- libadwaita-1-0
- libappstream5
- libcurl3t64-gnutls
- libldap2
- libnghttp2-14
- libpsl5t64
- librtmp1
- libsasl2-2
- libssh-4
- libstemmer0d
- libxmlb2
- gsettings-desktop-schemas
apps:
geopard:
command: usr/bin/geopard
plugs:
- wayland
- x11
- network
- network-bind
- opengl
- home
- gsettings