Commit b8e46959 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

changed the names of the generated files.

2008-04-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/app.pl: changed the names of the generated files.

	* app/pdb/Makefile.am
	* app/pdb/*cmds.c: renamed.

svn path=/trunk/; revision=25359
parent ccce5a29
2008-04-04 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: changed the names of the generated files.
* app/pdb/Makefile.am
* app/pdb/*cmds.c: renamed.
2008-04-04 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: cosmetic change in the generated code.
......
......@@ -19,55 +19,55 @@ libapppdb_a_SOURCES = \
gimpprocedure.h
libappinternal_procs_a_SOURCES = \
internal_procs.c \
internal_procs.h \
brush_cmds.c \
brush_select_cmds.c \
brushes_cmds.c \
buffer_cmds.c \
channel_cmds.c \
color_cmds.c \
context_cmds.c \
convert_cmds.c \
display_cmds.c \
drawable_cmds.c \
drawable_transform_cmds.c \
edit_cmds.c \
fileops_cmds.c \
floating_sel_cmds.c \
font_select_cmds.c \
fonts_cmds.c \
gimprc_cmds.c \
gradient_cmds.c \
gradient_select_cmds.c \
gradients_cmds.c \
grid_cmds.c \
guides_cmds.c \
help_cmds.c \
image_cmds.c \
layer_cmds.c \
message_cmds.c \
misc_cmds.c \
paint_tools_cmds.c \
palette_cmds.c \
palette_select_cmds.c \
palettes_cmds.c \
parasite_cmds.c \
paths_cmds.c \
pattern_cmds.c \
pattern_select_cmds.c \
patterns_cmds.c \
plug_in_cmds.c \
procedural_db_cmds.c \
progress_cmds.c \
selection_cmds.c \
selection_tools_cmds.c \
text_layer_cmds.c \
text_tool_cmds.c \
transform_tools_cmds.c \
undo_cmds.c \
unit_cmds.c \
vectors_cmds.c
internal-procs.c \
internal-procs.h \
brush-cmds.c \
brush-select-cmds.c \
brushes-cmds.c \
buffer-cmds.c \
channel-cmds.c \
color-cmds.c \
context-cmds.c \
convert-cmds.c \
display-cmds.c \
drawable-cmds.c \
drawable-transform-cmds.c \
edit-cmds.c \
fileops-cmds.c \
floating-sel-cmds.c \
font-select-cmds.c \
fonts-cmds.c \
gimprc-cmds.c \
gradient-cmds.c \
gradient-select-cmds.c \
gradients-cmds.c \
grid-cmds.c \
guides-cmds.c \
help-cmds.c \
image-cmds.c \
layer-cmds.c \
message-cmds.c \
misc-cmds.c \
paint-tools-cmds.c \
palette-cmds.c \
palette-select-cmds.c \
palettes-cmds.c \
parasite-cmds.c \
paths-cmds.c \
pattern-cmds.c \
pattern-select-cmds.c \
patterns-cmds.c \
plug-in-cmds.c \
procedural-db-cmds.c \
progress-cmds.c \
selection-cmds.c \
selection-tools-cmds.c \
text-layer-cmds.c \
text-tool-cmds.c \
transform-tools-cmds.c \
undo-cmds.c \
unit-cmds.c \
vectors-cmds.c
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp-PDB\"
......
......@@ -37,7 +37,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -30,7 +30,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -37,7 +37,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -35,7 +35,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -34,7 +34,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -43,7 +43,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -38,7 +38,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -33,7 +33,7 @@
#include "gimppdberror.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -31,7 +31,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -43,7 +43,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -38,7 +38,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -42,7 +42,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -43,7 +43,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -33,7 +33,7 @@
#include "gimppdberror.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -29,7 +29,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -32,7 +32,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -38,7 +38,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -37,7 +37,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GimpGradient *
......
......@@ -31,7 +31,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -36,7 +36,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -34,7 +34,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -32,7 +32,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -32,7 +32,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -56,7 +56,7 @@
#include "gimppdberror.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -26,7 +26,7 @@
#include "gimppdb.h"
#include "internal_procs.h"
#include "internal-procs.h"
/* 582 procedures registered total */
......
......@@ -39,7 +39,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -33,7 +33,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -32,7 +32,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -36,7 +36,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static const GimpCoords default_coords = GIMP_COORDS_DEFAULT_VALUES;
......
......@@ -37,7 +37,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -30,7 +30,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -38,7 +38,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -34,7 +34,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -41,7 +41,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -35,7 +35,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -30,7 +30,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -37,7 +37,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -40,7 +40,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -35,7 +35,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -32,7 +32,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -36,7 +36,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -34,7 +34,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -38,7 +38,7 @@
#include "gimppdberror.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -35,7 +35,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -38,7 +38,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
......@@ -34,7 +34,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -31,7 +31,7 @@
#include "gimppdb.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
static GValueArray *
......
......@@ -40,7 +40,7 @@
#include "gimppdb.h"
#include "gimppdb-utils.h"
#include "gimpprocedure.h"
#include "internal_procs.h"
#include "internal-procs.h"
#include "gimp-intl.h"
......
2008-04-04 Sven Neumann <sven@gimp.org>
* POTFILES.in: files in app/pdb have been renamed.
2008-04-03 Jordi Mallach <jordi@sindominio.net>
* ca@valencia.po: Add new Valencian-Catalan translation,
......
......@@ -243,26 +243,26 @@ app/paint/gimpsmudge.c
app/paint/gimpsourcecore.c
app/paint/paint-enums.c
app/pdb/channel_cmds.c
app/pdb/color_cmds.c
app/pdb/drawable_cmds.c
app/pdb/drawable_transform_cmds.c
app/pdb/edit_cmds.c
app/pdb/floating_sel_cmds.c
app/pdb/channel-cmds.c
app/pdb/color-cmds.c
app/pdb/drawable-cmds.c
app/pdb/drawable-transform-cmds.c
app/pdb/edit-cmds.c
app/pdb/floating-sel-cmds.c
app/pdb/gimppdb-query.c
app/pdb/gimppdb-utils.c
app/pdb/gimppdb.c
app/pdb/gimpprocedure.c
app/pdb/guides_cmds.c
app/pdb/image_cmds.c
app/pdb/layer_cmds.c
app/pdb/paths_cmds.c
app/pdb/procedural_db_cmds.c
app/pdb/selection_cmds.c
app/pdb/selection_tools_cmds.c
app/pdb/transform_tools_cmds.c
app/pdb/undo_cmds.c
app/pdb/vectors_cmds.c
app/pdb/guides-cmds.c
app/pdb/image-cmds.c
app/pdb/layer-cmds.c
app/pdb/paths-cmds.c
app/pdb/procedural-db-cmds.c
app/pdb/selection-cmds.c
app/pdb/selection-tools-cmds.c
app/pdb/transform-tools-cmds.c
app/pdb/undo-cmds.c
app/pdb/vectors-cmds.c
app/plug-in/gimpenvirontable.c
app/plug-in/gimpinterpreterdb.c
......
......@@ -742,7 +742,7 @@ GPL
$headers .= "#include \"gimppdberror.h\"\n" if $error;
$headers .= "#include \"gimppdb-utils.h\"\n" if $utils;
$headers .= "#include \"gimpprocedure.h\"\n";
$headers .= "#include \"internal_procs.h\"\n";
$headers .= "#include \"internal-procs.h\"\n";
$headers .= "\n#include \"gimp-intl.h\"\n" if $intl;
......@@ -751,7 +751,7 @@ GPL
$extra = $main::grp{$group}->{extra}->{app}
}
my $cfile = "$destdir/${group}_cmds.c$FILE_EXT";
my $cfile = "$destdir/".canonicalize(${group})."-cmds.c$FILE_EXT";
open CFILE, "> $cfile" or die "Can't open $cfile: $!\n";
print CFILE $gpl;
print CFILE qq/#include "config.h"\n\n/;
......@@ -773,7 +773,7 @@ GPL
}
if (! $ENV{PDBGEN_GROUPS}) {
my $internal = "$destdir/internal_procs.h$FILE_EXT";
my $internal = "$destdir/internal-procs.h$FILE_EXT";
open IFILE, "> $internal" or die "Can't open $internal: $!\n";
print IFILE $gpl;
my $guard = "__INTERNAL_PROCS_H__";
......@@ -797,14 +797,14 @@ HEADER
close IFILE;
&write_file($internal);
$internal = "$destdir/internal_procs.c$FILE_EXT";
$internal = "$destdir/internal-procs.c$FILE_EXT";
open IFILE, "> $internal" or die "Can't open $internal: $!\n";
print IFILE $gpl;
print IFILE qq@#include "config.h"\n\n@;
print IFILE qq@#include <glib-object.h>\n\n@;
print IFILE qq@#include "pdb-types.h"\n\n@;
print IFILE qq@#include "gimppdb.h"\n\n@;
print IFILE qq@#include "internal_procs.h"\n\n@;
print IFILE qq@#include "internal-procs.h"\n\n@;
chop $group_procs;
print IFILE "\n/* $total procedures registered total */\n\n";
print IFILE <<BODY;
......
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