[gegl] spherize: move from workshop to common



commit e816106c3878d503d2ed4bbfc28d75ef8a9d4632
Author: Ell <ell_se yahoo com>
Date:   Thu Apr 26 05:27:29 2018 -0400

    spherize: move from workshop to common

 operations/common/Makefile.am              |    1 +
 operations/{workshop => common}/spherize.c |    5 ++---
 operations/workshop/Makefile.am            |    3 +--
 po/POTFILES.in                             |    2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/Makefile.am b/operations/common/Makefile.am
index 0e166ce..04717c6 100644
--- a/operations/common/Makefile.am
+++ b/operations/common/Makefile.am
@@ -100,6 +100,7 @@ gegl_common_la_SOURCES =\
        sepia.c \
        slic.c \
        snn-mean.c \
+       spherize.c \
        stress.c \
        stretch-contrast-hsv.c \
        stretch-contrast.c \
diff --git a/operations/workshop/spherize.c b/operations/common/spherize.c
similarity index 98%
rename from operations/workshop/spherize.c
rename to operations/common/spherize.c
index 342addb..2b30b09 100644
--- a/operations/workshop/spherize.c
+++ b/operations/common/spherize.c
@@ -36,7 +36,7 @@ property_enum (mode, _("Mode"),
 property_double (angle_of_view, _("Angle of view"), 0.0)
   description (_("Camera angle of view"))
   value_range (0.0, 180.0)
-  ui_meta ("unit", "degree")
+  ui_meta     ("unit", "degree")
 
 property_double (curvature, _("Curvature"), 1.0)
   description (_("Spherical cap apex angle, as a fraction of the co-angle of view"))
@@ -56,7 +56,7 @@ property_double (amount, _("Amount"), 1.0)
 
 property_enum (sampler_type, _("Resampling method"),
   GeglSamplerType, gegl_sampler_type, GEGL_SAMPLER_LINEAR)
-  description(_("Mathematical method for reconstructing pixel values"))
+  description (_("Mathematical method for reconstructing pixel values"))
 
 #else
 
@@ -326,7 +326,6 @@ gegl_op_class_init (GeglOpClass *klass)
     "title",              _("Spherize"),
     "categories",         "distort:map",
     "position-dependent", "true",
-    "license",            "GPL3+",
     "description",        _("Wrap image around a spherical cap"),
     NULL);
 }
diff --git a/operations/workshop/Makefile.am b/operations/workshop/Makefile.am
index 4613ae2..345cc19 100644
--- a/operations/workshop/Makefile.am
+++ b/operations/workshop/Makefile.am
@@ -24,5 +24,4 @@ op_LTLIBRARIES = \
        integral-image.la \
        linear-sinusoid.la \
        rawbayer-load.la  \
-       segment-kmeans.la \
-       spherize.la
+       segment-kmeans.la
diff --git a/po/POTFILES.in b/po/POTFILES.in
index acc793e..14d0de0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -91,6 +91,7 @@ operations/common/save.c
 operations/common/sepia.c
 operations/common/slic.c
 operations/common/snn-mean.c
+operations/common/spherize.c
 operations/common/stress.c
 operations/common/stretch-contrast.c
 operations/common/stretch-contrast-hsv.c
@@ -259,4 +260,3 @@ operations/workshop/integral-image.c
 operations/workshop/linear-sinusoid.c
 operations/workshop/rawbayer-load.c
 operations/workshop/segment-kmeans.c
-operations/workshop/spherize.c


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