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 678795 - Build requires xkbfile headers
Build requires xkbfile headers
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
3.5.x
Other Linux
: Normal major
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-25 15:49 UTC by Iain Lane
Modified: 2012-06-27 14:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-control-center 3.5.2 (+ Ubuntu patches) build log (40.52 KB, application/x-gzip)
2012-06-25 22:25 UTC, Iain Lane
  Details
gnome-desktop-3.0.pc: Add Requires.private: xkbfile (948 bytes, patch)
2012-06-26 21:08 UTC, Rui Matos
committed Details | Review

Description Iain Lane 2012-06-25 15:49:26 UTC
Hi,

libgnome-desktop requires some headers from XKBfile for libraries to compile against it. This relation should probably be expressed in the .pc file.

Cheers!
Comment 1 André Klapper 2012-06-25 16:56:06 UTC
Build output welcome.
Comment 2 Iain Lane 2012-06-25 22:25:09 UTC
Created attachment 217250 [details]
gnome-control-center 3.5.2 (+ Ubuntu patches) build log

OK. Here's a log of compiling gnome-control-center against libgnome-desktop 3.5.2 (both with Ubuntu patches, of course, but they aren't relevant here):

  Get:367 http://localhost/ubuntu/ quantal/main libgnome-desktop-3-dev amd64 3.5.2-0ubuntu2 [37.6 kB]

the failure is at the end

  In file included from gnome-region-panel-input.c:30:0:
  /usr/include/gnome-desktop-3.0/libgnome-desktop/gnome-xkb-info.h:34:37: fatal error: X11/extensions/XKBrules.h: No such file or directory
  compilation terminated.

This should have been caught at configure time.
Comment 3 Rui Matos 2012-06-26 21:08:45 UTC
Created attachment 217327 [details] [review]
gnome-desktop-3.0.pc: Add Requires.private: xkbfile

Because we include a header from xkbfile in gnome-xkb-info.h .

--

This should fix it. Be sure to have a recent pkg-config thoud, see
https://bugs.freedesktop.org/show_bug.cgi?id=36039.
Comment 4 Colin Walters 2012-06-27 14:18:20 UTC
Review of attachment 217327 [details] [review]:

Yep.
Comment 5 Rui Matos 2012-06-27 14:23:20 UTC
Attachment 217327 [details] pushed as 1ed906c - gnome-desktop-3.0.pc: Add Requires.private: xkbfile