Re: G-Golf using GtkBuilder or not

2025-05-29 Thread David Pirotte
Hi Zelphir, > ... You are misinterpreting what I wrote, and we miscommunicate. GtkBuilder reads XML descriptions of a user interface and instantiates the described objects. Those XML descriptions are largely identical when defining a composite widget using a template, with some slight difference

Re: G-Golf using GtkBuilder or not

2025-05-29 Thread Zelphir Kaltstahl
Hi David! On 28.05.25 20:36, David Pirotte wrote: I wonder why that is though. I imagine (I don't know that for sure at all, so some Dunning-Kruger chance here) that internally Gtk probably uses the same machinery ... Not at all. A template is installed at (GObject) class initialization time, a

Re: G-Golf using GtkBuilder or not

2025-05-28 Thread David Pirotte
Hi Zelphir, > > I have little experience using gtk builder, upstream developers > > convinced me to switch to (always) use templates. > I wonder why that is though. I imagine (I don't know that for sure at > all, so some Dunning-Kruger chance here) that internally Gtk probably > uses the same m

Re: G-Golf general questions

2025-05-28 Thread David Pirotte
Hi Zelphir, > > - use libadwaita, and only use gtk for those widgets that > > are not provided by libadwaita; > To be honest, I still don't really know, what libadwaita does or ads > and why it is better to use that. Adw – 1 Building blocks for modern GNOME applications

Re: G-Golf usage questions, g-object-unref and others

2025-05-28 Thread Zelphir Kaltstahl
On 28.05.25 15:39, webmas...@free-comp-shop.com wrote: Zelphir Kaltstahl writes: Ah OK! I thought it might be perceived as annoying, if I send 3 separate ones, but it makes sense for the purpose of focused discussion. I'll branch out from here using separate replies. Actually, that can be anno

Re: G-Golf general questions

2025-05-28 Thread Zelphir Kaltstahl
On 28.05.25 00:25, David Pirotte wrote: Hello Zelphir, [...] I am slowly figuring things out with G-Golf and trying to build my own examples for how to do things with it. (repo: https://codeberg.org/ZelphirKaltstahl/guilt-gtk-g-golf-examples, or most recent branch: https://codeberg.org/ZelphirKa

Re: G-Golf using GtkBuilder or not

2025-05-28 Thread Zelphir Kaltstahl
Hi David, On 28.05.25 00:25, David Pirotte wrote: Hello Zelphir, [...] ;; A UI XML string can be processed by a GtkBuilder. I have little experience using gtk builder, upstream developers convinced me to switch to (always) use templates. I wonder why that is though. I imagine (I don't

Re: G-Golf usage questions, g-object-unref and others

2025-05-28 Thread Zelphir Kaltstahl
Hi David! On 28.05.25 00:25, David Pirotte wrote: Hello Zelphir, As an aside note, this email is far too long and mixes far too many subjects and questions 'at the same time', please in the future, make one email per question, keep it short and precise as possibl

Re: G-Golf usage questions, g-object-unref and others

2025-05-27 Thread David Pirotte
Hello Zelphir, As an aside note, this email is far too long and mixes far too many subjects and questions 'at the same time', please in the future, make one email per question, keep it short and precise as possible, thanks! > I am slowly figuring things out with G-

Re: G-Golf - How to use or import G-types like G_TYPE_STRING and similar?

2025-05-08 Thread Zelphir Kaltstahl
Hello David! On 06.05.25 05:27, David Pirotte wrote: Hi Zelphir, I am trying to use G-Golf to create a tree view (the thing that looks like a table) and for that purpose to create a GtkListStore instance. Do not use GtkTreView, deprecated in 4.10 and will be removed from Gtk-5. Instead, caref

Re: G-Golf code example links broken

2025-05-05 Thread David Pirotte
Hi, > Ah, those errors seem to be intermittent. If I reload sometimes it > doesn't error. For info: https://lists.gnu.org/archive/html/savannah-users/2025-05/msg1.html David pgpFRMVPY_jDJ.pgp Description: OpenPGP digital signature

Re: G-Golf - How to use or import G-types like G_TYPE_STRING and similar?

2025-05-05 Thread David Pirotte
Hi Zelphir, > I am trying to use G-Golf to create a tree view (the thing that looks > like a table) and for that purpose to create a GtkListStore instance. Do not use GtkTreView, deprecated in 4.10 and will be removed from Gtk-5. Instead, carefully read this section (till the very end):

Re: G-Golf code example links broken

2025-05-05 Thread Zelphir Kaltstahl
On 05.05.25 22:09, Zelphir Kaltstahl wrote: Hi! I noticed, that some example code links from https://www.gnu.org/software/g-golf/learn.html are broken, or rather lead to "502 Bad Gateway" error pages. For example the http://git.savannah.gnu.org/cgit/g-golf.git/tree/examples/gtk-4/clipboard c

Re: G-Golf - Version 0.8.0-1 released in Debian and Ubuntu

2025-02-14 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0-1 has been released in Debian and Ubuntu. See Great! Thanks, David pgp6gJklyKMCc.pgp Description: OpenPGP digital signature

Re: G-Golf - Version 0.8.0~rc9-2 released in Debian and Ubuntu

2025-01-30 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0~rc9-2 has been released in Debian and Ubuntu. See > * https://www.gnu.org/software/g-golf/ > * https://www.iki.fi/tohoyn/g-golf-debian/ > * https://tracker.debian.org/pkg/g-golf Great, thanks David pgpDNM3BP00wu.pgp Description: OpenPGP digital signature

Re: G-Golf - Version 0.8.0~rc9-1 released in Debian and Ubuntu

2024-12-20 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0~rc9-1 has been released in Debian and Ubuntu. See > * https://www.gnu.org/software/g-golf/ > * https://www.iki.fi/tohoyn/g-golf-debian/ > * https://tracker.debian.org/pkg/g-golf Great, thanks, David pgpw7l8UWsFHd.pgp Description: OpenPGP digital signature

Re: G-Golf - Version 0.8.0~rc8-1 released in Debian and Ubuntu

2024-11-08 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0~rc8-1 has been released in Debian and Ubuntu. See > * https://www.gnu.org/software/g-golf/ > * https://www.iki.fi/tohoyn/g-golf-debian/ > * https://tracker.debian.org/pkg/g-golf Great, thanks David pgpb1IdnFppNF.pgp Description: OpenPGP digital signature

Re: G-Golf - New version in Debian

2024-10-08 Thread David Pirotte
Hi Tommi, > G-Golf version 0.8.0~rc7-1 has been released in Debian. See > https://www.iki.fi/tohoyn/g-golf-debian/ and > https://tracker.debian.org/pkg/g-golf. Great, thanks David pgpdj_1sm1vHB.pgp Description: OpenPGP digital signature

Re: G-Golf - Callback segmentation fault

2024-09-07 Thread pelzflorian (Florian Pelz)
Hello David. David Pirotte writes: > If you could kindly grab the latest, run the make/install dance on your > respective distro and try again ... Here the example now runs for > hours, Yes, same on Guix. It runs for more than an hour. > as it should, consuming +/- 3% cpu and a steady 0.8% of

Re: G-Golf - Callback segmentation fault

2024-09-07 Thread Matija Obid
David Pirotte writes: > Hello Florian, > Matija, > >> > > all of a sudden it stops and raises an exception - could you also >> > > try that and let me know, thanks > >> > Yes, after 5 minutes animated-paintable.scm crashes. Hmm. > >> Ok, thanks for trying - This is going to be quite a lot

Re: G-Golf - Callback segmentation fault

2024-09-06 Thread David Pirotte
> ... > Here the example now runs for hours, as it should, consuming +/- 3% > cpu and a steady 0.8% of mem (so afaict, no memory leak either). Actually the example memory consumption grows, very slowly but it grows. I think I know why, I'll try to fix this as well, but I need to finish some other

Re: G-Golf - Callback segmentation fault

2024-09-06 Thread David Pirotte
Hello Florian, Matija, > > > all of a sudden it stops and raises an exception - could you also > > > try that and let me know, thanks > > Yes, after 5 minutes animated-paintable.scm crashes. Hmm. > Ok, thanks for trying - This is going to be quite a lot more complex > to debug and fix, an

Re: G-Golf - Callback segmentation fault

2024-09-06 Thread David Pirotte
Hi Florian, > Yes, they had not worked previously, and now with your long-name fix, > they work. Fwiw, they actually worked fine till day one till 2024-09-04, the day i pushed this commit a3952000ae205c27573ab0eaf2176131b51e34cf, that 'broke' them ... But i am glad you confirm everything is fine

Re: G-Golf - Callback segmentation fault

2024-09-06 Thread pelzflorian (Florian Pelz)
David Pirotte writes: > Could you both kindly grab the latest devel branch, you need this > commit 5d72bfcdae85bb4a5b0254dc9f22fb8c676db69d, and try > both the animated-paintable.scm and peg-solitaire.scm ex. ... let me > know. animated-paintable and peg-solitaire I had not tried last time and th

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread David Pirotte
Matija, Florian, > > Except for "peg-solitaire.scm" and "animated-paintable.scm" all > > examples works fine, thank you. > I can reproduce the bug here, let me investigate, i'll get back asap I think i fixed that (recently introduced) bug [1]. Could you both kindly grab the latest devel branc

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread David Pirotte
Hi Matija, Florian, This example should 'now' likely fail in guix as well (?) > Except for "peg-solitaire.scm" and "animated-paintable.scm" all > examples works fine, thank you. I can reproduce the bug here, let me investigate, i'll get back asap ... Thanks for the report, David

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread David Pirotte
Hi again, > > P.S. on Guix, I also no longer have to use --no-grafts, possibly > > because Guix had major updates to core packages. > Excellent! > > G-golf really satisfies now. > At last! Note that the above was not a g-golf problem [1]. Just want to make sure we are (all) on the same wave

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread David Pirotte
> P.S. on Guix, I also no longer have to use --no-grafts, possibly > because Guix had major updates to core packages. Excellent! > G-golf really satisfies now. At last! Note that the above was not a g-golf problem [1]. Regards, David [1] And for that matter, nor is (a g-golf problem) the pat

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread David Pirotte
Hi Florian, > Thank you David, thank you Matija, > it works on Guix! Excellent! > Except for small warnings like > Warning: Missing /etc/X11/rgb.txt, using a fallback. > that probably should be fixed on the Guix side. You may as well safely ignore the warning ofc - i am not sure how to handle t

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread Matija Obid
Hello David, > Could you both kindly grab the latest devel branch, you need this > commit bbfee04922bf2a22db397e2f429ae606df940265, and run the > make/install danse on your respective distro, then check if the > 'problematic' examples work fine _even when_ run against a modern libffi > that was co

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread pelzflorian (Florian Pelz)
P.S. on Guix, I also no longer have to use --no-grafts, possibly because Guix had major updates to core packages. G-golf really satisfies now. Also thank you to the GJS maintainer for their help. Regards, Florian

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread pelzflorian (Florian Pelz)
Thank you David, thank you Matija, it works on Guix! Except for small warnings like Warning: Missing /etc/X11/rgb.txt, using a fallback. that probably should be fixed on the Guix side. And some issues that I have to chdir to ~/src/g-golf/examples/gtk-4/ to run ~/src/g-golf/examples/gtk-4/revealer

Re: G-Golf - Callback segmentation fault

2024-09-04 Thread David Pirotte
Hello Matija, Florian, > > > I still wonder where is the problem, in Guile, G-Golf or > > > gobject-introspection (which according to [2] should not be a > > > problem). > > Definitely not a g-golf bug. Further speaking with other GI lang binding authors, the gjs author finally did point m

Re: G-Golf - Callback segmentation fault

2024-09-02 Thread David Pirotte
Hi again, > ... > > I still wonder where is the problem, in Guile, G-Golf or > > gobject-introspection (which according to [2] should not be a > > problem). > Definitely not a g-golf bug. Unless the code used by g-golf to make the ffi-cif would need to be adapted, i don't know, but one thing

Re: G-Golf - Callback segmentation fault

2024-09-02 Thread David Pirotte
Hello Matija, > This flag was recently removed [2] in nixpkgs with a comment: > > The fix for gobject-introspection is in version 1.72. Maybe the fix didn't really fixed the problem ... > Bottom line: If I compile Guile with patched libffi [3] dependency > (where flag "disable-exec-static-tram

Re: G-Golf - Callback segmentation fault

2024-09-02 Thread pelzflorian (Florian Pelz)
Hello Matija. I confirm that on Guix as well static trampolines are the issue; using ((package-input-rewriting `((,libffi . ,libffi-sans-static-trampolines))) guile-3.0) as Guile to run g-golf demos makes every g-golf demo work without patches. Regards, Florian

Re: G-Golf - Callback segmentation fault

2024-08-31 Thread Matija Obid
Hello David, > So your patch seems to point to a problem in the upstream definition of > the (most recent) g-callable-info-create-closure, which is the one > everybody who's using GI >= 1.71.0 should use ... I see. The comment in deprecated function made me thinking and I found notice in LFS [1]:

Re: G-Golf - Callback segmentation fault

2024-08-28 Thread David Pirotte
Hello Matija, > There is a version check in "g-callable-info-make-closure" function, > if I disable it (check patch) all examples works just fine. Great! But ... > I'm not quite sure what these functions does, can you take another > look? g-callable-info-make-closure just select in between the

Re: G-Golf - Callback segmentation fault

2024-08-28 Thread pelzflorian (Florian Pelz)
Wow, Matija, good idea; this work-around fixes all examples on Guix, too (using gobject-introspection version 1.78.1). Regards, Florian

Re: G-Golf - Callback segmentation fault

2024-08-27 Thread Matija Obid
Hello again, I think I found something. There is a version check in "g-callable-info-make-closure" function, if I disable it (check patch) all examples works just fine. I'm not quite sure what these functions does, can you take another look? My gi version is 1.80.1. >From 4bec7836f17dfd453b877

Re: G-Golf - Callback segmentation fault

2024-08-25 Thread pelzflorian (Florian Pelz)
"pelzflorian (Florian Pelz)" writes: >>> The feedback I can give: guile-zlib in its build system autodetects >>> ... >> Not sure i want to do this. > > Yeah, normally there is no need, when using the package. > > I do not know what Matija did on Nix, because I cannot find any g-golf > in Nixpkgs.

Re: G-Golf - Callback segmentation fault

2024-08-25 Thread pelzflorian (Florian Pelz)
Hello David. David Pirotte writes: > Thanks for the nice words - I hope that some day, with the help of > Guix/Nix maintainer(s), we can identify and solve the problem. The other Nix patches for giscanner had been written by Luca Bruno who did work on gobject-introspection itself, although Guix

Re: G-Golf - Callback segmentation fault

2024-08-24 Thread David Pirotte
Hi Florian, > Hello David. Thank you for this important groundwork that g-golf is. Thanks for the nice words - I hope that some day, with the help of Guix/Nix maintainer(s), we can identify and solve the problem. > Sorry to say, I have not developed any GUI and had no time as planned. > It will

Re: G-Golf - Callback segmentation fault

2024-08-24 Thread pelzflorian (Florian Pelz)
Hello David. Thank you for this important groundwork that g-golf is. Sorry to say, I have not developed any GUI and had no time as planned. It will not happen with me. But Debian is not the problem; all is fine there (unlike G-Golf on Guix on Debian). I also failed to put a libg-golf-tests libr

Re: G-Golf - Callback segmentation fault

2024-08-23 Thread David Pirotte
Hi Florian, is your debian host g-golf experience ok? i know it is a temporary solution, till we find a solution for nix/guix, but i am curious - also, is the app you are working on free s/w, any public repo we could look at? > Hello, Yes, the same issue still pla

Re: G-Golf - Callback segmentation fault

2024-08-21 Thread David Pirotte
Hello Matija, > I'm facing the problem mentioned in [1]. Problematic are all examples > with virtual methods. Ok, so you are facing the same problem as Guix and HomeBrew, all other distro (that tried g-golf) work fine, i use Debian. > I have tried simpler example (attached) with same result. The

Re: G-Golf - Callback segmentation fault

2024-08-21 Thread pelzflorian (Florian Pelz)
Hello, Yes, the same issue still plagues me. Never tried guile-gi and I do not know the difference regarding vfuncs. Is it like pygobject that guile-gi does not use Guile as much and more C? My only progress: > I'm using Nix. Interesting. Guix and Nix have their own settings to load librarie

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

2024-07-28 Thread David Pirotte
Hi tommi, > G-Golf version 0.8.0~rc5-1 has been released in Debian and Ubuntu. > ... Excellent, thank you, David pgpTFqPczNN07.pgp Description: OpenPGP digital signature

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

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

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

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

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

2023-12-31 Thread David Pirotte
Aleix, > > i decided to answer separately - and change the > > subject line ... Let's close this thread, which is getting confusing ... as it talks about several problems at once, and started by an answer to a release announce [3]. Please start a new thread, on guile-user 'only', and on

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 the

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

2023-12-22 Thread David Pirotte
Hi Aleix, i decided to answer separately - and change the subject line - (a) the guile-cairo related issue, on homebrew, from the (b) snapshot related issue, on homebrew as well here is the 'subthread' for the guile-cairo related issue, on homebrew [1].

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' example,

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 separate issue -

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-go

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 in the > Guix

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. > ... I don't use guix [1]

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 in the Gu

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 exec

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-Golf using automake whi

Re: G-Golf - Help with ListView needed

2023-03-07 Thread Michele Lindroos
Hi David, > In this particular situation, the property exists since 4.10, but most > distributions still have 4.8.xx ... As soon as you have access to gtk > 4.10 or later, you may revert your code to use the prefered scheme > idiomatic way You are right, I'm linking against gtk-4 shipped by the d

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 p

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 (APPLICATION_ID, G_APPLICATION_DEFAULT_F

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 the next fe

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 guile program using it, would f

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": > > "/gnu/store/g6gxhcy7lcmnx14jrinmh6vhanx8rh79-profil

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) and will fail to load if the G

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 Introspection vers

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

2022-07-19 Thread David Pirotte
Hello, > 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, >

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 7 seconds

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 file will >be named g-golf-

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 fundamental piece

Re: g-golf

2018-01-14 Thread Catonano
2018-01-14 14:10 GMT+01:00 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

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 that G-golf should have a guix.sc

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

Re: g-golf

2018-01-14 Thread Catonano
2018-01-14 13:00 GMT+01:00 David Pirotte : > Hello, > > > Trying to build G-golf in GuixSD > > Thank you for your interest, but please note that G-Golf still is in > planning stage > - as stated on both its Gnu and Savannah web pages: > > this means that it is, as it is, unusable: you sho

Re: g-golf

2018-01-14 Thread David Pirotte
Hello, > Trying to build G-golf in GuixSD Thank you for your interest, but please note that G-Golf still is in planning stage - as stated on both its Gnu and Savannah web pages: this means that it is, as it is, unusable: you should use Guile-Gnome and or Guile-Clutter instead,

Re: g-golf

2018-01-14 Thread Catonano
2018-01-14 11:08 GMT+01:00 Amirouche Boubekki : > On 2018-01-14 11:03, Catonano wrote: > >> Trying to build G-golf in GuixSD >> >> This is how I'm creating an environment >> >> guix environment --ad-hoc autoconf automake pkg-config guile >> >> and this is the result of configure >> >> ./configure:

Re: g-golf

2018-01-14 Thread Amirouche Boubekki
On 2018-01-14 11:03, Catonano wrote: Trying to build G-golf in GuixSD This is how I'm creating an environment guix environment --ad-hoc autoconf automake pkg-config guile and this is the result of configure ./configure: line 2497: PKG_PROG_PKG_CONFIG: command not found How is my environme