phw / peek

Simple animated GIF screen recorder with an easy to use interface
GNU General Public License v3.0
10.15k stars 318 forks source link

Building & running peek on fedora fails #1222

Closed theIDinside closed 1 year ago

theIDinside commented 1 year ago

Reproducible on Fedora 37

Steps to reproduce: Clone repo Follow build instructions

When running, get error: (peek:940153): GLib-GIO-ERROR **: 16:14:18.929: Settings schema 'com.uploadedlobster.peek' is not installed

No further information on how to move forward.

phw commented 1 year ago

Looks like the schema did not get compiled. Depending on the install locations this should do (run as root):

glib-compile-schemas /usr/local/share/glib-2.0/schemas

Adjust the install location accordingly.

theIDinside commented 1 year ago

Looks like the schema did not get compiled. Depending on the install locations this should do (run as root):

glib-compile-schemas /usr/local/share/glib-2.0/schemas

Adjust the install location accordingly.

Is it not possible to build and run peek from the build folder? Is that inherent to the whole gnome settings schema thingy?

phw commented 1 year ago

The schema must be available in one of the directories specified by XDG_DATA_DIRS. The easiest way is probably to place the schema in ~/.local/share/glib-2.0/schemas and run glib-compile-schemas there.

If peek gets compiled with DEBUG defined it will also look for schemas in the data directory in the current working dir. But I think there is no flag for setting this in the current meson build setup.