pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gegl Update to 0.4.14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/245d6b93e7aa
branches:  trunk
changeset: 394364:245d6b93e7aa
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Apr 09 13:09:03 2019 +0000

description:
Update to 0.4.14

Changelog:
GEGL-0.4.14 2019-03-xx

Core

New Scratch allocator for short lived buffers.

Removed unneeded buffer copies in some processing code paths in
GeglNode and GeglProcessor.

Add gegl_babl_variant API for getting variations on an existin
pixel-format/encoding.

Expose gegl_node_is_graph()

GeglBuffer

Compression of tile data.

Handle dynamically changing swap dir.

Improvements to mipmap damage propagation.

Fixes to threading race conditions.

Low-level tile handling more adapted to buffers creating from existing
linear data.

New iterator API is now the default, GEGL_BUFFER_ITERATOR2_API is no
longer needed.

CMYK/grayscale handling for scaled blits, code paths in samplers,
serialization.

New default tile-cache size, 50% of RAM.

Initialize the first OpenCL device with IMAGE support.

Added gegl_parallell_ from gimp_parallell_ API to distribute processing
for multiple cores.

Operations

crop, added aux-pad - if connected the incoming bounding box determines
the crop size.

Input-format specific processing for performance in watershed-transform
and invert ops. CMYK handling in jpg-load/save, tiff-load/save,
gaussian-blur, opacity, most composing and blending operations, text,
vector-stroke, path, and transform operations.

Improved or fixed mipmap preview rendering of emboss, linear-gradient
and radial-gradient.

Better ui strings/range/defaults for: distort/waves and dropshadow,
value-propagate.

gaussian-blur: fix mistake in implementation of IIR Young blur 1d,
which caused non circular halos.

New operation: pdf-load with build dependency on poppler-glib

Added offset properties to pixelize filter.

new ops in workshop: voroni diagram, Grey Color Removal, spyrograph.

Handle mipmap rendering for linear-gradient and radial-gradient.

UI

The existing microraptor-gui (immediate mode touch UI+CSS with cairo)
image viewer that can be built as part of the gegl binary has been
revisted, a graph/property editor has been added, and migration/
extension to lua has begun for parts of the code.

        many parts of the UI is of exploratory proof of concept/alpha
Warning quality but released since it is part of the GEGL repository
        and useful development tools both for creating and testing new
        GEGL operations as well as GEGL itself.

Some screenshots showing some the process towards the state and
capabilties of the UI in this release can be seen at https://
www.patreon.com/posts/24123574

To build with this UI the following dependencies also need to be
satisifed, for now this is not intended to be packaged by distributions
yet.

libluajit-dev
lua-lgi        (debian package name) upstream:
mmm            https://github.com/hodefoting/mmm
mrg            https://github.com/hodefoting/mrg

Features: folder view resolution independent UI touch oriented
navigation GIF / video playback PDF pagination goats that expose
performance and capabilty issues in GEGL efficient (though not
sandboxed) thumbnailing embedded simple commandline graph editor
zoomable automatic, consistent graph layout autogenerated
property-inspector ui visualization of color model/bitdepth through
styling of edges live-extendable with lua code for per-operation canvas
UI

Contributors to this release:

Alan Mortensen, Alexandre Prokoudine, Anders Jonsson, Andre Klapper,
Debarshi Ray, elad, Ell, Jehan, Marco Ciampa, Michael Natterer, ?yvind
Kol?s, Piotr Dr?g, Richard B. Kreckel, Rodrigo Lled?, sabri ?nal,
thetoastcaper, Thomas Manni and woob.

This release depends on the new features of babl-0.1.62 which has the
following change summary for the last release:

Continuous integration with gitlab. Initial CMYK spaces with lcms2
based ICC support, much room for optimization. Improved custom space
support for palette formats. scRGB space, works like sRGB but always
with linear TRCs. Model introspection API permitting low overhead
checks whether a format/model is RGB, CMYK type of alpha and similar.

