From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: GNU G-Golf 0.8.0-rc6 available for testing Date: Thu, 19 Sep 2024 19:20:06 -0300 Message-ID: <20240919192006.14b2af40@tintin> References: <20240917234912.1aadc596@tintin> <874j6bsyqx.fsf@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/r5qwFXCcjtbAgINN2e7nX2R"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4278"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: "pelzflorian (Florian Pelz)" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Sep 20 00:21:01 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 1srPWH-0000z5-EY for guile-user@m.gmane-mx.org; Fri, 20 Sep 2024 00:21:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srPVi-0006B3-Tv; Thu, 19 Sep 2024 18:20:27 -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 1srPVg-0006At-0T for guile-user@gnu.org; Thu, 19 Sep 2024 18:20:24 -0400 Original-Received: from sys2.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srPVd-0000Ky-Ht for guile-user@gnu.org; Thu, 19 Sep 2024 18:20:23 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id BF2FF67C008B; Fri, 20 Sep 2024 00:20:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LrvblwfU1wL0; Fri, 20 Sep 2024 00:20:15 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.153]) by moses.all2all.org (Postfix) with ESMTPSA id 498C467C0087; Fri, 20 Sep 2024 00:20:13 +0200 (CEST) In-Reply-To: <874j6bsyqx.fsf@pelzflorian.de> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:19820 Archived-At: --Sig_/r5qwFXCcjtbAgINN2e7nX2R Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Florian, > G-Golf works great. Excellent! Note that you'll need to update your configuration and use/grab 0.8.0-rc7 - which fixes a 'missing some distributed files', necessary to be able to run the newly added examples/gtk-4/layout-manager.scm [ a g-golf port of the upstream gtk4-demo layout manager [ (transition) example > Now I can embed GTK programs within the Guix Home > configurations ... I am glad that you (finally) can happily use the distro of your dream. Your config example certainly should help other guixers willing to use g-golf. > All that is left is that I do not understand why > (gdk-display-get-default) returns #f in G-Golf but > gdk_display_get_default () in C returns 0x1c0e36c0. You need to have initialized either Gtk or Adw, otherwise it returns #f (as expected). scheme@(guile-user)> ,use (g-golf) scheme@(guile-user)> (gi-import-by-name "Gdk" "Display") $5 =3D #< 7fee0e488c30> scheme@(guile-user)> (gdk-display-get-default) $6 =3D #f scheme@(guile-user)> (gi-import-by-name "Gtk" "init") $7 =3D #< 7fee075cb480> scheme@(guile-user)> (gtk-init) scheme@(guile-user)> (gdk-display-get-default) $8 =3D #< 7fee0f054a10> David --Sig_/r5qwFXCcjtbAgINN2e7nX2R Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbso5cACgkQ83T9k6MF etd4GAgAiY+ZzfKqvHrpu4dGlP1QdnLY2z6vMB9JzK0gWYXwzZRW86oQ2SqhJWAl Ka3kz6vtW+TO3VTfreQW/5As4TMNS8OecXFoaPyTiF7W3JgUzV3+MlK91QUFEmZH aDULH7mAcWgPutCJUdSgcVKB6a1/k4+V+qZ/RKugTg7+ZmQ/4eVC1EJhUFuSdPw0 H+dmK0n+eoeB1P3cska3G8QHc2VCHQtbl8/oAs/F79Jex2FiJ1TlKFaBut83UMho q4D9oejPR/g45QEWdjU6woD21pdokGA0ekTDS2cJoPV8WpBKgDwtZ/OHY4D6LAe+ CfaGQYPD578qrVZ83//VtRSyRjNTwQ== =wjYn -----END PGP SIGNATURE----- --Sig_/r5qwFXCcjtbAgINN2e7nX2R--