control: tags -1 + pending

Hi Uli,

Uli Schlachter <psyc...@znc.in> writes:
> After installing libxcb-cursor-dev, I tried to use it through its pkg-config
> file, but cmake/pkg-config was not happy:
>
>  $ cat CMakeLists.txt
>  cmake_minimum_required(VERSION 2.8)
>  include(FindPkgConfig)
>  pkg_check_modules(FOO REQUIRED xcb-cursor)
>  $ cmake .
>  -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
>  -- checking for module 'xcb-cursor'
>  --   found xcb-cursor, version 0.1.0
>  Package xcb-renderutil was not found in the pkg-config search path.
>  Perhaps you should add the directory containing `xcb-renderutil.pc'
>  to the PKG_CONFIG_PATH environment variable
> [snip]
>
> However, calling pkg-config directly does not complain, unless you use 
> --static:
>
>  $ pkg-config --libs --static xcb-cursor
>  Package xcb-renderutil was not found in the pkg-config search path.
>  Perhaps you should add the directory containing `xcb-renderutil.pc'
>  to the PKG_CONFIG_PATH environment variable
>  Package 'xcb-renderutil', required by 'XCB cursor library', not found
>
> So it seems to me as if libxcb-cursor-dev should depend on
> libxcb-render-util0-dev, but I am not completely convinced myself...
fixed in
http://anonscm.debian.org/gitweb/?p=collab-maint/xcb-util-cursor.git;a=commitdiff;h=7c5a3d574cc15b7092410336fbaea557642e32f8

Apparently cmake automatically populates two sets of variables: one for
dynamic builds, one for static builds. The rationale of changing the
Depends is that static builds, whether they are used in this case or
not, should be supported.

-- 
Best regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to