From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lee Thomas Newsgroups: gmane.lisp.guile.bugs Subject: bug#57379: GUI toolkit for Guile 3.0? Date: Wed, 24 Aug 2022 09:05:49 -0700 Message-ID: References: <87mtbtrffm.fsf@tsyesika.se> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006c2b9505e6fedb22" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16521"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57379@debbugs.gnu.org To: Jessica Tallon Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Aug 24 18:46:10 2022 Return-path: Envelope-to: guile-bugs@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 1oQtW6-0004Aa-0o for guile-bugs@m.gmane-mx.org; Wed, 24 Aug 2022 18:46:10 +0200 Original-Received: from localhost ([::1]:52930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQtW5-0003EA-2f for guile-bugs@m.gmane-mx.org; Wed, 24 Aug 2022 12:46:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQtVy-0003De-Gt for bug-guile@gnu.org; Wed, 24 Aug 2022 12:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQtVy-0004Mt-7j for bug-guile@gnu.org; Wed, 24 Aug 2022 12:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQtVx-0002Ui-Ks for bug-guile@gnu.org; Wed, 24 Aug 2022 12:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lee Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 24 Aug 2022 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57379 X-GNU-PR-Package: guile X-Debbugs-Original-Cc: bug-guile@gnu.org, 57379@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16613595579573 (code B ref -1); Wed, 24 Aug 2022 16:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2022 16:45:57 +0000 Original-Received: from localhost ([127.0.0.1]:47982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQtVq-0002UG-If for submit@debbugs.gnu.org; Wed, 24 Aug 2022 12:45:57 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQstM-0001Lj-WD for submit@debbugs.gnu.org; Wed, 24 Aug 2022 12:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQstM-0005VI-8o for bug-guile@gnu.org; Wed, 24 Aug 2022 12:06:08 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:33668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQstH-0004Wi-Nd for bug-guile@gnu.org; Wed, 24 Aug 2022 12:06:07 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id d8so12252764lfq.0 for ; Wed, 24 Aug 2022 09:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=4u8M0Le/hBARIu6Tsbgm3toKgiYibO8DZ3X1N9S/tUk=; b=CyWtlhMx4Ihc5+YlXYhcCg1tdY2S/E+JSGX24PBpOXRR8bkdKgTHu3xpK6zX0ELPpl gIvhLv55LbBWOtXJnQvnBMkofhf3sXHJrGN5gSkchJKEVly3qgiX1s9KUXzXacTUYU40 G1x6vtRALwiIgLbCufjerrA3s2Olyvi/XifVw0IAv76DMqWoZsrGknfzZIXBjtyFXvAU JkfrDhPWSK2ntKrPp5EYng67Vrxum1lmlA8e6xiYqYvn9Bs8cBBH6UAhfPKSgkvu9G1S V2zlLMRzd2OP+m3H3OEMPJjOMPeEGh2hOpmGjmDvs5bSEw2Ny07i/+iKSlz56dAESOyF m7AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=4u8M0Le/hBARIu6Tsbgm3toKgiYibO8DZ3X1N9S/tUk=; b=YrP8WeceHaU9xSDoasoB8xtfRw6Yl53XHGlSXiQzGXii08sXSkBjJovnQNiCEJrbLe 92dA+LEQMxu8xTC7lysSh6BkFRrIlt+yxuGomYZaQH8zBwYbAa4cRVXj8eIEVZ5/tV7v AIN73gV+AhfS6F3FEXbp5KxVadp9SMqzaLVDx3V7fnZ2FdjDgt92do5VbO7OoWzkIFH6 xwvijLgil95eXQMgjZbcTgP9AnIVuAGkWz+BKqp+k9Skb8Reb866Ququ5bCNmwZVL1/I jrAChLkBlig/76TITU99OE31evFwJaq2Gaeq7fslKMbAIlh6bHyiuc+Ow4GeXJDk++Fh Wvjg== X-Gm-Message-State: ACgBeo2JeYm8oPmuEm5dy1NtFfndnqkzW8U9x4y+0buNptZ6N6sVRRPt 6N/yv145+oVtX2Te65SqkOcDdEAauI4uBlkKKtsgkCw6qOZMTQ== X-Google-Smtp-Source: AA6agR4LpYvcXFM6nBq2pp81eDby9Hm/BfO9Rs6P8psM9Zve+al/g1t8BPa3Lg6PraKT4xTXuT0Hz24XWWe8/pvky+o= X-Received: by 2002:a05:6512:234a:b0:492:d80a:e570 with SMTP id p10-20020a056512234a00b00492d80ae570mr6882247lfu.652.1661357160933; Wed, 24 Aug 2022 09:06:00 -0700 (PDT) In-Reply-To: <87mtbtrffm.fsf@tsyesika.se> Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=leet22303be@gmail.com; helo=mail-lf1-x131.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-Mailman-Approved-At: Wed, 24 Aug 2022 12:45:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10325 Archived-At: --0000000000006c2b9505e6fedb22 Content-Type: text/plain; charset="UTF-8" Thank you, Jessica! That assurance is all I really needed, but FYI: When I type "(use-modules (gi))" into an interactive guile, trying to follow https://github.com/spk121/guile-gi/blob/master/examples/cairo.scm , guile responds with: While compiling expression: no code for module (gi) If you happen to know how to fix that, it'd be fantastic for me. But it appears to me to be an issue with guix, so I'm happy to ask over there. Or did you build the gi package from source? I can do that too, but I prefer to just install a binary package when I can. Thanks greatly again. On Wed, Aug 24, 2022 at 5:31 AM Jessica Tallon wrote: > > Lee Thomas writes: > > > Hi. I hope I'm submitting this correctly; please tell me if I'm wrong. > I'm > > trying to at least prototype a GUI in the same way that in Python I can > > write "import gi" and proceed to create a GTK window, add buttons and > > menubars and toolbars, etc. I've tried the various online sites, but > none > > of them have succeeded for me even with "use-modules", so I'm thinking > > they've not been updated for Guile 3.0 yet. And that's fine; I understand > > the massive effort involved. I would actually like to know if one of the > > projects is slated to move forward, so I can volunteer to help. And I > don't > > care if that toolkit is for GTK or some other platform. > > > > For my environment, I'm running guile 3.0.8 under the latest guix, and > I've > > done upgrades, but I admit to being a guix n00b. I have guix running atop > > Ubuntu 22.04, if that's relevant. > > > > I will assume that I should report my problems with guix installing the > > various toolkit packages not here, but to a guix mailing list. > > > > Finally, if there's no GUI toolkit for Guile coming anytime soon, then I > > can write my app in C and link Guile into it. I've done the linking > > successfully several times for other projects. But it would be really > nice > > to have a simple Guile script that launches a GUI, just as I can have a > > simple Python script do the same. The rest of my app's code is in Guile > > Scheme. > > > > Thanks in advance, but I hope to follow up. > > Hello, > > I've tested making some basic GTK guis with the `guile-gi` package. It > might be worth taking a look at that. The project is located on > Github[1], it's also packaged for Gnu Guix. > > Hope that helps. > > Thanks, > Jessica. > > [1] - https://github.com/spk121/guile-gi > > -- > Thanks, > Jessica. > --0000000000006c2b9505e6fedb22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you, Jessica! That assurance is all I really needed,= but FYI: When I type "(use-modules (gi))" into an interactive guile, trying to follow=C2=A0https://githu= b.com/spk121/guile-gi/blob/master/examples/cairo.scm , guile responds w= ith:
While compiling expression:
no code fo= r module (gi)


