Keynav's dependencies

5 views
Skip to first unread message

Russell Harmon

unread,
Nov 26, 2009, 11:17:07 AM11/26/09
to keynav...@googlegroups.com
I'd like to call keynav's dependency on xcb-shape into quesiton. In
your makefile, you have xcb-shape listed as one of your arguments to
pkg-config... keynav builds and runs fine without it.

-Russell Harmon
RTP Computer Science House

Russell Harmon

unread,
Nov 26, 2009, 11:52:12 AM11/26/09
to keynav...@googlegroups.com
In support of this, if you compile keynav using --as-needed (you need
the makefile patches from my email subject "Keynav improvements for
Gentoo"), the dynamic linking dependencies of keynav becomes:

linux-vdso.so.1 => (0x00007fffd71ee000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f33b076c000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f33b0431000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f33b022a000)
libc.so.6 => /lib/libc.so.6 (0x00007f33afecf000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f33afcbc000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f33afa9f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f33af89c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f33af696000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f33af492000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f33af282000)
/lib64/ld-linux-x86-64.so.2 (0x00007f33b096f000)

Which does not include xcb-shape.
--

Jordan Sissel

unread,
Nov 27, 2009, 12:50:01 AM11/27/09
to keynav...@googlegroups.com
The xcb-shape was for debian/ubuntu (they ship with libxcb) and for
some new Google-branded ld they are using in their build system
(called 'gold') that barfs if you don't explicitly state all the
libraries you need. The existing makefile seems to work well enough on
other systems I tested without much problems XCB is componentized X11
libraries. Sounds like Gentoo uses a monolithic (which is fine)
libX11.. If you don't have xcb-shape and have pkg-config, pkg-config
will just ignore it or possibly emit a warning/error, but compiling
still works, or should. I haven't had a chance to test on other
platforms. I can work on a patch (or I welcome yours)

Problem is that I cannot satisfy "xcb-shape" and "not xcb-shape"
without checking which platform is being used. It's easly solvable,
you'll just have to give me the oneliner that'll say "this is gentoo"

-Jordan

Russell Harmon

unread,
Nov 27, 2009, 1:28:06 AM11/27/09
to keynav...@googlegroups.com
> --
>
> You received this message because you are subscribed to the Google Groups "keynav-users" group.
> To post to this group, send email to keynav...@googlegroups.com.
> To unsubscribe from this group, send email to keynav-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/keynav-users?hl=en.
>
>
>
Actually, gentoo doesn't use a monolithic libxcb. It has a split one
which includes /usr/lib/libxcb-shape.so. Also, it supports
configurations that don't use xcb at all (xcb is much more than just a
componetized libX11). Lastly, I am using the gold ld.
Reply all
Reply to author
Forward
0 new messages