Commit Graph

407 Commits

Author SHA1 Message Date
Carlos O'Donell
314f6deec9 Enable --localedir to set message catalog directory (Bug 14259)
In 1999 the project split "localedir" into "localedir" (path to compiled
locale archives) and "msgcatdir" (path to message catalogs). This
predates the 2002 change in the GNU Coding Standard to document the use
of "localedir" for the path to the message catalogs. It appears that
newlib, gcc, and several other projects also used "msgcatdir" at one
point or another in the past, and so it is in line with historical
precedent that glibc would also use "msgcatdir." However, given that the
GNU Coding Standard uses "localedir", we will switch to that for
consistency as a GNU project. Previous uses of --localdir didn't work
anyway (see bug 14259).

I am committing this patch in the understanding that nobody would object
to fixing #14259 as part of aligning our variable usage to the GNU
Coding Standard.

Given that previous "localedir" uses were converted to "complocaledir"
by [1], we can now convert "msgcatdir" to "localedir" and complete the
transition. With an addition to config.make.in we also fix bug 14259 and
allow users to specify the locale dependent data directory with
"--localedir" at configure time. There is still no way to control at
configure time the location of the *compiled* locale directory.

Tested on x86_64 with no regressions.

Tested using "--localedir" to specify alternate locale dependent data
directory and verified with "make install DESTDIR=/tmp/glibc".

