unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* clutter, clutter-glx [1.12.2] generating doc, 2 errors
@ 2014-04-13  2:28 David Pirotte
  2014-04-13 12:58 ` Chris Vine
  0 siblings, 1 reply; 4+ messages in thread
From: David Pirotte @ 2014-04-13  2:28 UTC (permalink / raw)
  To: guile-devel

Hello,

	I'm on guile (GNU Guile) 2.0.11.2-0ece4 now

Although I did not update the wrapset.api yet, in order to get a general picture of
updating a clutter  binding 

Trying to generate clutter and clutter-glx [1.12.2] doc triggers these errors [note
that in relation to the first error, clutter-actor-meta.xml is not new, it is in
clutter since 1.4, so I wonder what changed, the original doc or our gtk-doc parser?
[which I am not familiar with]

The second could be related to character encoding, not sure, but anyway, here they
are:

	note that I doubt it matters at this point, but if it does, I did not update
	wrapset.api yet [I wanted to try all updating steps [described in HACKING,
	master branch for who's interested...], to get a general picture of what I
	need to do and where I need learn, possibly help... and also see if it would
	properly rebuild the doc of at least the previous binding...]

1]	in doc/clutter:

david@capac:/usr/local/src/guile-gnome/git-clone/doc/clutter 47 $ make generate-defuns
... ...
;;; SSAX warning: Internal DTD subset is not currently handled 
;;; SSAX warning: DOCTYPE DECL refentry
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd found and skipped Backtrace:
In ice-9/boot-9.scm:
 157: 15 [catch #t #<catch-closure 25301a0> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 25301a0>]
In ice-9/boot-9.scm:
  63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 12 [eval # #]
In unknown file:
   ?: 11 [call-with-input-string "(apply (@ (gnome gw support gtk-doc)
gtk-doc->texi-defuns) (cadr (program-arguments)) 'g-wrap '((gnome gw clutter-spec)
gnome-clutter) (cddr (program-arguments)))" ...] In ice-9/command-line.scm: 180: 10
[#<procedure 25451c0 at ice-9/command-line.scm:175:6 (port)> #<input: string
22fd4e0>] In unknown file: ?: 9 [eval (apply # # # ...) #<directory # 2509c60>]
In ice-9/boot-9.scm:
 697: 8 [for-each #<procedure 2d275d0 at gnome/gw/support/gtk-doc.scm:776:5
(file)> ...] In gnome/gw/support/gtk-doc.scm:
 781: 7 [#<procedure 2d275d0 at gnome/gw/support/gtk-doc.scm:776:5 (file)>
"/usr/local/src/clutter/git-clone/doc/reference/clutter/xml/clutter-actor-meta.xml"]
735: 6 [gtk-doc->texi-defuns/g-wrap (*TOP* # #) () (gnome gw clutter-spec) ...] 575:
5 [gtk-doc-sdocbook->def-list/g-wrap # #<procedure munge-def (name def)> #] 190: 4
[sdocbook-fold-defuns #<procedure 2bc6ba0 at gnome/gw/support/gtk-doc.scm:576:6
(fragment seed)> ...] 582: 3 [#<procedure 2bc6ba0 at
gnome/gw/support/gtk-doc.scm:576:6 (fragment seed)> # ...] 545: 2 [make-defs/g-wrap
# #<hash-table 2fb53c0 945/1759> # ...] 522: 1 [parse-func-name (programlisting (@
#) (link # #) ...)] In unknown file: ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: could not parse "void\nclutter_actor_meta_set_name (ClutterActorMeta *meta,\n                             const gchar *name);"
make: *** [generate-defuns] Error 1
david@capac:/usr/local/src/guile-gnome/git-clone/doc/clutter 48 $ 


2]	in doc/clutter-glx

david@capac:/usr/local/src/guile-gnome/git-clone/doc/clutter-glx 65 $ make generate-defuns
...
..x..xx..xxxx.......x..x........GTypeIns|ClutterGLXTextureP|<clutter-glx-texture-pixm|gnome-clutter-glx        
xBacktrace:
In ice-9/boot-9.scm:
 157: 15 [catch #t #<catch-closure 11e11a0> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 11e11a0>]
In ice-9/boot-9.scm:
  63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 12 [eval # #]
In unknown file:
   ?: 11 [call-with-input-string "(apply (@ (gnome gw support gtk-doc) gtk-doc->texi-defuns) (cadr (program-arguments)) 'g-wrap '((gnome gw clutter-glx-spec) gnome-clutter-glx) (cddr (program-arguments)))" ...]
In ice-9/command-line.scm:
 180: 10 [#<procedure 11f2900 at ice-9/command-line.scm:175:6 (port)> #<input: string fac4e0>]
In unknown file:
   ?: 9 [eval (apply # # # ...) #<directory # 11bac60>]
In ice-9/boot-9.scm:
 700: 8 [for-each #<procedure 1a17030 at gnome/gw/support/gtk-doc.scm:776:5 (file)> ...]
In gnome/gw/support/gtk-doc.scm:
 781: 7 [#<procedure 1a17030 at gnome/gw/support/gtk-doc.scm:776:5 (file)> "/usr/local/src/clutter/git-clone/doc/reference/clutter/xml/clutter-x11-texture-pixmap.xml"]
 735: 6 [gtk-doc->texi-defuns/g-wrap (*TOP* # #) () (gnome gw clutter-glx-spec) ...]
 575: 5 [gtk-doc-sdocbook->def-list/g-wrap # #<procedure munge-def (name def)> #]
 190: 4 [sdocbook-fold-defuns #<procedure 25556c0 at gnome/gw/support/gtk-doc.scm:576:6 (fragment seed)> ...]
 582: 3 [#<procedure 25556c0 at gnome/gw/support/gtk-doc.scm:576:6 (fragment seed)> # ...]
 545: 2 [make-defs/g-wrap (programlisting # # ...) #<hash-table 2f67fc0 23/31> ...]
 522: 1 [parse-func-name (programlisting (@ #) (link # #) ...)]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: could not parse "ClutterActor\xa0*\nclutter_x11_texture_pixmap_new (void);"
make: *** [generate-defuns] Error 1
david@capac:/usr/local/src/guile-gnome/git-clone/doc/clutter-glx 65 $ 




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

* Re: clutter, clutter-glx [1.12.2] generating doc, 2 errors
  2014-04-13  2:28 clutter, clutter-glx [1.12.2] generating doc, 2 errors David Pirotte
@ 2014-04-13 12:58 ` Chris Vine
  2014-04-13 16:56   ` Amirouche Boubekki
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Vine @ 2014-04-13 12:58 UTC (permalink / raw)
  Cc: guile-devel

On Sat, 12 Apr 2014 23:28:18 -0300
David Pirotte <david@altosw.be> wrote:
> Hello,
> 
> 	I'm on guile (GNU Guile) 2.0.11.2-0ece4 now
> 
> Although I did not update the wrapset.api yet, in order to get a
> general picture of updating a clutter  binding 
 
Provide a binding for clutter's gobject-introspection interface and you
will carry most other gobject based libraries with you.

I imagine it would be a significant amount of work though.

Chris



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

* Re: clutter, clutter-glx [1.12.2] generating doc, 2 errors
  2014-04-13 12:58 ` Chris Vine
