[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] Progress with gcmd as snap package
From: |
Uwe Scholz |
Subject: |
Re: [gcmd-dev] Progress with gcmd as snap package |
Date: |
Fri, 27 Nov 2020 22:48:04 +0100 |
Hi,
Am Fri, 27 Nov 2020 20:21:10 +0100 schrieb Stefan Czinczoll:
>
> FYI:
>
> https://forum.snapcraft.io/t/snap-fails-to-run-with-glibc-error/21319/24
Well, this looks interesting!
Line 76: Could not load schemas from /share/glib-2.0/schemas:
What gnome-commander tries to do here is to open default configuration
options from or via GSettings.
Normally, when installing gnome-commander via "make install", there is
a section at the and in the console output, saying the following:
if test -n "org.gnome.gnome-commander.gschema.xml
org.gnome.gnome-commander.enums.xml"; then \
test -z "/usr/local/share/glib-2.0/schemas" || /bin/mkdir -p
"/usr/local/share/glib-2.0/schemas"; \
/usr/bin/install -c -m 644 org.gnome.gnome-commander.gschema.xml
org.gnome.gnome-commander.enums.xml "/usr/local/share/glib-2.0/schemas"; \
test -n "" || /usr/bin/glib-compile-schemas
/usr/local/share/glib-2.0/schemas; \
fi
In a nutshell, the command glib-compile-schemas finds the previously
copied file org.gnome.gnome-commander.gschema.xml in the folder
/usr/local/share/glib-2.0/schemas and compiles the schema file as
explained here:
https://developer.gnome.org/gio/stable/glib-compile-schemas.html
I am no snap expert so I can't say anything what you have to do now in
your snap file. But maybe what is written here could help you?
https://askubuntu.com/questions/818708/how-to-execute-gsettings-within-a-snap-package-confinement
Hope that helps.
Ciao
Uwe