Make g-ir-compiler find files installed by make install
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 1 Jun 2009 07:18:43 +0000 (09:18 +0200)
committerColin Walters <walters@verbum.org>
Thu, 11 Jun 2009 17:53:01 +0000 (13:53 -0400)
commitdb214ed923cfe9fc75432d5338e8a3b0d9c83d25
treebc4afafbeacf2d7584bcf7bd326ad88d58991cfd
parent31317a9ffa31af959dd51eedfa2f31f586687475
Make g-ir-compiler find files installed by make install

When ./configure --prefix $HOME/some/where is used gobject-introspection
will happily install the files into $HOME/some/where/data/gir-1.0 but
it will refuse to find them. Apply the same trick as in
girepository/girepository.c:init_globals to find the gir files.

Unifiy the name gir-1.0 in GIR_SUFFIX and use it throughout the
project, introduce GIR_DIR which holds the path to the gir files and
update girparser and transformer.py to look into this path.
configure.ac
gir/Makefile.am
girepository/girparser.c
giscanner/config.py.in
giscanner/transformer.py