[cairo] glitz build patch

Dave Beckett dave.beckett at bristol.ac.uk
Wed May 12 13:00:20 PDT 2004


'make distcheck' doesn't work in glitz because of the use of conditional
sources in the src/Makefile.am if (like me, for example) you don't
have both of glx and agl around.  That means the sources don't get
put in the tarball.  You need to ensure all conditional sources are
in EXTRA_DIST or in EXTRA_libglitz_la_SOURCES

I chose the former, for no particular reason and I've been using this
in my CVS copy of glitz for a while.  This is against 0.1.2/CVS HEAD.

Dave
-------------- next part --------------
? glitz-0.1.2.tar.gz
? glitz-agl.pc
? glitz-glx.pc
? glitz.pc
Index: src/Makefile.am
===================================================================
RCS file: /cvs/cairo/glitz/src/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- a/src/Makefile.am	15 Apr 2004 22:03:01 -0000	1.2
+++ b/src/Makefile.am	12 May 2004 19:59:21 -0000
@@ -1,3 +1,21 @@
+EXTRA_DIST= \
+	glitz-glx.h \
+	glitz_glx_surface.c \
+	glitz_glx_format.c \
+	glitz_glx_info.c \
+	glitz_glx_extension.c \
+	glitz_glx_context.c \
+	glitz_glx_pbuffer.c \
+	glitz_glxext.h \
+	glitz-agl.h \
+	glitz_agl_surface.c \
+	glitz_agl_format.c \
+	glitz_agl_info.c \
+	glitz_agl_extension.c \
+	glitz_agl_context.c \
+	glitz_agl_pbuffer.c \
+	glitz_aglint.h
+
 if GLITZ_BUILD_GLX_BACKEND
 libglitz_glx_library = libglitz-glx.la
 libglitz_glx_header = glitz-glx.h


More information about the cairo mailing list