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-a.1 available for testing! Date: Fri, 16 Dec 2022 15:50:24 -0800 Message-ID: References: <20221213173720.58a48002@aicha> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c2a82c05effaa229" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5946"; 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 Sat Dec 17 00:51:22 2022 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 1p6KU5-0001Kj-Hf for guile-devel@m.gmane-mx.org; Sat, 17 Dec 2022 00:51:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6KTW-0001hc-C1; Fri, 16 Dec 2022 18:50:46 -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 1p6KTT-0001gy-Ej; Fri, 16 Dec 2022 18:50:43 -0500 Original-Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6KTN-0002gr-I7; Fri, 16 Dec 2022 18:50:43 -0500 Original-Received: by mail-vs1-xe33.google.com with SMTP id i2so3824681vsc.1; Fri, 16 Dec 2022 15:50:36 -0800 (PST) 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:subject:date:message-id:reply-to; bh=+vI3FgtHlGfYzn6oy+++juYUvFKHzVR4PiPV13bbXr0=; b=RJ6N6jqYcSJ2fLsXqevJ+6OOwVCYjKGLkegysc6DwHZ9ynOgsR93xEPPxLNN2jGZw8 6oKgldK1a9L7YdxsFW11DaItt9C118rGGIN/ahIY0uNv0Y0QsmYUCWVI1MmGceeVoeMV uJnW3mcRrndKSlST32twrHN01Sn5OdvYKHMfVuShQRPBtjIyKFEhbYZxvnXrbD30vrwx YEv2b2Jad7LcSzq3fvh/wKR12nKdkgXqmBapGrJBxs6dKwRLlp6glnY9Y+EH6CE7omzi m+v0mTWMA2jjXI/El/GcEuzk5sKREpazQjfGesVwaEZ7exkSpxp9NuJK2cR4WLiDomSJ 3uhg== 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:subject:date:message-id :reply-to; bh=+vI3FgtHlGfYzn6oy+++juYUvFKHzVR4PiPV13bbXr0=; b=Xc/YucCyX2HAa4OIzUpgz2uX4t15IqmxGCLmm1yqyp7QrJv3QZHH6JSQgckIIBmQaU eJa8nCfcb5TmnESP0QNZqhzY5e84WZgqN5NwMv6PVo8F7qNeuhIuPpos9MppgQZLxPx/ 7f8mQ/41KRJCKm31eXW8EbvTQiBJhLqH4N8yDisB8CZiI7ZBLmxesP5Chla+vQd8IN7z 08aYrYcET1WxRNTIKSAAI/OKZMdJepEADYAhovZF1JTrlM9gjh0nbgUqaFNbmnz5SQ6m H8Ww2ljJaLk/3asHeHUvKZC++ocdN20fd/gIJZz4SWmz59bkXEELKq/cMUsB+1VPuyvu Iu6g== X-Gm-Message-State: ANoB5pkB/KtDVeuyw1MloVHN4fQbfiv2wnvIUsF+oVOaafF/em2ZSmPg OxZlbRQLVpzdeadgo91aF65rRCe3SKryfmWrj70Uv3Yy/2c= X-Google-Smtp-Source: AA0mqf53cO4VLIlEOrXW2twWIeAhgVe4aVbyd/KoWdNgDSEHNGEEu6gaCUYJofTyPJi0bAoHnHkQp9vU1XE+bI8ew/0= X-Received: by 2002:a67:e19e:0:b0:3b3:1169:61b4 with SMTP id e30-20020a67e19e000000b003b3116961b4mr1867412vsl.56.1671234635080; Fri, 16 Dec 2022 15:50:35 -0800 (PST) In-Reply-To: <20221213173720.58a48002@aicha> Received-SPF: pass client-ip=2607:f8b0:4864:20::e33; envelope-from=aconchillo@gmail.com; helo=mail-vs1-xe33.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 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:21508 gmane.lisp.guile.user:18775 Archived-At: --000000000000c2a82c05effaa229 Content-Type: text/plain; charset="UTF-8" Great! Thank you David! I was able to add g-golf to Guile Homebrew. So it now runs on macOS (see images here [1]). I had to do a couple of changes, see line 33, 34, 35 and also two simple patches at the end of: https://github.com/aconchillo/homebrew-guile/blob/master/Formula/g-golf.rb The changes are: - We need the full path of glib, gobject, etc. They are not always in /usr/lib. For example, guile-gcrypt solves this by specifying --with-libgcrypt-prefix and we can point to /opt/homebrew/ for example. That's what those inreplace lines do. - The configure.ac patch fixes SITEDIR and SITECACHEDIR when --with-guile-site=no. Btw, this is also the case for guile-lib (has the same code). I believe the right paths should be: SITEDIR="$datadir/guile/site/$GUILE_EFFECTIVE_VERSION"; SITECCACHEDIR="$libdir/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"; - The Makefile.am patch places libg-golf in the Guile extensions directory $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions, which I believe is the right thing to do. I hope this helps. If all this makes sense I can send patches. Best, Aleix [1] https://emacs.ch/@aconchillo/109519735429741042 On Tue, Dec 13, 2022 at 12:37 PM David Pirotte wrote: > Hello Guilers, > > The first alpha release of the upcoming 0.8.0 release is now available > for testing: > > Tarball and a GPG detached signature [*]: > > http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.1.tar.gz > http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.1.tar.gz.sig > > Dependencies and complete installation instructions are given > in the distributed INSTALL file, or here: > > https://www.gnu.org/software/g-golf/install.html > > You can help by: > > 1. Testing by installing from the tarball, or from the source if you > prefer, on the distro of your choice. > > 2. By running the distributed examples. > > Ultimately, one of the best way to test, and participate, is to select > G-Golf to develop the next application of your dream! Here is an > overview of the GNOME platform libraries [1], accessible using G-Golf. > In particular, libadwaita [2] provides a number of widgets that change > their layout based on the available space. This can be used to make > applications adapt their UI between desktop and mobile devices. > > Contact [3] > > Before you email, or bug report, you could join us on irc, and ping > me there: be patient, I also need to eat, sleep, rest ... but I always > answer, and this my preferred way to quickly interact and fix potential > G-Golf problem(s). > > On irc, we chat :), so please do not write code snipsets there unless 2 > or 3 lines of code, nor error messages of course - for more then 2 or 3 > lines of code, or error messages, always use a tor-friendly paste > service (avoid those that tracks us an require javascript, thanks!) > > However, if you prefer: > > G-Golf uses Guile's mailing lists > Report bugs to bug-g-golf@gnu.org > > Thanks! > David > > [*] Use a .sig file to verify that the corresponding file (without the > .sig suffix) is intact. First, be sure to download both the .sig > file and the corresponding tarball. Then, run a command like this: > > gpg --verify g-golf-0.8.0-a.1.tar.gz > > If that command fails because you don't have the required public > key, then run this command to import it: > > gpg --keyserver keys.gnupg.net --recv-keys A3057AD7 > > and rerun the 'gpg --verify' command > > > [1] > https://developer.gnome.org/documentation/introduction/overview/libraries.html > [2] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/ > [3] https://www.gnu.org/software/g-golf/contact.html > --000000000000c2a82c05effaa229 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Great! Thank you David!