[1] 90fe682d30
2016-02-24 20:06:04 -05:00
Adhemerval Zanella
eabd6f49d1 Regenerate libc.pot for 2.23. 2016-02-18 17:48:27 -02:00
Adhemerval Zanella
31ef23afe2 Updated translations for 2.23. 2016-02-18 17:48:22 -02:00
Joseph Myers
f7a9f785e5 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Joseph Myers
c88b3da93e Update de.po from Translation Project (bug 4404).
[BZ #4404]
	* po/de.po: Update from Translation Project.
2015-09-16 16:51:28 +00:00
Mike Frysinger
30da407eca de.po: fix SIGALRM typo [BZ #4404] 2015-08-29 16:44:54 -04:00
Carlos O'Donell
8cf0ac959d Updated translations for 2.22. 2015-08-01 14:48:31 -04:00
Carlos O'Donell
f4ddb3557e Regenerate libc.pot for 2.22 release. 2015-07-31 00:13:33 -04:00
Carlos O'Donell
04cb913ddf glibc 2.21 pre-release update.
Update all translations.

Update contributions in the manual.

Update installation notes with information about newest working tools.

Reconfigure using exactly autoconf 2.69.

Regenerate INSTALL.
2015-02-05 23:14:38 -05:00
Carlos O'Donell
fe0e85afcb Update libc.pot:
In preparation for providing a tarball to the translation project.

        * po/libc.pot: Regenerated.
2015-01-20 22:18:11 -05:00
Joseph Myers
b168057aaa Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Allan McRae
b6dcfe8c24 Update French translation 2014-10-09 22:11:30 +10:00
Allan McRae
d8f879ee3e Update Russian translation 2014-09-13 15:41:54 +10:00
Allan McRae
1cd9b65cea Update Korean translation 2014-09-07 15:50:34 +10:00
Allan McRae
2c31e102fa Update Esperanto translation 2014-09-01 10:48:22 +10:00
Allan McRae
cb08abc685 Update Catalan translation 2014-09-01 10:47:30 +10:00
Allan McRae
e4e7cfd287 Update Vietnamese translation 2014-08-26 22:44:23 +10:00
Allan McRae
6aa09f710c Update Ukrainian translation 2014-08-26 22:43:31 +10:00
Allan McRae
edc0660e78 Update French translation 2014-08-26 22:42:36 +10:00
Allan McRae
7eea72ac23 Update Russian translation 2014-08-26 22:41:48 +10:00
Allan McRae
93c49eff43 Update Polish translation 2014-08-26 22:41:00 +10:00
Allan McRae
46acaf6361 Update Czech translation 2014-08-26 22:40:01 +10:00
Allan McRae
a9f5ce989c Update German translation 2014-08-26 22:38:47 +10:00
Allan McRae
373f2b7878 Update Bulgarian translation 2014-08-26 22:36:52 +10:00
Allan McRae
e7548bd8c2 Update Sweedish translation 2014-08-26 22:36:02 +10:00
Allan McRae
c526bf4df6 Update Dutch translation 2014-08-26 22:34:42 +10:00
Allan McRae
686ab29055 Update Spanish translation 2014-08-26 22:31:31 +10:00
Allan McRae
7950a4ee59 Regenerate libc.po 2014-08-09 17:14:35 +10:00
Allan McRae
cc5fb300fc Update Spanish translations 2014-07-23 17:06:01 +10:00
Allan McRae
d51d659d11 Update Swedish translations 2014-05-16 14:21:12 +10:00
Allan McRae
d69aeb1239 Update Esperanto translations 2014-05-04 14:14:14 +10:00
Joseph Myers
a5f891ac8d Consistently include Makeconfig after defining subdir.
In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I
noted it was necessary to add includes of Makeconfig early in various
subdirectory makefiles for the tests-special variable settings added
by that patch to be conditional on configuration information.  No-one
commented on the general question there of whether Makeconfig should
always be included immediately after the definition of subdir.

This patch implements that early inclusion of Makeconfig in each
directory (which is a lot easier than consistent placement of includes
of Rules).  Includes are added if needed, or moved up if already
present.  Subdirectory "all:" targets are removed, since Makeconfig
provides one.

There is potential for further cleanups I haven't done.  Rules and
Makerules have code such as

ifneq   "$(findstring env,$(origin headers))" ""
headers :=
endif

to override to empty any value of various variables that came from the
environment.  I think there is a case for Makeconfig setting all the
subdirectory variables (other than subdir) to empty to ensure no
outside value is going to take effect if a subdirectory fails to
define a variable.  (A list of such variables, possibly out of date
and incomplete, is in manual/maint.texi.)  Rules and Makerules would
give errors if Makeconfig hadn't already been included, instead of
including it themselves.  The special code to override values coming
from the environment would then be obsolete and could be removed.

Tested x86_64, including that installed binaries are identical before
and after the patch.

	* argp/Makefile: Include Makeconfig immediately after defining
	subdir.
	* assert/Makefile: Likewise.
	* benchtests/Makefile: Likewise.
	* catgets/Makefile: Likewise.
	* conform/Makefile: Likewise.
	* crypt/Makefile: Likewise.
	* csu/Makefile: Likewise.
	(all): Remove target.
	* ctype/Makefile: Include Makeconfig immediately after defining
	subdir.
	* debug/Makefile: Likewise.
	* dirent/Makefile: Likewise.
	* dlfcn/Makefile: Likewise.
	* gmon/Makefile: Likewise.
	* gnulib/Makefile: Likewise.
	* grp/Makefile: Likewise.
	* gshadow/Makefile: Likewise.
	* hesiod/Makefile: Likewise.
	* hurd/Makefile: Likewise.
	(all): Remove target.
	* iconvdata/Makefile: Include Makeconfig immediately after
	defining subdir.
	* inet/Makefile: Likewise.
	* intl/Makefile: Likewise.
	* io/Makefile: Likewise.
	* libio/Makefile: Likewise.
	(all): Remove target.
	* locale/Makefile: Include Makeconfig immediately after defining
	subdir.
	* login/Makefile: Likewise.
	* mach/Makefile: Likewise.
	(all): Remove target.
	* malloc/Makefile: Include Makeconfig immediately after defining
	subdir.
	(all): Remove target.
	* manual/Makefile: Include Makeconfig immediately after defining
	subdir.
	* math/Makefile: Likewise.
	* misc/Makefile: Likewise.
	* nis/Makefile: Likewise.
	* nss/Makefile: Likewise.
	* po/Makefile: Likewise.
	(all): Remove target.
	* posix/Makefile: Include Makeconfig immediately after defining
	subdir.
	* pwd/Makefile: Likewise.
	* resolv/Makefile: Likewise.
	* resource/Makefile: Likewise.
	* rt/Makefile: Likewise.
	* setjmp/Makefile: Likewise.
	* shadow/Makefile: Likewise.
	* signal/Makefile: Likewise.
	* socket/Makefile: Likewise.
	* soft-fp/Makefile: Likewise.
	* stdio-common/Makefile: Likewise.
	* stdlib/Makefile: Likewise.
	* streams/Makefile: Likewise.
	* string/Makefile: Likewise.
	* sunrpc/Makefile: Likewise.
	(all): Remove target.
	* sysvipc/Makefile: Include Makeconfig immediately after defining
	subdir.
	* termios/Makefile: Likewise.
	* time/Makefile: Likewise.
	* timezone/Makefile: Likewise.
	(all): Remove target.
	* wcsmbs/Makefile: Include Makeconfig immediately after defining
	subdir.
	* wctype/Makefile: Likewise.

libidn/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

localedata/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
	(all): Remove target.

nptl/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

nptl_db/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
2014-02-26 23:12:03 +00:00
Allan McRae
fd3daba426 Update Slovenian translations 2014-02-03 10:12:05 +10:00
Allan McRae
0c00f062dd Update French translations 2014-01-27 11:28:02 +10:00
Allan McRae
91cbd0bc72 Update Catalan translations 2014-01-20 11:36:37 +10:00
Allan McRae
76d0ea6990 Update Bulgarian translations 2014-01-11 15:19:59 +10:00
Allan McRae
e83bd4eeba Update German translations 2014-01-11 15:02:34 +10:00
Allan McRae
a46dab08ac Update Swedish translations 2014-01-10 12:25:59 +10:00
Allan McRae
421df74a00 Update Vietnamese translations 2014-01-10 12:24:43 +10:00
Allan McRae
d61c51a710 Update Esperanto translations 2014-01-10 12:23:21 +10:00
Allan McRae
0339a31917 Update Czech translations 2014-01-10 12:22:12 +10:00
Allan McRae
94ad3e991a Update Dutch translations 2014-01-10 12:20:48 +10:00
Allan McRae
e349ca71e5 Update Polish translations 2014-01-10 12:20:44 +10:00
Allan McRae
ddf930c169 Update Russian translations 2014-01-10 12:20:38 +10:00
Allan McRae
1b19c00628 Update Ukrainian translations 2014-01-10 12:20:26 +10:00
Carlos O'Donell
cd6701cf9c Rename header.pot to pot.header.
The Translation Project has asked us to rename the
pot header file `header.pot' to something else. Their
scripts automatically look for pot files and the
file `header.pot' is not actually a pot file but a
header that we use when regenerating `libc.pot.'
This commit renames `header.pot' to `pot.header' to
avoid causing errors or complicating the TP project
scripts.
2014-01-08 17:17:48 -05:00
Allan McRae
dd80481867 Regenerate libc.po 2014-01-05 17:47:49 +10:00
Allan McRae
d4697bc93d Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Carlos O'Donell
11520a5796 Add Solvenian translations for glibc messages. 2013-12-27 17:36:14 -05:00
David S. Miller
eec55e167f Update Chinese (traditional) translations.
* po/zh_TW.po: Update Chinese (traditional) translation from
	translation project.
2013-09-06 15:26:43 -04:00