[niepce] Require gegl-0.3. So. much. faster.



commit cc871b4f91ec6cb56fc3e85aa5ffb4cac9ce986c
Author: Hubert Figuière <hub figuiere net>
Date:   Sun Jul 5 23:09:37 2015 -0400

    Require gegl-0.3. So. much. faster.

 README            |    2 +-
 configure.ac      |    4 ++--
 src/ncr/image.cpp |    7 ++++---
 3 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/README b/README
index 8bf40d9..a4525cc 100644
--- a/README
+++ b/README
@@ -33,7 +33,7 @@ boost 1.34
  -boost test (for the unit test)
 exempi >= 2.2.0
 libopenraw >= 0.1.0
-gegl >= 0.2.0
+gegl >= 0.3.0
 babl
 libgphoto2
 
diff --git a/configure.ac b/configure.ac
index 1645962..34feafe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ LIBGLIBMM_VERSION=2.32
 LIBGTKMM_VERSION=3.14
 EXEMPI_VERSION=2.2.0
 SQLITE_VERSION=3.0
-GEGL_VERSION=0.2.0
+GEGL_VERSION=0.3.0
 LIBOPENRAW_VERSION=0.1.0
 LIBGPHOTO_VERSION=2.4
 dnl need at least 2.5.0 because of xmlTextReader
@@ -106,7 +106,7 @@ PKG_CHECK_MODULES(GPHOTO, [libgphoto2 >= $LIBGPHOTO_VERSION libgphoto2_port])
 dnl niepce
 PKG_CHECK_MODULES(BABL, babl)
 PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-1.0 >= $LIBOPENRAW_VERSION)
-PKG_CHECK_MODULES(GEGL, gegl-0.2 >= $GEGL_VERSION)
+PKG_CHECK_MODULES(GEGL, gegl-0.3 >= $GEGL_VERSION)
 
 BOOST_REQUIRE([$BOOST_VERSION])
 BOOST_CONVERSION
diff --git a/src/ncr/image.cpp b/src/ncr/image.cpp
index 91d4997..69648b4 100644
--- a/src/ncr/image.cpp
+++ b/src/ncr/image.cpp
@@ -1,7 +1,7 @@
 /*
  * niepce - ncr/image.cpp
  *
- * Copyright (C) 2008-2013 Hubert Figuiere
+ * Copyright (C) 2008-2015 Hubert Figuiere
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -21,9 +21,10 @@
 
 extern "C" {
 #include <babl/babl.h>
-#include <gegl.h>
 }
 
+#include <gegl.h>
+
 #include <libopenraw/libopenraw.h>
 
 #include "fwk/base/debug.hpp"
@@ -207,7 +208,7 @@ GeglNode* Image::Private::_load_raw(const std::string &p)
 
 GeglNode* Image::Private::_scale_node()
 {
-    return gegl_node_new_child(m_graph, "operation", "gegl:scale", nullptr);
+    return gegl_node_new_child(m_graph, "operation", "gegl:scale-ratio", nullptr);
 }
 
 


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