Commit 208915d4 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

include locale.h for setlocale().

2003-03-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.c: include locale.h for setlocale().

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/widgets/Makefile.am: changed rules that generate enums code
	to include gimp-intl.h instead of libgimp-intl.h.

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
parent 28fddfd5
2003-03-25 Sven Neumann <sven@gimp.org>
* app/text/gimptext.c: include locale.h for setlocale().
* app/base/Makefile.am
* app/core/Makefile.am
* app/display/Makefile.am
* app/widgets/Makefile.am: changed rules that generate enums code
to include gimp-intl.h instead of libgimp-intl.h.
* tools/pdbgen/app.pl
* tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
2003-03-25 Sven Neumann <sven@gimp.org>
 
* Makefile.am
......@@ -84,7 +84,7 @@ CLEANFILES = $(gen_sources)
$(srcdir)/base-enums.c: $(srcdir)/base-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"base-enums.h\"\n#include \"libgimp/gimpintl.h\"" \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"base-enums.h\"\n#include \"gimp-intl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
......
......@@ -203,7 +203,7 @@ $(srcdir)/gimpmarshal.c: $(srcdir)/gimpmarshal.h
$(srcdir)/core-enums.c: $(srcdir)/core-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"core-enums.h\"\n#include \"libgimp/gimpintl.h\"" \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"core-enums.h\"\n#include \"gimp-intl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
......
......@@ -77,7 +77,7 @@ CLEANFILES = $(gen_sources)
$(srcdir)/display-enums.c: $(srcdir)/display-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"display-enums.h\"\n#include\"libgimp/gimpintl.h\"" \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"display-enums.h\"\n#include\"gimp-intl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
......
......@@ -46,7 +46,6 @@
#include "core/gimpdrawable-invert.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage.h"
#include "gimp-intl.h"
static ProcRecord brightness_contrast_proc;
......
......@@ -40,9 +40,8 @@
#include "core/gimpimage.h"
#include "core/gimplayer.h"
#include "core/gimplayermask.h"
#include "plug-in/plug-in.h"
#include "gimp-intl.h"
#include "plug-in/plug-in.h"
static ProcRecord drawable_merge_shadow_proc;
static ProcRecord drawable_fill_proc;
......
......@@ -32,7 +32,6 @@
#include "core/gimpimage-guides.h"
#include "core/gimpimage-undo-push.h"
#include "core/gimpimage.h"
#include "gimp-intl.h"
static ProcRecord image_add_hguide_proc;
......
......@@ -47,8 +47,8 @@
#include "core/gimplayermask.h"
#include "core/gimplist.h"
#include "core/gimpunit.h"
#include "gimp-intl.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
......
......@@ -39,9 +39,8 @@
#include "core/gimplayer.h"
#include "core/gimplayermask.h"
#include "core/gimplist.h"
#include "pdb_glue.h"
#include "gimp-intl.h"
#include "pdb_glue.h"
static ProcRecord layer_new_proc;
static ProcRecord layer_copy_proc;
......
......@@ -32,6 +32,7 @@
#include "procedural_db.h"
#include "core/gimp.h"
#include "gimp-intl.h"
#ifdef HAVE_GLIBC_REGEX
#include <regex.h>
......@@ -40,7 +41,6 @@
#endif
#include "gimp-intl.h"
#include "libgimpbase/gimpbasetypes.h"
/* Query structure */
......
......@@ -32,8 +32,8 @@
#include "core/gimpdrawable.h"
#include "core/gimpimage-mask-select.h"
#include "core/gimpimage.h"
#include "gimp-intl.h"
#include "libgimpcolor/gimpcolor.h"
static ProcRecord by_color_select_proc;
......
......@@ -24,6 +24,8 @@
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <glib-object.h>
#include "libgimpbase/gimplimits.h"
......
......@@ -178,7 +178,7 @@ CLEANFILES = $(gen_sources)
$(srcdir)/widgets-enums.c: $(srcdir)/widgets-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <gtk/gtk.h>\n#include \"widgets-enums.h\"\n#include \"libgimp/gimpintl.h\"" \
--fhead "#include \"config.h\"\n#include <gtk/gtk.h>\n#include \"widgets-enums.h\"\n#include \"gimp-intl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
......
......@@ -863,7 +863,7 @@ HEADER
print IFILE qq@#include <glib-object.h>\n\n@;
print IFILE qq@#include "pdb-types.h"\n\n@;
print IFILE qq@#include "core/gimp.h"\n\n@;
print IFILE qq@#include "libgimp/gimpintl.h"\n\n@;
print IFILE qq@#include "gimp-intl.h"\n\n@;
print IFILE "/* Forward declarations for registering PDB procs */\n\n";
foreach (@group_decls) {
print IFILE "void $_" . ' ' x ($longest - length $_) . " (Gimp *gimp);\n";
......
......@@ -739,7 +739,7 @@ CODE
@headers = qw("base/gimphistogram.h" "base/gimplut.h" "base/lut-funcs.h"
"base/pixel-region.h" "base/pixel-processor.h"
"core/gimpdrawable.h" "core/gimpimage.h"
"libgimp/gimpintl.h");
"gimp-intl.h");
@procs = qw(brightness_contrast levels posterize desaturate equalize invert
curves_spline curves_explicit color_balance histogram
......
......@@ -557,7 +557,7 @@ CODE
@headers = qw("core/gimp.h" "core/gimplayermask.h" "core/gimpchannel.h"
"core/gimpdrawable.h" "core/gimpdrawable-offset.h"
"base/tile.h" "base/tile-manager.h" "base/temp-buf.h"
"libgimp/gimpintl.h");
"gimp-intl.h");
@procs = qw(drawable_merge_shadow drawable_fill drawable_update
drawable_mask_bounds drawable_image drawable_type
......
......@@ -272,7 +272,7 @@ CODE
}
@headers = qw("core/gimpimage-guides.h" "core/gimpimage-undo-push.h"
"libgimp/gimpintl.h");
"gimp-intl.h");
@procs = qw(image_add_hguide image_add_vguide image_delete_guide
image_find_next_guide image_get_guide_orientation
......
......@@ -1547,7 +1547,7 @@ CODE
"core/gimplist.h" "core/gimpunit.h"
"base/temp-buf.h" "libgimpmath/gimpmath.h"
"libgimpbase/gimpbase.h"
"libgimp/gimpintl.h");
"gimp-intl.h");
$extra{app}->{code} = <<'CODE';
#if defined (HAVE_FINITE)
......
......@@ -608,7 +608,7 @@ CODE
@headers = qw( "config/gimpcoreconfig.h"
"core/gimplist.h" "core/gimp.h" "core/gimpimage-undo.h"
"pdb_glue.h" "libgimp/gimpintl.h");
"pdb_glue.h" "gimp-intl.h");
unshift @procs, qw(layer_new layer_copy layer_create_mask layer_scale
layer_resize layer_delete layer_translate layer_add_alpha
......
......@@ -342,7 +342,7 @@ HELP
);
}
@headers = qw(<string.h> "libgimp/gimpintl.h");
@headers = qw(<string.h> "gimp-intl.h");
$extra{app}->{decls} = <<'CODE';
/* Query structure */
......
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