From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "pelzflorian (Florian Pelz)" Newsgroups: gmane.lisp.guile.user Subject: Re: GNU G-Golf 0.8.0-rc-3 available for testing Date: Tue, 30 Apr 2024 19:51:34 +0200 Message-ID: <877cgepwm1.fsf@pelzflorian.de> References: <20240417025615.0b6c50f5@tintin> <871q73vcz4.fsf@pelzflorian.de> <20240418192132.245200a9@tintin> <87cyql1e56.fsf@pelzflorian.de> <20240420015158.50031f08@tintin> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11245"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: guile-user To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Apr 30 19:52:35 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1red-0002n6-1Z for guile-user@m.gmane-mx.org; Tue, 30 Apr 2024 19:52:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1rdu-0002yd-S6; Tue, 30 Apr 2024 13:51:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1rds-0002tw-IC for guile-user@gnu.org; Tue, 30 Apr 2024 13:51:48 -0400 Original-Received: from relay.yourmailgateway.de ([188.68.63.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1rdp-0004Ch-G1 for guile-user@gnu.org; Tue, 30 Apr 2024 13:51:48 -0400 Original-Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4VTSSF131jz3wT5; Tue, 30 Apr 2024 19:51:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1714499501; bh=e3QMpn7nPRqNzayOdHsZRNYrOsx/IrT1eQKISh0ji2c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PF8UP6U/T7q43K+rlXE/3exg0JoIg2WXFljEhgtrw/AtqUXBSJjfA9QTxNOAQTmSS bHdDU04/v+2nkRnolmRL96bEj96OBJljbDPK9ghnd31lZQs4zX7oou9cA6LWtmf3Z7 fCReXoqELVWyhpgBVuCveOqRz5KW5mTjyZ7nw9/Zanz5vHmPu1GKoojyubTXZKQth6 aWQqPtGMGYQT4XOIMY0oe5gh1sAN+DVQcVkfapM6ZFUEMnNzCOw73kOXAVUCdmG4Uq RadF+yRQUeIZf84FTWTq4kQAGyfUQ1viEO38xrTZHcXf/JyF9RTCvNK0zQstaUDfmo EQ/w1shqJpaRg== Original-Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4VTSSF0Kztz3wSx; Tue, 30 Apr 2024 19:51:41 +0200 (CEST) Original-Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4VTSSD5Z8Rz8svH; Tue, 30 Apr 2024 19:51:40 +0200 (CEST) Original-Received: from florianrock64 (ipb2186896.dynamic.kabel-deutschland.de [178.24.104.150]) by mxe217.netcup.net (Postfix) with ESMTPSA id 7CF7083BA1; Tue, 30 Apr 2024 19:51:35 +0200 (CEST) In-Reply-To: <20240420015158.50031f08@tintin> (David Pirotte's message of "Sat, 20 Apr 2024 01:51:58 -0300") X-Rspamd-Queue-Id: 7CF7083BA1 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 9St5RTHgBOV8TPCw8HlsFQOjt9g50Indg4F2eAaEhro7dmSaQFcuQRlW Received-SPF: pass client-ip=188.68.63.162; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19569 Archived-At: Hello again, one more message on the current status of G-Golf on GNU=C2=A0Guix, which has two real issues: To develop with G-golf and GTK as in G-Golf=E2=80=99 examples/adw-1/hello-world.scm or examples/gtk-4/hello-world.scm, the Guix commands must (at the time of writing) be used with the =E2=80=9C--no-grafts=E2=80=9D option, because G-Golf first when loading runs g_typelib_symbol on GdkPixbuf functions from Guix=E2=80=99 normal gdk-pixbuf package, but later when it presents the GTK window, GTK tries to load GdkPixbuf functions from a mostly identical replacement gdk-pixbuf package without debug symbols installed at another /gnu/store path. This has, I strongly believe, the same cause as Guix bug#48907 that debug symbols are missing, [1] and a proper, permanent fix would take time, I think, because reverting the disk space-saving commit that caused it is a bad option and reimplementing the commit properly should be done, I think, in guix-daemon, which is thorny. If a G-Golf using GTK app were to be packaged for Guix, the package would have to use tricks to reference GTK=E2=80=99s gdk-pixbuf package and = not normal gdk-pixbuf. (Guix only has one G-Golf app packaged currently, the nomad web browser, which is broken in current Guix.) The second issue is the vfuncs when running examples/gtk-4/drawing-widget.scm. This segfaults at gtk_widget_snapshot_child when run. Similarly examples/gtk-4/peg-solitaire.scm segfaults at gtk_image_set_from_paintable called from g_callable_info_invoke. It segfaults at least with guile and guile-next Guile versions 3.0.9 and 3.0.9-0.db7efa5. I do not understand the cause or the vfunc implementation in G-Golf=E2=80=99s g-golf/hl-api/vfunc.scm file. I will try to compare it with Vala-generated C code and try to make it fail similarly. examples/gtk-4/simple-paintable.scm fails at (add-to-load-path (dirname (current-filename)). I have not yet spent time to debug this one further. David Pirotte writes: > The adw-1 examples should work as well, both the hello-world.scm and the > adw1-demo.scm I have not run adw1-demo.scm successfully, because the modules it needs are not in the load path. I guess this is the same small issue. Regards, Florian [1] Guix bug https://issues.guix.gnu.org/48907