summaryrefslogtreecommitdiffstats
path: root/meta-perl
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-10-30 15:01:40 -0700
committerKhem Raj <raj.khem@gmail.com>2022-10-30 17:49:08 -0700
commitfc176683e6f0efaa789c30b5a6cdc4b5ed1570f5 (patch)
tree141d530ae60739f2ceae522ede2b776595458c01 /meta-perl
parent4a2ab98f39440fe0b616dee1918df68d28213a7e (diff)
downloadmeta-openembedded-fc176683e6f0efaa789c30b5a6cdc4b5ed1570f5.tar.gz
libmime-types-perl: upgrade 2.17 -> 2.22
Fix RDEPENDS, in particular perl-module-perlio-encoding and perl-module-encode-encoding were needed to be able to open the database in /usr/lib/perl5/5.36.0/vendor_perl/MIME/types.db... even though no warnings or errors were reported. bin/collect-types was dropped in 2.18 Upstream release notes: version 2.22: Wed 27 Oct 16:54:38 CEST 2021 Changes: - webm keeps on producting unexpected results [issue #11, Даша Федорова] - iana updates version 2.21: Fri 28 May 12:01:00 CEST 2021 Changes: - application/octet-stream is better for .dat [issue #11, Даша Федорова] - add video/webm which Google forgot to register [issue #12, Brent Laabs] - add image/webp which Google registered too late [issue #12, Brent Laabs] version 2.20: Thu 22 Apr 12:48:35 CEST 2021 Fixes: - problems with PAUSE cause the previous release to show-up in the wrong location. Let's hope this release solves it. Changes: - heif/heic/heifs/heics/hif fix [issue #9, Даша Федорова] - no 'and' and 'or' extensions [issue #9, Даша Федорова] - application/octet-stream is better for .bin [issue #10, Даша Федорова] version 2.19: Fri 16 Apr 11:47:10 CEST 2021 Improvements: - update with the newest data from IANA and Apache httpd Changes: - mp4 preference is video/mp4 [issue #5, Даша Федорова] - yt preference is video/vnd.youtube.yt [issue #6, Даша Федорова] - 3gp and 3gpp preference is video/3gpp [issue #7, Даша Федорова] version 2.18: Wed 9 Dec 10:29:46 CET 2020 Improvements: - update with newest data Changes: - Mojo 6.0 changed types() into mapping() [Dmitry Latin] - Mojo 7.94 adds experimental file_type() - Mojo 7.94 adds experimental content_type() Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r--meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb (renamed from meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb)22
1 files changed, 13 insertions, 9 deletions
diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb
index d1f6f8c59..5f5c4958d 100644
--- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb
+++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb
@@ -14,8 +14,7 @@ LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875
14SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ 14SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \
15 file://run-ptest \ 15 file://run-ptest \
16 " 16 "
17SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" 17SRC_URI[sha256sum] = "c2545eb30b094e942860ff8444f0f6cb54641caa8f7d386aaa2d925da4b02400"
18SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6"
19 18
20S = "${WORKDIR}/MIME-Types-${PV}" 19S = "${WORKDIR}/MIME-Types-${PV}"
21 20
@@ -23,19 +22,24 @@ inherit cpan ptest
23 22
24RDEPENDS:${PN} = "\ 23RDEPENDS:${PN} = "\
25 perl-module-base \ 24 perl-module-base \
25 perl-module-carp \
26 perl-module-constant \
27 perl-module-cwd \
28 perl-module-encode-encoding \
26 perl-module-file-basename \ 29 perl-module-file-basename \
27 perl-module-file-spec \ 30 perl-module-file-spec \
31 perl-module-list-util \
28 perl-module-overload \ 32 perl-module-overload \
33 perl-module-perlio \
34 perl-module-perlio-encoding \
29" 35"
30 36
31RDEPENDS:${PN}-ptest = "perl-module-lib perl-module-test-more" 37RDEPENDS:${PN}-ptest = "\
32#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" 38 perl-module-lib \
39 perl-module-test-more \
40"
33 41
34do_install () { 42#RSUGGESTS:${PN}-ptest = "libmojo-base-perl"
35 cpan_do_install
36 install -d ${D}${bindir}
37 install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types
38}
39 43
40do_install_ptest () { 44do_install_ptest () {
41 cp -r ${B}/t ${D}${PTEST_PATH} 45 cp -r ${B}/t ${D}${PTEST_PATH}