Merge lp://qastaging/~kklimonda/couchdb-glib/gir-fixes into lp://qastaging/couchdb-glib
| Status: | Merged |
|---|---|
| Approved by: | Rodrigo Moya |
| Approved revision: | 246 |
| Merge reported by: | Rodrigo Moya |
| Merged at revision: | not available |
| Proposed branch: | lp://qastaging/~kklimonda/couchdb-glib/gir-fixes |
| Merge into: | lp://qastaging/couchdb-glib |
| Diff against target: |
161 lines (+5/-104) 5 files modified
Makefile.am (+1/-1) configure.ac (+0/-7) couchdb-glib/Makefile.am (+2/-2) desktopcouch-glib/Makefile.am (+2/-2) m4/introspection.m4 (+0/-92) |
| To merge this branch: | bzr merge lp://qastaging/~kklimonda/couchdb-glib/gir-fixes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Rodrigo Moya (community) | Approve | ||
|
Review via email:
|
|||
Description of the change
Changed couchdb-
$(libdir)
and INTROSPECTION_
wrong way of finding installation directory and it breaks local installations
(even if prefix is set to something else then /usr .gir and .typelib
is being installed in /usr - that doesn't work if user has no persmissions
to write there.
Also removed conditional check from configure.ac which prevented users from
building couchdb-glib with --enable-
is a problem somewhere (haven't seen it myself) but if so the problem should
be located and not the workaround created.
Wouldn't it be better to use $(PKG_CONFIG) --variable=... to get those directories?
$ pkg-config --variable=girdir gobject- introspection- 1.0 share/gir- 1.0 typelibdir gobject- introspection- 1.0 lib64/gireposit ory-1.0
/opt/extra/
$ pkg-config --variable=
/opt/extra/
Also, we don't have the m4 directory in the source tree, so no need to remove that.