From fc176683e6f0efaa789c30b5a6cdc4b5ed1570f5 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 30 Oct 2022 15:01:40 -0700 Subject: libmime-types-perl: upgrade 2.17 -> 2.22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj --- .../libmime/libmime-types-perl_2.17.bb | 42 -------------------- .../libmime/libmime-types-perl_2.22.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 42 deletions(-) delete mode 100644 meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb create mode 100644 meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb (limited to 'meta-perl') diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb deleted file mode 100644 index d1f6f8c59c..0000000000 --- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "MIME::Types - Definition of MIME types" -DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ -as part of e-mail and HTTP traffic, to indicate the type of content which \ -is transmitted. Sometimes real knowledge about a mime-type is need.\ -\n\ -This module maintains a set of MIME::Type objects, which each describe \ -one known mime type." -HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" -SECTION = "libraries" - -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ - file://run-ptest \ - " -SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" -SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6" - -S = "${WORKDIR}/MIME-Types-${PV}" - -inherit cpan ptest - -RDEPENDS:${PN} = "\ - perl-module-base \ - perl-module-file-basename \ - perl-module-file-spec \ - perl-module-overload \ -" - -RDEPENDS:${PN}-ptest = "perl-module-lib perl-module-test-more" -#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" - -do_install () { - cpan_do_install - install -d ${D}${bindir} - install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types -} - -do_install_ptest () { - cp -r ${B}/t ${D}${PTEST_PATH} -} diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb new file mode 100644 index 0000000000..5f5c4958d9 --- /dev/null +++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.22.bb @@ -0,0 +1,46 @@ +SUMMARY = "MIME::Types - Definition of MIME types" +DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ +as part of e-mail and HTTP traffic, to indicate the type of content which \ +is transmitted. Sometimes real knowledge about a mime-type is need.\ +\n\ +This module maintains a set of MIME::Type objects, which each describe \ +one known mime type." +HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" +SECTION = "libraries" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[sha256sum] = "c2545eb30b094e942860ff8444f0f6cb54641caa8f7d386aaa2d925da4b02400" + +S = "${WORKDIR}/MIME-Types-${PV}" + +inherit cpan ptest + +RDEPENDS:${PN} = "\ + perl-module-base \ + perl-module-carp \ + perl-module-constant \ + perl-module-cwd \ + perl-module-encode-encoding \ + perl-module-file-basename \ + perl-module-file-spec \ + perl-module-list-util \ + perl-module-overload \ + perl-module-perlio \ + perl-module-perlio-encoding \ +" + +RDEPENDS:${PN}-ptest = "\ + perl-module-lib \ + perl-module-test-more \ +" + +#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} -- cgit v1.2.3-54-g00ecf