head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.6 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.4 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.2 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2010Q1:1.1.0.2 pkgsrc-2010Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2011.12.09.17.45.13; author adam; state dead; branches; next 1.5; 1.5 date 2011.09.14.16.54.31; author hans; state Exp; branches; next 1.4; 1.4 date 2011.02.10.10.12.48; author adam; state dead; branches; next 1.3; 1.3 date 2011.01.14.10.20.01; author wiz; state Exp; branches; next 1.2; 1.2 date 2010.06.14.18.48.33; author drochner; state dead; branches; next 1.1; 1.1 date 2010.02.04.12.28.44; author adam; state Exp; branches; next ; desc @@ 1.6 log @Changes 0.1.8: * New operations: spread, vignette, map-relative, noise-reduction, plasma, fractal-trace, exr-save, lens-correct, emboss, cubism, ripple, color-to-alpha, color-rotate, red-eye-removal, convolution-matrix, deinterlace, polar-coordinates, lens-distortion, pixelise. * Split GeglView GTK Widget into separate utility library * build/test improvements. * Buffer: * Added lohalo resampler, API and infrastructure for doing non affine resamplings. @ text @$NetBSD: patch-ab,v 1.5 2011/09/14 16:54:31 hans Exp $ --- gegl/gegl-xml.c.orig 2011-01-24 23:03:30.000000000 +0100 +++ gegl/gegl-xml.c 2011-09-13 17:06:43.989058716 +0200 @@@@ -18,7 +18,10 @@@@ #include "config.h" /* For clang, remove when getting rid of using PATH_MAX */ +#ifndef __sun #define _XOPEN_SOURCE 500 +#endif + #include #include @ 1.5 log @Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 0.1.4: * Operations: save (chooses delegate save op automatically) rgbe load/save jpeg200 load/save ppm load/save map-absolute (GIMP cage tool gsoc helper op) whirl and pinch mirrors grid render fixed imagemagick fallback load op fixed pipe based dcraw wrapper GSoC 2010 ops: exp-combine, reinhard05, fattal02, mantiuk06, matting-levin * Various source and build improvements. * improvements towards threaded rendering * Buffer: refactored away some constant overhead made GeglBufferIterator API public @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2011/01/14 10:20:01 wiz Exp $ d3 4 a6 16 Fix build with png-1.5. --- operations/external/png-load.c.orig 2010-02-07 14:43:55.000000000 +0000 +++ operations/external/png-load.c @@@@ -181,7 +181,7 @@@@ gegl_buffer_import_png (GeglBuffer *geg if (interlace_type == PNG_INTERLACE_ADAM7) number_of_passes = png_set_interlace_handling (load_png_ptr); - if (load_info_ptr->valid & PNG_INFO_gAMA) + if (png_get_valid(load_png_ptr, load_info_ptr, PNG_INFO_gAMA)) { gdouble gamma; png_get_gAMA (load_png_ptr, load_info_ptr, &gamma); @@@@ -298,7 +298,7 @@@@ static gint query_png (const gchar *path *width = w; *height = h; d8 5 a12 3 - if (load_info_ptr->valid & PNG_INFO_tRNS) + if (png_get_valid(load_png_ptr, load_info_ptr, PNG_INFO_tRNS)) color_type |= PNG_COLOR_MASK_ALPHA; d14 2 a15 1 if (color_type & PNG_COLOR_TYPE_RGB) @ 1.3 log @Fix build with png-1.5. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @ride on the png revbump and update to 0.1.2 changes: some fixes and optimizations (API change) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2010/02/04 12:28:44 adam Exp $ d3 16 a18 5 --- gegl/process/gegl-eval-visitor.c.orig 2010-02-03 09:32:18.000000000 +0000 +++ gegl/process/gegl-eval-visitor.c @@@@ -56,7 +56,7 @@@@ gegl_eval_visitor_init (GeglEvalVisitor { } d20 3 a22 2 -extern long babl_total_usecs; +long babl_total_usecs; d24 1 a24 2 /* this is the visitor that does the real computations for GEGL */ static void @ 1.1 log @Fix building with babl-0.1.2 @ text @d1 1 a1 1 $NetBSD$ @