diffstat:

 graphics/gegl/Makefile                         |   5 +++--
 graphics/gegl/PLIST                            |  11 ++++++++---
 graphics/gegl/distinfo                         |  12 ++++++------
 graphics/gegl/patches/patch-aa                 |  12 ------------
 graphics/gegl/patches/patch-gegl_gegl-config.c |  16 ++++++++++++++++
 5 files changed, 33 insertions(+), 23 deletions(-)

diffs (136 lines):

diff -r 593028f9c08b -r 245d6b93e7aa graphics/gegl/Makefile
--- a/graphics/gegl/Makefile    Tue Apr 09 13:08:21 2019 +0000
+++ b/graphics/gegl/Makefile    Tue Apr 09 13:09:03 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2018/11/22 13:00:03 ryoon Exp $
+# $NetBSD: Makefile,v 1.71 2019/04/09 13:09:03 ryoon Exp $
 
-DISTNAME=      gegl-0.4.12
+DISTNAME=      gegl-0.4.14
 CATEGORIES=    graphics
 MASTER_SITES=  http://download.gimp.org/pub/gegl/0.4/
 EXTRACT_SUFX=  .tar.bz2
@@ -38,6 +38,7 @@
 .include "../../graphics/babl/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/jasper/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../textproc/json-glib/buildlink3.mk"
diff -r 593028f9c08b -r 245d6b93e7aa graphics/gegl/PLIST
--- a/graphics/gegl/PLIST       Tue Apr 09 13:08:21 2019 +0000
+++ b/graphics/gegl/PLIST       Tue Apr 09 13:09:03 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2018/11/22 13:00:03 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.22 2019/04/09 13:09:03 ryoon Exp $
 bin/gegl
 bin/gegl-gcut
 bin/gegl-imgcmp
@@ -8,8 +8,8 @@
 include/gegl-0.4/gegl-buffer-cl-iterator.h
 include/gegl-0.4/gegl-buffer-enums.h
 include/gegl-0.4/gegl-buffer-iterator.h
-include/gegl-0.4/gegl-buffer-iterator2.h
 include/gegl-0.4/gegl-buffer-matrix2.h
+include/gegl-0.4/gegl-buffer-swap.h
 include/gegl-0.4/gegl-buffer.h
 include/gegl-0.4/gegl-color.h
 include/gegl-0.4/gegl-cpuaccel.h
@@ -20,15 +20,18 @@
 include/gegl-0.4/gegl-init.h
 include/gegl-0.4/gegl-lookup.h
 include/gegl-0.4/gegl-matrix.h
+include/gegl-0.4/gegl-memory.h
 include/gegl-0.4/gegl-node.h
 include/gegl-0.4/gegl-op.h
 include/gegl-0.4/gegl-operations-util.h
+include/gegl-0.4/gegl-parallel.h
 include/gegl-0.4/gegl-paramspecs.h
 include/gegl-0.4/gegl-path.h
 include/gegl-0.4/gegl-plugin.h
 include/gegl-0.4/gegl-processor.h
 include/gegl-0.4/gegl-random.h
 include/gegl-0.4/gegl-rectangle.h
+include/gegl-0.4/gegl-scratch.h
 include/gegl-0.4/gegl-tile-backend.h
 include/gegl-0.4/gegl-tile-handler.h
 include/gegl-0.4/gegl-tile-source.h
@@ -81,6 +84,7 @@
 include/gegl-0.4/sc/sc-sample.h
 lib/gegl-0.4/exr-load.la
 lib/gegl-0.4/exr-save.la
+lib/gegl-0.4/gegl-common-cxx.la
 lib/gegl-0.4/gegl-common-gpl3.la
 lib/gegl-0.4/gegl-common.la
 lib/gegl-0.4/gegl-core.la
@@ -90,6 +94,7 @@
 lib/gegl-0.4/jp2-load.la
 lib/gegl-0.4/jpg-load.la
 lib/gegl-0.4/jpg-save.la
+lib/gegl-0.4/lcms-from-profile.la
 lib/gegl-0.4/npd.la
 lib/gegl-0.4/npy-save.la
 lib/gegl-0.4/path.la
