renamed localedir to gimplocaledir.

2005-04-05  Sven Neumann  <sven@gimp.org>

	* configure.in: renamed localedir to gimplocaledir.

	* libgimpbase/Makefile.am (AM_CPPFLAGS)
	* tools/Makefile.am (AM_CPPFLAGS): changed accordingly.

	* gimp.pc.in: added gimplocaledir to the pkg-config file to give
	plug-ins a chance to get gimp_locale_directory() at compile time.
This commit is contained in:
Sven Neumann 2005-04-04 23:06:32 +00:00 committed by Sven Neumann
parent c4f5981f39
commit 7792951f36
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2005-04-05 Sven Neumann <sven@gimp.org>
* configure.in: renamed localedir to gimplocaledir.
* libgimpbase/Makefile.am (AM_CPPFLAGS)
* tools/Makefile.am (AM_CPPFLAGS): changed accordingly.
* gimp.pc.in: added gimplocaledir to the pkg-config file to give
plug-ins a chance to get gimp_locale_directory() at compile time.
2005-04-05 Sven Neumann <sven@gimp.org>
* configure.in: select localedir according to the format of the

View File

@ -1484,12 +1484,12 @@ AC_SUBST(gimpsysconfdir)
# GNU format message catalogs go into $datadir/locale,
# standard location is $libdir/locale. DATADIRNAME set accordingly.
localedir="$datadir/locale"
gimplocaledir="$datadir/locale"
if test "$DATADIRNAME" = "lib"; then
localedir="$libdir/locale"
gimplocaledir="$libdir/locale"
fi
AC_SUBST(localedir)
AC_SUBST(gimplocaledir)
############################

View File

@ -6,6 +6,7 @@ includedir=@includedir@
gimpdatadir=@gimpdatadir@
gimplibdir=@gimpplugindir@
gimpsysconfdir=@gimpsysconfdir@
gimplocaledir=@gimplocaledir@
Name: GIMP
Description: GIMP Library

View File

@ -43,7 +43,7 @@ AM_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
-DGIMPDIR=\""$(gimpdir)"\" \
-DDATADIR=\""$(gimpdatadir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DLOCALEDIR=\""$(gimplocaledir)"\" \
-DPLUGINDIR=\""$(gimpplugindir)"\" \
-DSYSCONFDIR=\""$(gimpsysconfdir)"\" \
-DG_LOG_DOMAIN=\"LibGimpBase\" \

View File

@ -24,7 +24,7 @@ kernelgen_SOURCES = kernelgen.c
AM_CPPFLAGS = \
-DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\" \
-DLOCALEDIR=\""$(localedir)"\"
-DLOCALEDIR=\""$(gimplocaledir)"\"
INCLUDES = \
-I$(top_srcdir) \