Commit 870ca633 authored by Jehan's avatar Jehan Committed by Michael Natterer

plug-ins: install plug-ins in subfolder.

I am going to forbid plug-ins from being installed directly in the root
of the plug-ins/ directory. They will have to be installed in a
subdirectory named the same as the entry point binary.
This may seem useless for our core plug-ins which are nearly all
self-contained in single binaries, but this is actually a necessary
restriction to eliminate totally the DLL hell issue on Windows. Moving
core plug-ins in subfolders is only a necessary consequence for it.
parent 4133a032
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-bmp
libexec_PROGRAMS = file-bmp
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-exr
AM_CPPFLAGS = \
-I$(top_srcdir) \
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-faxg3
libexec_PROGRAMS = file-faxg3
......
......@@ -20,7 +20,7 @@ endif
AM_LDFLAGS = $(mwindows)
AM_CFLAGS = -fno-strict-aliasing
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-fits
libexec_PROGRAMS = file-fits
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-fli
libexec_PROGRAMS = file-fli
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-ico
libexec_PROGRAMS = file-ico
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-jpeg
AM_CPPFLAGS = \
-I$(top_srcdir) \
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-psd
libexec_PROGRAMS = \
file-psd
......
......@@ -20,7 +20,9 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
dt_libexecdir = $(gimpplugindir)/plug-ins/file-darktable
rt_libexecdir = $(gimpplugindir)/plug-ins/file-rawtherapee
rp_libexecdir = $(gimpplugindir)/plug-ins/file-raw-placeholder
AM_CPPFLAGS = \
-I$(top_srcdir) \
......@@ -28,10 +30,9 @@ AM_CPPFLAGS = \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS)
libexec_PROGRAMS = \
file-darktable \
file-rawtherapee \
file-raw-placeholder
dt_libexec_PROGRAMS = file-darktable
rt_libexec_PROGRAMS = file-rawtherapee
rp_libexec_PROGRAMS = file-raw-placeholder
file_darktable_SOURCES = \
file-darktable.c \
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-sgi
libexec_PROGRAMS = file-sgi
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-tiff
AM_CPPFLAGS = \
-I$(top_srcdir) \
......
......@@ -19,7 +19,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/file-webp
AM_CPPFLAGS = \
-I$(top_srcdir) \
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/flame
libexec_PROGRAMS = flame
......
......@@ -23,7 +23,7 @@ AM_LDFLAGS = $(mwindows)
SUBDIRS = examples
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/fractal-explorer
libexec_PROGRAMS = fractal-explorer
......
......@@ -23,7 +23,7 @@ AM_LDFLAGS = $(mwindows)
SUBDIRS = gfig-examples images
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/gfig
libexec_PROGRAMS = gfig
......
......@@ -31,7 +31,7 @@ AM_CPPFLAGS = \
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/gimpressionist
libexec_PROGRAMS = gimpressionist
......
......@@ -23,7 +23,7 @@ AM_LDFLAGS = $(mwindows)
SUBDIRS = flares
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/gradient-flare
libexec_PROGRAMS = gradient-flare
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/help-browser
libexec_PROGRAMS = help-browser
......
......@@ -43,7 +43,7 @@ libgimphelp_a_SOURCES = \
gimphelpprogress.h \
gimphelpprogress-private.h
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/help
libexec_PROGRAMS = help
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/ifs-compose
libexec_PROGRAMS = ifs-compose
......
......@@ -23,7 +23,7 @@ AM_LDFLAGS = $(mwindows)
SUBDIRS = images
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/imagemap
libexec_PROGRAMS = imagemap
......
......@@ -23,7 +23,7 @@ AM_LDFLAGS = $(mwindows)
SUBDIRS = images
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/lighting
libexec_PROGRAMS = lighting
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/map-object
libexec_PROGRAMS = map-object
......
......@@ -22,11 +22,11 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
me_libexecdir = $(gimpplugindir)/plug-ins/metadata-editor
mv_libexecdir = $(gimpplugindir)/plug-ins/metadata-viewer
libexec_PROGRAMS = \
metadata-editor \
metadata-viewer
me_libexec_PROGRAMS = metadata-editor
mv_libexec_PROGRAMS = metadata-viewer
metadata_editor_SOURCES = \
metadata-editor.c \
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/pagecurl
libexec_PROGRAMS = pagecurl
......
......@@ -39,7 +39,7 @@ LDADD = \
$(INTLLIBS) \
$(print_RC)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/print
libexec_PROGRAMS = print
......
......@@ -37,7 +37,7 @@ LDADD = \
$(INTLLIBS) \
$(screenshot_RC)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/screenshot
libexec_PROGRAMS = screenshot
......
......@@ -53,7 +53,7 @@ AM_LDFLAGS = \
SUBDIRS = tinyscheme ftx scripts
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/script-fu
libexec_PROGRAMS = script-fu
......
......@@ -21,7 +21,7 @@ endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/selection-to-path
libexec_PROGRAMS = selection-to-path
......
......@@ -8,7 +8,7 @@ libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
libexecdir = $(gimpplugindir)/plug-ins
libexecdir = $(gimpplugindir)/plug-ins/twain
libexec_PROGRAMS = twain
......
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