Opened 2 years ago

Last modified 2 years ago

#298 new defect

glibconfig.h has been moved

Reported by: cavedon Owned by: laurent
Priority: major Milestone:
Component: Build System Version: 2.2
Keywords: Cc:

Description

With latest version of glib, glibconfig.h has been moved from

/usr/lib/glib-2.0/include/glibconfig.h

to

/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h

See e.g.:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/751940

Attaching patch to fix the local copy of FindGLIB2.cmake

Attachments (1)

find-glibconfig.patch (839 bytes) - added by cavedon 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by cavedon

comment:1 Changed 2 years ago by laurent

Thanks !

bug fix : 57

comment:2 follow-ups: Changed 2 years ago by dneary

This really should use pkgconfig to get the paths. I converted libuuid to pkgconfig a couple of weeks ago, as an example of how to do that (before it was removed as a dependency).

comment:3 in reply to: ↑ 2 Changed 2 years ago by cavedon

Replying to dneary:

This really should use pkgconfig to get the paths.

I definitely agree.
But what I think it would be even better is to use the FindXXX.cmake scripts provided by cmake, rather than using custom ones.

two notes:

  • in this specific case, even cmake's one appears to be broken, but then cmake developers are in charge of fixing it.
  • this bugs appears to be Debian/Ubuntu? specific, because of the multi-arch support being implemented

comment:4 in reply to: ↑ 2 Changed 2 years ago by cavedon

Replying to dneary:

This really should use pkgconfig to get the paths. I converted libuuid to pkgconfig a couple of weeks ago, as an example of how to do that (before it was removed as a dependency).

Here is patch from Andreas Moog for using pkg-config:
https://bugs.launchpad.net/ubuntu/+source/qutecom/+bug/756051/comments/9

comment:5 Changed 2 years ago by dneary

  • Milestone QuteCom 2.3 deleted

Was this patch committed?

Note: See TracTickets for help on using tickets.