all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>
Cc: help-guix@gnu.org
Subject: Re: Setting up a development environment for guile-g-golf based software in KDE
Date: Fri, 02 Sep 2022 13:36:33 +0200	[thread overview]
Message-ID: <87wnalq1db.fsf@elephly.net> (raw)
In-Reply-To: <d09744e0-504f-c8ec-4d61-bb3d3511077b@korwin-zmijowski.fr>


Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr> writes:

> I want to build a GUI for Gnome (using guile-g-golf (and gtk)).
>
> When under Gnome my small "Hello World" (from the manual example
> script) window shows up.
>
> When under KDE (Plasma) nothing shows up but errors in the terminal :
>
>    $ guix shell guile gtk guile-g-golf -- ./hello-world
>    (guile:10978): GLib-GObject-WARNING **: 12:19:06.388: cannot
>    register existing type 'GdkPixbuf'
>    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
>    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
>    (instance_type)' failed
>    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
>    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
>    (instance_type)' failed
>    (guile:10978): GLib-CRITICAL **: 12:19:06.388: g_once_init_leave:
>    assertion 'result != 0' failed

When using g-golf make sure to disable grafts:

  guix shell --pure --no-grafts \
    guile guile-g-golf gtk@4

The same problem was found in guile-gi first:

  https://github.com/spk121/guile-gi/issues/96

-- 
Ricardo


  reply	other threads:[~2022-09-02 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02 10:25 Setting up a development environment for guile-g-golf based software in KDE Jérémy Korwin-Zmijowski
2022-09-02 11:36 ` Ricardo Wurmus [this message]
2022-09-02 20:08   ` Jérémy Korwin-Zmijowski
2022-09-02 18:30 ` Luis Felipe
2022-09-03  1:13   ` Luis Felipe
2022-09-03 10:29     ` Ricardo Wurmus
2022-09-03 20:24       ` Luis Felipe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnalq1db.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=jeremy@korwin-zmijowski.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.