operations: split gpl3+ ops out in own folder/.so

The combining of all ops into one .so forces us to load also the GPLv3
ops in the .so into the address space of the application to use the
LGPLv3+ ones, by having them in separate folders we can skip loading all
gpl3+ ops altogether.
parent a226669b
......@@ -1310,6 +1310,7 @@ operations/core/Makefile
operations/json/Makefile
operations/common/Makefile
operations/common/perlin/Makefile
operations/common-gpl3+/Makefile
operations/seamless-clone/Makefile
operations/external/Makefile
operations/generated/Makefile
......
SUBDIRS = \
core \
common \
common-gpl3+ \
generated \
seamless-clone \
transform \
json \
json \
external
if ENABLE_WORKSHOP
......
include $(top_srcdir)/operations/Makefile-common.am
EXTRA_DIST = $(wildcard $(srcdir)/*.h)
AM_CPPFLAGS += -I$(srcdir)
AM_CFLAGS += -DGEGL_OP_BUNDLE
LIBS = $(op_libs)
opdir = $(ext_dir)
op_LTLIBRARIES = \
gegl-common-gpl3.la
gegl_common_gpl3_la_SOURCES =\
module.c \
antialias.c \
apply-lens.c \
bump-map.c \
cartoon.c \
channel-mixer.c \
color-exchange.c \
color-to-alpha.c \
color-warp.c \
cubism.c \
deinterlace.c \
diffraction-patterns.c \
displace.c \
edge-laplace.c \
edge.c \
emboss.c \
engrave.c \
fractal-explorer.c \
fractal-trace.c \
gaussian-blur-selective.c \
illusion.c \
lens-distortion.c \
lens-flare.c \
maze.c \
mosaic.c \
motion-blur-circular.c \
motion-blur-zoom.c \
noise-slur.c \
noise-solid.c \
oilify.c \
photocopy.c \
plasma.c \
polar-coordinates.c \
red-eye-removal.c \
ripple.c \
shift.c \
sinus.c \
softglow.c \
spiral.c \
supernova.c \
texturize-canvas.c \
tile-glass.c \
tile-paper.c \
value-propagate.c \
video-degradation.c \
waves.c \
whirl-pinch.c \
wind.c
module.c: $(gegl_common_gpl3_la_SOURCES)
$(top_srcdir)/tools/gen-loader.sh $^ > module.c
......@@ -14,53 +14,33 @@ op_LTLIBRARIES = \
gegl-common.la
gegl_common_la_SOURCES =\
alien-map.c \
module.c \
antialias.c \
apply-lens.c \
module.c \
alien-map.c \
bilateral-filter.c \
box-blur.c \
brightness-contrast.c \
buffer-sink.c \
buffer-source.c \
bump-map.c \
c2g.c \
cartoon.c \
channel-mixer.c \
checkerboard.c \
color-enhance.c \
color-exchange.c \
dither.c \
color-rotate.c \
color-temperature.c \
color-to-alpha.c \
color-warp.c \
color.c \
component-extract.c \
contrast-curve.c \
convolution-matrix.c \
copy-buffer.c \
cubism.c \
deinterlace.c \
difference-of-gaussians.c \
diffraction-patterns.c \
displace.c \
display.c \
distance-transform.c \
dropshadow.c \
edge.c \
edge-laplace.c \
edge-neon.c \
edge-sobel.c \
emboss.c \
engrave.c \
exp-combine.c \
exposure.c \
fattal02.c \
fractal-explorer.c \
fractal-trace.c \
gaussian-blur.c \
gaussian-blur-selective.c \
gblur-1d.c \
gegl-buffer-load-op.c \
gegl-buffer-save-op.c \
......@@ -69,15 +49,12 @@ gegl_common_la_SOURCES =\
grid.c \
high-pass.c \
hue-chroma.c \
illusion.c \
image-compare.c \
image-gradient.c \
introspect.c \
invert-gamma.c \
invert-linear.c \
layer.c \
lens-distortion.c \
lens-flare.c \
levels.c \
linear-gradient.c \
magick-load.c \
......@@ -85,15 +62,11 @@ gegl_common_la_SOURCES =\
map-absolute.c \
map-relative.c \
matting-global.c \
maze.c \
mblur.c \
mirrors.c \
mix.c \
mono-mixer.c \
mosaic.c \
motion-blur-circular.c \
motion-blur-linear.c \
motion-blur-zoom.c \
newsprint.c \
noise-cie-lch.c \
noise-hsv.c \
......@@ -103,65 +76,44 @@ gegl_common_la_SOURCES =\
noise-reduction.c \
noise-rgb.c \
noise-simplex.c \
noise-slur.c \
noise-solid.c \
noise-spread.c \
noise-cell.c \
oilify.c \
opacity.c \
open-buffer.c \
over.c \
panorama-projection.c \
photocopy.c \
pixelize.c \
plasma.c \
polar-coordinates.c \
posterize.c \
radial-gradient.c \
rectangle.c \
red-eye-removal.c \
reinhard05.c \
remap.c \
rgb-clip.c \
ripple.c \
saturation.c \
save.c \
sepia.c \
shift.c \
sinus.c \
slic.c \
snn-mean.c \
softglow.c \
spiral.c \
stress.c \
stretch-contrast-hsv.c \
stretch-contrast.c \
supernova.c \
svg-huerotate.c \
svg-luminancetoalpha.c \
svg-matrix.c \
svg-saturate.c \
texturize-canvas.c \
threshold.c \
tile.c \
tile-glass.c \
tile-paper.c \
tile-seamless.c \
unsharp-mask.c \
unpremultiply.c \
value-invert.c \
value-propagate.c \
video-degradation.c \
vignette.c \
warp.c \
waterpixels.c \
watershed-transform.c \
waves.c \
wavelet-blur-1d.c \
wavelet-blur.c \
weighted-blend.c \
whirl-pinch.c \
wind.c \
write-buffer.c
module.c: $(gegl_common_la_SOURCES)
......
......@@ -7,51 +7,33 @@ gegl/gegl-enums.c
gegl/gegl-init.c
gegl/module/geglmodule.c
operations/common/alien-map.c
operations/common/antialias.c
operations/common/apply-lens.c
operations/common/bilateral-filter.c
operations/common/box-blur.c
operations/common/brightness-contrast.c
operations/common/buffer-sink.c
operations/common/buffer-source.c
operations/common/bump-map.c
operations/common/c2g.c
operations/common/cartoon.c
operations/common/channel-mixer.c
operations/common/checkerboard.c
operations/common/color.c
operations/common/color-enhance.c
operations/common/color-exchange.c
operations/common/color-rotate.c
operations/common/color-temperature.c
operations/common/color-to-alpha.c
operations/common/color-warp.c
operations/common/component-extract.c
operations/common/contrast-curve.c
operations/common/convolution-matrix.c
operations/common/copy-buffer.c
operations/common/cubism.c
operations/common/deinterlace.c
operations/common/difference-of-gaussians.c
operations/common/diffraction-patterns.c
operations/common/displace.c
operations/common/display.c
operations/common/distance-transform.c
operations/common/dither.c
operations/common/dropshadow.c
operations/common/edge.c
operations/common/edge-laplace.c
operations/common/edge-neon.c
operations/common/edge-sobel.c
operations/common/emboss.c
operations/common/engrave.c
operations/common/exp-combine.c
operations/common/exposure.c
operations/common/fattal02.c
operations/common/fractal-explorer.c
operations/common/fractal-trace.c
operations/common/gaussian-blur.c
operations/common/gaussian-blur-selective.c
operations/common/gaussian-blur.c
operations/common/gblur-1d.c
operations/common/gegl-buffer-load-op.c
operations/common/gegl-buffer-save-op.c
......@@ -60,15 +42,12 @@ operations/common/grey.c
operations/common/grid.c
operations/common/high-pass.c
operations/common/hue-chroma.c
operations/common/illusion.c
operations/common/image-compare.c
operations/common/image-gradient.c
operations/common/introspect.c
operations/common/invert-gamma.c
operations/common/invert-linear.c
operations/common/layer.c
operations/common/lens-distortion.c
operations/common/lens-flare.c
operations/common/levels.c
operations/common/linear-gradient.c
operations/common/magick-load.c
......@@ -76,15 +55,11 @@ operations/common/mantiuk06.c
operations/common/map-absolute.c
operations/common/map-relative.c
operations/common/matting-global.c
operations/common/maze.c
operations/common/mblur.c
operations/common/mirrors.c
operations/common/mix.c
operations/common/mono-mixer.c
operations/common/mosaic.c
operations/common/motion-blur-circular.c
operations/common/motion-blur-linear.c
operations/common/motion-blur-zoom.c
operations/common/newsprint.c
operations/common/noise-cell.c
operations/common/noise-cie-lch.c
......@@ -95,65 +70,90 @@ operations/common/noise-pick.c
operations/common/noise-reduction.c
operations/common/noise-rgb.c
operations/common/noise-simplex.c
operations/common/noise-slur.c
operations/common/noise-solid.c
operations/common/noise-spread.c
operations/common/oilify.c
operations/common/opacity.c
operations/common/open-buffer.c
operations/common/over.c
operations/common/panorama-projection.c
operations/common/photocopy.c
operations/common/pixelize.c
operations/common/plasma.c
operations/common/polar-coordinates.c
operations/common/posterize.c
operations/common/radial-gradient.c
operations/common/rectangle.c
operations/common/red-eye-removal.c
operations/common/reinhard05.c
operations/common/remap.c
operations/common/rgb-clip.c
operations/common/ripple.c
operations/common/saturation.c
operations/common/save.c
operations/common/sepia.c
operations/common/shift.c
operations/common/sinus.c
operations/common/slic.c
operations/common/snn-mean.c
operations/common/softglow.c
operations/common/spiral.c
operations/common/stress.c
operations/common/stretch-contrast.c
operations/common/stretch-contrast-hsv.c
operations/common/supernova.c
operations/common/svg-huerotate.c
operations/common/svg-luminancetoalpha.c
operations/common/svg-matrix.c
operations/common/svg-saturate.c
operations/common/texturize-canvas.c
operations/common/threshold.c
operations/common/tile.c
operations/common/tile-glass.c
operations/common/tile-paper.c
operations/common/tile-seamless.c
operations/common/unsharp-mask.c
operations/common/unpremultiply.c
operations/common/value-invert.c
operations/common/value-propagate.c
operations/common/video-degradation.c
operations/common/vignette.c
operations/common/warp.c
operations/common/waterpixels.c
operations/common/watershed-transform.c
operations/common/wavelet-blur-1d.c
operations/common/wavelet-blur.c
operations/common/waves.c
operations/common/weighted-blend.c
operations/common/whirl-pinch.c
operations/common/wind.c
operations/common/write-buffer.c
operations/common-gpl3+/channel-mixer.c
operations/common-gpl3+/color-exchange.c
operations/common-gpl3+/color-to-alpha.c
operations/common-gpl3+/color-warp.c
operations/common-gpl3+/cubism.c
operations/common-gpl3+/deinterlace.c
operations/common-gpl3+/diffraction-patterns.c
operations/common-gpl3+/displace.c
operations/common-gpl3+/edge.c
operations/common-gpl3+/edge-laplace.c
operations/common-gpl3+/emboss.c
operations/common-gpl3+/engrave.c
operations/common-gpl3+/fractal-explorer.c
operations/common-gpl3+/fractal-trace.c
operations/common-gpl3+/illusion.c
operations/common-gpl3+/antialias.c
operations/common-gpl3+/apply-lens.c
operations/common-gpl3+/bump-map.c
operations/common-gpl3+/cartoon.c
operations/common-gpl3+/lens-distortion.c
operations/common-gpl3+/lens-flare.c
operations/common-gpl3+/maze.c
operations/common-gpl3+/mosaic.c
operations/common-gpl3+/motion-blur-circular.c
operations/common-gpl3+/motion-blur-zoom.c
operations/common-gpl3+/noise-slur.c
operations/common-gpl3+/noise-solid.c
operations/common-gpl3+/oilify.c
operations/common-gpl3+/plasma.c
operations/common-gpl3+/red-eye-removal.c
operations/common-gpl3+/polar-coordinates.c
operations/common-gpl3+/ripple.c
operations/common-gpl3+/shift.c
operations/common-gpl3+/sinus.c
operations/common-gpl3+/softglow.c
operations/common-gpl3+/spiral.c
operations/common-gpl3+/supernova.c
operations/common-gpl3+/texturize-canvas.c
operations/common-gpl3+/tile-glass.c
operations/common-gpl3+/tile-paper.c
operations/common-gpl3+/value-propagate.c
operations/common-gpl3+/video-degradation.c
operations/common-gpl3+/waves.c
operations/common-gpl3+/whirl-pinch.c
operations/common-gpl3+/wind.c
operations/core/cache.c
operations/core/cast-format.c
operations/core/clone.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment