* Re: GNOME Settings Schemas - How are they searched for? [not found] <mailman.41.1477238408.24358.guix-devel@gnu.org> @ 2016-10-23 19:02 ` rennes 2016-10-24 6:32 ` Pjotr Prins 0 siblings, 1 reply; 11+ messages in thread From: rennes @ 2016-10-23 19:02 UTC (permalink / raw) To: guix-devel Hello, I use gnumeric-1.12.31 on GNOME, and i don't have this problem. > I am hitting a similar problem with gnumeric. Install latest, open > spreadsheet, hit 'safe as' and you get: > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > 'org.gtk.Settings.FileChooser' is not installed > > (bit annoying as some work got lost) but easy to reproduce. > > This issue suggests a solution: > > > http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626 > > i.e., the builder needs to run glib-compile-schemas [path to > org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in > the path, but maybe not for FileChooser and others. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: GNOME Settings Schemas - How are they searched for? 2016-10-23 19:02 ` GNOME Settings Schemas - How are they searched for? rennes @ 2016-10-24 6:32 ` Pjotr Prins 2016-10-24 11:33 ` 宋文武 2017-03-13 14:54 ` org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) Pjotr Prins 0 siblings, 2 replies; 11+ messages in thread From: Pjotr Prins @ 2016-10-24 6:32 UTC (permalink / raw) To: rennes; +Cc: guix-devel I installed the same version on Guix on top of Debian - but I use i3wm. No dbus - so maybe that is the root of the problem? Pj. On Sun, Oct 23, 2016 at 02:02:52PM -0500, rennes@openmailbox.org wrote: > Hello, > > I use gnumeric-1.12.31 on GNOME, and i don't have this problem. > > > I am hitting a similar problem with gnumeric. Install latest, open > > spreadsheet, hit 'safe as' and you get: > > > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > > 'org.gtk.Settings.FileChooser' is not installed > > > > (bit annoying as some work got lost) but easy to reproduce. > > > > This issue suggests a solution: > > > > > > http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626 > > > > i.e., the builder needs to run glib-compile-schemas [path to > > org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in > > the path, but maybe not for FileChooser and others. > -- ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: GNOME Settings Schemas - How are they searched for? 2016-10-24 6:32 ` Pjotr Prins @ 2016-10-24 11:33 ` 宋文武 2017-03-13 14:54 ` org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) Pjotr Prins 1 sibling, 0 replies; 11+ messages in thread From: 宋文武 @ 2016-10-24 11:33 UTC (permalink / raw) To: Pjotr Prins; +Cc: guix-devel, rennes Pjotr Prins <pjotr.public12@thebird.nl> writes: > I installed the same version on Guix on top of Debian - but I use > i3wm. No dbus - so maybe that is the root of the problem? > GSettings search its 'gschemas.compiled' files under environment variable `$GSETTINGS_SCHEMA_DIR` and then under each directory of `$XDG_DATA_DIRS/share/glib-2.0/schemas`. The file can contain multiple entries, compiled from XML gsettings schemas files provided by applications. We don't have profile hook to build 'gschemas.compiled', so the one in profile only can contains one package's schemas, which is not helpful as schemas from other (particularly gtk+) are required too. Current way to handle this is to wrap binaries using gsettings with XDG_DATA_DIRS, as does by `glib-or-gtk-build-system`. ^ permalink raw reply [flat|nested] 11+ messages in thread
* org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2016-10-24 6:32 ` Pjotr Prins 2016-10-24 11:33 ` 宋文武 @ 2017-03-13 14:54 ` Pjotr Prins 2017-03-13 16:12 ` Catonano 2017-03-13 16:25 ` ng0 1 sibling, 2 replies; 11+ messages in thread From: Pjotr Prins @ 2017-03-13 14:54 UTC (permalink / raw) To: guix-devel; +Cc: rennes I finally found a way of getting around the feared (gnumeric:1974): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed by setting XDG_DATA_DIRS before running a GTK tool (gnumeric, gnucash, some browsers): env XDG_DATA_DIRS=/usr/local/share:/usr/share ~/.guix-profile/bin/gnumeric This is on a Debian base distribution. Not sure what package is missing on Guix, but there appears to be a missing dependency. Pj. On Mon, Oct 24, 2016 at 06:32:56AM +0000, Pjotr Prins wrote: > I installed the same version on Guix on top of Debian - but I use > i3wm. No dbus - so maybe that is the root of the problem? > > Pj. > > On Sun, Oct 23, 2016 at 02:02:52PM -0500, rennes@openmailbox.org wrote: > > Hello, > > > > I use gnumeric-1.12.31 on GNOME, and i don't have this problem. > > > > > I am hitting a similar problem with gnumeric. Install latest, open > > > spreadsheet, hit 'safe as' and you get: > > > > > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > > > 'org.gtk.Settings.FileChooser' is not installed > > > > > > (bit annoying as some work got lost) but easy to reproduce. > > > > > > This issue suggests a solution: > > > > > > > > > http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626 > > > > > > i.e., the builder needs to run glib-compile-schemas [path to > > > org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in > > > the path, but maybe not for FileChooser and others. > > > > -- > -- ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2017-03-13 14:54 ` org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) Pjotr Prins @ 2017-03-13 16:12 ` Catonano 2017-03-13 17:36 ` Pjotr Prins 2017-03-13 16:25 ` ng0 1 sibling, 1 reply; 11+ messages in thread From: Catonano @ 2017-03-13 16:12 UTC (permalink / raw) To: Pjotr Prins; +Cc: guix-devel, rennes [-- Attachment #1: Type: text/plain, Size: 663 bytes --] 2017-03-13 15:54 GMT+01:00 Pjotr Prins <pjotr.public12@thebird.nl>: > I finally found a way of getting around the feared > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > 'org.gtk.Settings.FileChooser' is not installed > > by setting XDG_DATA_DIRS before running a GTK tool (gnumeric, gnucash, > some browsers): > > env XDG_DATA_DIRS=/usr/local/share:/usr/share > ~/.guix-profile/bin/gnumeric > > This is on a Debian base distribution. Not sure what package is > missing on Guix, but there appears to be a missing dependency. > > Could this be related to this (occurring on GuixSD) ? https://lists.gnu.org/archive/html/bug-guix/2017-03/msg00032.html [-- Attachment #2: Type: text/html, Size: 1138 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2017-03-13 16:12 ` Catonano @ 2017-03-13 17:36 ` Pjotr Prins 2017-03-14 8:54 ` Pjotr Prins 0 siblings, 1 reply; 11+ messages in thread From: Pjotr Prins @ 2017-03-13 17:36 UTC (permalink / raw) To: Catonano; +Cc: guix-devel, rennes On Mon, Mar 13, 2017 at 05:12:44PM +0100, Catonano wrote: > 2017-03-13 15:54 GMT+01:00 Pjotr Prins <[1]pjotr.public12@thebird.nl>: > > I finally found a way of getting around the feared > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > 'org.gtk.Settings.FileChooser' is not installed > > by setting XDG_DATA_DIRS before running a GTK tool (gnumeric, gnucash, > some browsers): > > env XDG_DATA_DIRS=/usr/local/share:/usr/share > ~/.guix-profile/bin/gnumeric > > This is on a Debian base distribution. Not sure what package is > missing on Guix, but there appears to be a missing dependency. > > Could this be related to this (occurring on GuixSD) ? > [2]https://lists.gnu.org/archive/html/bug-guix/2017-03/msg00032.html I think so. The missing icons are also reproducible in gnumeric. Pj. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2017-03-13 17:36 ` Pjotr Prins @ 2017-03-14 8:54 ` Pjotr Prins 0 siblings, 0 replies; 11+ messages in thread From: Pjotr Prins @ 2017-03-14 8:54 UTC (permalink / raw) To: Pjotr Prins; +Cc: guix-devel, rennes Here is another for icecat: (icecat:9674): Gtk-WARNING **: Could not find the icon 'gtk-go-back-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it. I guess it ought to go into debbugs. - ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2017-03-13 14:54 ` org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) Pjotr Prins 2017-03-13 16:12 ` Catonano @ 2017-03-13 16:25 ` ng0 2017-03-13 15:24 ` Pjotr Prins 1 sibling, 1 reply; 11+ messages in thread From: ng0 @ 2017-03-13 16:25 UTC (permalink / raw) To: Pjotr Prins; +Cc: guix-devel, rennes Pjotr Prins transcribed 1.5K bytes: > I finally found a way of getting around the feared > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed > > by setting XDG_DATA_DIRS before running a GTK tool (gnumeric, gnucash, > some browsers): > > env XDG_DATA_DIRS=/usr/local/share:/usr/share ~/.guix-profile/bin/gnumeric > > This is on a Debian base distribution. Not sure what package is > missing on Guix, but there appears to be a missing dependency. > > Pj. > > On Mon, Oct 24, 2016 at 06:32:56AM +0000, Pjotr Prins wrote: > > I installed the same version on Guix on top of Debian - but I use > > i3wm. No dbus - so maybe that is the root of the problem? > > > > Pj. > > > > On Sun, Oct 23, 2016 at 02:02:52PM -0500, rennes@openmailbox.org wrote: > > > Hello, > > > > > > I use gnumeric-1.12.31 on GNOME, and i don't have this problem. > > > > > > > I am hitting a similar problem with gnumeric. Install latest, open > > > > spreadsheet, hit 'safe as' and you get: > > > > > > > > (gnumeric:1974): GLib-GIO-ERROR **: Settings schema > > > > 'org.gtk.Settings.FileChooser' is not installed > > > > > > > > (bit annoying as some work got lost) but easy to reproduce. > > > > > > > > This issue suggests a solution: > > > > > > > > > > > > http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626 > > > > > > > > i.e., the builder needs to run glib-compile-schemas [path to > > > > org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in > > > > the path, but maybe not for FileChooser and others. > > > > > > > -- > > > > -- > This bumped the whole thread of 'Ring' for me back into presence. What happened to it? Which difficulties are there? left? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) 2017-03-13 16:25 ` ng0 @ 2017-03-13 15:24 ` Pjotr Prins 0 siblings, 0 replies; 11+ messages in thread From: Pjotr Prins @ 2017-03-13 15:24 UTC (permalink / raw) To: Pjotr Prins, guix-devel, rennes This might also be related to some of the browser crashes people reported when (for example) hitting Ctrl-S. Pj. ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Patch 0/10] Add Ring @ 2016-09-13 2:22 Lukas Gradl 2016-09-13 2:31 ` [Patch 10/10] Add ring-client-gnome Lukas Gradl 0 siblings, 1 reply; 11+ messages in thread From: Lukas Gradl @ 2016-09-13 2:22 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 430 bytes --] Hello Guix! The following patch series adds Ring, a distributed multimedia communications program. There is one issue that I can not figure out: The program ring.cx throws an error if evolution-data-server is not installed in the same profile. I hence propagated evolution-data-server, but this does not seem to solve the issue. If evolution-data-server is installed, it works fine. Thank you for any feedback! Best, Lukas [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Patch 10/10] Add ring-client-gnome. 2016-09-13 2:22 [Patch 0/10] Add Ring Lukas Gradl @ 2016-09-13 2:31 ` Lukas Gradl 2016-09-15 21:27 ` Danny Milosavljevic 0 siblings, 1 reply; 11+ messages in thread From: Lukas Gradl @ 2016-09-13 2:31 UTC (permalink / raw) To: guix-devel [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.1: 0010-gnu-Add-ring-client-gnome.patch --] [-- Type: text/x-patch, Size: 3425 bytes --] From 10a6216d59e8128c0d6208c5f0487825f3a956a0 Mon Sep 17 00:00:00 2001 From: Lukas Gradl <lgradl@openmailbox.org> Date: Sun, 28 Aug 2016 14:05:28 -0500 Subject: [PATCH 10/10] gnu: Add ring-client-gnome. * gnu/packages/telephony.scm (ring-client-gnome): New variable. --- gnu/packages/telephony.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 7acb2dc..6df564f 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -23,6 +23,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages) + #:use-module (gnu packages aidc) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -30,8 +31,12 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages documentation) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gtk) #:use-module (gnu packages libupnp) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) @@ -611,3 +616,50 @@ protocols, as well as decentralized calling using P2P-DHT. This package provides a library common to all Ring clients.") (home-page "https://ring.cx/") (license license:gpl3+)))) + + +(define-public ring-client-gnome + (let ((commit "1a468b9e6fae7c4426c590c1b5eee2718e0c0001")) ; This is the + ; commit used in the AUR package. + (package + (name "ring-client-gnome") + (version (string-append "1.0.0-1." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url (string-append + "https://gerrit-ring.savoirfairelinux.com/" name)) + (commit commit))) + (sha256 + (base32 + "07r0yky60c0zxq4slr7zxgmiknrpybzq94kk1j4khml6nlbjbvp2")))) + (build-system cmake-build-system) + (inputs + `(("libringclient" ,libringclient) + ("gtk+" ,gtk+) + ("glib:bin" ,glib "bin") + ("qrencode" ,qrencode) + ("libnotify" ,libnotify) + ("clutter" ,clutter) + ("clutter-gtk" ,clutter-gtk) + ("gettext" ,gnu-gettext))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("doxygen" ,doxygen))) + (propagated-inputs + `(("libring" ,libring) ; This is needed to run dring. + ("adwaita-icon-theme" ,adwaita-icon-theme) + ("evolution-data-server" ,evolution-data-server))) + (arguments + `(#:tests? #f)) ; There is no testsuite. + (synopsis "Distributed multimedia communications platform") + (description "Ring is a secure and distributed voice, video and chat +communication platform that requires no centralized server and leaves the +power of privacy in the hands of the user. It supports the SIP and IAX +protocols, as well as decentralized calling using P2P-DHT. + +This package provides the Ring client for the Gnome Desktop.") + (home-page "https://ring.cx/") + (license license:gpl3+)))) -- 2.9.0 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Patch 10/10] Add ring-client-gnome. 2016-09-13 2:31 ` [Patch 10/10] Add ring-client-gnome Lukas Gradl @ 2016-09-15 21:27 ` Danny Milosavljevic 2016-09-17 16:38 ` Lukas Gradl 0 siblings, 1 reply; 11+ messages in thread From: Danny Milosavljevic @ 2016-09-15 21:27 UTC (permalink / raw) To: Lukas Gradl; +Cc: guix-devel > + (propagated-inputs > + `(("libring" ,libring) ; This is needed to run dring. Wait... I don't understand why it's required to be propagated... > + ("adwaita-icon-theme" ,adwaita-icon-theme) Okay. > + ("evolution-data-server" ,evolution-data-server))) Hmm. Why is it propagated? Most other packages seem to be able to use it as a regular input just fine. Are they wrong? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Patch 10/10] Add ring-client-gnome. 2016-09-15 21:27 ` Danny Milosavljevic @ 2016-09-17 16:38 ` Lukas Gradl 2016-09-25 23:35 ` GNOME Settings Schemas - How are they searched for? Danny Milosavljevic 0 siblings, 1 reply; 11+ messages in thread From: Lukas Gradl @ 2016-09-17 16:38 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 10302 bytes --] Thank you for your review! And Sorry for my late answer! Danny Milosavljevic <dannym@scratchpost.org> writes: >> + (propagated-inputs >> + `(("libring" ,libring) ; This is needed to run dring. > > Wait... I don't understand why it's required to be propagated... > I was not sure how to handle this properly. The package libring provides a program 'dring', which is a daemon that, as far as I understand, does all the communication with peers on the internet. So in order to place a call, one first needs to run 'dring &' and then start the ring-client-gnome. If the ring daemon is not running, then ring-client-gnome won't do anything useful, it will just error out on startup. Looking at the manual, this does not justify propagation. My intention was that people can just install ring-client-gnome in a profile and it will work. If libring is not propagated, it will also need to be installed by hand. Is there a good way to specify this kind of runtime requirement? I could also just move it to 'inputs' and put a hint in the description that libring should be installed alongside ring-client-gnome. >> + ("evolution-data-server" ,evolution-data-server))) > > Hmm. Why is it propagated? Most other packages seem to be able to use it as a regular input just fine. Are they wrong? This is a similar issue. I use ratpoison and do not have evolution-data-server in my profile. Then, if I do this: ---8<--- cut here -------------------- start --->8--- lukas@serenity$ guix package --list-installed | grep evolution-data-server lukas@serenity$ lukas@serenity$ ./pre-inst-env guix environment --no-substitutes --no-grafts --ad-hoc ring-client-gnome warning: failed to install locale: Invalid argument accepted connection from pid 686, user lukas lukas@serenity [env]$ dring & [1] 708 lukas@serenity [env]$ ring.cx Ring Daemon 2.3.0, by Savoir-faire Linux 2004-2016 http://www.ring.cx/ [Video support enabled] 10:59:14.283 os_core_unix.c !pjlib 2.4 for POSIX initialized (gnome-ring:711): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. ** Message: Ring GNOME client version: 1.0.0 ** Message: git ref: unknown (gnome-ring:711): Clutter-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Updating all accounts Loading "708d2bd2d3639223" Account parameter " "Account.presenceSubscribeSupported" " not found Loading "45662ba5f88c4297" Loading vcf from: QDir( "/home/lukas/.local/share/gnome-ring/profiles" , nameFilters = { "*" }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) ) (gnome-ring:711): GLib-GIO-ERROR **: Settings schema 'org.gnome.Evolution.DefaultSources' is not installed /gnu/store/p2pxykqp746za9z3cxply4hpjff3qfxa-profile/bin/ring.cx: line 46: 711 Trace/breakpoint trap gnome-ring $* lukas@serenity [env]$ ---8<--- cut here -------------------- end ----->8--- It throws an error that I do not get if I instead do: ---8<--- cut here -------------------- start --->8--- lukas@serenity$ ./pre-inst-env guix environment --no-substitutes --no-grafts --ad-hoc ring-client-gnome evolution-data-server warning: failed to install locale: Invalid argument accepted connection from pid 1120, user lukas lukas@serenity [env]$ dring & [1] 1133 lukas@serenity [env]$ Ring Daemon 2.3.0, by Savoir-faire Linux 2004-2016 http://www.ring.cx/ [Video support enabled] 11:22:50.300 os_core_unix.c !pjlib 2.4 for POSIX initialized lukas@serenity [env]$ ring.cx (gnome-ring:1150): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. ** Message: Ring GNOME client version: 1.0.0 ** Message: git ref: unknown (gnome-ring:1150): Clutter-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Updating all accounts Loading "708d2bd2d3639223" Account parameter " "Account.presenceSubscribeSupported" " not found Loading "45662ba5f88c4297" Loading vcf from: QDir( "/home/lukas/.local/share/gnome-ring/profiles" , nameFilters = { "*" }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) ) (gnome-ring:1150): Gtk-WARNING **: gtkwidget.c:8523: widget not within a GtkWindow QDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?) QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) Invalid current audio plugin Selection changed 0 Selection changed 0 ** (gnome-ring:1150): CRITICAL **: Unable to create EDS registry: Error calling StartServiceByName for org.gnome.evolution.dataserver.Sources5: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.gnome.evolution.dataserver.Sources5 received signal 5 C-c C-c lukas@serenity [env]$ ---8<--- cut here -------------------- end ----->8--- The main window pops up and it works. I tried to solve this by propagating evolution-data-server, however, the same thing still happens. If evolution-data-server is not explicitly installed, then ring-client-gnome doesn't find it. I am not sure how to proceed on this. I thought I had seen the same behavior with the package 'gnome-calendar' which also uses evolution-data-server, however, I am not able to reproduce it now: ---8<--- cut here -------------------- start --->8--- lukas@serenity$ ./pre-inst-env guix environment --no-substitutes --no-grafts --ad-hoc gnome-calendar warning: failed to install locale: Invalid argument accepted connection from pid 6782, user lukas lukas@serenity [env]$ gnome-calendar (process:6793): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed ** (process:6793): WARNING **: Failed to access calendar configuration: Error calling StartServiceByName for org.gnome.evolution.dataserver.Sources5: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.gnome.evolution.dataserver.Sources5 received signal 5 ** (process:6793): CRITICAL **: e_cal_data_model_set_timezone: assertion 'zone != NULL' failed (gnome-calendar:6793): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. (gnome-calendar:6793): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed (gnome-calendar:6793): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed (gnome-calendar:6793): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed Trace/breakpoint trap lukas@serenity [env]$ exit lukas@serenity$ ./pre-inst-env guix environment --no-substitutes --no-grafts --ad-hoc gnome-calendar evolution-data-server warning: failed to install locale: Invalid argument accepted connection from pid 6805, user lukas The following derivations will be built: /gnu/store/3p1ggs14p303s7l348qvvkaxlhx93g96-profile.drv /gnu/store/wkv432071y8ny4805wx7l8dz738il5ap-ca-certificate-bundle.drv /gnu/store/m7cx7q37qfk0bzql20cvgb38pqy2qjyx-xdg-mime-database.drv /gnu/store/jjj4628gf3mrvy4psaqsl3frl4wl310j-xdg-desktop-database.drv /gnu/store/i66lqa6sik03m8f1qnw7yha1p2cnc25a-info-dir.drv /gnu/store/82gf9ak5sr7s6imbvgdi8aahw6z3xb3y-gtk-icon-themes.drv /gnu/store/3lhi0yx05k5f3fplnpasksyqfsw5gkyp-fonts-dir.drv warning: collision encountered: /gnu/store/grppcf85880nbzfvj9rg4fc90zx7papz-gtk+-3.20.3/share/icons/hicolor/icon-theme.cache /gnu/store/153wx94y4505kjlbvfyr20q8bafjv998-gnome-calendar-3.20.2/share/icons/hicolor/icon-theme.cache warning: arbitrarily choosing /gnu/store/grppcf85880nbzfvj9rg4fc90zx7papz-gtk+-3.20.3/share/icons/hicolor/icon-theme.cache warning: collision encountered: /gnu/store/ry5ylm1fyjpr875gwga39vj459ccld4q-gtk-icon-themes/share/icons/hicolor/icon-theme.cache /gnu/store/grppcf85880nbzfvj9rg4fc90zx7papz-gtk+-3.20.3/share/icons/hicolor/icon-theme.cache /gnu/store/153wx94y4505kjlbvfyr20q8bafjv998-gnome-calendar-3.20.2/share/icons/hicolor/icon-theme.cache warning: arbitrarily choosing /gnu/store/ry5ylm1fyjpr875gwga39vj459ccld4q-gtk-icon-themes/share/icons/hicolor/icon-theme.cache warning: collision encountered: /gnu/store/kav2jb48w3m18d43bk1f7rxziawpi9sa-evolution-data-server-3.20.1/share/glib-2.0/schemas/gschemas.compiled /gnu/store/grppcf85880nbzfvj9rg4fc90zx7papz-gtk+-3.20.3/share/glib-2.0/schemas/gschemas.compiled /gnu/store/153wx94y4505kjlbvfyr20q8bafjv998-gnome-calendar-3.20.2/share/glib-2.0/schemas/gschemas.compiled warning: arbitrarily choosing /gnu/store/kav2jb48w3m18d43bk1f7rxziawpi9sa-evolution-data-server-3.20.1/share/glib-2.0/schemas/gschemas.compiled lukas@serenity [env]$ gnome-calendar (process:6859): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed ** (process:6859): WARNING **: Failed to access calendar configuration: Error calling StartServiceByName for org.gnome.evolution.dataserver.Sources5: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.gnome.evolution.dataserver.Sources5 received signal 5 ** (process:6859): CRITICAL **: e_cal_data_model_set_timezone: assertion 'zone != NULL' failed (gnome-calendar:6859): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. (gnome-calendar:6859): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed (gnome-calendar:6859): libecal-CRITICAL **: e_cal_util_get_system_timezone: assertion 'location != NULL' failed (gnome-calendar:6859): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed Trace/breakpoint trap ---8<--- cut here -------------------- end ----->8--- It fails in both cases. To come back to your question: I am not fully convinced that other packages using evolution-data-server are able to properly use it as an input. I am pretty sure that propagating evolution-data-server does not make it a lot better. Should I move it to 'inputs'? Thank you for your review! Best, Lukas [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* GNOME Settings Schemas - How are they searched for? 2016-09-17 16:38 ` Lukas Gradl @ 2016-09-25 23:35 ` Danny Milosavljevic 2016-10-23 15:36 ` Pjotr Prins 0 siblings, 1 reply; 11+ messages in thread From: Danny Milosavljevic @ 2016-09-25 23:35 UTC (permalink / raw) To: Lukas Gradl Hi, > I was not sure how to handle this properly. The package libring > provides a program 'dring', which is a daemon that, as far as I > understand, does all the communication with peers on the internet. So > in order to place a call, one first needs to run 'dring &' and then > start the ring-client-gnome. If the ring daemon is not running, then > ring-client-gnome won't do anything useful, it will just error out on > startup. > > Looking at the manual, this does not justify propagation. My intention > was that people can just install ring-client-gnome in a profile and it > will work. If libring is not propagated, it will also need to be > installed by hand. I think it's fine to be propagated in this case - but let's see what the others say. > Is there a good way to specify this kind of runtime requirement? I > could also just move it to 'inputs' and put a hint in the description > that libring should be installed alongside ring-client-gnome. Good question. > (gnome-ring:711): GLib-GIO-ERROR **: Settings schema 'org.gnome.Evolution.DefaultSources' is not installed > (gnome-calendar:6793): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed > ** (process:6859): WARNING **: Failed to access calendar configuration: Error calling StartServiceByName for org.gnome.evolution.dataserver.Sources > (gnome-calendar:6859): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed Hmmm... I don't use GNOME - so no idea. I have to defer to people more knowledgeable about it. How does a GNOME program find other program's settings schemas in Guix? Also it seems it's trying to use dbus (?) in order to start the evolution data server. How is that searched for? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: GNOME Settings Schemas - How are they searched for? 2016-09-25 23:35 ` GNOME Settings Schemas - How are they searched for? Danny Milosavljevic @ 2016-10-23 15:36 ` Pjotr Prins 0 siblings, 0 replies; 11+ messages in thread From: Pjotr Prins @ 2016-10-23 15:36 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: guix-devel On Mon, Sep 26, 2016 at 01:35:04AM +0200, Danny Milosavljevic wrote: > > (gnome-ring:711): GLib-GIO-ERROR **: Settings schema 'org.gnome.Evolution.DefaultSources' is not installed > > (gnome-calendar:6793): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed > > ** (process:6859): WARNING **: Failed to access calendar configuration: Error calling StartServiceByName for org.gnome.evolution.dataserver.Sources > > (gnome-calendar:6859): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.calendar' is not installed > > Hmmm... I don't use GNOME - so no idea. I have to defer to people more knowledgeable about it. How does a GNOME program find other program's settings schemas in Guix? Also it seems it's trying to use dbus (?) in order to start the evolution data server. How is that searched for? I am hitting a similar problem with gnumeric. Install latest, open spreadsheet, hit 'safe as' and you get: (gnumeric:1974): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed (bit annoying as some work got lost) but easy to reproduce. This issue suggests a solution: http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626 i.e., the builder needs to run glib-compile-schemas [path to org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in the path, but maybe not for FileChooser and others. Pj. -- ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-03-14 8:58 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.41.1477238408.24358.guix-devel@gnu.org> 2016-10-23 19:02 ` GNOME Settings Schemas - How are they searched for? rennes 2016-10-24 6:32 ` Pjotr Prins 2016-10-24 11:33 ` 宋文武 2017-03-13 14:54 ` org.gtk.Settings.FileChooser bomb out fix (aka GNOME Settings Schemas) Pjotr Prins 2017-03-13 16:12 ` Catonano 2017-03-13 17:36 ` Pjotr Prins 2017-03-14 8:54 ` Pjotr Prins 2017-03-13 16:25 ` ng0 2017-03-13 15:24 ` Pjotr Prins 2016-09-13 2:22 [Patch 0/10] Add Ring Lukas Gradl 2016-09-13 2:31 ` [Patch 10/10] Add ring-client-gnome Lukas Gradl 2016-09-15 21:27 ` Danny Milosavljevic 2016-09-17 16:38 ` Lukas Gradl 2016-09-25 23:35 ` GNOME Settings Schemas - How are they searched for? Danny Milosavljevic 2016-10-23 15:36 ` Pjotr Prins
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).