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 349099 - api docs not installed
api docs not installed
Status: VERIFIED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-28 15:41 UTC by Matthias Clasen
Modified: 2007-11-16 11:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a patch that seems to work for me (603 bytes, patch)
2006-07-28 15:42 UTC, Matthias Clasen
reviewed Details | Review
patch for gstreamer (823 bytes, patch)
2007-05-13 01:59 UTC, David Schleef
committed Details | Review

Description Matthias Clasen 2006-07-28 15:41:32 UTC
If I configure with --disable-gtk-doc, make install does not install
the docs, even though they are contained in the tarball.
Comment 1 Matthias Clasen 2006-07-28 15:42:46 UTC
Created attachment 69834 [details] [review]
a patch that seems to work for me
Comment 2 Tim-Philipp Müller 2006-07-28 16:01:58 UTC
Did you really mean to patch Makefile.in (and not Makefile.am)?
Comment 3 Matthias Clasen 2006-07-28 18:55:10 UTC
Oh, the patch does that only because our spec doesn't run autotools.
Of course, you want to change Makefile.am.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2007-03-01 08:32:58 UTC
We don't dist generated docs. That what we have in Makefile.am and I belive its correct:

if ENABLE_GTK_DOC
GTK_DOC_DIRS = libs
else
GTK_DOC_DIRS =
endif

if ENABLE_PLUGIN_DOCS
PLUGIN_DOCS_DIRS = plugins
else
PLUGIN_DOCS_DIRS =
endif

SUBDIRS = design $(GTK_DOC_DIRS) $(PLUGIN_DOCS_DIRS)
DIST_SUBDIRS = design libs plugins
Comment 5 Bastien Nocera 2007-03-08 16:43:21 UTC
Yeah you do:

$ tar tvjf gst-plugins-base-0.10.12.tar.bz2 | grep html
drwxrwxrwx 1000/1000         0 2007-03-07 16:38:09 gst-plugins-base-0.10.12/docs/libs/html/
-rw-r--r-- 1000/1000     93634 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/index.sgml
-rw-r--r-- 1000/1000     70600 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/api-index.html
-rw-r--r-- 1000/1000      4143 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/compiling.html
-rw-r--r-- 1000/1000      9884 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/gst-plugins-base-libs-gstaudioclock.html
-rw-r--r-- 1000/1000      8932 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/gst-plugins-base-libs-gstaudiofilter.html
-rw-r--r-- 1000/1000     16900 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/gst-plugins-base-libs-gstaudio.html
-rw-r--r-- 1000/1000      8312 2007-03-07 16:38:08 gst-plugins-base-0.10.12/docs/libs/html/gst-plugins-base-libs-gstaudiomixerutils.html
<snip>
Comment 6 David Schleef 2007-05-13 01:59:33 UTC
Created attachment 88105 [details] [review]
patch for gstreamer

Here's a patch for gstreamer (not -base), which is essentially the same as the other patch.  This is what gtk+ does, seems like a good idea.  Needs someone to test a full distcheck + install of tarball.
Comment 7 David Schleef 2007-05-13 20:23:09 UTC
I did a full distcheck and install with --disable-gtk-doc, and it works.  Applying (to gstreamer).  -base soon.
Comment 8 David Schleef 2007-05-15 20:19:55 UTC
-base fixed now.  Closing.
Comment 9 Tim-Philipp Müller 2007-05-30 10:21:43 UTC
I think this might have re-introduced bug #344039, ie:

... docs build ..
/usr/bin/python \
        ../../common/mangle-tmpl.py ./inspect tmpl
Traceback (most recent call last):
  • File "../../common/mangle-tmpl.py", line 86 in ?
    from xml.dom.ext.reader import Sax2
ImportError: No module named ext.reader
make[4]: *** [tmpl-build.stamp] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Comment 10 Stefan Sauer (gstreamer, gtkdoc dev) 2007-05-31 08:41:17 UTC
@tim: i belive thomas' python-based plugin-docs gtk-doc extension (the one that creates the executable that does introspection) needs a configure check for this python-xml module. the plugin docs should be disabled if not available.
Comment 11 Jan Schmidt 2007-11-15 21:44:39 UTC
Should this bug (or another) be open still?
Comment 12 Stefan Sauer (gstreamer, gtkdoc dev) 2007-11-16 10:53:29 UTC
Right, as the patch is commited and Bug #344039 is fixed it can be closed.