[gegl] ctx: move implementation to reside in operations.so
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ctx: move implementation to reside in operations.so
- Date: Thu, 16 Dec 2021 02:43:27 +0000 (UTC)
commit cabb47415a86dfbba57fa6160c68cfb19ab9139f
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Dec 16 03:40:51 2021 +0100
ctx: move implementation to reside in operations.so
This changes the scope of the visibility of the symbols, moving them
closer to where they actually are used adressing issue #292.
gegl/ctx/meson.build | 8 --------
gegl/meson.build | 2 --
meson.build | 2 +-
{gegl => operations/common}/ctx/ctx.c | 0
{gegl => operations/common}/ctx/ctx.h | 0
operations/common/meson.build | 3 +++
operations/common/vector-fill.c | 2 +-
7 files changed, 5 insertions(+), 12 deletions(-)
---
diff --git a/gegl/meson.build b/gegl/meson.build
index 6e769f440..cfd176d45 100644
--- a/gegl/meson.build
+++ b/gegl/meson.build
@@ -10,7 +10,6 @@ geglInclude = include_directories(
'operation',
'process',
'property-types',
- 'ctx'
)
gegl_cflags = [
@@ -83,7 +82,6 @@ subdir('opencl')
subdir('operation')
subdir('process')
subdir('property-types')
-subdir('ctx')
gegl_headers += gegl_introspectable_headers
diff --git a/meson.build b/meson.build
index 3fa477aaa..f2d5de330 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('gegl',
'c', 'cpp',
license: 'GPL3+',
- version: '0.4.33',
+ version: '0.4.32',
# when meson version passes 0.53.0 remove alternate build summary
meson_version: '>=0.50.0',
default_options: [
diff --git a/gegl/ctx/ctx.c b/operations/common/ctx/ctx.c
similarity index 100%
rename from gegl/ctx/ctx.c
rename to operations/common/ctx/ctx.c
diff --git a/gegl/ctx/ctx.h b/operations/common/ctx/ctx.h
similarity index 100%
rename from gegl/ctx/ctx.h
rename to operations/common/ctx/ctx.h
diff --git a/operations/common/meson.build b/operations/common/meson.build
index f3a691c8a..4cbe6b072 100644
--- a/operations/common/meson.build
+++ b/operations/common/meson.build
@@ -118,6 +118,9 @@ gegl_common_sources = files(
'write-buffer.c',
)
+gegl_common_sources += 'ctx/ctx.c'
+gegl_common_sources += 'ctx/ctx.h'
+
gegl_common_sources += custom_target('module_common.c',
input : [ gegl_common_sources ],
output: [ 'module_common.c' ],
diff --git a/operations/common/vector-fill.c b/operations/common/vector-fill.c
index ae63e78fe..17e888bfd 100644
--- a/operations/common/vector-fill.c
+++ b/operations/common/vector-fill.c
@@ -55,7 +55,7 @@ static void path_changed (GeglPath *path,
gpointer userdata);
#include "gegl-op.h"
-#include "ctx.h"
+#include "ctx/ctx.h"
static void path_changed (GeglPath *path,
const GeglRectangle *roi,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]