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 731521 - Fail to build with gtk-doc enabled when native backend is disabled
Fail to build with gtk-doc enabled when native backend is disabled
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-11 12:47 UTC by Ting-Wei Lan
Modified: 2014-11-14 17:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Fix gtk-doc build failure when native backend is disabled (823 bytes, patch)
2014-06-11 12:47 UTC, Ting-Wei Lan
none Details | Review
patch that works with current master branch (854 bytes, patch)
2014-09-17 05:32 UTC, Ting-Wei Lan
accepted-commit_now Details | Review

Description Ting-Wei Lan 2014-06-11 12:47:47 UTC
Created attachment 278264 [details] [review]
build: Fix gtk-doc build failure when native backend is disabled

I get the following error when building mutter with native backend disabled.

doc/reference/meta-scan.c:78: undefined reference to `meta_backend_native_get_type'
doc/reference/meta-scan.c:87: undefined reference to `meta_cursor_renderer_native_get_type'
doc/reference/meta-scan.c:102: undefined reference to `meta_idle_monitor_native_get_type'
doc/reference/meta-scan.c:108: undefined reference to `meta_monitor_manager_kms_get_type'
Comment 1 Christophe Fergeau 2014-08-17 17:59:02 UTC
I hit this error too, and this patch worked for me.
Comment 2 Ting-Wei Lan 2014-09-17 05:32:48 UTC
Created attachment 286340 [details] [review]
patch that works with current master branch

The content is the same as the old patch.
Comment 3 Florian Müllner 2014-11-14 17:33:57 UTC
Review of attachment 286340 [details] [review]:

OK
Comment 4 Ting-Wei Lan 2014-11-14 17:41:37 UTC
Pushed to master - https://git.gnome.org/browse/mutter/commit/?id=638087f