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.
diff --git a/Makefile.am b/Makefile.am
index 6ff72e7..e9b2a87 100644
@@ -10,7 +10,8 @@ EXTRA_DIST = \
+ cairo.pc.in \
MAINTAINERCLEANFILES = \
diff --git a/cairo-uninstalled.pc b/cairo-uninstalled.pc
new file mode 100644
@@ -0,0 +1,9 @@
+Description: Multi-platform 2D graphics library, Not Installed
+Requires.private: freetype2 >= 8.0.2 fontconfig xrender libpng12
diff --git a/configure.in b/configure.in
index 1335e4c..63c491a 100644
@@ -723,6 +723,7 @@ dnl ====================================
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
Author: Behdad Esfahbod <email@example.com>
Date: Mon Sep 15 18:03:50 2008 -0400
[configure.ac] Build -uninstalled.pc files