unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* g-golf example error 'No applicable method for #<<generic> g-application-run'
@ 2023-11-09 11:39 Mortimer Cladwell
  2023-11-09 16:22 ` David Pirotte
  0 siblings, 1 reply; 2+ messages in thread
From: Mortimer Cladwell @ 2023-11-09 11:39 UTC (permalink / raw)
  To: guile-user

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"))
-------------------------------

mbc@ins3910:~/projects/g-golf/examples/gtk-4$ guix shell
guix shell: loading environment from
'/home/mbc/projects/g-golf/examples/gtk-4/manifest.scm'...
mbc@ins3910:~/projects/g-golf/examples/gtk-4 [env]$ ./hello-world.scm
Backtrace:
In ice-9/boot-9.scm:
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
           5 (apply-smob/0 #<thunk 7fd6f4d12300>)
In ice-9/boot-9.scm:
    724:2  4 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  3 (_ #(#(#<directory (guile-user) 7fd6f4d15c80>)))
In /home/mbc/projects/g-golf/examples/gtk-4/./hello-world.scm:
    85:18  2 (main _)
In oop/goops.scm:
  1567:11  1 (cache-miss #<<gtk-application> 7fd6ecfdc540> ("./hell…"))
   1585:2  0 (_ _ _)

oop/goops.scm:1585:2: No applicable method for #<<generic>
g-application-run (1)> in call (g-application-run #<<gtk-application>
7fd6ecfdc540> ("./hello-world.scm"))

Help!

Maybe a separate issue - I see at
https://www.gnu.org/software/g-golf/install.html:

"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."

Is there a solution for guix users?
Thanks
Mortimer


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-09 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 11:39 g-golf example error 'No applicable method for #<<generic> g-application-run' Mortimer Cladwell
2023-11-09 16:22 ` David Pirotte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).