unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
Subject: Re: Setting up a development environment for guile-g-golf based software in KDE
Date: Fri, 2 Sep 2022 22:08:35 +0200	[thread overview]
Message-ID: <0a2679f7-da9f-a261-1aeb-fa4478f8da64@korwin-zmijowski.fr> (raw)
In-Reply-To: <87wnalq1db.fsf@elephly.net>

Hi Ricardo !

Thank you so much for your help. It worked like a charm.

You save my weekend hahaha

See you !


Le 02/09/2022 à 13:36, Ricardo Wurmus a écrit :
> 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
>
-- 
Jérémy Korwin-Zmijowski

GPG: 036B 4D54 B7B4 D6C8 DA62 2746 700F 5E0C CBB2 E2D1

  reply	other threads:[~2022-09-02 20:09 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
2022-09-02 20:08   ` Jérémy Korwin-Zmijowski [this message]
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=0a2679f7-da9f-a261-1aeb-fa4478f8da64@korwin-zmijowski.fr \
    --to=jeremy@korwin-zmijowski.fr \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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.
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).