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 679409 - docs: link against libgdk-3.la
docs: link against libgdk-3.la
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-07-04 16:47 UTC by Víctor Manuel Jáquez Leal
Modified: 2012-07-11 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
link against libgdk for gtk-doc (687 bytes, patch)
2012-07-04 16:48 UTC, Víctor Manuel Jáquez Leal
accepted-commit_now Details | Review
docs: link against libgdk-3.la (737 bytes, patch)
2012-07-11 10:53 UTC, Matthias Clasen
committed Details | Review
visuals: add a visual demo for GtkLevelBar (7.19 KB, patch)
2012-07-11 10:53 UTC, Matthias Clasen
committed Details | Review
level-bar: introduce GtkLevelBar (47.60 KB, patch)
2012-07-11 10:54 UTC, Matthias Clasen
committed Details | Review

Description Víctor Manuel Jáquez Leal 2012-07-04 16:47:07 UTC
When compiling the current head I got this error:

make[4]: Entering directory `/home/vjaquez/checkout/gnome2/gtk+/docs/reference/gtk'
  DOC   Scanning header files
  DOC   Introspecting gobjects
../../../gtk/.libs/libgtk-3.so: undefined reference to `gdk_x11_keymap_get_group_for_state'
../../../gtk/.libs/libgtk-3.so: undefined reference to `gdk_x11_keymap_key_is_modifier'
collect2: error: ld returned 1 exit status
Linking of scanner failed:
make[4]: *** [scan-build.stamp] Error 1
make[4]: Leaving directory `/home/vjaquez/checkout/gnome2/gtk+/docs/reference/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vjaquez/checkout/gnome2/gtk+/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vjaquez/checkout/gnome2/gtk+/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vjaquez/checkout/gnome2/gtk+'
make: *** [all] Error 2

It seems that libgtk-3.so uses symbols that are defined in libgdk-3.so
Comment 1 Víctor Manuel Jáquez Leal 2012-07-04 16:48:29 UTC
Created attachment 218028 [details] [review]
link against libgdk for gtk-doc
Comment 2 Matthias Clasen 2012-07-05 22:22:44 UTC
Review of attachment 218028 [details] [review]:

Makes sense
Comment 3 Matthias Clasen 2012-07-11 10:53:53 UTC
The following fixes have been pushed:
79be9a3 docs: link against libgdk-3.la
ffdd7a5 visuals: add a visual demo for GtkLevelBar
126a230 level-bar: introduce GtkLevelBar
Comment 4 Matthias Clasen 2012-07-11 10:53:56 UTC
Created attachment 218531 [details] [review]
docs: link against libgdk-3.la
Comment 5 Matthias Clasen 2012-07-11 10:53:59 UTC
Created attachment 218532 [details] [review]
visuals: add a visual demo for GtkLevelBar

https://bugzilla.gnome.org/show_bug.cgi?id=677892
Comment 6 Matthias Clasen 2012-07-11 10:54:02 UTC
Created attachment 218533 [details] [review]
level-bar: introduce GtkLevelBar

Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.

https://bugzilla.gnome.org/show_bug.cgi?id=677892