plug-ins: move goat-exercise to a goat-exercises/ directory.

We will fill this up with more examples of plug-ins in other languages.
Also we will improve a bit the examples to redirect people to source
code so that they understand what these plug-ins are.
This commit is contained in:
Jehan 2019-08-06 23:54:18 +02:00
parent 877a116667
commit fc33489223
8 changed files with 56 additions and 22 deletions

View File

@ -2878,6 +2878,7 @@ plug-ins/script-fu/tinyscheme/Makefile
plug-ins/selection-to-path/Makefile plug-ins/selection-to-path/Makefile
plug-ins/twain/Makefile plug-ins/twain/Makefile
plug-ins/common/Makefile plug-ins/common/Makefile
plug-ins/goat-exercises/Makefile
modules/Makefile modules/Makefile
devel-docs/Makefile devel-docs/Makefile
devel-docs/app/Makefile devel-docs/app/Makefile

View File

@ -46,6 +46,7 @@ SUBDIRS = \
fractal-explorer \ fractal-explorer \
gfig \ gfig \
gimpressionist \ gimpressionist \
goat-exercises \
gradient-flare \ gradient-flare \
help \ help \
$(help_browser) \ $(help_browser) \

View File

@ -108,8 +108,6 @@
/file-xwd.exe /file-xwd.exe
/film /film
/film.exe /film.exe
/goat-exercise
/goat-exercise.exe
/gradient-map /gradient-map
/gradient-map.exe /gradient-map.exe
/grid /grid

View File

@ -99,7 +99,6 @@ file_xmc_libexecdir = $(gimpplugindir)/plug-ins/file-xmc
file_xpm_libexecdir = $(gimpplugindir)/plug-ins/file-xpm file_xpm_libexecdir = $(gimpplugindir)/plug-ins/file-xpm
file_xwd_libexecdir = $(gimpplugindir)/plug-ins/file-xwd file_xwd_libexecdir = $(gimpplugindir)/plug-ins/file-xwd
film_libexecdir = $(gimpplugindir)/plug-ins/film film_libexecdir = $(gimpplugindir)/plug-ins/film
goat_exercise_libexecdir = $(gimpplugindir)/plug-ins/goat-exercise
gradient_map_libexecdir = $(gimpplugindir)/plug-ins/gradient-map gradient_map_libexecdir = $(gimpplugindir)/plug-ins/gradient-map
grid_libexecdir = $(gimpplugindir)/plug-ins/grid grid_libexecdir = $(gimpplugindir)/plug-ins/grid
guillotine_libexecdir = $(gimpplugindir)/plug-ins/guillotine guillotine_libexecdir = $(gimpplugindir)/plug-ins/guillotine
@ -177,7 +176,6 @@ file_xmc_libexec_PROGRAMS = $(FILE_XMC)
file_xpm_libexec_PROGRAMS = $(FILE_XPM) file_xpm_libexec_PROGRAMS = $(FILE_XPM)
file_xwd_libexec_PROGRAMS = file-xwd file_xwd_libexec_PROGRAMS = file-xwd
film_libexec_PROGRAMS = film film_libexec_PROGRAMS = film
goat_exercise_libexec_PROGRAMS = goat-exercise
gradient_map_libexec_PROGRAMS = gradient-map gradient_map_libexec_PROGRAMS = gradient-map
grid_libexec_PROGRAMS = grid grid_libexec_PROGRAMS = grid
guillotine_libexec_PROGRAMS = guillotine guillotine_libexec_PROGRAMS = guillotine
@ -1201,22 +1199,6 @@ film_LDADD = \
$(INTLLIBS) \ $(INTLLIBS) \
$(film_RC) $(film_RC)
goat_exercise_SOURCES = \
goat-exercise.c
goat_exercise_LDADD = \
$(libgimp) \
$(libgimpmath) \
$(libgimpconfig) \
$(libgimpcolor) \
$(libgimpbase) \
$(CAIRO_LIBS) \
$(GDK_PIXBUF_LIBS) \
$(GEGL_LIBS) \
$(RT_LIBS) \
$(INTLLIBS) \
$(goat_exercise_RC)
gradient_map_SOURCES = \ gradient_map_SOURCES = \
gradient-map.c gradient-map.c

View File

@ -51,7 +51,6 @@ file_xmc_RC = file-xmc.rc.o
file_xpm_RC = file-xpm.rc.o file_xpm_RC = file-xpm.rc.o
file_xwd_RC = file-xwd.rc.o file_xwd_RC = file-xwd.rc.o
film_RC = film.rc.o film_RC = film.rc.o
goat_exercise_RC = goat-exercise.rc.o
gradient_map_RC = gradient-map.rc.o gradient_map_RC = gradient-map.rc.o
grid_RC = grid.rc.o grid_RC = grid.rc.o
guillotine_RC = guillotine.rc.o guillotine_RC = guillotine.rc.o

View File

@ -52,7 +52,6 @@
'file-xpm' => { ui => 1, gegl => 1, optional => 1, libs => 'XPM_LIBS' }, 'file-xpm' => { ui => 1, gegl => 1, optional => 1, libs => 'XPM_LIBS' },
'file-xwd' => { ui => 1, gegl => 1 }, 'file-xwd' => { ui => 1, gegl => 1 },
'film' => { ui => 1, gegl => 1 }, 'film' => { ui => 1, gegl => 1 },
'goat-exercise' => { gegl => 1 },
'gradient-map' => { gegl => 1 }, 'gradient-map' => { gegl => 1 },
'grid' => { ui => 1, gegl => 1 }, 'grid' => { ui => 1, gegl => 1 },
'guillotine' => {}, 'guillotine' => {},

View File

@ -0,0 +1,54 @@
## Process this file with automake to produce Makefile.in
if OS_WIN32
mwindows = -mwindows
else
libm = -lm
endif
if PLATFORM_OSX
xobjective_c = "-xobjective-c"
framework_cocoa = -framework Cocoa
endif
if HAVE_WINDRES
include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
goat_exercise_RC = goat-exercise.rc.o
endif
libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm)
libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
AM_LDFLAGS = $(mwindows)
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
-I$(includedir)
goat_exercise_libexecdir = $(gimpplugindir)/plug-ins/goat-exercise
goat_exercise_libexec_PROGRAMS = goat-exercise
goat_exercise_SOURCES = \
goat-exercise.c
goat_exercise_LDADD = \
$(libgimp) \
$(libgimpmath) \
$(libgimpconfig) \
$(libgimpcolor) \
$(libgimpbase) \
$(CAIRO_LIBS) \
$(GDK_PIXBUF_LIBS) \
$(GEGL_LIBS) \
$(RT_LIBS) \
$(INTLLIBS) \
$(goat_exercise_RC)