Skip to content

Commit

Permalink
Issue #4088: require Locale::[email protected] for Docker installations
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jan 20, 2025
1 parent 2ec7504 commit f23a025
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
22 changes: 12 additions & 10 deletions bin/otobo.CheckModules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1069,11 +1069,12 @@ =head1 DESCRIPTION
},
},
{
Module => 'Locale::CLDR',
Features => ['div:cldr'],
VersionRequired => '== 0.44.1',
Comment => 'localisation from the CLDR project, TODO: upgrade to 0.46.0',
InstTypes => {
Module => 'Locale::CLDR',
Features => ['div:cldr'],
VersionRequired => '== 0.44.1',
DockerVersionRequired => '== 0.46.0',
Comment => 'localisation from the CLDR project, TODO: upgrade to 0.46.0',
InstTypes => {
aptget => undef, # not in any Debian package
emerge => undef,
zypper => undef,
Expand Down Expand Up @@ -1251,11 +1252,12 @@ =head1 DESCRIPTION
for my $Code (qw(Ar De Es Fr Hu Ko Nb Pt Ru Sr Zh)) {
push @NeededModules,
{
Module => "Locale::CLDR::Locales::$Code",
Features => ['div:cldr'],
VersionRequired => '== 0.44.1',
Comment => 'language packs from the CLDR project',
InstTypes => {
Module => "Locale::CLDR::Locales::$Code",
Features => ['div:cldr'],
VersionRequired => '== 0.44.1',
DockerVersionRequired => '== 0.46.0',
Comment => 'language packs from the CLDR project',
InstTypes => {
aptget => undef, # not in any Debian package
emerge => undef,
zypper => undef,
Expand Down
24 changes: 12 additions & 12 deletions cpanfile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -203,40 +203,40 @@ requires 'Plack::Middleware::ReverseProxy';

# feature 'div:cldr', 'Support for feature div:cldr' => sub {
# localisation from the CLDR project, TODO: upgrade to 0.46.0
requires 'Locale::CLDR', '== 0.44.1';
requires 'Locale::CLDR', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Ar', '== 0.44.1';
requires 'Locale::CLDR::Locales::Ar', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::De', '== 0.44.1';
requires 'Locale::CLDR::Locales::De', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Es', '== 0.44.1';
requires 'Locale::CLDR::Locales::Es', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Fr', '== 0.44.1';
requires 'Locale::CLDR::Locales::Fr', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Hu', '== 0.44.1';
requires 'Locale::CLDR::Locales::Hu', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Ko', '== 0.44.1';
requires 'Locale::CLDR::Locales::Ko', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Nb', '== 0.44.1';
requires 'Locale::CLDR::Locales::Nb', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Pt', '== 0.44.1';
requires 'Locale::CLDR::Locales::Pt', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Ru', '== 0.44.1';
requires 'Locale::CLDR::Locales::Ru', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Sr', '== 0.44.1';
requires 'Locale::CLDR::Locales::Sr', '== 0.46.0';

# language packs from the CLDR project
requires 'Locale::CLDR::Locales::Zh', '== 0.44.1';
requires 'Locale::CLDR::Locales::Zh', '== 0.46.0';

# };

Expand Down

0 comments on commit f23a025

Please sign in to comment.