From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: GNU G-Golf 0.8.0-rc-2 available for testing Date: Thu, 21 Dec 2023 00:44:09 -0800 Message-ID: References: <20231102005056.184a6243@tintin> <20231201211029.2bc8a38c@tintin> <20231205011435.1dd2eab4@tintin> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000010e466060d011b34" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8515"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user , guile-devel To: David Pirotte Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Dec 21 09:44:52 2023 Return-path: Envelope-to: guile-devel@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 1rGEfk-00027H-E5 for guile-devel@m.gmane-mx.org; Thu, 21 Dec 2023 09:44:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGEfJ-00071d-RU; Thu, 21 Dec 2023 03:44:25 -0500 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 1rGEfI-0006zn-1N; Thu, 21 Dec 2023 03:44:24 -0500 Original-Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGEfG-0001C2-83; Thu, 21 Dec 2023 03:44:23 -0500 Original-Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-67f3f602bd5so3007496d6.3; Thu, 21 Dec 2023 00:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703148260; x=1703753060; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vj7PR+KlpCmC2/Ve8NVGX1ERVkEx2ErmLsyiLdfvtP0=; b=Ox2Y1bO/0KwHao0iz38cP7iNzStVbDH74FNEqn5ieUs7YMKWIbZ6Mf6QVu/wgf8K6g iFPf0orxB3qETYnNdOOI0GmsM+eEROlOTDK9plyneYYuyuIIfJlxRBj1C/dKQSjYlNkC AOq0mHVqsUfBUtPbI1nOlr985Mfyl9/DyxMYDVcpDhIIG8vg/v7UthqXzRXLSEWD5RLG RjicLyKEki4A95t/GD0iyAMP63XhJv3Xn0esOCv8Hcr8nLummq2IU5dR8riIM5bTSHVC sKGnsVvq6bDhbqkD2ToK5dyNwPinI+OB4IeXxx7hwz7k/4a3oOkK6xl0UpkbspAnXMhx 56ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703148260; x=1703753060; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vj7PR+KlpCmC2/Ve8NVGX1ERVkEx2ErmLsyiLdfvtP0=; b=NnU7SPTsDAHpHbO88OISVw5NbzcgAayeXVBPOp/FFb/4OFbWlMw60pahiWY6PSzRke tZO5Cw5WcR0bmfBGN4l7RMgG2Xc8tFSAUFu1JAejRX+n4Sj3yHPeERlLp+XOKBr869Da +/31bjvtSud5Iwh3lfZidnNB4wfON4smeDRjMnzuw/SJBNMogPuKg8BQtvf89KzN2JZG zR+iVBqxg1NMSA0NMDa5G//78rHs3LOoxYOQbe9XOc77endyA+kdLv7QniD/Km92h7mO DPin7LL3v/EPNiZStbRl+bsPrLLS3YjTDUuVU9jvekhedc+RiPfDLdm4x93eCSYL0Xaz gOGw== X-Gm-Message-State: AOJu0YzAGsTbk+FurdRmKTpVvZjGtSf/lz4UI0a5r9O/JQdIgOMarIeB 95Pyz6h3wzZFKldNUXD8otuLZcKAX1RyFyWAZfoCM3y3MYwIFw== X-Google-Smtp-Source: AGHT+IGIjRKLXaDkxphvWvwoe13i+1nWF16Cvxv333wMPE8WJjrhXBHxLvUlJYHTcQQWsqe3GTDwN7oNHHuoSGKXVog= X-Received: by 2002:a05:6214:27c9:b0:67f:53a6:3e3d with SMTP id ge9-20020a05621427c900b0067f53a63e3dmr5537741qvb.66.1703148260482; Thu, 21 Dec 2023 00:44:20 -0800 (PST) In-Reply-To: <20231205011435.1dd2eab4@tintin> Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=aconchillo@gmail.com; helo=mail-qv1-xf31.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22250 gmane.lisp.guile.user:19381 Archived-At: --00000000000010e466060d011b34 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 4, 2023 at 8:14=E2=80=AFPM David Pirotte wrot= e: > > you must clone the guile-cairo upstream repo, git checkout devel, then > run the make danse ... let me know if this solve you problem. > > Yes, I had that already. In the previous package I had to add individual patches, but now I can just point to a commit: https://github.com/aconchillo/homebrew-guile/blob/master/Formula/guile-cair= o.rb#L4 However, guile-cairo was not working because I was using guile from commit (d8df317bafcdd9fcfebb636433c4871f2fab28b2) and that's causing a segfault during scm_init_cairo (when defining all the procedures). Anyways, guile-cairo is fine going back to stable 3.0.9. > - drawing-widget.scm, peg-solitaire.scm. > > i don't know, but they have in common that they both use snapshots > (the gtk-4 drawing 'tool' ...) > > I would try to first get the drawing-widget.scm to work, it is a very > simple example, then see how to fix the peg-solitaire.scm > > The issue seems to be here: (define-vfunc (snapshot-vfunc (self ) snapshot) #t) I just removed the whole body and replaced it for #t, just to test. All the other ones that are failing also have a define-vfunc. I haven't investigated what that is so I can't tell much more. Aleix --00000000000010e466060d011b34 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Dec 4, 2023 at 8:14=E2=80=AFPM David Pirotte <<= a href=3D"mailto:david@altosw.be">david@altosw.be> wrote:
=

you must clone the guile-cairo upstream repo, git checkout devel, then
run the make danse ... let me know if this solve you problem.


Yes, I had that already. In the previous= package I had to add individual patches, but now I can just point to a com= mit:


<= /div>
However, guile-cairo was not working because I was using guile from= commit (d8df317bafcdd9fcfebb636433c4871f2fab28b2) and that's causing a= segfault during scm_init_cairo (when defining all the procedures).

Anyways, guile-cairo is fine going back to stable 3.0.9.

> - drawing-widget.scm, peg-solitaire.scm.

i don't know, but they have in common that=C2=A0 they both use snapshot= s
(the gtk-4 drawing 'tool' ...)

I would try to first get the drawing-widget.scm to work, it is a very
simple example, then see how to fix the peg-solitaire.scm


The issue seems to be here:

(define-vfunc (snapshot-vfunc (self <drawing-widget>) snap= shot)
=C2=A0 #t)

I just removed the whole body and re= placed it for #t, just to test. All the other ones that are failing also ha= ve=C2=A0a define-vfunc.
=C2=A0
I haven't i= nvestigated what that is so I can't tell much more.

<= /div>
Aleix
--00000000000010e466060d011b34--