RESOLVED FIXED 135934
[GTK] REGRESSION(r171598, CMake): Introspection files are installed at the wrong path
https://bugs.webkit.org/show_bug.cgi?id=135934
Summary [GTK] REGRESSION(r171598, CMake): Introspection files are installed at the wr...
Carlos Garcia Campos
Reported 2014-08-14 03:03:10 PDT
Since r171598 gir files are installed under $datadir/webkitgtk-4.0/gir-1.0/. The gir files should installed in $datadir/gir-1.0/ together with all other gir files. We don't need to install introspection files in a versioned directory because their filenames already contain the binary version. But before r171598, the files were only installed to the right directory if the gobject-instrospection pkg-config file was in the same prefix than the one we wanted to install, because the gir and typelibs directories were extracted from the pkg-config file. We should define INTROSPECTION_INSTALL_GIRDIR and INTROSPECTION_INSTALL_TYPELIBDIR in OptionsGTK.cmake based on $datadir and $libdir like we do in the autotools build (grep for girdir and typelibsdir in GNUmakefile.am)
Attachments
Patch (3.38 KB, patch)
2014-08-14 03:10 PDT, Carlos Garcia Campos
gustavo: review+
Carlos Garcia Campos
Comment 1 2014-08-14 03:09:22 PDT
Carlos Garcia Campos
Comment 2 2014-08-14 03:10:12 PDT
Gustavo Noronha (kov)
Comment 3 2014-08-14 06:06:40 PDT
Comment on attachment 236585 [details] Patch Yeah, I think that makes sense.
Carlos Garcia Campos
Comment 4 2014-08-14 06:11:01 PDT
Note You need to log in before you can comment on or make changes to this bug.