Re: G-Golf - New version released in Debian and Ubuntu

2024-07-17 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0~rc4-1 has been released in Debian and Ubuntu. > ... Very nice, Thank you, David pgpMmBzTJIOjK.pgp Description: OpenPGP digital signature

G-Golf - New version released in Debian and Ubuntu

2024-07-17 Thread Tommi Höynälänmaa
G-Golf version 0.8.0~rc4-1 has been released in Debian and Ubuntu. See https://www.iki.fi/tohoyn/g-golf-debian/, https://tracker.debian.org/pkg/g-golf, and https://launchpad.net/ubuntu/+source/g-golf. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E

GNU G-Golf 0.8.0-rc-4 available for testing

2024-05-10 Thread David Pirotte
Hello Guilers, The fourth release candidate of the upcoming GNU G-Golf 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-rc-4.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-4.tar.gz.sig

Re: G-Golf - New version released in Debian and Ubuntu

2024-05-09 Thread David Pirotte
Hello tommi, > G-Golf version 0.8.0~rc3-1 has been released in Debian and Ubuntu. > ... Excellent, Thanks, David pgpA3lFSzQZzG.pgp Description: OpenPGP digital signature

G-Golf - New version released in Debian and Ubuntu

2024-05-09 Thread Tommi Höynälänmaa
G-Golf version 0.8.0~rc3-1 has been released in Debian and Ubuntu. See https://www.iki.fi/tohoyn/g-golf-debian/, https://tracker.debian.org/pkg/g-golf, and https://launchpad.net/ubuntu/+source/g-golf. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-08 Thread David Pirotte
Hi Florian, > I tried adw1-demo.scm with the attached patch to replace > (current-filename), which would return #f so (dirname) throws. > It fails because it cannot find namespaces. Guix uses libadwaita > 1.4.0. Is it too old? Yes, as announced in the NEWS, the release notes, and o

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-08 Thread pelzflorian (Florian Pelz)
Hi David. It is interesting that pygobject has more C. I tried adw1-demo.scm with the attached patch to replace (current-filename), which would return #f so (dirname) throws. It fails because it cannot find namespaces. Guix uses libadwaita 1.4.0. Is it too old? florian@florianhp ~/src/g-golf

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-07 Thread David Pirotte
Hi Florian, > Thank you for the python code. This works unlike g-golf in Guix. > ... Ok, expected, but I wanted to double check - Not an excuse ofc, but pygobjec is mostly written in C, including their callback and gclosure marshal(ers), so when they need to either replace or access such

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-07 Thread pelzflorian (Florian Pelz)
Thank you for the python code. This works unlike g-golf in Guix. guix shell python python-pygobject gtk --no-grafts -- python3 /tmp/drawing-widget.py and guix shell python python-pygobject gtk -- python3 /tmp/drawing-widget.py both show a window divided in four nicely-colored rectangles. I

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-06 Thread David Pirotte
Hi Florian, > ... > pygobject GTK3 examples are working. I will experiment and try to > write Vala/C code that breaks now. I thought they had Gtk-4 examples as well. But anyway, I cooked a pygobject version of this drawing-widget example, attached. Could you: install pygobject

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-06 Thread pelzflorian (Florian Pelz)
Hello Basile, thank you for the tips, but I have since managed to get a good backtrace. -O is what I used by compiling GTK with configure flag -Dc_args=-O0. -g did not work with g-golf (this is Guix’ with-debug-info transformation), but stripped binaries with debug info in a separate output

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-06 Thread Basile Starynkevitch
On 5/4/24 11:39 PM, David Pirotte wrote: Hi Florian, Hi David, thank you for your continuing responses. No problem. I am also interested in fixing this bug I will try to get a backtrace with GTK debug symbols by patching Guix to add a debug output to GTK, in the hope that I patch the

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-06 Thread pelzflorian (Florian Pelz)
it points to ... why, when, where ... ? Yes, I would like to try checking with GDB watchpoints, but I do not know in advance what to watch, i.e. what will become klass->snapshot. >> scheme@(guile-user)> ,use (g-golf) >> scheme@(guile-user)> (gc-disable) >> scheme@(guile-

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-05 Thread David Pirotte
> scheme@(guile-user)> ,use (g-golf) > scheme@(guile-user)> (gc-disable) > scheme@(guile-user)> (chdir "/home/florian/src/g-golf/examples/gtk-4") > scheme@(guile-user)> (load "drawing-widget.scm") > scheme@(guile-user)> (main '("-d"

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread pelzflorian (Florian Pelz)
Hi David. (gc-disable) was a smart idea, sadly it does not help, but at least we know now. It makes Valgrind errors disappear after (gc-disable) was called. scheme@(guile-user)> ,use (g-golf) scheme@(guile-user)> (gc-disable) scheme@(guile-user)> (chdir "/home/florian/src/g-golf/

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread David Pirotte
Hi Florian, > For drawing-widget.scm on x86_64, klass->snapshot looks high like a > code segment address but has a bogus disassembly. Was it clobbered? can you try the following scheme@(guile-user)> ,use (g-golf) scheme@(guile-user)> (gc-disable) sch

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread David Pirotte
Hi Florian, > > Hi David, thank you for your continuing responses. I will try to > > get a backtrace with GTK debug symbols > I now managed to build gtk with a debug output and meson configure > flag "-Dc_args=-O0". Perfect, thanks! Let me look at it ... i'll get back asap ... David

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread David Pirotte
y not a GLib/GObject nor a Gtk/Gdk/Gsk bug - i need the full backtrace to look at the calls, from the one that segfault, a LIFO backtrace of all calls, so i can try to see where it goes wrong ... > However, my believe is that the error is in G-Golf Yes, we are trying to find it, it's ac

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread pelzflorian (Florian Pelz)
"pelzflorian (Florian Pelz)" writes: > Hi David, thank you for your continuing responses. I will try to get a > backtrace with GTK debug symbols I now managed to build gtk with a debug output and meson configure flag "-Dc_args=-O0". For drawing-widget.scm on x86_64, klass->snapshot looks high

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread pelzflorian (Florian Pelz)
Hi David, thank you for your continuing responses. I will try to get a backtrace with GTK debug symbols by patching Guix to add a debug output to GTK, in the hope that I patch the right GTK. However, my believe is that the error is in G-Golf closures/callbacks/vfuncs (even though the hl-api

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-04 Thread David Pirotte
y useful deduction from the above, a warning is expected here, till you (the guix team) fix it, let's set this env var, and concentrate on the cause of the segfault ... > On a x86_64 GNOME laptop on the distro Guix System on the g-golf devel > branch with (main '("guile" "--deb

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-03 Thread pelzflorian (Florian Pelz)
g GTK_A11Y=none, but it was interesting that the crash happens two function calls away from where the warning is printed. > Could you please upload a full gdb backtrace somewhere tor-friendly > (and zero javascript), so i can look at it, thanks. On a x86_64 GNOME laptop on the distro Guix System on the g-golf de

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-02 Thread David Pirotte
-widget example so users may pass a -d or --debug option, which triggers the setting of the %debug parameter. This will track (some of the) g-golf (engine) calls 'only', so in this particular situation that it segfault (in guix) upon a gtk snapshot engine call, i probably will still very much

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-02 Thread David Pirotte
example to set the path and try again: 1- you need a patched version of guile-cairo "... G-Golf actually requires a patched version of guile-cairo that contains the following new interface (which is not in guile-cairo 1.11.2): cairo-pointer->context."

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-02 Thread David Pirotte
Hi Florian, > Hi David. I’m trying to find the true error location. The true error location was given by the gdb backtrace, the gtk-widget-snapshot-child call, presumably with a bad pointer or so ... Could you please upload a full gdb backtrace somewhere tor-friendly (and zero javascript), so

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-02 Thread pelzflorian (Florian Pelz)
Hi David. I’m trying to find the true error location. Could you tell me if, when you run such commands in guile in your Debian setup, you get similar output? First with tracepoint: scheme@(guile-user)> (load "/home/florian/src/g-golf/examples/gtk-4/drawing-wi

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-05-01 Thread pelzflorian (Florian Pelz)
Hello David, David Pirotte writes: > fwiw, g-golf doesn't load/import/invoke/call nor the GdkPixbuf > typelib, nor any of its functions/methods 'on its own', nor > does any example, this occurs as part of the Gtk/Gdk/Gsk > 'engine' - it is not g-golf that 'runs g_typelib_symbol on

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-30 Thread David Pirotte
Hello Florian, > To develop with G-golf and GTK as in G-Golf’ > 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 > “--no-grafts” option, because G-Golf first when loading runs > g_typelib_symb

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-30 Thread pelzflorian (Florian Pelz)
Hello again, one more message on the current status of G-Golf on GNU Guix, which has two real issues: To develop with G-golf and GTK as in G-Golf’ 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 “--no-grafts

Re: G-Golf - New version released in Debian

2024-04-29 Thread David Pirotte
Hello Tommi, > G-Golf version 0.8.0~rc2-1 has been released in Debian testing and > unstable. See https://tracker.debian.org/pkg/g-golf and > https://www.iki.fi/tohoyn/g-golf-debian/. Thanks you! David pgpGCw7msxnPq.pgp Description: OpenPGP digital signature

G-Golf - New version released in Debian

2024-04-28 Thread Tommi Höynälänmaa
G-Golf version 0.8.0~rc2-1 has been released in Debian testing and unstable. See https://tracker.debian.org/pkg/g-golf and https://www.iki.fi/tohoyn/g-golf-debian/. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-20 Thread pelzflorian (Florian Pelz)
Hello David, David Pirotte writes: > Hello Florian, > > Before i get to the other points of your email, let me exceptionally > raise the last point first: > > > https://ci.guix.gnu.org/build/3767854/details > This refers to g-golf-0.8.0-a.1 > > Ca

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-19 Thread David Pirotte
Hello Florian, Before i get to the other points of your email, let me exceptionally raise the last point first: > https://ci.guix.gnu.org/build/3767854/details This refers to g-golf-0.8.0-a.1 Can you re-ensure me and confirm you are using the latest vers

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-19 Thread pelzflorian (Florian Pelz)
Hello again. This is a bug in Guix territory; not your g-golf. I have successfully run gtk-4/hello-world.scm, fully responsive, apparently by running “guix shell --no-grafts” with with-debug-info transformations, instead of “guix shell” as before, and then broke it again, when I changed guix.scm

Re: GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-17 Thread pelzflorian (Florian Pelz)
Thank you for the work, David. I have a question; how do you debug when Guile crashes to terminal printing “Segmentation fault”`? The long story so far: I want to develop a GTK app with G-Golf. I try to run it with GNU Guix [1] (not Debian like you do, as far as I remember), because now

GNU G-Golf 0.8.0-rc-3 available for testing

2024-04-16 Thread David Pirotte
Hello Guilers, The third release candidate of the upcoming GNU G-Golf 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-rc-3.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-3.tar.gz.sig

Re: G-Golf - Released in Debian and Ubuntu

2024-01-14 Thread David Pirotte
Hello Tommi, > G-Golf version 0.8.0~rc1-2 has been released in Debian testing and > unstable and Ubuntu Noble. See https://tracker.debian.org/pkg/g-golf. This is great! Thanks, David pgpbyTD2WAYdj.pgp Description: OpenPGP digital signature

G-Golf - Released in Debian and Ubuntu

2024-01-13 Thread Tommi Höynälänmaa
See also WWW page https://www.iki.fi/tohoyn/g-golf-debian/. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint: 55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83 FM, Debian-ylläpitäjä / M.Sc

G-Golf - Released in Debian and Ubuntu

2024-01-12 Thread Tommi Höynälänmaa
G-Golf version 0.8.0~rc1-2 has been released in Debian testing and unstable and Ubuntu Noble. See https://tracker.debian.org/pkg/g-golf. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint

Re: G-Golf- [subject changed] cairo based examples fail in homebrew

2023-12-31 Thread David Pirotte
e-user 'only', and only reporting the examples/gtk-4/drawing-widget.scm problem [1], if possible with a 'fresh' gdb backtrace: - please make sure you do not 'wrap lines' on the backtrace [2]. Thanks, David [1] both g-golf cairo examples use the (nuclear-icon) module, w

Re: G-Golf- [subject changed] cairo based^W^WWhy me?

2023-12-22 Thread Keith Wright
> From: Aleix Conchillo Flaqué > Subject: Re: G-Golf- [subject changed] cairo based examples > To: David Pirotte > Cc: guile-user , guile-devel On Fri, Dec 22, 2023 at 3:22 PM David Pirotte wrote: > Hi Aleix, > > i decided to answer separately - and ch

Re: G-Golf- [subject changed] cairo based examples fail in homebrew

2023-12-22 Thread David Pirotte
Hi again, > ... > here is the 'subthread' for the guile-cairo related issue, on > homebrew [1]. > ... > If they don't work, please report upstream, if they do work, try to > get a backtrace as well, for the simple-animation.scm example only, > let's try to identify the problem for

Re: G-Golf- [subject changed] cairo based examples fail in homebrew

2023-12-22 Thread David Pirotte
y do work, try to get a backtrace as well, for the simple-animation.scm example only, let's try to identify the problem for the simplest one ... David [1] fwiw all g-golf gtk-4 examples work fine upstream (debian trixie) as well as on freebsd. pgp6P9J1GpjLE.pgp Description: OpenPGP digital signature

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-21 Thread Aleix Conchillo Flaqué
With Gtk debug symbols, from this version: https://gitlab.gnome.org/GNOME/gtk/-/tree/4.12.4 On Thu, Dec 21, 2023 at 11:01 PM Aleix Conchillo Flaqué < aconchi...@gmail.com> wrote: > > This is from: lldb -- guile -e main drawing-widget.scm > > * thread #1, queue = 'com.apple.main-thread', stop

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-21 Thread Aleix Conchillo Flaqué
> #t) > > a- > > And does that works? It should, but/and obviously not drawing > anything, but no bug/no crash? > > It doesn't, it segfaults. b- > > Can you try, in a repl: > > ,use (g-golf) > (gi-import-by-name "Gtk" "Widget") >

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-21 Thread David Pirotte
> The issue seems to be here: > (define-vfunc (snapshot-vfunc (self ) snapshot) > #t) a- And does that works? It should, but/and obviously not drawing anything, but no bug/no crash? b- Can you try, in a repl: ,use (g-golf) (gi-import-by-name "Gtk" "Widget") $5

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-21 Thread Aleix Conchillo Flaqué
On Mon, Dec 4, 2023 at 8:14 PM David Pirotte 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

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-09 Thread Aleix Conchillo Flaqué
On Mon, Dec 4, 2023 at 8:14 PM David Pirotte wrote: > Hello Aleix, > > Hi! > - animated-paintable.scm, simple-paintable.scm: it might be something > > cairo related. I have guile-cairo 1.11.2 > > you must clone the guile-cairo upstream repo, git checkout devel, then > run the make danse ... let

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-04 Thread David Pirotte
Hello Aleix, > A couple more... This is very cool actually Indeed :) - I was gona ask if you could paste a screenshot of the 'Style Classes' demo page ... maybe you did try, but just in case, you may also reduce the window size, till it triggers the adaptive mode ... for

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-04 Thread David Pirotte
my preferred platform :-). It just so happens that, > a while back ... Oh, i see - very nice of you to maintain guile and g-golf there, thanks for that! David [1] the scm files in the ui subdir are used to generate the corresponding .ui files - so if you make any change there, you

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-01 Thread David Pirotte
Hello Aleix, > This is now available on macOS via Guile Homebrew: > brew install g-golf Very nice! Thanks, David ps: does the adw1-demo also works? it requires libadwaita >= 1.4 i'd be very pleased to know it does work on your preferred platfor

Re: GNU G-Golf 0.8.0-rc-2 available for testing

2023-12-01 Thread Aleix Conchillo Flaqué
This is now available on macOS via Guile Homebrew: brew install g-golf On Wed, Nov 1, 2023 at 8:51 PM David Pirotte wrote: > Hello Guilers, > > The second release candidate of the upcoming GNU G-Golf 0.8.0 release is > now available for testing: > > * Tarball and a GPG

Re: G-Golf - with custom parameter type

2023-11-19 Thread David Pirotte
Hello Alptekin > ... > Under g-golf, however, I can't define a with > parameters. Right, currently you can't - GVariant are not (yet) supported, and it's not a high priority item in my list, so don't hold your breath ... What you can do, currently, is what you do as in your 'simpler

G-Golf - with custom parameter type

2023-11-17 Thread Alptekin SANLI
I'd like to ask a question regarding composite parameter types in . I'm trying to port my simple pygobject/gtk4 app into g-golf; & it's been going pretty well; however, I've hit a roadblock. In the python version, I define several `Gio.SimpleAction`s to attach to my `Gtk.Applica

Re: g-golf example error 'No applicable method for #< g-application-run'

2023-11-09 Thread David Pirotte
Hello, > I try to run the hello-world example with the manifest.scm: > ... I don't use guix and recommend that you ask for help in a guix ml or in #guix, as this a guix problem, not a g-golf problem - all examples work well upstream, in debian, and afaict, in freebsd. > Maybe a separ

g-golf example error 'No applicable method for #< g-application-run'

2023-11-09 Thread Mortimer Cladwell
Hi, I have installed g-golf with guix: guix package -i guile-g-golf gtk guile-cairo I try to run the hello-world example with the manifest.scm: ---manifest.scm-- (specifications->manifest '("guile" "guile-g-golf" "guile-cairo" "gtk&q

GNU G-Golf 0.8.0-rc-2 available for testing

2023-11-01 Thread David Pirotte
Hello Guilers, The second release candidate of the upcoming GNU G-Golf 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-rc-2.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-2.tar.gz.sig

GNU G-Golf 0.8.0-rc-1 available for testing

2023-10-06 Thread David Pirotte
Hello Guilers, The first release candidate of the upcoming GNU G-Golf 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-rc-1.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-1.tar.gz.sig

GNU G-Golf 0.8.0-alpha-6 available for testing

2023-09-13 Thread David Pirotte
Hello Guilers, The sixth alpha release of the upcoming GNU G-Golf 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-alpha-6.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0

GNU G-Golf 0.8.0-a.5 available for testing

2023-08-31 Thread David Pirotte
Hello Guilers, The fifth alpha release of the upcoming GNU G-Golf 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.5.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.5

Re: G-Golf - Installation problems in Guix

2023-05-29 Thread pelzflorian (Florian Pelz)
Erik, following up on your idea about using --with-input, I used the code equivalent of --with-input and wrote the attached manifest that installs GTK with the same glib@2.73.3 as guile-g-golf (and also upgrades g-golf to version 0.8.0-a.4 as recommended by David Pirotte). guix shell -m guile-g

Re: G-Golf - Installation problems in Guix

2023-05-28 Thread Mike Gran
> I tried to use g-golf on Guix recently, and gave up, because while Guix’ > guile-g-golf depends on glib@2.73.3, Guix’ gtk (GTK4) and gtk+ (GTK3, > GTK2) depend on glib@2.72.3.  In other words, I believe that currently, > g-golf cannot be used with gtk in Guix.  Upgrading gtk’s glib i

Re: G-Golf - Installation problems in Guix

2023-05-28 Thread David Pirotte
Hello Erik, (and Florian), > I am using Guix on Fedora 38. Via Guix I tried to install G-Golf > version "a.1"[0] together with GTK@4.8.1. This raised a conflict > during installation, as GTK (as well as libadwaita) require > glib@2.72.3, but g-golf requires glib@2.73.3. >

Re: G-Golf - Installation problems in Guix

2023-05-28 Thread pelzflorian (Florian Pelz)
Hello Erik. I tried to use g-golf on Guix recently, and gave up, because while Guix’ guile-g-golf depends on glib@2.73.3, Guix’ gtk (GTK4) and gtk+ (GTK3, GTK2) depend on glib@2.72.3. In other words, I believe that currently, g-golf cannot be used with gtk in Guix. Upgrading gtk’s glib

Re: G-Golf - Installation problems in Guix

2023-05-28 Thread Erik Grun
[[[ Hiermit widerspreche ich ausdrücklich der Erfassung, Speicherung und Verarbeitung meiner Daten zu anderen Zwecken, als der Zustellung meiner Nachricht zum Empfänger ]]] Hello, G-Golfers, hello, Guile users, By the way running G-Golf in a shell environment yields different errors. So, I

G-Golf - Installation problems in Guix

2023-05-28 Thread Erik Grun
[[[ Hiermit widerspreche ich ausdrücklich der Erfassung, Speicherung und Verarbeitung meiner Daten zu anderen Zwecken, als der Zustellung meiner Nachricht zum Empfänger ]]] Hello, G-Golfers, I have some troubles getting G-Golf to run. I am using Guix on Fedora 38. Via Guix I tried to install

Re: GNU G-Golf 0.8.0-a.4 available for testing

2023-05-02 Thread David Pirotte
Hi Aleix, > The Makefile.am refers to FFI_CFLAGS and FFI_CFLAGS FFI_LIBS, but I > don't see any reference to them and there's no PKG_CHECK_MODULES or > anything that could define those in configure.ac or any m4 macro. > Adding PKG_CHECK_MODULES line solved the issue: >

Re: GNU G-Golf 0.8.0-a.4 available for testing

2023-05-01 Thread Aleix Conchillo Flaqué
c[h] files were changed after 0.8.0-a.2, introducing those > new functions, see commit 15e689d3446632d4a78e4b02c20495b4b0a4ba22 > Jan the 16th 2023. > > I would recommend to uninstall g-golf, clear your cache(s), clear the > build repo and try again. > > I cleaned everything

Re: GNU G-Golf 0.8.0-a.4 available for testing

2023-05-01 Thread David Pirotte
d for architecture arm64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) The gg-ffi.c[h] files were changed after 0.8.0-a.2, introducing those new functions, see commit 15e689d3446632d4a78e4b02c20495b4b0a4ba22 Jan the 16th 2023. I would recommend to uninst

Re: GNU G-Golf 0.8.0-a.4 available for testing

2023-04-29 Thread Aleix Conchillo Flaqué
On Sun, Apr 16, 2023 at 7:51 PM David Pirotte wrote: > Hello Guilers, > > Hi David, > The fourth alpha release of the upcoming GNU G-Golf 0.8.0 release is > now available for testing: > > -] Tarball and a GPG detached signature [*]: > > http://ft

Re: GNU G-Golf 0.8.0-a.1 available for testing!

2023-04-29 Thread Aleix Conchillo Flaqué
On Fri, Mar 24, 2023 at 9:18 PM David Pirotte wrote: > Hello Aleix, > > Hi! > I am sorry it took me so long to answer. > > Not at all! :-) > > ... > > I was able to add g-golf to Guile Homebrew. So it now runs on macOS > > ... > > > The

GNU G-Golf 0.8.0-a.4 available for testing

2023-04-16 Thread David Pirotte
Hello Guilers, The fourth alpha release of the upcoming GNU G-Golf 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.4.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.4

Re: GNU G-Golf 0.8.0-a.1 available for testing!

2023-03-24 Thread David Pirotte
Hello Aleix, I am sorry it took me so long to answer. > ... > I was able to add g-golf to Guile Homebrew. So it now runs on macOS > ... > The changes are: > > - We need the full path of glib, gobject, etc. Certainly not, never ever :) - This is a distro thing,

Re: G-Golf - Help with ListView needed

2023-03-09 Thread David Pirotte
Hi Michele, > ... > You are right, I'm linking against gtk-4 shipped by the distribution > I'm using. In this case, I'm on Ubuntu 22.04 which, at the time of > writing this email, ships gtk-4 version 4.6.6. > This leads me to a few follow-up questions: > 1) I did build G-G

Re: G-Golf - Help with ListView needed

2023-03-07 Thread Michele Lindroos
tk-4 shipped by the distribution I'm using. In this case, I'm on Ubuntu 22.04 which, at the time of writing this email, ships gtk-4 version 4.6.6. This leads me to a few follow-up questions: 1) I did build G-Golf using automake which should figure out all versions of the libraries I'm linking against. Sho

Re: G-Golf - Help with ListView needed

2023-03-06 Thread David Pirotte
Hi Michele, > Thank you so much, it works perfectly now! Great. I have to correct what I said, about how/when(or when not) one can create a GObject (sub)class instance calling (make #:prop-name prop-value ...) [ which internally calls g_object_new_with_properties ... In this

Re: G-Golf - Help with ListView needed

2023-03-06 Thread Michele Lindroos
Hello David, Thank you so much, it works perfectly now! BR, Michele

Re: G-Golf - Help with ListView needed

2023-03-05 Thread David Pirotte
Hello Michele, > I'm trying to learn g-golf. It has been a blast, great technology! > However, the last few days I've tried to get ListView working and now > I'm stuck. Below a working version. In the C code, you should: app = gtk_application_new (APPLI

Re: G-Golf - Help with ListView needed

2023-03-04 Thread David Pirotte
Hello Michele, > I'm trying to learn g-golf. It has been a blast, great technology! > However, the last few days I've tried to get ListView working and now > I'm stuck. Thanks for both the C and scheme code - I will look at it and will get back to you asap - hopefully tomorrow, within

G-Golf - Help with ListView needed

2023-03-04 Thread Michele Lindroos
Hello Guilers! I'm trying to learn g-golf. It has been a blast, great technology! However, the last few days I've tried to get ListView working and now I'm stuck. There are plenty of code samples online written in C. I've added at the bottom of the e-mail a code sample I tried and it works on my

GNU G-Golf 0.8.0-a.3 available for testing!

2023-02-08 Thread David Pirotte
Hello Guilers, The third 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.2.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.2.tar.gz.sig

GNU G-Golf 0.8.0-a.2 available for testing!

2023-01-09 Thread David Pirotte
Hello Guilers, The second 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.2.tar.gz http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-a.2.tar.gz.sig

Re: GNU G-Golf 0.8.0-a.1 available for testing!

2022-12-16 Thread Aleix Conchillo Flaqué
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

Re: GNU G-Golf 0.8.0-a.1 available for testing!

2022-12-14 Thread Luis Felipe
Great! Thanks for working on this, David. On Tuesday, December 13th, 2022 at 20:37, David Pirotte wrote: > Ultimately, one of the best way to test, and participate, is to select > G-Golf to develop the next application of your dream! I'll definitively try it out in one of my pr

GNU G-Golf 0.8.0-a.1 available for testing!

2022-12-13 Thread David Pirotte
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

Re: G-Golf - handling of unresloved symbols in gobject-inspection

2022-07-28 Thread Andy Tai
Thanks for the fix. Now G-Golf works on Ubuntu 20.04, which has GI 1.64, an old version On Wed, Jul 27, 2022 at 6:23 PM David Pirotte wrote: > > Hello Andy, > > > > For example, on GNU Guix, the GI version is for now at 0.64. So > > > G-Golf, when invoked from a gui

Re: G-Golf - handling of unresloved symbols in gobject-inspection

2022-07-27 Thread David Pirotte
Hello Andy, > > For example, on GNU Guix, the GI version is for now at 0.64. So > > G-Golf, when invoked from a guile program using it, would fail > > with > > ;;; In procedure dlsym: Error resolving > > "g_callable_info_create_closure": > >

Re: G-Golf - handling of unresloved symbols in gobject-inspection

2022-07-22 Thread Andy Tai
Sorry for all the GNOME name mixup. Thanks for looking into the problem regardless of my incorrect terms! On Fri, Jul 22, 2022 at 1:08 PM David Pirotte wrote: > > Hello Andy, > > > G-Golf seems to assume the GObject Inspection (GI) present is the > > latest (0.72)

Re: G-Golf - handling of unresloved symbols in gobject-inspection

2022-07-22 Thread David Pirotte
Hello Andy, > G-Golf seems to assume the GObject Inspection (GI) present is the > latest (0.72) and will fail to load if the GI version is older. I understand what made you write this, as you found a bug that I will fix and let you know, thanks, but actually the minimal GObject Introsp

G-Golf - handling of unresloved symbols in gobject-inspection

2022-07-22 Thread Andy Tai
G-Golf seems to assume the GObject Inspection (GI) present is the latest (0.72) and will fail to load if the GI version is older. For example, on GNU Guix, the GI version is for now at 0.64. So G-Golf, when invoked from a guile program using it, would fail with ;;; In procedure dlsym: Error

Re: G-Golf - how to access gtk APIS that take lists of arguments ending with null ptr

2022-07-19 Thread David Pirotte
(default-duplicate-binding-handler '(merge-generics replace warn-override-core warn last)) (use-modules (g-golf)) (g-irepository-require "Gtk" #:version "3.0") (for-each (lambda (item) (gi-import-by-name "Gtk" item)) '("Win

G-Golf - how to access gtk APIS that take lists of arguments ending with null ptr

2022-07-19 Thread Andy Tai
How to call gtk APIs such as (gtk+ 3) gint gtk_tree_view_insert_column_with_attributes (GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell,

Re: G-Golf - Getting started

2021-04-12 Thread David Pirotte
Hello Paul, > From here: > https://www.gnu.org/software/g-golf/manual/g-golf.html There is no G-Golf release yet - it is mentioned on the web-site, both the home page and in the install page ... but not in the manual indeed, didn't want to ... > $ guile -s example-1.scm # takes about

Re: G-Golf - Getting started

2021-04-12 Thread Vladimir Zhbanov
Hi Paul On Mon, Apr 12, 2021 at 12:35:58PM +0100, Paul Emsley wrote: > Hi G-Golfers, > > >From here: > https://www.gnu.org/software/g-golf/manual/g-golf.html > > >GNU G-Golf can be obtained from the following archive site > http://ftp.gnu.org/gnu/g-golf/. The fil

G-Golf - Getting started

2021-04-12 Thread Paul Emsley
Hi G-Golfers, >From here: https://www.gnu.org/software/g-golf/manual/g-golf.html GNU G-Golf can be obtained from the following archive site http://ftp.gnu.org/gnu/g-golf/. The file will be named g-golf-version.tar.gz. The current version is 0.1.0, so the file you should g

Re: g-golf status

2019-06-20 Thread David Pirotte
Hi Mike, > I notice you've been making some commits on g-golf. How's the state of the > project? Yes, I am actively working on it, and made good progress, but it is, from a user point of view, unusable still: although everything that 'is there' is working, it still misses some funda

Re: g-golf

2018-01-14 Thread Catonano
2018-01-14 14:10 GMT+01:00 David Pirotte <da...@altosw.be>: > Hi Catonano, > > > > Thank you for your interest, but please note that G-Golf still is in > > > planning stage > > > I know but I tought I would have taken a look > > Ok, you're welcome

Re: g-golf

2018-01-14 Thread David Pirotte
Hi Catonano, > > Thank you for your interest, but please note that G-Golf still is in > > planning stage > I know but I tought I would have taken a look Ok, you're welcome of course! > I don't know if I will ever be able to contribute > But the fiirst thing is th

Re: g-golf

2018-01-14 Thread Catonano
No, doesn't change 2018-01-14 13:35 GMT+01:00 Catonano : > Ah I see these dependencies >

Re: g-golf

2018-01-14 Thread Catonano
Ah I see these dependencies Texinfo>= 6.1 GObject-Introspection-1.0>= 1.48.0 Glib-2.0>= 2.48.0 Gobject-2.0>= 2.48.0 are missing I'll try and report back

  1   2   >