Skip to content

small changes to support gapi2-codegen #28

@HinTak

Description

@HinTak

I experimented with gapi2-codegen to support gtk2, and found just a small issue. gapi2-codegen does not support the --gapidir= switch, and treat that as an extra input file name, it seems:

sources/Makefile.am-51-     --glue-filename=$(GLUEDIR)/generated.c --gluelib-name=libwebkitsharpglue-2.4.11.so \
sources/Makefile.am:52:     --glue-includes=webkit/webkit.h, --gapidir=$(gapidir) \
sources/Makefile.am-53-     --assembly-name=$(ASSEMBLY_NAME) && \

and fails with a mysterious "cwd/--gapidir=where not found" IO Exception. Any chance of making this small edit configurable?

So one needs to delete that part of the command line. Then for most part, code generation with gapi2-codegen works.

Also, the "," before that looks strange - is that intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions