Commit Graph

15 Commits

Author SHA1 Message Date
Siddhesh Poyarekar
30891f35fa Remove "Contributed by" lines
We stopped adding "Contributed by" or similar lines in sources in 2012
in favour of git logs and keeping the Contributors section of the
glibc manual up to date.  Removing these lines makes the license
header a bit more consistent across files and also removes the
possibility of error in attribution when license blocks or files are
copied across since the contributed-by lines don't actually reflect
reality in those cases.

Move all "Contributed by" and similar lines (Written by, Test by,
etc.) into a new file CONTRIBUTED-BY to retain record of these
contributions.  These contributors are also mentioned in
manual/contrib.texi, so we just maintain this additional record as a
courtesy to the earlier developers.

The following scripts were used to filter a list of files to edit in
place and to clean up the CONTRIBUTED-BY file respectively.  These
were not added to the glibc sources because they're not expected to be
of any use in future given that this is a one time task:

https://gist.github.com/siddhesh/b5ecac94eabfd72ed2916d6d8157e7dc
https://gist.github.com/siddhesh/15ea1f5e435ace9774f485030695ee02

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2021-09-03 22:06:44 +05:30
Paul Eggert
5a82c74822 Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:

sed -ri '
  s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
  s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
  $(find $(git ls-files) -prune -type f \
      ! -name '*.po' \
      ! -name 'ChangeLog*' \
      ! -path COPYING ! -path COPYING.LIB \
      ! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
      ! -path manual/texinfo.tex ! -path scripts/config.guess \
      ! -path scripts/config.sub ! -path scripts/install-sh \
      ! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
      ! -path INSTALL ! -path  locale/programs/charmap-kw.h \
      ! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
      ! '(' -name configure \
            -execdir test -f configure.ac -o -f configure.in ';' ')' \
      ! '(' -name preconfigure \
            -execdir test -f preconfigure.ac ';' ')' \
      -print)

and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:

  chmod a+x sysdeps/unix/sysv/linux/riscv/configure
  # Omit irrelevant whitespace and comment-only changes,
  # perhaps from a slightly-different Autoconf version.
  git checkout -f \
    sysdeps/csky/configure \
    sysdeps/hppa/configure \
    sysdeps/riscv/configure \
    sysdeps/unix/sysv/linux/csky/configure
  # Omit changes that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
  git checkout -f \
    sysdeps/powerpc/powerpc64/ppc-mcount.S \
    sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
  # Omit change that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
  git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 02:43:31 -07:00
Mike Frysinger
1a06eee869 localedata: LC_IDENTIFICATION.category: set to ISO 30112 2014 standard
The ISO 30112 standard defines the valid values for the category
keyword as only a few options:
	posix:1993
	i18n:2004
	i18n:2012

The vast majority of locales had changed the "i18n" string to the
name of its own locale (e.g. "ak_GH:2013") as well as tweaking the
date (presumably thinking it should be the date of submission).

Convert all of them to "i18n:2012" for consistency.  A follow up
change will update localedef to actually check/validate the field.
2016-04-15 12:37:38 -04:00
Mike Frysinger
1c20cb2098 localedata: LC_MEASUREMENT: use copy directives everywhere
There are only two measurement systems that locales use: US and metric.
For the former, move to copying the en_US locale, while for the latter,
move to copying the i18n locale.  This lets us clean up all the stray
comments like FIXME.

