Clean up the gap automake mess.
--Sven
This commit is contained in:
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
Tue Mar 23 12:01:48 MET 1999 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* configure.in
|
||||
* plug-ins/gap/Makefile.am
|
||||
* plug-ins/gap/.../Makefile.am (all subdirs)
|
||||
Cleaned up the mess I left when adding the gap plug-in. Sorry!
|
||||
|
||||
* plug-ins/gap/gap_filter_foreach.c: Use g_getenv, g_malloc
|
||||
and g_free.
|
||||
|
||||
Sun Mar 21 23:11:31 EST 1999 Adrian Likins <adrian@gimp.org>
|
||||
|
||||
* app/paintbrush.c: oops, forgot to make fade work
|
||||
|
@ -722,9 +722,9 @@ plug-ins/fractaltrace/Makefile
|
||||
plug-ins/gap/Makefile
|
||||
plug-ins/gap/gimp_1.0.2_src/Makefile
|
||||
plug-ins/gap/iter_ALT/Makefile
|
||||
plug-ins/gap/iter_ALT/Makefile/gen
|
||||
plug-ins/gap/iter_ALT/Makefile/mod
|
||||
plug-ins/gap/iter_ALT/Makefile/old
|
||||
plug-ins/gap/iter_ALT/gen/Makefile
|
||||
plug-ins/gap/iter_ALT/mod/Makefile
|
||||
plug-ins/gap/iter_ALT/old/Makefile
|
||||
plug-ins/gauss_iir/Makefile
|
||||
plug-ins/gauss_rle/Makefile
|
||||
plug-ins/gbr/Makefile
|
||||
|
@ -1,98 +1,12 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
pluginlibdir = $(gimpplugindir)/plug-ins
|
||||
|
||||
#SUBDIRS = gimp_1.0.2_src iter_ALT
|
||||
|
||||
EXTRA_DIST = README README_developers TESTPROT_iter_ALT
|
||||
|
||||
pluginlib_PROGRAMS = gap_plugins gap_filter
|
||||
|
||||
gap_plugins_SOURCES = \
|
||||
gap_main.c \
|
||||
gap_mov_exec.c \
|
||||
gap_mov_exec.h \
|
||||
gap_range_ops.c \
|
||||
gap_range_ops.h \
|
||||
gap_arr_dialog.c \
|
||||
gap_arr_dialog.h \
|
||||
gap_mov_dialog.c \
|
||||
gap_mov_dialog.h \
|
||||
gap_layer_copy.c \
|
||||
gap_layer_copy.h \
|
||||
gap_split.c \
|
||||
gap_split.h \
|
||||
gap_resi_dialog.c \
|
||||
gap_resi_dialog.h \
|
||||
gap_mpege.c \
|
||||
gap_mpege.h \
|
||||
gap_mod_layer.c \
|
||||
gap_mod_layer.h \
|
||||
gap_filter_pdb.c \
|
||||
gap_filter_pdb.h \
|
||||
gap_filter_codegen.c \
|
||||
gap_dbbrowser_utils.c \
|
||||
gap_dbbrowser_utils.h \
|
||||
gap_match.c \
|
||||
gap_match.h \
|
||||
gap_lib.c \
|
||||
gap_lib.h \
|
||||
gap_exchange_image.c \
|
||||
gap_exchange_image.h \
|
||||
gap_pdb_calls.c \
|
||||
gap_pdb_calls.h \
|
||||
resize.c \
|
||||
resize.h \
|
||||
appenv.h
|
||||
|
||||
|
||||
gap_filter_SOURCES = \
|
||||
gap_filter_main.c \
|
||||
gap_dbbrowser_utils.c \
|
||||
gap_dbbrowser_utils.h \
|
||||
gap_filter_foreach.c \
|
||||
gap_filter_iterators.c \
|
||||
gap_filter_iterators.h \
|
||||
gap_filter_pdb.c \
|
||||
gap_filter_pdb.h \
|
||||
gap_filter_codegen.c \
|
||||
gap_arr_dialog.c \
|
||||
gap_arr_dialog.h \
|
||||
gap_pdb_calls.c \
|
||||
gap_pdb_calls.h \
|
||||
gap_filter.h
|
||||
|
||||
|
||||
INCLUDES = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_CFLAGS) \
|
||||
-I$(includedir)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/libgimp/libgimpui.la \
|
||||
$(top_builddir)/libgimp/libgimp.la \
|
||||
$(GTK_LIBS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/libgimp/libgimpui.la \
|
||||
$(top_builddir)/libgimp/libgimp.la
|
||||
|
||||
gap_plugins_DEPENDENCIES = $(DEPS)
|
||||
|
||||
gap_filter_DEPENDENCIES = $(DEPS)
|
||||
EXTRA_DIST = \
|
||||
appenv.h \
|
||||
resize.c \
|
||||
resize.c
|
||||
|
||||
files:
|
||||
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
|
||||
echo $$p; \
|
||||
done
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
|
||||
for file in $$files; do \
|
||||
echo $$subdir/$$file; \
|
||||
done; \
|
||||
done
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -133,7 +133,7 @@ static gint p_pitstop(GRunModeType run_mode, char *plugin_name, gint text_flag,
|
||||
/* optional dialog between both calls (to see the effect of 1.call) */
|
||||
if(run_mode == RUN_INTERACTIVE)
|
||||
{
|
||||
l_env = getenv("GAP_FILTER_PITSTOP");
|
||||
l_env = g_getenv("GAP_FILTER_PITSTOP");
|
||||
if(l_env != NULL)
|
||||
{
|
||||
if((*l_env == 'N') || (*l_env == 'n'))
|
||||
@ -277,7 +277,7 @@ int p_foreach_multilayer(GRunModeType run_mode, gint32 image_id,
|
||||
else
|
||||
{
|
||||
/* allocate a table to store the visibility attributes for each layer */
|
||||
l_visible_tab = (gint*) malloc((l_nlayers +1) * sizeof (gint));
|
||||
l_visible_tab = (gint*) g_malloc((l_nlayers +1) * sizeof (gint));
|
||||
if(l_visible_tab == NULL)
|
||||
return -1;
|
||||
|
||||
@ -354,7 +354,7 @@ int p_foreach_multilayer(GRunModeType run_mode, gint32 image_id,
|
||||
if(gap_debug) fprintf(stderr, "TERMINATED: by pitstop dialog\n");
|
||||
/* restore the visibility of all layers */
|
||||
p_visibilty_restore(image_id, l_nlayers, l_visible_tab, plugin_name);
|
||||
free(l_visible_tab);
|
||||
g_free(l_visible_tab);
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
@ -508,7 +508,7 @@ int p_foreach_multilayer(GRunModeType run_mode, gint32 image_id,
|
||||
|
||||
/* restore the visibility of all layers */
|
||||
p_visibilty_restore(image_id, l_nlayers, l_visible_tab, plugin_name);
|
||||
free(l_visible_tab);
|
||||
g_free(l_visible_tab);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user