-------------------
VERSION 3.37 (2015-12-01; sbeck)
NEW CODE(s)
VERSION 3.36 (2015-09-01; sbeck)
NEW CODE(s)
(!) Removed alias_code function
The alias_code function was preserved for backward
compatibility, but has been deprecated since 3.20. It
has been removed.
VERSION 3.35 (2015-06-01; sbeck)
NEW CODE(s)
Documentation improvements
Many changes to the formatting in the documentation to
improve it. Suggested by Pete Houston.
VERSION 3.34 (2015-03-01; sbeck)
NEW CODE(s)
Problems found locating distfiles:
Package colorls: missing distfile ls.tar.gz
Package molden: missing distfile molden-4.6/molden4.6.tar.gz
Package softmaker-office-demo: missing distfile ofl06trial.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Fixed a bug in the scripts used to extract data from spreadsheets
that prevented the SHP currency code from being found. RT 94229
Fixed a problem that was preventing rename_* functions to not work.
RT 92680.
Fixed the pod test files so that pod tests won't get run at install
time. In response to RT 91167.
The alias_code function exists for backward compatibility. It has been
deprecated since version 3.20 when it was replaced by rename_country_code.
The alias_code function will be removed in the December 2014 release.
ISO 3166 is now browsable online (previously, only the alpha-2 codes were)
and it contains more accurate information than the previous sources, so
I've switched to using the full standard. In response to RT 92303 which
reported some codes being 'retired' that should not have been.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
VERSION 3.27 (2013-09-03; sbeck)
NEW CODE(s)
* FIPS-10 country codes removed
As of June, the FIPS codes are not being published in their
entirety. Only changes to the codes are published. This adds
a huge layer of complexity to maintaining the set, which is not
worth doing considering that the set is deprecated. As such, the
code set is no longer supported.
VERSION 3.26 (2013-06-03; sbeck)
Documentation fixes
Some of the examples were not correct. RT 84589
Some typos corrected. RT 85692
VERSION 3.25 (2013-03-01; sbeck)
NEW CODE(s)
VERSION 3.24 (2012-12-03; sbeck)
NEW CODE(s)
Syria alias
Syria added as an alias. RT 82747
FIPS-10 country codes deprecated
The FIPS-10 document is being withdrawn. It was deprecated in 2008,
and is being updated now only until all the agencies that use it have
switched to something else. The current version no longer lists the
long names for countries. These long names (such as 'Republic of
Albania' for Albania) only appeared in the old FIPS-10 document which
is no longer available, so they are no longer available in this module.
I will continue to support the FIPS-10 codeset as long as it is available,
but at that point, it will be withdrawn immediately. If an official
end-of-life date is announced, I will include a notice here. Otherwise, support
for the codeset will be discontinued when the document is withdrawn.
You are encouraged to no longer use the FIPS-10 codeset.
Domain country codes now come from ISO 3166
The IANA domain codes have changed slightly. The IANA no longer
publishes a list of countries associated with their codes. Instead,
they use the ISO 3166 codes and country names. However, they support
a few non-standard codes, so I will continue to maintain this codeset.
The domain codes are now lowercase to correspond to the ISO 3166 codes.
VERSION 3.23 (2012-09-01; sbeck)
NEW CODE(s)
VERSION 3.22 (2012-06-01; sbeck)
NEW CODE(s)
Updated perl version required
Changed 'require 5.002' (which dated back to the version 2.xx Locale-Codes)
to 'require 5.006'. Some features used in Locale-Codes are not supported that
far back. Nicholas Clark
Sorted deprecated codes
The codes in the generated deprecated codes modules were not sorted making version
diffs bigger than they should be. Nicholas Clark
VERSION 3.21 (2012-03-01; sbeck)
NEW CODE(s)
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Changes from previous:
----------------------
VERSION 3.20 (2011−12−01)
NEW CODE(s)
Added limited support for deprecated codes
The code2XXX, XXX2code, all_XXX_codes, and all_XXX_names functions
now support retired codes. RT 71124
Fixed capitalization
The ’South Sudan’ country was all caps. RT 71024
Pod tests off by default
The pod tests will not run at install time. RT 71122
Codesets may be specified by name
All codesets may be specified by a constant or by their name now.
Previously, they were specified only by a constant.
alias_code deprecated
The alias_code function exists for backward compatibility. It has
been replaced by rename_country_code . The alias_code function
will be removed sometime after September, 2013 .
Code cleanup
All work is now done in the central module (Locale::Codes).
Previously, some was still done in the wrapper modules
(Locale::Codes::*) but that is gone now.
Added LangFam module
Added Language Family codes (langfam) as defined in ISO 639−5.
VERSION 3.18 (2011−08−31)
NEW CODE(s)
No longer use CIA data
The CIA world added non‐standard values, so I no longer use it as a
source of data. Based on a report by Michiel Beijen.
VERSION 3.17 (2011−06−28)
NEW CODE(s)
Added new types of codes
Added Language Extension codes (langext) and Language Variation
codes (langvar) as defined in the IANA language registry.
Added new codeset(s)
Added language codes from ISO 639−5
Added language/script codes from the IANA language subtag registry
Bug fixes
Fixed an uninitialized value warning. RT 67438
Fixed the return value for the all_XXX_codes and all_XXX_names
functions. RT 69100
Reorganized code
Reorganized modules to move Locale::MODULE to Locale::Codes::MODULE
to allow for cleaner future additions. The original four modules
(Locale::Language, Locale::Currency, Locale::Country,
Locale::Script) will continue to work, but all new sets of codes
will be added in the Locale::Codes namespace.
VERSION 3.16 (2011−03−01; sbeck)
NEW CODE(s)
VERSION 3.15 (2010−12−02; sbeck)
NEW CODE(s)
Minor fixes
Added version number to Makefile.PL/Build.PL requirement for POD
testing modules. RT 62247
Changed ’use vars’ to ’our’
VERSION 3.14 (2010−09−28; sbeck)
NEW CODE(s)
Bug fixes
Stripped out some HTML that got included with some codes.
3.13 2010-06-04 sbeck
* NEW CODE(s)
3.12 2010-04-06 sbeck
* NEW CODE(s)
* Renamed test.pl to testfunc.pl to avoid causing an error
when built as part of perl.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
pkgsrc changes:
- Add license definition
Upstream changes:
3.11 2010-03-01 sbeck
* NEW CODE(s)
* Added the IANA domain names to Country
* Fixed a problem that produced warnings with perl 5.11.5.
Jerry D. Hedden
*
3.10 2010-02-18 sbeck
* Moved support files into the Locale::Codes namespace.
* The work done in each of the Locale::XXX modules was
virtually identical to each other. It has all
been moved to a central module and the
Locale::XXX moduels are now just wrappers.
* The XXX_code2code functions would return undef if the
same codeset were passed in for both the 2nd and
3rd arguments. This doesn't make sense and has
been changed.
* Added all semi-private routines (except for the
couple that were already present):
rename_XXX
add_XXX
delete_XXX
add_XXX_alias
delete_XXX_alias
rename_XXX_code
add_XXX_code_alias
delete_XXX_code_alias
* Added "UK" alias. Steve Hay
3.01 2010-02-15 sbeck
* Fixed Makefile.PL and Build.PL to install as core
modules.
3.00 2010-02-10 sbeck
* Took over maintenance of the code
* All codes and country names come from the official
standards
* code2country now returns the name of the country specified
in the standard (if the different standards refer
to the country by different variations in the name,
the results will differe based on the CODESET)
* Added code sets
FIPS 10 country codes
Alpha-3 and Term language codes
Numeric currency codes
* The rename_country funcion from 2.07 would guess the
CODESET (unlike all other functions which used
a default of LOCALE_CODE_ALPHA_2). The guess can
cause problems since (with the addition of FIPS)
codes may appear in different codesets for different
countries. The behavior has been changed to be
the same as other functions (default to
LOCALE_CODE_ALPHA_2).
* Dropped support for _alias_code
* Added language_code2code, currency_code2code
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2.07 2004-06-10 neilb
* made $_ local in the initialisation code for each module
change back-propagated from Perl distribution
* removed two non ISO-8859-1 characters from language names
change back-propagated from Perl distribution
* added the following aliases, with a test case for each
- Burma added to Myanmar
- French Southern and Antarctic Lands to
French Southern Territories
patch from TJ Mather
* "Canadian Dollar" was mis-spelled as "Candian Dollar"
- noted by Nick Cabatoff, patch from Michael Hennecke
* Changes to Locale::Country reflecting changes in ISO 3166
- added Aland Islands (ax, ala, 248)
- YUGOSLAVIA is now SERBIA AND MONTENEGRO
YU => CS
YUG => SCG
891 => 891 (unchanged)
(YUGOSLAVIA retained as an alias)
- EAST TIMOR changed to TIMOR-LESTE
(old name retained as an alias)
- three letter code for Romania changed from ROM to ROU
* ZAIRE is now CONGO, THE DEMOCRATIC REPUBLIC OF THE
ZR => CD
ZAR => COD
180 => 180 (unchanged)
(ZAIRE retained as alias)
2.06 2002-07-15 neilb
* The four modules which have data after __DATA__ weren't
closing the DATA filehandle after reading from it,
which they should. Bug and patch from Steve Hay.
2.05 2002-07-08 neilb
* Added three letter codes for the countries that were missing
them. Patch from TJ Mather.
* Documentation bug: one of the examples used => where the
lvalue was a constant, which isn't allowed, unless you
put the () with the constant to force the right interpretation.
Pointed out by TJ Mather and MYT.
* Updated the URL for the appendix in the CIA world factbook.
Patch from TJ Mather.
2.04 2002-05-23 neilb
* updated according to changes in ISO 3166-1 described
in ISO 3166-1 newsletters V-4 and V-5, dated 2002-05-20:
- Kazakstan is now "Kazakhstan"
- Macau is now "Macao"
The old names are retained as aliases.
The alpha-2 and alpha-3 codes for East Timor have changed:
tp -> tl
tmp -> tls
the numeric code stays 626. If you want to support the old
codes, you can use the semi-private function alias_code().
2.03 2002-03-24 neilb
* Fixed a typo in the alias for the Vatican, reported (with patch)
by Philip Newton.
* Added "Moldova" as an alias for "Moldova, Republic of"
* Updated Makefile.PL to include AUTHOR and ABSTRACT
2.02 2002-03-09 neilb
* added semi-private routine rename_country() to Locale::Country,
based on a patch from Iain Chalmers.
* added test rename.t for the above function.
* renamed _alias_code to be alias_code. Have retained the old
name for backwards compatibility. Will remove it when the
major version number next changes.
2.01 2002-02-18 neilb
* Split the documentation for all modules into separate pod files.
* Made sure all =over were =over 4; some were other values.
* The code2code() methods had one more shift than was needed.
2.00 2002-02-17 neilb
* Created Locale::Script which provides an interface to the
ISO codes for identification of scripts (writing scripts,
rather than perl style scripts). The codes are defined
by ISO 15924, which is currently in final draft.
Thanks to Jarkko for pointing out this new standard.
All three code sets are supported, and a test-suite added.
* Added support for country name variants to Locale::Country,
so that
country2code('USA')
country2code('United States')
country2code('United States of America')
will all return 'us'.
This had been in the LIMITATIONS section since the first version.
Patch from TJ Mather <tjmather@tjmather.com> with additional
variants from me. Added test-cases for these.
* Added VERSION to Locale::Constants. Thanks to Jarkko for
pointing that it was missing.
* Should really have bumped major version with previous release,
since there was a change to the API.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
1.06 2001-03-04 neilb
Added Locale::Constants, which defines three symbols
for identifying which codeset is being used:
LOCALE_CODE_ALPHA_2
LOCALE_CODE_ALPHA_3
LOCALE_CODE_NUMERIC
Updated Locale::Country to support all three code sets
defined by ISO 3166. This was requested by Keith Wall.
I haven't added multiple codeset support to the other
modules yet - I'll wait until someone asks for them.
1.05 Feb 2001
Added Locale::Currency, contribution from Michael Hennecke.
Added testsuite for it (t/currency.t) and added testcases
to t/all.t for the all_* functions.
1.04 Dec 2000
Fixed very minor typos from 1.03!
1.03 Dec 2000
Updated Locale::Country:
- fixed spelling of a few countries
- added link to a relevant page from CIA world factbook
Updated Locale::Language:
- fixed typo in the documentation (ISO 939 should be 639)
1.02 May 2000
Updated Locale::Country and Locale::Language to reflect changes
in the relevant ISO standards. These mainly reflect languages
which are new to the relevant standard, and changes in the
spelling of some country names.
Added official URLs for the standards to the SEE ALSO sections
of the doc for each module.
Thanks to Jarkko Hietaniemi for pointing me at the pages
with latest versions of ISO 3166 and 639.
1.00 March 1998
Added Locale::Country::_alias_code() so that 'uk' can be added
as the code for "United Kingdom", if you want it.
This was prompted by Ed Jordan <ed@chronos.net>
Added a new testsuite for handling this case, and extended the
existing test-suite to include testing of the case where
'uk' hasn't been defined as a valid code.
ones to do, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.