There should be no functional differences here.
2016-04-12 16:47:52 -04:00
Mike Frysinger
a4cea54b12 localedata: standardize copyright/license information [BZ #11213]
Use the language from the FSF in all locale files to disclaim any
license/copyright on locale data.

See https://sourceware.org/ml/libc-locales/2013-q1/msg00048.html
2016-03-21 02:29:56 -04:00
Mike Frysinger
6bc81cf205 localedata: standardize first few lines
Purely a style touchup to make sure the headers all look the same.
2016-03-21 02:00:09 -04:00
Chris Leonard
8f18faed2e [BZ #16103] LC_MEASUREMENT review and standardization 2013-11-14 17:19:35 -05:00
Paul Eggert
57e128f551 Replace FSF snail mail address with URL in localedata. 2012-03-10 00:45:34 +00:00
Joseph Myers
ae5ca1973a Revert FSF address changes to locales. 2012-02-10 00:06:41 +00:00
Paul Eggert
59ba27a63a Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Roland McGrath
27b1a5c235 Change contact address to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing list). [BZ #337]
to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing
	list).
2004-10-31 23:42:28 +00:00
Roland McGrath
85d4fdd848 [BZ #187, BZ #337, BZ #421]
Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com.
2004-10-31  Petter Reinholdtsen  <pere@hungry.com>

	[BZ #337]
	* SUPPORTED: Update bug reporting comment.
	* locales/af_ZA: Change contact address from bug-glibc@gnu.org
	to libc-locales@sources.redhat.com.
	* locales/an_ES: Likewise.
	* locales/ar_AE: Likewise.
	* locales/ar_BH: Likewise.
	* locales/ar_DZ: Likewise.
	* locales/ar_EG: Likewise.
	* locales/ar_IN: Likewise.
	* locales/ar_IQ: Likewise.
	* locales/ar_JO: Likewise.
	* locales/ar_KW: Likewise.
	* locales/ar_LB: Likewise.
	* locales/ar_LY: Likewise.
	* locales/ar_MA: Likewise.
	* locales/ar_OM: Likewise.
	* locales/ar_QA: Likewise.
	* locales/ar_SA: Likewise.
	* locales/ar_SD: Likewise.
	* locales/ar_SY: Likewise.
	* locales/ar_TN: Likewise.
	* locales/ar_YE: Likewise.
	* locales/be_BY: Likewise.
	* locales/bn_IN: Likewise.
	* locales/br_FR@euro: Likewise.
	* locales/ca_ES: Likewise.
	* locales/ca_ES@euro: Likewise.
	* locales/cs_CZ: Likewise.
	* locales/da_DK: Likewise.
	* locales/de_AT: Likewise.
	* locales/de_AT@euro: Likewise.
	* locales/de_BE: Likewise.
	* locales/de_BE@euro: Likewise.
	* locales/de_CH: Likewise.
	* locales/de_DE: Likewise.
	* locales/de_DE@euro: Likewise.
	* locales/de_LU: Likewise.
	* locales/de_LU@euro: Likewise.
	* locales/el_GR: Likewise.
	* locales/el_GR@euro: Likewise.
	* locales/en_AU: Likewise.
	* locales/en_BW: Likewise.
	* locales/en_CA: Likewise.
	* locales/en_DK: Likewise.
	* locales/en_GB: Likewise.
	* locales/en_HK: Likewise.
	* locales/en_IE: Likewise.
	* locales/en_IE@euro: Likewise.
	* locales/en_IN: Likewise.
	* locales/en_NZ: Likewise.
	* locales/en_PH: Likewise.
	* locales/en_SG: Likewise.
	* locales/en_US: Likewise.
	* locales/en_ZW: Likewise.
	* locales/es_AR: Likewise.
	* locales/es_BO: Likewise.
	* locales/es_CL: Likewise.
	* locales/es_CO: Likewise.
	* locales/es_CR: Likewise.
	* locales/es_DO: Likewise.
	* locales/es_EC: Likewise.
	* locales/es_ES: Likewise.
	* locales/es_ES@euro: Likewise.
	* locales/es_GT: Likewise.
	* locales/es_HN: Likewise.
	* locales/es_MX: Likewise.
	* locales/es_NI: Likewise.
	* locales/es_PA: Likewise.
	* locales/es_PE: Likewise.
	* locales/es_PR: Likewise.
	* locales/es_PY: Likewise.
	* locales/es_SV: Likewise.
	* locales/es_US: Likewise.
	* locales/es_UY: Likewise.
	* locales/es_VE: Likewise.
	* locales/et_EE: Likewise.
	* locales/eu_ES: Likewise.
	* locales/eu_ES@euro: Likewise.
	* locales/fi_FI: Likewise.
	* locales/fi_FI@euro: Likewise.
	* locales/fo_FO: Likewise.
	* locales/fr_BE: Likewise.
	* locales/fr_BE@euro: Likewise.
	* locales/fr_CA: Likewise.
	* locales/fr_CH: Likewise.
	* locales/fr_FR: Likewise.
	* locales/fr_FR@euro: Likewise.
	* locales/fr_LU: Likewise.
	* locales/fr_LU@euro: Likewise.
	* locales/ga_IE: Likewise.
	* locales/ga_IE@euro: Likewise.
	* locales/gl_ES: Likewise.
	* locales/gl_ES@euro: Likewise.
	* locales/gu_IN: Likewise.
	* locales/gv_GB: Likewise.
	* locales/he_IL: Likewise.
	* locales/hi_IN: Likewise.
	* locales/hr_HR: Likewise.
	* locales/hu_HU: Likewise.
	* locales/id_ID: Likewise.
	* locales/is_IS: Likewise.
	* locales/it_CH: Likewise.
	* locales/it_IT: Likewise.
	* locales/it_IT@euro: Likewise.
	* locales/iw_IL: Likewise.
	* locales/ja_JP: Likewise.
	* locales/kk_KZ: Likewise.
	* locales/kl_GL: Likewise.
	* locales/kn_IN: Likewise.
	* locales/ko_KR: Likewise.
	* locales/kw_GB: Likewise.
	* locales/lo_LA: Likewise.
	* locales/lt_LT: Likewise.
	* locales/lv_LV: Likewise.
	* locales/ml_IN: Likewise.
	* locales/mn_MN: Likewise.
	* locales/mr_IN: Likewise.
	* locales/ms_MY: Likewise.
	* locales/mt_MT: Likewise.
	* locales/nb_NO: Likewise.
	* locales/nl_BE: Likewise.
	* locales/nl_BE@euro: Likewise.
	* locales/nl_NL: Likewise.
	* locales/nl_NL@euro: Likewise.
	* locales/nn_NO: Likewise.
	* locales/pa_IN: Likewise.
	* locales/pl_PL: Likewise.
	* locales/pt_BR: Likewise.
	* locales/pt_PT: Likewise.
	* locales/pt_PT@euro: Likewise.
	* locales/ro_RO: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/sk_SK: Likewise.
	* locales/sl_SI: Likewise.
	* locales/sq_AL: Likewise.
	* locales/sv_FI: Likewise.
	* locales/sv_FI@euro: Likewise.
	* locales/sv_SE: Likewise.
	* locales/ta_IN: Likewise.
	* locales/te_IN: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/ur_PK: Likewise.
	* locales/vi_VN: Likewise.
	* locales/wa_BE@euro: Likewise.
	* locales/zh_CN: Likewise.
	* locales/zh_HK: Likewise.
	* locales/zh_SG: Likewise.
	* locales/zh_TW: Likewise.

	[BZ #187]
	* locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid
	surprises when using untranslated program.
	* locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to
	make it more like the structure of the POSIX locale values.
	* locales/tr_TR: Correct numeric decimal point to use comma, and
	correct grouping.
	Based on patches from Deniz Akkus Kanca and Nilgün Belma Bugüner.

	[BZ #421]
	* locales/tr_TR: Update with new currency symbol valid from
	2005-01-01.  Patch from Nilgün Belma Bugüner.
	* locales/tr_TR: Convert UTF-8 comment to <U#> notation.
2004-10-31 20:49:54 +00:00
Ulrich Drepper
896167225e Update.
2002-02-28  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-4217.def: Remove obsolete currencies for countries
	with Euro.
2002-02-28 09:13:09 +00:00
Ulrich Drepper
02fb3d179d Update.
* posix/runtests.c (main): Don't use exit() to avoid warning with
	broken compilers.

	* string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
	defining it again to avoid warning.
	* string/bug-strpbrk1.c: Likewise.
	* string/bug-strspn1.c: Likewise.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Include more rules from translit_neutral.
	Remove a few German and Danish specific rules.
	* locale/gen-translit.pl: Avoid an error when printing a string
	containing a '%' character.
	* locale/C-translit.h: Regenerated.
	* intl/translit.po: Choose different translations.
	* intl/tst-translit.c: Update.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (translit_include_t): New type.
	(locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
	fields, add translit_include field.
	(ctype_read): After seeing "translit_start" in ignore_content mode,
	skip the entire translit section, not only one line. Remove dead test
	for tok_translit_end. Enqueue include statements into a list.
	Signal error if tok_eof seen before tok_translit_end.
	(translit_flatten): New function.
	(allocate_arrays): Call translit_flatten.

2000-10-30  Ulrich Drepper  <drepper@redhat.com>
2000-10-31 04:38:55 +00:00
Ulrich Drepper
fbe57a0939 Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* locales/ca_ES: Correct comment.

	* locales/ca_ES@euro: New file.
	* locales/de_AT@euro: New file.
	* locales/de_DE@euro: New file.
	* locales/de_LU@euro: New file.
	* locales/en_IE@euro: New file.
	* locales/es_ES@euro: New file.
	* locales/fi_FI@euro: New file.
	* locales/fr_BE@euro: New file.
	* locales/fr_FR@euro: New file.
	* locales/fr_LU@euro: New file.
	* locales/it_IT@euro: New file.
	* locales/nl_NL@euro: New file.
	* locales/pt_PT@euro: New file.
2000-08-21 08:24:10 +00:00