If you happen to know how to fix th= at, it'd be fantastic for me. But it appears to me to be an issue with = guix, so I'm happy to ask over there.

Or = did you build the=C2=A0gi package from source? I can do that too, but I pre= fer to just install a binary package when I can.

Thanks greatly again.

=
On Wed, Aug 24, 2022 at 5:31 AM Jessi= ca Tallon <tsyesika@tsyesika.se<= /a>> wrote:
<= br> Lee Thomas <l= eet22303be@gmail.com> writes:

> Hi. I hope I'm submitting this correctly; please tell me if I'= m wrong. I'm
> trying to at least prototype a GUI in the same way that in Python I ca= n
> write "import gi" and proceed to create a GTK window, add bu= ttons and
> menubars and toolbars, etc. I've tried the various online=C2=A0 si= tes, but none
> of them have succeeded for me even with "use-modules", so I&= #39;m thinking
> they've not been updated for Guile 3.0 yet. And that's fine; I= understand
> the massive effort involved. I would actually like to know if one of t= he
> projects is slated to move forward, so I can volunteer to help. And I = don't
> care if that toolkit is for GTK or some other platform.
>
> For my environment, I'm running guile 3.0.8 under the latest guix,= and I've
> done upgrades, but I admit to being a guix n00b. I have guix running a= top
> Ubuntu 22.04, if that's relevant.
>
> I will assume that I should report my problems with guix installing th= e
> various toolkit packages not here, but to a guix mailing list.
>
> Finally, if there's no GUI toolkit for Guile coming anytime soon, = then I
> can write my app in C and link Guile into it. I've done the linkin= g
> successfully several times for other projects. But it would be really = nice
> to have a simple Guile script that launches a GUI, just as I can have = a
> simple Python script do the same. The rest of my app's code is in = Guile
> Scheme.
>
> Thanks in advance, but I hope to follow up.

Hello,

I've tested making some basic GTK guis with the `guile-gi` package. It<= br> might be worth taking a look at that. The project is located on
Github[1], it's also packaged for Gnu Guix.

Hope that helps.

Thanks,
Jessica.

[1] - https://github.com/spk121/guile-gi

--
Thanks,
Jessica.
--0000000000006c2b9505e6fedb22--