[cairo-commit] cairo-demo/png ChangeLog,NONE,1.1 Makefile,1.3,1.4 outline.c,1.2,1.3

Carl Worth commit at pdx.freedesktop.org
Thu Dec 11 07:09:15 PST 2003


Committed by: cworth

Update of /cvs/cairo/cairo-demo/png
In directory pdx:/tmp/cvs-serv28593/png

Modified Files:
	Makefile outline.c 
Added Files:
	ChangeLog 
Log Message:

        * Makefile (CFLAGS): Use pkg-config to find libpng.

--- NEW FILE: ChangeLog ---
2003-12-11  Carl Worth  <cworth at east.isi.edu>

	* Makefile (LDFLAGS): Use pkg-config to find libpng.

2003-12-10  Carl Worth  <cworth at east.isi.edu>

	* write_png.c (unpremultiply_data): Fix to keep libpng happy on
	big-endian machines.


Index: Makefile
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile	25 Oct 2003 00:51:26 -0000	1.3
--- Makefile	11 Dec 2003 15:09:12 -0000	1.4
***************
*** 1,6 ****
  EXAMPLES=outline spiral hering caps_joins stars splines_tolerance text
  
! CFLAGS=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo`
! LDFLAGS=`pkg-config --libs cairo` -lpng
  
  all: ${EXAMPLES}
--- 1,6 ----
  EXAMPLES=outline spiral hering caps_joins stars splines_tolerance text
  
! CFLAGS=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo libpng`
! LDFLAGS=`pkg-config --libs cairo libpng`
  
  all: ${EXAMPLES}

Index: outline.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/outline.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** outline.c	4 Sep 2003 13:54:29 -0000	1.2
--- outline.c	11 Dec 2003 15:09:12 -0000	1.3
***************
*** 83,88 ****
  
      gradient = cairo_surface_create_similar (cairo_current_target_surface (ct),
! 				      CAIRO_FORMAT_ARGB32,
! 				      3, 2);
      cairo_set_target_surface (ct, gradient);
  
--- 83,88 ----
  
      gradient = cairo_surface_create_similar (cairo_current_target_surface (ct),
! 					     CAIRO_FORMAT_ARGB32,
! 					     3, 2);
      cairo_set_target_surface (ct, gradient);
  





More information about the cairo-commit mailing list