[cairo-commit] cairo-demo/cairo_snippets AUTHORS, NONE, 1.1 ChangeLog, 1.23, 1.24 Makefile, 1.14, NONE Makefile.am, NONE, 1.1 NEWS, NONE, 1.1 arc.cairo, 1.3, NONE arc_negative.cairo, 1.2, NONE cairo_snippets_pdf.c, 1.4, 1.5 clip.cairo, 1.2, NONE clip_image.cairo, 1.2, NONE configure.ac, NONE, 1.1 curve_rectangle.cairo, 1.2, NONE curve_to.cairo, 1.2, NONE fill_and_stroke.cairo, 1.2, NONE fill_and_stroke2.cairo, 1.2, NONE footer.html_template, 1.2, NONE gradient.cairo, 1.3, NONE header.html_template, 1.3, NONE image.cairo, 1.2, NONE imagepattern.cairo, 1.2, NONE index.html_template, 1.2, NONE libsvg.cairo, 1.2, NONE operator_add.cairo, 1.4, NONE operator_atop.cairo, 1.4, NONE operator_atop_reverse.cairo, 1.4, NONE operator_in.cairo, 1.4, NONE operator_in_reverse.cairo, 1.4, NONE operator_out.cairo, 1.4, NONE operator_out_reverse.cairo, 1.4, NONE operator_over.cairo, 1.4, NONE operator_over_reverse.cairo, 1.4, NONE operator_saturate.cairo, 1.4, NONE operator_xor.cairo, 1.4, NONE path.cairo, 1.2, NONE set_line_cap.cairo, 1.2, NONE set_line_join.cairo, 1.2, NONE snippets.h, 1.4, 1.5 text.cairo, 1.3, NONE text_align_center.cairo, 1.2, NONE text_extents.cairo, 1.2, NONE xxx_clip_rectangle.cairo, 1.2, NONE xxx_dash.cairo, 1.3, NONE xxx_long_lines.cairo, 1.2, NONE xxx_multi_segment_caps.cairo, 1.2, NONE xxx_self_intersect.cairo, 1.3, NONE

Kristian Hogsberg commit at pdx.freedesktop.org
Tue Feb 1 14:58:11 PST 2005


Committed by: krh

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory gabe:/tmp/cvs-serv9689

Modified Files:
	ChangeLog cairo_snippets_pdf.c snippets.h 
Added Files:
	AUTHORS Makefile.am NEWS configure.ac 
Removed Files:
	Makefile arc.cairo arc_negative.cairo clip.cairo 
	clip_image.cairo curve_rectangle.cairo curve_to.cairo 
	fill_and_stroke.cairo fill_and_stroke2.cairo 
	footer.html_template gradient.cairo header.html_template 
	image.cairo imagepattern.cairo index.html_template 
	libsvg.cairo operator_add.cairo operator_atop.cairo 
	operator_atop_reverse.cairo operator_in.cairo 
	operator_in_reverse.cairo operator_out.cairo 
	operator_out_reverse.cairo operator_over.cairo 
	operator_over_reverse.cairo operator_saturate.cairo 
	operator_xor.cairo path.cairo set_line_cap.cairo 
	set_line_join.cairo text.cairo text_align_center.cairo 
	text_extents.cairo xxx_clip_rectangle.cairo xxx_dash.cairo 
	xxx_long_lines.cairo xxx_multi_segment_caps.cairo 
	xxx_self_intersect.cairo 
Log Message:
2005-02-01  Kristian Høgsberg  <krh at redhat.com>

        * autotool this thing, move *.cairo into snippets/ and webpage
        related files into html/.



--- NEW FILE: AUTHORS ---
(This appears to be a binary file; contents omitted.)

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ChangeLog	1 Feb 2005 00:36:10 -0000	1.23
+++ ChangeLog	1 Feb 2005 22:58:09 -0000	1.24
@@ -1,3 +1,8 @@
+2005-02-01  Kristian Høgsberg  <krh at redhat.com>
+
+	* autotool this thing, move *.cairo into snippets/ and webpage
+	related files into html/.
+
 2005-01-31 Owen Taylor <otaylor at redhat.com>
 
 	* cairo_snippets_win32.c: Add a Windows version of the 

--- Makefile DELETED ---

--- NEW FILE: Makefile.am ---
optional_programs =

if BUILD_GTKCAIRO
optional_programs += cairo_snippets_gtk
endif

INCLUDES = @SNIPPETS_CFLAGS@


bin_PROGRAMS =					\
	cairo_snippets_png			\
	cairo_snippets_ps			\
	cairo_snippets_html			\
	cairo_snippets_pdf			\
	$(optional_programs)

noinst_PROGRAMS =				\
	prepare_snippets

common_sources = png_io.c snippets.c

cairo_snippets_gtk_SOURCES = $(common_sources) cairo_snippets_gtk.c
cairo_snippets_gtk_LDADD=@SNIPPETS_LIBS@ @GTKCAIRO_LIBS@

