app: add gegl:bayer-matrix and gegl:linear-sinusoid to the menus

in Filters -> Render -> Pattern. Also depend on GEGL from git.
This commit is contained in:
Michael Natterer 2019-06-28 15:48:47 +02:00
parent a3e2dda8c7
commit 928b85d25c
6 changed files with 20 additions and 2 deletions

View File

@ -183,6 +183,11 @@ static const GimpStringActionEntry filters_interactive_actions[] =
"gegl:apply-lens",
GIMP_HELP_FILTER_APPLY_LENS },
{ "filters-bayer-matrix", GIMP_ICON_GEGL,
NC_("filters-action", "_Bayer Matrix..."), NULL, NULL,
"gegl:bayer-matrix",
GIMP_HELP_FILTER_BAYER_MATRIX },
{ "filters-brightness-contrast", GIMP_ICON_TOOL_BRIGHTNESS_CONTRAST,
NC_("filters-action", "B_rightness-Contrast..."), NULL, NULL,
"gimp:brightness-contrast",
@ -413,6 +418,11 @@ static const GimpStringActionEntry filters_interactive_actions[] =
"gimp:levels",
GIMP_HELP_TOOL_LEVELS },
{ "filters-linear-sinusoid", GIMP_ICON_TOOL_LEVELS,
NC_("filters-action", "_Linear Sinusoid..."), NULL, NULL,
"gegl:linear-sinusoid",
GIMP_HELP_FILTER_LINEAR_SINUSOID },
{ "filters-little-planet", GIMP_ICON_GEGL,
NC_("filters-action", "_Little Planet..."), NULL, NULL,
"gegl:stereographic-projection",

View File

@ -518,7 +518,7 @@ sanity_check_gegl (void)
#define GEGL_REQUIRED_MAJOR 0
#define GEGL_REQUIRED_MINOR 4
#define GEGL_REQUIRED_MICRO 16
#define GEGL_REQUIRED_MICRO 17
gegl_get_version (&gegl_major_version,
&gegl_minor_version,
@ -605,6 +605,7 @@ sanity_check_gegl_ops (void)
static const gchar *required_ops[] =
{
"gegl:alien-map",
"gegl:bayer-matrix",
"gegl:buffer-sink",
"gegl:buffer-source",
"gegl:c2g",
@ -652,6 +653,7 @@ sanity_check_gegl_ops (void)
"gegl:invert-linear",
"gegl:lens-distortion",
"gegl:lens-flare",
"gegl:linear-sinusoid",
"gegl:long-shadow",
"gegl:mantiuk06",
"gegl:map-absolute",

View File

@ -148,6 +148,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:alien-map",
"gegl:antialias",
"gegl:apply-lens",
"gegl:bayer-matrix",
"gegl:bump-map",
"gegl:c2g",
"gegl:cartoon",
@ -191,6 +192,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:invert-gamma",
"gegl:lens-distortion",
"gegl:lens-flare",
"gegl:linear-sinusoid",
"gegl:long-shadow",
"gegl:mantiuk06",
"gegl:maze",

View File

@ -344,6 +344,7 @@
#define GIMP_HELP_FILTER_ANTIALIAS "gimp-filter-antialias"
#define GIMP_HELP_FILTER_APPLY_CANVAS "gimp-filter-apply-canvas"
#define GIMP_HELP_FILTER_APPLY_LENS "gimp-filter-apply-lens"
#define GIMP_HELP_FILTER_BAYER_MATRIX "gimp-filter-bayer-matrix"
#define GIMP_HELP_FILTER_BUMP_MAP "gimp-filter-bump-map"
#define GIMP_HELP_FILTER_C2G "gimp-filter-c2g"
#define GIMP_HELP_FILTER_CARTOON "gimp-filter-cartoon"
@ -390,6 +391,7 @@
#define GIMP_HELP_FILTER_KALEIDOSCOPE "gimp-filter-kaleidoscope"
#define GIMP_HELP_FILTER_LENS_DISTORTION "gimp-filter-lens-distortion"
#define GIMP_HELP_FILTER_LENS_FLARE "gimp-filter-lens-flare"
#define GIMP_HELP_FILTER_LINEAR_SINUSOID "gimp-filter-linear-sinusoid"
#define GIMP_HELP_FILTER_LITTLE_PLANET "gimp-filter-little-planet"
#define GIMP_HELP_FILTER_LONG_SHADOW "gimp-filter-long-shadow"
#define GIMP_HELP_FILTER_MANTIUK_2006 "gimp-filter-manituk-2006"

View File

@ -53,7 +53,7 @@ m4_define([fontconfig_required_version], [2.12.4])
m4_define([freetype2_required_version], [2.1.7])
m4_define([gdk_pixbuf_required_version], [2.30.8])
m4_define([gegl_major_minor_version], [0.4])
m4_define([gegl_micro_version], [16])
m4_define([gegl_micro_version], [17])
m4_define([gegl_required_version],
[gegl_major_minor_version.gegl_micro_version])
m4_define([gexiv2_required_version], [0.10.6])

View File

@ -804,9 +804,11 @@
<menuitem action="filters-noise-solid" />
</menu>
<menu action="filters-render-pattern-menu" name="Pattern">
<menuitem action="filters-bayer-matrix" />
<menuitem action="filters-checkerboard" />
<menuitem action="filters-diffraction-patterns" />
<menuitem action="filters-grid" />
<menuitem action="filters-linear-sinusoid" />
<menuitem action="filters-maze" />
<menuitem action="filters-sinus" />
<menuitem action="filters-spiral" />