[Koha-bugs] [Bug 30084] Remove explicit dependency of liblocale-codes-perl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 18 12:05:26 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084

--- Comment #7 from Mason James <mtj at kohaaloha.com> ---
[23:02:31] <@Joubu> mtj: from where will it get pulled?
[23:03:02] <@Joubu> we were assuming it was part of perl deps, but it looks
like it's not true on (at least) D11
[23:04:31] <mtj> aah, yes - you are correct
[23:05:19] <mtj> ..we will need to explicitly declare it for deb11 (and
others?)
[23:06:54] <mtj> well spotted Joubu++
[23:06:56] <@Joubu> mtj:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25920#c14
[23:06:57] <huginn> Bug 25920: blocker, P1 - high, ---, mtj, Pushed to
oldstable , Add liblocale-codes-perl package to fix ubuntu-stable (focal)
[23:07:00] <@Joubu> this is the original question
[23:07:07] <@Joubu> "why do we need it?" :D
[23:07:38] <@Joubu> I have to admit I've lost track
[23:08:48] <mtj> looking now
[23:10:51] <@Joubu> mtj: we are using several Locale::* perl packages, but I
don't think they are coming from this package
[23:14:09] <mtj> hmmm, it looks likely the package is not needed at all 🤔
[23:17:35] <mtj> aaah, liblocale-codes-perl package provides 'Locale::Language'
module - which we do need
[23:20:54] <@Joubu> liblocale-po-perl: /usr/share/perl5/Locale/PO.pm
[23:20:55] <@Joubu> libintl-perl: /usr/share/perl5/Locale/Messages.pm
[23:21:13] <@Joubu> libtemplate-plugin-gettext-perl:
/usr/share/perl5/Locale/XGettext/TT2.pm
[23:22:19] <@Joubu> liblocale-currency-format-perl:
/usr/share/perl5/Locale/Currency/Format.pm
[23:22:28] <@Joubu> that's all what I see for Locale::
[23:23:45] <@Joubu> @later tell davidnind Hi David, could you add a SO stamp on
29940?
[23:23:46] <huginn> Joubu: The operation succeeded.
[23:28:54] <@Joubu> mtj: are you on it?
[23:30:39] <mtj> Joubu: yep
[23:33:33] <mtj> git blame says 'Locale::Language' has been a dep since 2010
[23:46:53] <mtj> ping Joubu, can you run 'apt-cache policy
liblocale-codes-perl'
[23:47:23] <mtj> ..if you dont have liblocale-codes-perl installed - dont
install it yet :)
[23:52:57] <pastebot> Someone at 127.0.0.1 pasted "liblocale-codes-perl:
Installe" (7 lines) at https://paste.koha-community.org/7845
[23:53:01] <@Joubu> mtj: ^^
[23:56:30] <mtj> Joubu: looks like locale::lang was included in the fisrt
version of the Makefile   d0cc4b29c7d
[23:56:56] <mtj> from 2007
[00:00:00] - {Day changed to 19 February 2022}
[00:00:58] <mtj> Joubu: it was used by ./misc/translator/po/stats.pl - which is
now deleted :)
[00:02:00] <mtj> ..so we confirm that liblocale-codes-perl aka
Locale::Language, is not required
[00:03:33] <mtj> git reset --hard b695a10e
[00:03:49] <mtj> $ grep -ir   'Locale::Lang' ./*
[00:03:49] <mtj> ./misc/translator/po/stats.pl:use Locale::Language;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list