[Github-comments] [geany/geany] Add support for generating GIR (#1112)

Colomban Wendling notifications at xxxxx
Sun Jul 3 16:44:00 UTC 2016


Support here is *optional*, as in it does *not* require even the GIR M4 macros to be available -- but then the generated build system can't generate GIR.  This avoids a hard dependency on GIR for the cost of a configure-time conditional with basic fallback definitions.

As stated in the first commit, it's mostly ripped off Peasy, maybe there are additional change required, but it seems to mostly work.  However, I see a lot of scary warnings like these:
```
…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected ')', expecting ',' or ';' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at ')'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:43: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_start_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:64: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_end_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:84: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_marker_at_line (ScintillaObject *sci, gint line_number, gint marker);' at '*'
```

@codebrainz @kugel- 
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1112

-- Commit Summary --

  * Add support for building GIR
  * Force enabling GObject-Introspection for distcheck

-- File Changes --

    M Makefile.am (2)
    M configure.ac (12)
    M doc/Makefile.am (69)

-- Patch Links --

https://github.com/geany/geany/pull/1112.patch
https://github.com/geany/geany/pull/1112.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160703/32c7ae81/attachment.html>


More information about the Github-comments mailing list