After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691873 - g-ir-doc-tool does not find its templates any more
g-ir-doc-tool does not find its templates any more
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
2.35.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-16 17:05 UTC by Martin Pitt
Modified: 2015-02-07 17:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix install location of Mallard templates (2.25 KB, patch)
2013-01-16 17:07 UTC, Martin Pitt
committed Details | Review

Description Martin Pitt 2013-01-16 17:05:35 UTC
http://git.gnome.org/browse/gobject-introspection/commit/?id=8b23c6c changed the lookup path of the g-ir-doc-tool templates at runtime:

- template_dir = os.path.dirname(__file__)
+ srcdir = os.path.dirname(__file__)
+
+ template_dir = os.path.join(srcdir, 'doctemplates', self._language)

However, it did not actually change the install location for those, they still end up right next to mallardwriter.py in the Python lib dir.

Jasper says on IRC that the new install location is intended, so we need to fix the Makefiles to do that.
Comment 1 Martin Pitt 2013-01-16 17:07:45 UTC
Created attachment 233611 [details] [review]
Fix install location of Mallard templates
Comment 2 Colin Walters 2013-01-18 15:03:08 UTC
Review of attachment 233611 [details] [review]:

This looks reasonable to me.
Comment 3 Martin Pitt 2013-01-18 15:18:56 UTC
Thanks for reviewing! Pushed.
Comment 4 André Klapper 2015-02-07 17:01:36 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]