@ 2014-04-13 16:56   ` Amirouche Boubekki
  2014-04-13 18:22     ` David Pirotte
  0 siblings, 1 reply; 4+ messages in thread
From: Amirouche Boubekki @ 2014-04-13 16:56 UTC (permalink / raw)
  To: Chris Vine; +Cc: guile-devel

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

2014-04-13 14:58 GMT+02:00 Chris Vine <chris@cvine.freeserve.co.uk>:

> On Sat, 12 Apr 2014 23:28:18 -0300
> David Pirotte <david@altosw.be> wrote:
> > Hello,
> >
> >       I'm on guile (GNU Guile) 2.0.11.2-0ece4 now
> >
> > Although I did not update the wrapset.api yet, in order to get a
> > general picture of updating a clutter  binding
>
> Provide a binding for clutter's gobject-introspection interface and you
> will carry most other gobject based libraries with you.
>

True. There is already [1] that is meant to do it, I don't know if it still
works.

I imagine it would be a significant amount of work though.
>

I'm not sure about that. There are several such "bindings" in Python using
different approach (pure/non-pure, ctypes, cffi, cython,...) and targeting
different VMs (PyPy, CPython 3.x). Even if it's not easy there is a lot of
code to learn how to do it.


[1] https://gitorious.org/guile-gir (last commit 2011)

[-- Attachment #2: Type: text/html, Size: 1683 bytes --]

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

* Re: clutter, clutter-glx [1.12.2] generating doc, 2 errors
  2014-04-13 16:56   ` Amirouche Boubekki
@ 2014-04-13 18:22     ` David Pirotte
  0 siblings, 0 replies; 4+ messages in thread
From: David Pirotte @ 2014-04-13 18:22 UTC (permalink / raw)
  To: Amirouche Boubekki; +Cc: guile-devel

Folks,

> > On Sat, 12 Apr 2014 23:28:18 -0300
> > David Pirotte <david@altosw.be> wrote:
> > > Hello,
> > >
> > >       I'm on guile (GNU Guile) 2.0.11.2-0ece4 now
> > >
> > > Although I did not update the wrapset.api yet, in order to get a
> > > general picture of updating a clutter  binding
> >
> > Provide a binding for clutter's gobject-introspection interface and you
> > will carry most other gobject based libraries with you.
> >
> 
> True. There is already [1] that is meant to do it, I don't know if it still
> works.
> 
> I imagine it would be a significant amount of work though.
> >
> 
> I'm not sure about that. There are several such "bindings" in Python using
> different approach (pure/non-pure, ctypes, cffi, cython,...) and targeting
> different VMs (PyPy, CPython 3.x). Even if it's not easy there is a lot of
> code to learn how to do it.

Please don't answer bug related emails, about existing, perfectly working and
supported modules, as if the original email was an invitation for a talk about what
we should do or what should have been done...

Thanks,
David



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

end of thread, other threads:[~2014-04-13 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13  2:28 clutter, clutter-glx [1.12.2] generating doc, 2 errors David Pirotte
2014-04-13 12:58 ` Chris Vine
2014-04-13 16:56   ` Amirouche Boubekki
2014-04-13 18: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).