Finished plugin reorg

-Yosh
This commit is contained in:
Manish Singh 1999-06-23 08:59:00 +00:00
parent 4ca0d0be57
commit 9ef0877fd7
7 changed files with 1293 additions and 28 deletions

View File

@ -639,6 +639,7 @@ plug-ins/FractalExplorer/fractalexplorer-examples/Makefile
plug-ins/Lighting/Makefile
plug-ins/MapObject/Makefile
plug-ins/bmp/Makefile
plug-ins/common/Makefile
plug-ins/faxg3/Makefile
plug-ins/fits/Makefile
plug-ins/flame/Makefile

View File

@ -112,7 +112,6 @@ gimp_image_get_guide_orientation (gint32 image_id,
GParam *return_vals;
int nreturn_vals;
GOrientation rtn_guide_orientation;
gint32 pdb_orientation;
return_vals = gimp_run_procedure ("gimp_image_get_guide_orientation",
&nreturn_vals,

View File

@ -112,7 +112,6 @@ gimp_image_get_guide_orientation (gint32 image_id,
GParam *return_vals;
int nreturn_vals;
GOrientation rtn_guide_orientation;
gint32 pdb_orientation;
return_vals = gimp_run_procedure ("gimp_image_get_guide_orientation",
&nreturn_vals,

1074
plug-ins/common/Makefile.am Normal file

File diff suppressed because it is too large Load Diff

75
plug-ins/common/mkgen.pl Executable file
View File

@ -0,0 +1,75 @@
#!/usr/bin/perl -w
open MK, "> Makefile.am";
require 'plugin-defs.pl';
$bins = ""; $opts = "";
foreach (sort keys %plugins) {
$bins .= "\t";
if (exists $plugins{$_}->{optional}) {
$bins .= "\$(\U$_\E)";
$opts .= "\t$_\t\t\\\n";
}
else {
$bins .= $_;
}
$bins .= "\t\t\\\n";
}
foreach ($bins, $opts) { s/\t\t\\\n$//s }
print MK <<EOT;
pluginlibdir = \$(gimpplugindir)/plug-ins
AM_CPPFLAGS = \\
-DLOCALEDIR=\\""\$(localedir)"\\"
INCLUDES = \\
-I\$(top_srcdir) \\
\$(GTK_CFLAGS) \\
-I\$(includedir)
pluginlib_PROGRAMS = \\
$bins
EXTRA_PROGRAMS = \\
$opts
EOT
foreach (sort keys %plugins) {
my $libgimp = "";
$libgimp .= "\$(top_builddir)/libgimp/libgimp.la";
if (exists $plugins{$_}->{ui}) {
$libgimp .= "\t\\\n\t$libgimp";
$libgimp =~ s/gimp\./gimpui./;
}
my $optlib = "";
if (exists $plugins{$_}->{optional}) {
$optlib = "\n\t\$(LIB\U$_\E_LIB)\t\\";
}
if (exists $plugins{$_}->{libsupp}) {
my @lib = split(/:/, $plugins{$_}->{libsupp});
foreach $lib (@lib) {
$libgimp = "\$(top_builddir)/plug-ins/$lib/lib$lib.a\t\\\n\t$libgimp";
}
$libgimp =~ s@gck/libgck\.a@libgck/gck/libgck.la@;
}
print MK <<EOT;
${_}_SOURCES = \\
$_.c
${_}_LDADD = \\
$libgimp \\$optlib
\$(\U$plugins{$_}->{libdep}\E_LIBS) \\
\$(INTLLIBS)
EOT
}
close MK;

View File

@ -0,0 +1,117 @@
%plugins = (
'CEL' => { libdep => 'gtk' },
'CML_explorer' => { libdep => 'gtk' },
'aa' => { libdep => 'gtk', optional => 1 },
'align_layers' => { libdep => 'gtk' },
'animationplay' => { libdep => 'gtk' },
'animoptimize' => { libdep => 'glib' },
'apply_lens' => { libdep => 'gtk' },
'autocrop' => { libdep => 'glib' },
'autostretch_hsv' => { libdep => 'glib' },
'blinds' => { libdep => 'gtk' },
'blur' => { libdep => 'gtk', libsupp => 'gpc' },
'borderaverage' => { libdep => 'gtk', libsupp => 'gck:megawidget' },
'bumpmap' => { libdep => 'gtk', ui => 1 },
'bz2' => { libdep => 'glib' },
'c_astretch' => { libdep => 'glib' },
'checkerboard' => { libdep => 'gtk' },
'colorify' => { libdep => 'gtk' },
'compose' => { libdep => 'gtk', ui => 1 },
'convmatrix' => { libdep => 'gtk' },
'cubism' => { libdep => 'gtk' },
'decompose' => { libdep => 'gtk' },
'deinterlace' => { libdep => 'gtk', libsupp => 'megawidget' },
'depthmerge' => { libdep => 'gtk', ui => 1 },
'despeckle' => { libdep => 'gtk' },
'destripe' => { libdep => 'gtk' },
'diffraction' => { libdep => 'gtk' },
'displace' => { libdep => 'gtk', ui => 1 },
'edge' => { libdep => 'gtk' },
'emboss' => { libdep => 'gtk', libsupp => 'megawidget' },
'engrave' => { libdep => 'gtk' },
'exchange' => { libdep => 'gtk' },
'film' => { libdep => 'gtk' },
'flarefx' => { libdep => 'gtk' },
'fractaltrace' => { libdep => 'gtk' },
'gauss_iir' => { libdep => 'gtk' },
'gauss_rle' => { libdep => 'gtk' },
'gbr' => { libdep => 'gtk' },
'gee' => { libdep => 'gtk' },
'gicon' => { libdep => 'gtk' },
'gif' => { libdep => 'gtk' },
'gifload' => { libdep => 'gtk' },
'glasstile' => { libdep => 'gtk' },
'gqbist' => { libdep => 'gtk' },
'gradmap' => { libdep => 'glib' },
'grid' => { libdep => 'gtk' },
'gtm' => { libdep => 'gtk' },
'guillotine' => { libdep => 'glib' },
'gz' => { libdep => 'glib' },
'header' => { libdep => 'glib' },
'hot' => { libdep => 'gtk', libsupp => 'megawidget' },
'hrz' => { libdep => 'gtk' },
'illusion' => { libdep => 'gtk' },
'iwarp' => { libdep => 'gtk' },
'jigsaw' => { libdep => 'gtk' },
'jpeg' => { libdep => 'gtk', optional => 1 },
'laplace' => { libdep => 'glib' },
'lic' => { libdep => 'gtk', ui => 1 },
'mail' => { libdep => 'gtk' },
'mapcolor' => { libdep => 'gtk' },
'max_rgb' => { libdep => 'gtk' },
'mblur' => { libdep => 'gtk' },
'mpeg' => { libdep => 'gtk', optional => 1 },
'newsprint' => { libdep => 'gtk' },
'nlfilt' => { libdep => 'gtk', libsupp => 'megawidget' },
'noisify' => { libdep => 'gtk' },
'normalize' => { libdep => 'glib' },
'nova' => { libdep => 'gtk' },
'oilify' => { libdep => 'gtk' },
'palette' => { libdep => 'gtk' },
'papertile' => { libdep => 'gtk' },
'pat' => { libdep => 'gtk' },
'pcx' => { libdep => 'glib' },
'pix' => { libdep => 'glib' },
'pixelize' => { libdep => 'gtk' },
'plasma' => { libdep => 'gtk' },
'plugindetails' => { libdep => 'gtk' },
'png' => { libdep => 'gtk', optional => 1 },
'pnm' => { libdep => 'gtk' },
'polar' => { libdep => 'gtk' },
'ps' => { libdep => 'gtk' },
'psd' => { libdep => 'glib' },
'randomize' => { libdep => 'gtk', libsupp => 'gpc' },
'ripple' => { libdep => 'gtk' },
'rotate' => { libdep => 'gtk' },
'rotators' => { libdep => 'glib' },
'scatter_hsv' => { libdep => 'gtk' },
'screenshot' => { libdep => 'gtk' },
'semiflatten' => { libdep => 'glib' },
'sharpen' => { libdep => 'gtk' },
'shift' => { libdep => 'gtk' },
'smooth_palette' => { libdep => 'gtk' },
'snoise' => { libdep => 'gtk' },
'sobel' => { libdep => 'gtk' },
'sparkle' => { libdep => 'gtk' },
'spread' => { libdep => 'gtk' },
'struc' => { libdep => 'gtk' },
'sunras' => { libdep => 'gtk' },
'tga' => { libdep => 'gtk' },
'threshold_alpha' => { libdep => 'gtk' },
'tiff' => { libdep => 'gtk', optional => 1 },
'tile' => { libdep => 'gtk' },
'tileit' => { libdep => 'gtk' },
'tiler' => { libdep => 'glib' },
'url' => { libdep => 'glib' },
'video' => { libdep => 'gtk' },
'vinvert' => { libdep => 'glib' },
'vpropagate' => { libdep => 'gtk' },
'waves' => { libdep => 'gtk', libsupp => 'megawidget' },
'whirlpinch' => { libdep => 'gtk' },
'wind' => { libdep => 'gtk' },
'wmf' => { libdep => 'gtk' },
'xbm' => { libdep => 'gtk' },
'xpm' => { libdep => 'gtk', optional => 1 },
'xwd' => { libdep => 'glib' },
'zealouscrop' => { libdep => 'glib' }
);

View File

@ -1,38 +1,38 @@
# Files from the Gimp distribution which have already been
# marked to allow runtime translation of messages
plug-ins/CEL/CEL.c
plug-ins/CML_explorer/CML_explorer.c
plug-ins/common/CEL.c
plug-ins/common/CML_explorer.c
plug-ins/Lighting/lighting_main.c
plug-ins/Lighting/lighting_ui.c
plug-ins/apply_lens/apply_lens.c
plug-ins/autostretch_hsv/autostretch_hsv.c
plug-ins/blur/blur.c
plug-ins/common/apply_lens.c
plug-ins/common/autostretch_hsv.c
plug-ins/common/blur.c
plug-ins/bmp/bmp.c
plug-ins/bmp/bmpread.c
plug-ins/bmp/bmpwrite.c
plug-ins/borderaverage/borderaverage.c
plug-ins/bumpmap/bumpmap.c
plug-ins/bz2/bz2.c
plug-ins/checkerboard/checkerboard.c
plug-ins/colorify/colorify.c
plug-ins/compose/compose.c
plug-ins/convmatrix/convmatrix.c
plug-ins/cubism/cubism.c
plug-ins/decompose/decompose.c
plug-ins/depthmerge/depthmerge.c
plug-ins/destripe/destripe.c
plug-ins/gif/gif.c
plug-ins/gifload/gifload.c
plug-ins/jpeg/jpeg.c
plug-ins/mail/mail.c
plug-ins/oilify/oilify.c
plug-ins/png/png.c
plug-ins/common/borderaverage.c
plug-ins/common/bumpmap.c
plug-ins/common/bz2.c
plug-ins/common/checkerboard.c
plug-ins/common/colorify.c
plug-ins/common/compose.c
plug-ins/common/convmatrix.c
plug-ins/common/cubism.c
plug-ins/common/decompose.c
plug-ins/common/depthmerge.c
plug-ins/common/destripe.c
plug-ins/common/gif.c
plug-ins/common/gifload.c
plug-ins/common/jpeg.c
plug-ins/common/mail.c
plug-ins/common/oilify.c
plug-ins/common/png.c
plug-ins/print/print-escp2.c
plug-ins/print/print-pcl.c
plug-ins/print/print-ps.c
plug-ins/print/print.c
plug-ins/ps/ps.c
plug-ins/xbm/xbm.c
plug-ins/xpm/xpm.c
plug-ins/xwd/xwd.c
plug-ins/common/ps.c
plug-ins/common/xbm.c
plug-ins/common/xpm.c
plug-ins/common/xwd.c