Summary: | xcb-demo Makefile.am needs updating for split library world | ||
---|---|---|---|
Product: | XCB | Reporter: | Bart Massey <x> |
Component: | Demos | Assignee: | Josh Triplett <josh> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Patch for xcb-demo/Makefile.am to include new library dependencies
diff and .pc.in files |
Description
Bart Massey
2006-04-17 18:01:08 UTC
Created attachment 5341 [details] [review] Patch for xcb-demo/Makefile.am to include new library dependencies Sorry about pasting it in the earlier comment. Bugzilla always confuses me. as you said in bug #6629, there will be a problem for each program based on XCB and that will use a splitted extension. I don't think that adding -l flags is the best way, as the name and the path of the lib can change in future release (maybe). I think it is better to get that name during the configure script. That's why I prefer providing a .pc file for each splitted lib. My patch is a workaround until Josh finishes generating proper pkgconfigs for everything. I needed to be able to build the demos in the meantime. i was fed up with that thing. So i've attached an archive below. There is the diff of the current repository (configure.ac, toplevel Makefile.am, and the vpath stuff. This one should not be here, but I was lazy and I didn't removed it :), and all the needed .pc.in I've made all the changes in the xcb-utils and xcb-demos dirs. It compiles fine and seems to work, too. Before this patch (or a part) goes into the repository, could you please look at the .pc.in files. No need to add an xcb requirement, for example ? Created attachment 5427 [details]
diff and .pc.in files
Fixed by git commit 661eb7d56a3cd2ee1277558f66500e8d76793055 (which adds pkg-config files) and git commit d94a7cdfb5f856e31009ae9769128634f6b714b0 (which uses the new pkg-config files in xcb-demo). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.