Re: GEGL testbed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Øyvind Kolås wrote:
GEGL has started working locally lately, and the time has come that
others can join use or more easily help develop GEGL. I have put a
tarball containing my GEGL development sandbox with md5 based checksums
on PNGSs to detect regressions in tests.

The sandbox contains test cases, small example programs and a set of
base ops (png/jpg load, png save, porter duff compositing, math ops,
scaling, a box blur and some more.

To use the sandbox you will need recent(?) glib, libpng, libjpg and SDL (for a test case that displays an animation), as well as CVS
checkouts of the gegl and babl modules from GNOME CVS.

Got all of those, (including the gegl-demo.tar I downloaded this morning) and I was able to compile them, as well as run the "make bin" in gegl-demo. I think compilation went fine (didn't notice any errors come by).

The problems start when I run "make png". This stops with an error because the "@rm" command has too few arguments (no *.png there at all). Do you need a "-" in front of this command to have "make" continue on errors?

If I understand this command correctly, you are trying to delete all the zero-size PNG files that are not *_ref.png? On my system (SuSe 9.0 Linux), this would have to be "-f 5" to the "cut" command; with the "-f 4" it results in a list of all values "0". I don't know if this is system-specific behavior of the "cut" command?

Anyway, I can comment out this whole command. With that, I do get results. This is the output I get:

#@rm `ls *.png -s1 | grep " *0 .*" | cut -f 5 -d ' ' | grep -v "_ref.png"`
make[1]: Entering directory `/data/src/gegl/gegl-demo'
./add-test > add-test.png
make[1]: [add-test.png] Error 139 (ignored)
./anim > anim.png

** (process:22391): WARNING **: gegl_node_set_valist:OpNop has no property named: 'x'
make[1]: [anim.png] Error 139 (ignored)
./brightness-and-contrast-with-math-ops > brightness-and-contrast-with-math-ops.png
make[1]: [brightness-and-contrast-with-math-ops.png] Error 139 (ignored)
./brightness-and-contrast > brightness-and-contrast.png
make[1]: [brightness-and-contrast.png] Error 139 (ignored)
./buffer-test-0 > buffer-test-0.png
make[1]: [buffer-test-0.png] Error 139 (ignored)
./buffer-test-1 > buffer-test-1.png
make[1]: [buffer-test-1.png] Error 139 (ignored)
./introspect > introspect.png

** (process:22402): WARNING **: gegl_node_set_valist:OpNop has no property named: 'x'
./multi-gegl > multi-gegl.png
make[1]: [multi-gegl.png] Error 139 (ignored)
./scaling > scaling.png
make[1]: [scaling.png] Error 139 (ignored)
make[1]: Leaving directory `/data/src/gegl/gegl-demo'


It seems the "Error 139" actually is a Segmentation fault. However, in spite of that, the only two for which I get a zero-byte output file are anim.png and multi-gegl.png. The others:
 503808   add-test.png
 389120   brightness-and-contrast-with-math-ops.png
 278528   brightness-and-contrast.png
   4096   buffer-test-0.png
   4096   buffer-test-1.png
   4744   introspect.png
 172032   scaling.png
seem to come out correctly.

Is this a positive outcome? I hope it provides you with some useful feedback.

Eric



http://pippin.gimp.org/gegl/gegl-demo.tgz

/Øyvind K.


_______________________________________________

Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux