belocs-locales-bin (2.4-2ubuntu2) feisty; urgency=low * Rebuild for changes in the amd64 toolchain. * Set Ubuntu maintainer address. -- Matthias Klose Mon, 5 Mar 2007 01:13:17 +0000 belocs-locales-bin (2.4-2ubuntu1) feisty; urgency=low * Merge to Debian unstable. Remaining Ubuntu changes: - sbin/locale-gen: + /etc/locale.gen -> /var/lib/locales/supported.d/ + Support creation of all locales of a given language. + Some small bug fixes. - manpages/en/locale-gen.8: Describe additional Ubuntuish ways of calling locale-gen. - debian/control: + Do not depend on belocs-locales-data, we use 'locales'. + Recommend 'locales' (a dependency leads to circles and breaks upgrades). + Some additional Replaces: for upgrades from earlier Ubuntu versions. - debian/manpages: Do not install locale.gen manpages, we do not use this conffile. - Remove debian/{pre,post}{inst,rm}: We do not set up locales here, only in the 'locales' package. - debian/rules: + Don't setup debconf stuff. - Add debian/{install,remove}-language-pack: Hook scripts for language pack installation/removal. Install them in debian/rules. - locale/iso-4217.def: Fix codes for Mexican Peso (LP#63520) and Russian Ruble. -- Martin Pitt Fri, 3 Nov 2006 09:40:42 +0100 belocs-locales-bin (2.4-2) unstable; urgency=low * Fix LC_COLLATE output for glibc 2.4. This bug occurs with hash collision, which means that very few locales were affected. Closes: #378132 Thanks Colin Watson. * debian/prerm: Copied from the locales package. -- Denis Barbier Thu, 13 Jul 2006 22:31:20 +0200 belocs-locales-bin (2.4-1ubuntu6) edgy; urgency=low * Drop locales dependency, we do not really need it and it causes trouble during upgrades. Add a Recommends: for it instead. Closes: LP#62429 -- Martin Pitt Fri, 6 Oct 2006 12:53:47 +0200 belocs-locales-bin (2.4-1ubuntu5) edgy; urgency=low * locale/iso-4217.def: Mexican Peso is 'MXN' since 1993, not 'MXP' any more. Closes: LP#63520 -- Martin Pitt Thu, 5 Oct 2006 14:14:47 +0200 belocs-locales-bin (2.4-1ubuntu4) edgy; urgency=low * debian/manpages: Do not install locale.gen manpage. * manpages/en/locale-gen.8: Do not refer to locale.gen(5). * Closes: LP#57654 -- Martin Pitt Mon, 18 Sep 2006 11:49:46 +0200 belocs-locales-bin (2.4-1ubuntu3) edgy; urgency=low * locale/iso-4217.def: Drop old Russian Ruble 'RUR', replace it with the new 'RUB'. -- Martin Pitt Fri, 4 Aug 2006 13:13:03 +0200 belocs-locales-bin (2.4-1ubuntu2) edgy; urgency=low * locale/programs/localedef.c: Set default locale magic number to 20051014 in localedef as well as in locale-gen. * locale/programs/ld-collate.c: Fix check for the current LC_COLLATE magic number in the event of a hash collision. -- Colin Watson Thu, 13 Jul 2006 16:11:22 +0100 belocs-locales-bin (2.4-1ubuntu1) edgy; urgency=low * Merge changes from Debian. * Preserve behaviour of current belocs-locales-bin in Ubuntu. We don't use this package for setting up locales, we only use the binaries. * Set default locales magic to 20051014 -- Jeff Bailey Wed, 21 Jun 2006 18:59:08 +0200 belocs-locales-bin (2.4-1) unstable; urgency=low * Updated to GNU libc 2.4 This version fixes the warnings reported by Martin Michlmayr with gcc 4.1. * Move locale selection from belocs-locales-data into belocs-locales-bin. * debian/config.in: Fix shell scripting when "All locales" is selected along with other choices, Thanks Olivier Trichet. See: #364251 * Copy debian/NEWS.Debian from belocs-locales-data. * debian/control: Bump Standards-Version: 3.7.2 (no changes needed) -- Denis Barbier Wed, 7 Jun 2006 00:12:23 +0200 belocs-locales-bin (2.3.5-9) unstable; urgency=low * sbin/update-locale: Drop the --remove flag, it is useless. * sbin/update-locale: Fix sanity checks when variables are set with quotes. See #361091. * sbin/update-locale: Fix the --locale-file flag. -- Denis Barbier Thu, 6 Apr 2006 23:10:10 +0200 belocs-locales-bin (2.3.5-8) unstable; urgency=low * sbin/update-locale: do not use a temporary file, it is useless here. Relax a little bit sanity checks to not choke if LANG is unset or set to C. Closes: #360674 Thanks Aaron M. Ucko * Improve update-locale.8 documentation. -- Denis Barbier Tue, 4 Apr 2006 19:53:21 +0200 belocs-locales-bin (2.3.5-7) unstable; urgency=low * sbin/update-locale: New program, to manage /etc/default/locale file. -- Denis Barbier Sun, 2 Apr 2006 22:21:13 +0200 belocs-locales-bin (2.3.5-6) unstable; urgency=low * Remove references to locale.alias(5), this file has been dropped from locales and belocs-locales-data packages. * debian/locale-gen.conf: Set ALIASES to an empty value. -- Denis Barbier Fri, 10 Feb 2006 21:37:15 +0100 belocs-locales-bin (2.3.5-5ubuntu7) dapper; urgency=low * sbin/locale-gen: Quote tr arguments in order to not expand them to single-letter file names in the current directory. Closes: LP#44302 -- Martin Pitt Tue, 16 May 2006 13:10:53 +0200 belocs-locales-bin (2.3.5-5ubuntu6) dapper; urgency=low * debian/remove-language-pack: Do not call locale-gen to regenerate locales. Merely remove the binary locales from /usr/lib/locales. This avoids regenerating all other locales unnecessarily. Closes: LP#34593 -- Martin Pitt Wed, 19 Apr 2006 17:00:14 +0200 belocs-locales-bin (2.3.5-5ubuntu5) dapper; urgency=low * Replaces: libc6.1 as well. Closes: Launchpad#39204 -- LaMont Jones Tue, 11 Apr 2006 15:00:10 -0600 belocs-locales-bin (2.3.5-5ubuntu4) dapper; urgency=low * locale/iso-4217.def: Add "New Turkish Lira" (TRY). Closes: LP#34738 * sbin/locale-gen: Do not completely fail if a single locale cannot be generated; just print 'failed' and continue. Closes: LP#33123. -- Martin Pitt Thu, 30 Mar 2006 16:29:01 +0200 belocs-locales-bin (2.3.5-5ubuntu3) dapper; urgency=low * sbin/locale-gen: Ensure that /var/lib/locales/supported.d/ exists. -- Martin Pitt Mon, 6 Mar 2006 17:27:03 +0100 belocs-locales-bin (2.3.5-5ubuntu2) dapper; urgency=low * sbin/locale-gen: Use /bin/echo instead of just 'echo' when using -e since dash's echo doesn't understand -e. (Malone #28602) -- Martin Pitt Thu, 2 Feb 2006 10:56:31 +0000 belocs-locales-bin (2.3.5-5ubuntu1) dapper; urgency=low * debian/control: - Add Replaces: for libc6 since this package ships locale and localedef. - Add Replaces: locales << 2.3.8-1 since this package now ships locale-gen and {install,remove}-language-pack. * Add debian/{install,remove}-language-pack and install them in debian/rules. * sbin/locale-def: - Changed option parsing to allow for non-option arguments. - Do not fail if /etc/belocs/locale-gen.conf does not exist. - Merge Ubuntu specific changes from version of old locales package: + Ignore /etc/locale.gen, use /var/lib/locales/supported.d/ instead. + Support specifying language or locale names as parameters. * Remove debian/preinst and debian/postrm; they only did diversions of glibc's localedef and locale binaries, which will be dropped soon. * debian/install-language-pack: Remove --keep-existing argument from locale-gen, it's obsolete now. * manpages/en/locale-gen.8: Describe Ubuntu specific changes. -- Martin Pitt Wed, 1 Feb 2006 21:54:09 +0000 belocs-locales-bin (2.3.5-5) unstable; urgency=low * locale/programs/ld-collate.c: Checks for unknown symbols in collation rules let localedef segfault in glibc test suite. Symbols can indeed be defined in the charmap file. This has no practical impact since all locale files use UCS notation. Thanks Jeff Bailey for the hint. -- Denis Barbier Thu, 5 Jan 2006 22:20:13 +0100 belocs-locales-bin (2.3.5-4) unstable; urgency=low * debian/control: this package conflicts and replaces base-config, as requested in #344954. Closes: #345429. Thanks Rene Engelhard. * locale/programs/locale.c: Do not let locale display LANGUAGE if POSIXLY_CORRECT is set, because POSIX specifies which variables have to be displayed. -- Denis Barbier Sat, 31 Dec 2005 15:02:44 +0100 belocs-locales-bin (2.3.5-3) unstable; urgency=low * sbin/validlocale: New script, moved from base-config. Closes: #345323. Thanks Frans Pop. * Handle translated manual pages with po4a. * debian/control: Add Build-Depends: po4a. -- Denis Barbier Fri, 30 Dec 2005 17:30:44 +0100 belocs-locales-bin (2.3.5-2) unstable; urgency=low * Grab changes from upstream CVS: + locale/programs/ld-collate.c (collate_output): Fix counting of elements. Don't limit table size. Use correct secondary hash function. + locale/programs/ld-address.c (address_finish): Produce better error messages for invalid lang_ab use. + locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE. * Magic number can have a new value: 20051014, but only for LC_COLLATE. * sbin/locale-gen: Get magic number from LC_COLLATE instead of LC_CTYPE. * debian/copyright: Update FSF address. -- Denis Barbier Wed, 19 Oct 2005 22:57:33 +0200 belocs-locales-bin (2.3.5-1) unstable; urgency=low * New upstream version. * Bump default magic number to 20031115. * This package is now maintained with baz, so all patches are removed from this source package and maintained with branches. * sbin/locale-gen: run grep in C locale because it is dramatically slow under UTF-8 locales * manpages/en/locale.gen.5 manpages/fr/locale.gen.fr.5: Typos * manpages/en/localedef.1: Major update, thanks to Lars Wirzenius. Closes: #309850 * debian/control: Bump Standards-Version: 3.6.2 -- Denis Barbier Wed, 31 Aug 2005 00:09:59 +0200 belocs-locales-bin (2.3.4-8) unstable; urgency=medium * New patch: + localedef_fix_exhausted_memory.diff Localedef failed if a symbol name has exactly 55 characters in charmap file. * debian/control: locale.gen.5 and locale-gen.8 manual pages are shipped by the locales package, which thus conflicts with belocs-locales-bin. But a Conflicts: locales field cannot be added to belocs-locales-bin, because belocs-locales-data Provides: locales. At the moment, a Depends: belocs-locales-data field is added, it will be gladly removed when these manual pages are moved away from the locales package. The urgency is set to medium to quickly fix this conflict issue. -- Denis Barbier Wed, 27 Apr 2005 19:43:02 +0200 belocs-locales-bin (2.3.4-7) unstable; urgency=low * New patch: + localedef_LC_IDENTIFICATION_optional_fields.diff In LC_IDENTIFICATION, audience, application and abbreviation keywords are optional, thus do not report an error if they are not defined. * sbin/locale-gen: Do not display error messages when md5 cache files cannot be updated. * sbin/locale-gen: Ignore --keep-existing flag. It is implemented by Ubuntu and may reach the Debian locales package, but is useless here because locales are generated only if needed. * sbin/locale-gen: Add a --locale-alias flag to specify an alternative file to /etc/locale.alias, and an ALIASES variable in locale-gen.conf. * sbin/locale-gen: Replace non-portable 'echo -n' by printf commands. -- Denis Barbier Mon, 25 Apr 2005 08:42:34 +0200 belocs-locales-bin (2.3.4-6) unstable; urgency=low * sbin/locale-gen: When --purge was used, MD5 sums were not written and locales were always regenerated at next call. -- Denis Barbier Tue, 12 Apr 2005 22:14:16 +0200 belocs-locales-bin (2.3.4-5) unstable; urgency=medium * Modified patches: + read_isocodes_at_run_time.diff The linelength variable had a wrong type which makes localedef unusable on 64-bit systems. + localedef_preprocessor_collate.diff Fix a wrong type declaration in printf messages. Thanks Aaron M. Ucko for pointing out these two bugs and providing a patch. Closes: #302941 * New patch: + localedef_fix_lang_lib_test.diff A wrong test was performed under some rare circumstances (with 3-letter language codes) about a mismatch with lang_lib. * sbin/locale-gen: Do not barf when the magic file cannot be created. -- Denis Barbier Mon, 4 Apr 2005 23:20:46 +0200 belocs-locales-bin (2.3.4-4) unstable; urgency=medium * localedef_check_unknown_symbols.diff: This patch was tested against all but UTF-8 locales for no good reason. It appears that it breaks reorder-sections-after keyword, which appears in *_ER and *_ET locales. Checks have been fixed to handle this keyword. -- Denis Barbier Fri, 1 Apr 2005 21:27:19 +0200 belocs-locales-bin (2.3.4-3) unstable; urgency=low * debian/control: Do no more Build-Depends on cdbs and quilt, patches are applied in .diff.gz. The versioned dependency on debhelper can then be relaxed to (>= 4). * sbin/locale-gen: Fix --purge, locales were deleted but not always generated and this command had to be run twice. * New patch: localedef_check_unknown_symbols.diff Add checks of unknown symbols in collation rules. -- Denis Barbier Wed, 30 Mar 2005 23:51:21 +0200 belocs-locales-bin (2.3.4-2) unstable; urgency=low * New patch: locale_print_LANGUAGE.diff Also display the LANGUAGE environment variable (if it set) when /usr/bin/locale is invoked without arguments. * sbin/locale-gen: Do not call localedef with --no-archive flag by default. A new --archive command line flag is added. The rationale is that with an archive it is not possible to mix system and user defined locales by setting LOCPATH. * debian/control: According to linda, the Build-Depends versioned dependency on debhelper has to be set >= 4.1.0. -- Denis Barbier Sat, 19 Mar 2005 21:02:13 +0100 belocs-locales-bin (2.3.4-1) unstable; urgency=low * Upgrade to GNU libc 2.3.4 There is no upstream change since all previous CVS commits had been included, the only difference stands in the revision number. * Add new MANIFEST.belocs-locales-bin and README.belocs-locales-bin files to the original tarball to better explain how it is built. * New patch: autotoolize.diff Addition of autotools files is now performed by this patch instead of regular diff.gz. * debian/patches/localedef_preprocessor_collate.diff: A conditional before a copy statement raised an error. -- Denis Barbier Fri, 4 Mar 2005 22:00:31 +0100 belocs-locales-bin (2.3.3-16) unstable; urgency=low * locale-gen: When detecting current glibc magic number, use an empty locale file instead of POSIX, in case future versions of the POSIX locale shipped by belocs-locales-data cannot be used with localedef.glibc. * locale-gen: Cache glibc magic number under /var/lib/belocs. * locale-gen: Add --purge and --no-archive command-line flags to override settings found in configuration file. Update English and French documentation. * locale-gen: Add a --help command-line flag. * English and French manual pages locale-gen.conf.5 where not shipped. -- Denis Barbier Sat, 5 Feb 2005 23:08:25 +0100 belocs-locales-bin (2.3.3-15) unstable; urgency=low * Eventually swap dependency between belocs-locales-bin and belocs-locales-data, since the latter do not work any more with plain localedef. Now belocs-locales-data depends on belocs-locales-bin (>= 2.3.3-13). * locale-gen: Update cached md5sums just after locales are generated so that locales do not have to be generated again if locale-gen is interrupted. * locale-gen: If cached md5sums cannot be written into /var/lib/belocs, simply process as if they were absent instead of aborting. * New patch: localedef_LC_COLLATE_do_not_copy_locales.diff If 'copy' is the first keyword of an LC_COLLATE section, this locale is copied and not parsed again if it had been generated. This does not work with our caching machinery, so it is disabled. As this copy is much slower with large archive files, there is no loss. -- Denis Barbier Tue, 25 Jan 2005 22:03:43 +0100 belocs-locales-bin (2.3.3-14) unstable; urgency=low * New patch: localedef_LC_COLLATE_keywords_ordering.diff Be less strict about keywords ordering in LC_COLLATE section, to ease definition of new scripts. -- Denis Barbier Fri, 21 Jan 2005 22:28:47 +0100 belocs-locales-bin (2.3.3-13) unstable; urgency=low * New patch: debian/patches/localedef_preprocessor_collate.diff Allow preprocessor-like directives. These keywords were already defined in locale/programs/locfile-kw.h, an implementation for 'define', 'undef', 'ifdef', 'else' and 'endif' is now provided in locale/programs/ld-collate.c. For the moment, 'ifndef' and 'elif' are not implemented because they do not appear in locfile-kw.h. * debian/patches/localedef_fix_LC_COLLATE_rules.diff: Another fix for the issue described below, characters were not always assigned to the right section. -- Denis Barbier Thu, 20 Jan 2005 15:49:17 +0100 belocs-locales-bin (2.3.3-12) unstable; urgency=low * debian/patches/localedef_fix_LC_COLLATE_rules.diff: After "reorder-after " keyword, characters do not belong to the current section but to the same section as . This was not an issue until -11 because current_section always pointed to the first one, but now this bug causes SIGSEGV in strxfrm. -- Denis Barbier Sun, 9 Jan 2005 12:57:10 +0100 belocs-locales-bin (2.3.3-11) unstable; urgency=low * debian/patches/localedef_fix_LC_COLLATE_rules.diff: New patch to fix rules definitions in LC_COLLATE. Backward/forward rules were sometimes affected to a wrong section, some rules could wrongly be declared as identical, and localedef segfaults are also fixed. Special French collation now works as described in ISO-14651. Submitted upstream: BZ645. -- Denis Barbier Sat, 8 Jan 2005 00:07:26 +0100 belocs-locales-bin (2.3.3-10) unstable; urgency=low * debian/patches/localedef_complex_collate.diff: localedef could only handle 256 collating-element definitions (see BZ368). This limit does no more exist, and dz_BT can be added to belocs-locales-data. * locale-gen: If PURGE was set to "yes" in locale-gen.conf (which is not the default), locales were not always generated. -- Denis Barbier Sun, 2 Jan 2005 23:45:14 +0100 belocs-locales-bin (2.3.3-9) unstable; urgency=low * Initial upload to unstable. (Closes: #286909) * manpages/en/locale.gen.5 manpages/en/locale-gen.8: Fix manual pages to document changes in locale-gen. * manpages/en/locale-gen.conf.5: New manual page. * manpages/fr/locale.gen.fr.5 manpages/fr/locale-gen.fr.8 manpages/fr/locale-gen.conf.fr.5: Update French translation. -- Denis Barbier Sat, 1 Jan 2005 09:38:18 +0100 belocs-locales-bin (2.3.3-8) experimental; urgency=low * Sync with CVS, only cosmetic changes. * manpages/en/locale.1: Grab changes from the locales package. * sbin/locale-gen: Add a cache system to generate locales only when there are changes in data files. Locales are thus no more purged at the beginning of this file. * debian/locale-gen.conf: Add a PURGE variable, to automatically purge previous locales (i.e. get the old behavior). -- Denis Barbier Mon, 27 Dec 2004 17:02:04 +0100 belocs-locales-bin (2.3.3-7) experimental; urgency=low * Improve description in debian/control. -- Denis Barbier Wed, 22 Dec 2004 21:12:06 +0100 belocs-locales-bin (2.3.3-6) unstable; urgency=low * debian/patches/read_isocodes_at_run_time.diff Let localedef also read /etc/belocs/iso-4217.def if present. * /etc/belocs/locale-gen.conf does not need to be executable. -- Denis Barbier Sun, 7 Nov 2004 20:53:45 +0100 belocs-locales-bin (2.3.3-5) unstable; urgency=low * Move /usr/share/man/man5/locale.gen.5.gz /usr/share/man/fr/man5/locale.gen.5.gz from belocs-locales-data to belocs-locales-bin. * debian/control: Bump versioned Conflicts against belocs-locales-data. * debian/patches/compatibility_magic_number.diff: Change LIMAGIC macro only when building localedef. All magic related stuff is now part of localedef.c, and default value can be changed by a new --magic flag. This means that localedef does no more parse /etc/belocs/locale.magic, this file is removed. * sbin/locale-gen + Now sources /etc/belocs/locale-gen.conf. This configuration file currently defines ARCHIVE=yes (i.e. locale data are gathered in a single archive) and GLIBC_MAGIC=auto (GNU libc magic number for locale data is determined automatically). + Add --magic command-line flag when calling localedef. + Reformat the whole script * debian/README.magic: Update. -- Denis Barbier Sat, 6 Nov 2004 10:26:57 +0100 belocs-locales-bin (2.3.3-4) unstable; urgency=low * Move /usr/lib/locale /usr/sbin/locale-gen /usr/share/man/man8/locale-gen.8.gz /usr/share/man/fr/man8/locale-gen.8.gz from belocs-locales-data to belocs-locales-bin. * debian/control: Add a versioned Conflicts against belocs-locales-data. * debian/control: Slightly change package description. -- Denis Barbier Fri, 5 Nov 2004 22:13:41 +0100 belocs-locales-bin (2.3.3-3) unstable; urgency=low * Fix compatibility_magic_number. The files generated by "localedef --no-archive" are now exactly the same as those created by glibc localedef, and archive only differ by its serial number which does not seem to be used. -- Denis Barbier Thu, 4 Nov 2004 23:52:31 +0100 belocs-locales-bin (2.3.3-2) unstable; urgency=low * Rename revert_magic_2_3_2 patch into compatibility_magic_number. Fix handling of magic for compiled locale data. When incompatible changes in data structures are performed, upstream GNU libc developers bump this magic number to make sure that compiled file are compatible with read routines. But sometimes changes are small and the localedef executable shipped by belocs-locales-bin will try to allow writing compiled locale files for previous GNU libc revisions. Valid magic numbers will be listed in the /usr/share/doc/belocs-locales-bin/README.magic file. These values can be written into the file /etc/belocs/locale.magic; if it does exist, the magic number is read from this file instead of the hardcoded one from localedef. Users can thus adjust this value to fit the one hardcoded in their GNU libc. Currently the values 20000828 (glibc >= 2.1.96) and 20031115 (glibc >= 2.3.3) are supported. * New configuration file: /etc/belocs/locale.magic It currently contains 20000828, which is the value used by GNU libc on Debian unstable. * New file: debian/README.magic to document valid magic numbers. * Set AUTOMAKE_OPTIONS=foreign in all Makefile.am files. -- Denis Barbier Mon, 1 Nov 2004 14:46:21 +0100 belocs-locales-bin (2.3.3-1) unstable; urgency=low * Initial version, based upon glibc 2.3.3. * Copy manual pages from Debian glibc. * Grab upstream changes from CVS. * Apply the following patches: + standalone_build Fix compilation to build outside of glibc. Modified files only are put in this patch to keep track of upstream changes. + revert_magic_2_3_2 Revert magic for data files to the value used by glibc 2.3.2 so that generated locales can be read by glibc from sarge. It does not seem to cause any trouble, but this is a workaround only, a better solution will be implemented later on. + allow_duplicate_country_num Sometimes countries are renamed but their country code is unchanged. In order to help migrating from a locale to another, users may have a chance to install both. + read_isocodes_at_run_time If present, /etc/belocs/iso-3166.def and /etc/belocs/iso-639.def files contain ISO codes which have to replace those provided at compilation time. This allows users to define their own locales without recompiling. This package will never provide such files, they will be shipped by belocs-locales-data so that all data files belong to the same package. There is no such support yet for iso-4217.def. + debian-localedef-fix-trampoline Import localedef-fix-trampoline.dpatch from Debian glibc, to fix localedef segfault when run under exec-shield, PaX or similar. -- Denis Barbier Sat, 30 Oct 2004 14:26:11 +0200