I was able= to add g-golf to Guile Homebrew. So it now runs on macOS (see images here = [1]). I had to do a couple of changes, see line 33, 34, 35 and also two sim= ple patches at the end of:

The changes are:

- We need the full path of glib= , gobject, etc. They are not always in /usr/lib. For example, guile-gcrypt = solves this by specifying --with-libgcrypt-prefix and we can point to /opt/= homebrew/ for example. That's what those inreplace lines do.
- The configure.ac patch fixes SITEDIR and SITECACH= EDIR when --with-guile-site=3Dno. Btw, this is also the case for guile-lib = (has the same code). I believe the right paths should be:

SITEDIR=3D= "$datadir/guile/site/$GUILE_EFFECTIVE_VERSION";
SITECCACHEDIR= =3D"$libdir/guile/$GUILE_EFFECTIVE_VERSION/site-ccache";

-= The Makefile.am patch places libg-golf in the Guile extensions directory $= (libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/extensions, which I believe is th= e right thing to do.

I hope this helps. If all this mak= es sense I can send patches.
<= br>
Best,

= Aleix


On Tue, Dec 13, 2022 at 12:37 PM David Pirotte <david@altosw.be> wrote:
Hello Guilers,

The first alpha release of the upcoming 0.8.0 release is now available
for testing:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Tarball and a GPG detached signature [*]:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.1.tar.gz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.1.tar.gz.sig<= br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Dependencies and complete installation instruct= ions are given
=C2=A0 =C2=A0 =C2=A0 =C2=A0 in the distributed INSTALL file, or here:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 https://www.gnu.org/software/g-golf/install.html

You can help by:

=C2=A0 1. Testing by installing from the tarball, or from the source if you=
=C2=A0 prefer, on the distro of your choice.

=C2=A0 2. By running the distributed examples.

Ultimately, one of the best way to test, and participate, is to select
G-Golf to develop the next application of your dream! Here is an
overview of the GNOME platform libraries [1], accessible using G-Golf.
In particular, libadwaita [2] provides a number of widgets that change
their layout based on the available space. This can be used to make
applications adapt their UI between desktop and mobile devices.

Contact [3]

Before you email, or bug report, you could join us on irc, and ping
me there: be patient, I also need to eat, sleep, rest ... but I always
answer, and this my preferred way to quickly interact and fix potential
G-Golf problem(s).

On irc, we chat :), so please do not write code snipsets there unless 2
or 3 lines of code, nor error messages of course - for more then 2 or 3
lines of code, or error messages, always use a tor-friendly paste
service (avoid those that tracks us an require javascript, thanks!)

However, if you prefer:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 G-Golf uses Guile's mailing lists
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Report bugs to bug-g-golf@gnu.org

Thanks!
David

[*] Use a .sig file to verify that the corresponding file (without the
=C2=A0 =C2=A0 .sig suffix) is intact.=C2=A0 First, be sure to download both= the .sig
=C2=A0 =C2=A0 file and the corresponding tarball.=C2=A0 Then, run a command= like this:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 gpg --verify g-golf-0.8.0-a.1.tar.gz

=C2=A0 =C2=A0 If that command fails because you don't have the required= public
=C2=A0 =C2=A0 key, then run this command to import it:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 gpg --keyserver keys.gnupg.net --recv-keys A305= 7AD7

=C2=A0 =C2=A0 and rerun the 'gpg --verify' command


[1] https://developer.= gnome.org/documentation/introduction/overview/libraries.html
[2] https://gnome.pages.gitlab.gnome.org/li= badwaita/doc/main/
[3] https://www.gnu.org/software/g-golf/contact.html=
--000000000000c2a82c05effaa229--