I would like to try the cutting edge version of cairo in git tree. Howerver, I don't like to install it to my system. I use the system for my daily work, so I would like to keep it clean. If cairo-uninstalled.pc is avaiable with cairo itself, I can try cairo in git tree without installing it. Masatake YAMATO diff --git a/Makefile.am b/Makefile.am index 6ff72e7..e9b2a87 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,8 @@ EXTRA_DIST = \ COPYING \ COPYING-LGPL-2.1 \ COPYING-MPL-1.1 \ - cairo.pc.in + cairo.pc.in \ + cairo-uninstalled.pc.in MAINTAINERCLEANFILES = \ $(srcdir)/INSTALL \ $(srcdir)/aclocal.m4 \ diff --git a/cairo-uninstalled.pc b/cairo-uninstalled.pc new file mode 100644 index 0000000..865b5a3 --- /dev/null +++ b/cairo-uninstalled.pc @@ -0,0 +1,9 @@ +Name: cairo +Description: Multi-platform 2D graphics library, Not Installed +Version: 1.1.7 + +Requires.private: freetype2 >= 8.0.2 fontconfig xrender libpng12 +Libs: ${pc_top_builddir}/${pcfiledir}/src/libcairo.la +Cflags: -I${pc_top_builddir}/${pcfiledir}/./src -I${pc_top_builddir}/${pcfiledir}/. -I${pc_top_builddir}/${pcfiledir} + + diff --git a/configure.in b/configure.in index 1335e4c..63c491a 100644 --- a/configure.in +++ b/configure.in @@ -723,6 +723,7 @@ dnl ==================================== AC_OUTPUT([ cairo.pc +cairo-uninstalled.pc Makefile pixman/Makefile pixman/src/Makefile
Created attachment 5713 [details] [review] Uinstalled.pc.in for cairo
An static cairo-uninstalled.pc hardcoding dependencies is not good. It should be generated from a .pc.in file.
Created attachment 8491 [details] [review] Here at Sun we also need this uninstalled.pc file. I think our patch is a bit cleaner, though.
(In reply to comment #3) > Created an attachment (id=8491) [details] > Here at Sun we also need this uninstalled.pc file. I think our patch is a bit > cleaner, though. > Much better than mine. Isn't Requires.private needed?
Behdad has just add cairo*-uninstalled.pc to the build system with commit bdb6f609d8a40e03fa9ceef65bc522d025732e7b Author: Behdad Esfahbod <behdad@behdad.org> Date: Mon Sep 15 18:03:50 2008 -0400 [configure.ac] Build -uninstalled.pc files
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.