cairo_snippets_png_SOURCES = $(common_sources) cairo_snippets_png.c
cairo_snippets_png_LDADD=@SNIPPETS_LIBS@

cairo_snippets_ps_SOURCES = $(common_sources) cairo_snippets_ps.c
cairo_snippets_ps_LDADD=@SNIPPETS_LIBS@

cairo_snippets_html_SOURCES = $(common_sources) cairo_snippets_html.c
cairo_snippets_html_LDADD=@SNIPPETS_LIBS@

cairo_snippets_pdf_SOURCES = $(common_sources) cairo_snippets_pdf.c
cairo_snippets_pdf_LDADD=@SNIPPETS_LIBS@

prepare_snippets_SOURCES = prepare_snippets.c

AM_CFLAGS = -g -Wall

snippets.c : prepare_snippets snippets/*.cairo
	./prepare_snippets snippets/*.cairo

BUILT_SOURCES = snippets.c
CLEANFILES = *.html snippets.ps snippets.pdf *.png *.eps snippets.c

## webpage at http://cairographics.org/samples/

html : pngs snippets.html

snippets.html : cairo_snippets_html
	./cairo_snippets_html

scp : html
	scp *.png *.html *.css freedesktop.org:/srv/cairo.freedesktop.org/www/samples/

pngs : cairo_snippets_png
	./cairo_snippets_png

## for compiling eps' includeable from LaTeX

epss : pngs
	for a in *.png; do \
	   pngtopnm $$a | pnmtops -noturn -equalpixels > `echo $$a | sed s/png/eps/`;\
	done

--- NEW FILE: NEWS ---
Red Sox won the world series in 2004.

--- arc.cairo DELETED ---

--- arc_negative.cairo DELETED ---

Index: cairo_snippets_pdf.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets_pdf.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cairo_snippets_pdf.c	11 Jan 2005 22:38:03 -0000	1.4
+++ cairo_snippets_pdf.c	1 Feb 2005 22:58:09 -0000	1.5
@@ -3,6 +3,7 @@
  */
 
 #include "snippets.h"
+#include <cairo-pdf.h>
 
 #define X_INCHES 2
 #define Y_INCHES 2

--- clip.cairo DELETED ---

--- clip_image.cairo DELETED ---

--- NEW FILE: configure.ac ---
AC_INIT(snippets.h)

AM_INIT_AUTOMAKE(cairo_snippets, 0.1)
AM_MAINTAINER_MODE
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CPP
AC_STDC_HEADERS

PKG_CHECK_MODULES(SNIPPETS, libpng libsvg-cairo >= 0.1.2 cairo >= 0.3.0)
PKG_CHECK_MODULES(GTKCAIRO, gtkcairo, enable_gtkcairo=yes, enable_gtkcairo=no)

AM_CONDITIONAL(BUILD_GTKCAIRO, test x$enable_gtkcairo = xyes)

AC_OUTPUT(Makefile)

--- curve_rectangle.cairo DELETED ---

--- curve_to.cairo DELETED ---

--- fill_and_stroke.cairo DELETED ---

--- fill_and_stroke2.cairo DELETED ---

--- footer.html_template DELETED ---

--- gradient.cairo DELETED ---

--- header.html_template DELETED ---

--- image.cairo DELETED ---

--- imagepattern.cairo DELETED ---

--- index.html_template DELETED ---

--- libsvg.cairo DELETED ---

--- operator_add.cairo DELETED ---

--- operator_atop.cairo DELETED ---

--- operator_atop_reverse.cairo DELETED ---

--- operator_in.cairo DELETED ---

--- operator_in_reverse.cairo DELETED ---

--- operator_out.cairo DELETED ---

--- operator_out_reverse.cairo DELETED ---

--- operator_over.cairo DELETED ---

--- operator_over_reverse.cairo DELETED ---

--- operator_saturate.cairo DELETED ---

--- operator_xor.cairo DELETED ---

--- path.cairo DELETED ---

--- set_line_cap.cairo DELETED ---

--- set_line_join.cairo DELETED ---

Index: snippets.h
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/snippets.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- snippets.h	11 Jan 2005 22:38:03 -0000	1.4
+++ snippets.h	1 Feb 2005 22:58:09 -0000	1.5
@@ -4,6 +4,8 @@
 #ifndef SNIPPETS_H
 #define SNIPPETS_H
 
+#include <stdlib.h>
+#include <string.h>
 #include <cairo.h>
 
 /* header files available for snippet usage */

--- text.cairo DELETED ---

--- text_align_center.cairo DELETED ---

--- text_extents.cairo DELETED ---

--- xxx_clip_rectangle.cairo DELETED ---

--- xxx_dash.cairo DELETED ---

--- xxx_long_lines.cairo DELETED ---

--- xxx_multi_segment_caps.cairo DELETED ---

--- xxx_self_intersect.cairo DELETED ---




More information about the cairo-commit mailing list