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 625307 - Make gtk-doc-less git builds work again
Make gtk-doc-less git builds work again
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-07-26 12:34 UTC by LightningIsMyName
Modified: 2010-08-20 06:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LightningIsMyName 2010-07-26 12:34:51 UTC
Because of commit 53596f708d49d68639711669000be0f27e6adfec, the configure script will not recognize the option "--disable-gtk-doc" which was previously supported (and allowed to disable building documentation using gtk-doc).

As a result, the configure script now fails with the warnings (I'm on a computer without gtk-doc):

configure: WARNING: unrecognized options: --disable-gtk-doc
...
./configure: line 29087: syntax error near unexpected token `1.0'
./configure: line 29087: `GTK_DOC_CHECK(1.0)'

The missing gtk-doc now prevents me from compiling GIMP...
Comment 1 Martin Nordholts 2010-07-26 17:03:57 UTC
I'll make sure to solve this somehow...
Comment 2 Martin Nordholts 2010-08-17 20:03:09 UTC
It's actually tricky

What about we simply require gtk-doc for git building? It's not a hard dependency to get...
Comment 3 LightningIsMyName 2010-08-17 20:44:51 UTC
It's very very hard to get under windows... And we need windows builds, including for git versions to check the gtk stuff.

I never managed to install it correctly on windows. I can try it again, but it's not trivial.

BTW, the configure script is the one which fails, and as far as I know, you still need to run the configure script for the stable versions...
Comment 4 Martin Nordholts 2010-08-20 06:19:22 UTC
According to my testing it was actually pretty easy:

commit 4f14da539118f7a4017c271b202c6c6ea304672b
Author: Martin Nordholts <martinn@src.gnome.org>
Date:   Fri Aug 20 08:14:01 2010 +0200

    Bug 625307 - Make gtk-doc-less git builds work again
    
    configure.ac: Check for GTK_DOC_CHECK avaiability before
    invoking. Should be enough to allow gtk-doc-less builds.

please reopen if you still have problems.