@@ -103,7 +108,7 @@
 lib/gegl-0.4/save-pixbuf.la
 lib/gegl-0.4/seamless-clone-compose.la
 lib/gegl-0.4/seamless-clone.la
-lib/gegl-0.4/svg-load.la
+${PLIST.svg}lib/gegl-0.4/svg-load.la
 lib/gegl-0.4/text.la
 lib/gegl-0.4/transformops.la
 lib/gegl-0.4/vector-fill.la
diff -r 593028f9c08b -r 245d6b93e7aa graphics/gegl/distinfo
--- a/graphics/gegl/distinfo    Tue Apr 09 13:08:21 2019 +0000
+++ b/graphics/gegl/distinfo    Tue Apr 09 13:09:03 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.22 2018/11/22 13:00:03 ryoon Exp $
+$NetBSD: distinfo,v 1.23 2019/04/09 13:09:03 ryoon Exp $
 
-SHA1 (gegl-0.4.12.tar.bz2) = 39d243f34e81896a42cc317e1b60b55fdb6064ee
-RMD160 (gegl-0.4.12.tar.bz2) = a979b14d58023c58d2115815d9908c1f63703d95
-SHA512 (gegl-0.4.12.tar.bz2) = cacf9f5c34357b3939162d0d4712ee2b47298a3e806b55e275cdf5e23f186d436ea1a840b91b1b72b76d450d94674cca217b7c253cd6b52a7d9505b4ad73fde2
-Size (gegl-0.4.12.tar.bz2) = 7065555 bytes
-SHA1 (patch-aa) = 0f46061f7b0c213abfe422124839eec29780d039
+SHA1 (gegl-0.4.14.tar.bz2) = 395483d46f2475a7447caa7ecddd97ad69a43ce7
+RMD160 (gegl-0.4.14.tar.bz2) = 9a8f1443d6ccdc3cfc4e6c6e9209681408da5719
+SHA512 (gegl-0.4.14.tar.bz2) = 1fcec83a961c0b9c98487de99d26893f98a5401816fa6d7238af4c645672d0eb0474cdb7251b8ebcd344aff589e8979bee0304b50fcfae9513fdbf8a02068e3b
+Size (gegl-0.4.14.tar.bz2) = 7209142 bytes
+SHA1 (patch-gegl_gegl-config.c) = 32d0527c4469d7395fdc91ec1e025a0a3694e21f
diff -r 593028f9c08b -r 245d6b93e7aa graphics/gegl/patches/patch-aa
--- a/graphics/gegl/patches/patch-aa    Tue Apr 09 13:08:21 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2011/02/10 10:12:48 adam Exp $
-
---- gegl/gegl-init.c.orig      2009-01-22 20:26:07.000000000 +0100
-+++ gegl/gegl-init.c
-@@ -68,6 +68,7 @@ pid_is_running (gint pid)
- 
- #include <sys/types.h>
- #include <signal.h>
-+#include <locale.h>
- 
- static inline gboolean
- pid_is_running (gint pid)
diff -r 593028f9c08b -r 245d6b93e7aa graphics/gegl/patches/patch-gegl_gegl-config.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gegl/patches/patch-gegl_gegl-config.c    Tue Apr 09 13:09:03 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-gegl_gegl-config.c,v 1.1 2019/04/09 13:09:03 ryoon Exp $
+
+--- gegl/gegl-config.c.orig    2019-02-25 19:00:08.000000000 +0000
++++ gegl/gegl-config.c
+@@ -244,7 +244,11 @@ gegl_config_class_init (GeglConfigClass 
+ 
+ #else
+     mem_total = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);
++#if defined(_SC_AVPHYS_PAGES)
+     mem_available = sysconf (_SC_AVPHYS_PAGES) * sysconf (_SC_PAGESIZE);
++#else
++    mem_available = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);
++#endif
+ #endif
+ 
+     default_tile_cache_size = mem_total;



Home | Main Index | Thread Index | Old Index