[gegl] configure: add warning about enabling of workshop to --help



commit 17b34df868844fdbdbbcf9284da2ee29e8bff9d0
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Aug 18 12:18:22 2018 +0200

    configure: add warning about enabling of workshop to --help

 configure.ac                  | 2 +-
 operations/workshop/inpaint.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index db11350ec..19b44d200 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1240,7 +1240,7 @@ AM_CONDITIONAL(HAVE_W3M, test "x$W3M" != "xno")
 
 dnl disable build of workshop operations.
 AC_ARG_ENABLE([workshop],
-              [  --enable-workshop       enable build of workshop operations (default=no)],,
+              [  --enable-workshop       enable build of workshop operations (default=no) do not enable this 
for distributed builds or CI of GEGL/GIMP it is only for development and testing],,
               enable_workshop="no")
 
 AM_CONDITIONAL(ENABLE_WORKSHOP, test "x$enable_workshop" = "xyes")
diff --git a/operations/workshop/inpaint.c b/operations/workshop/inpaint.c
index b5ecd442c..26a860665 100644
--- a/operations/workshop/inpaint.c
+++ b/operations/workshop/inpaint.c
@@ -126,7 +126,8 @@ operation_process (GeglOperation        *operation,
 
   operation_class = GEGL_OPERATION_CLASS (gegl_op_parent_class);
 
-  if (in_rect && gegl_rectangle_is_infinite_plane (in_rect))
+  // XXX: hack to force nop, many people are enabling as many things as possible when configuring gegl not 
realising that they shouldn't enable the workshop
+  if (TRUE || (in_rect && gegl_rectangle_is_infinite_plane (in_rect)))
     {
       gpointer in = gegl_operation_context_get_object (context, "input");
       gegl_operation_context_take_object (context, "output",


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