Skip to contentSkip to conversation

libencode-perl: drop recipe

PATCH New Tim Orling 1 participant 2 messages Feb 23, 2024

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/2 libencode-perl: drop recipe

Encode.pm is packaged in perl itself and users should instead RDEPENDS on perl-module-encode

This was originally added a long time ago when I did not understand the way the packages split was done.

See the other Encode::* sub-packages in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/files/perl-rdepends.txt#n313

---
 .../include/ptest-packagelists-meta-perl.inc  |   1 -
 .../packagegroups/packagegroup-meta-perl.bb   |   3 -
 .../libencode/libencode-perl_3.20.bb          | 108 ------------------
 3 files changed, 112 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libencode/libencode-perl_3.20.bb
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +0 -1
index bb6796f812..717fde29d3 100644
@@ -36,7 +36,6 @@ PTESTS_PROBLEMS_META_PERL ="\
     libnet-dns-perl \
     libnet-dns-sec-perl \
     libnet-ldap-perl \
-    libencode-perl \
     libextutils-installpaths-perl \
     libfile-slurper-perl \
     libhtml-parser-perl \
meta-perl/recipes-core/packagegroups/packagegroup-meta-perl.bb +0 -3
index 2672ab584a..c49b3b5a27 100644
@@ -100,6 +100,3 @@ RDEPENDS:packagegroup-meta-perl-ptest-packages = "\
 "
 
 EXCLUDE_FROM_WORLD = "1"
-
-# perl-module-encode is preferred over libencode-perl
-# libencode-locale-perl depends on libencode-perl
meta-perl/recipes-perl/libencode/libencode-perl_3.20.bb deleted +0 -108

108 lines not on this page · raw message

Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/2 libencode-locale-perl: drop recipe

The upstream has not been touched since 2015, when this recipe was added.
https://metacpan.org/pod/Encode::Locale

There are no other recipes in meta-openembedded which depend on this recipe and it is the only recipe that depends on the now dropped libencode-perl recipe.

My original reason for contributing this recipe is long gone. If someone continues to need this recipe, please submit it again, but refactor it to use perl-module-encode(-*) for its RDEPENDS.

---
 .../libencode/libencode-locale-perl_1.05.bb   | 20 -------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb
meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb deleted +0 -20
deleted file mode 100644
index 8c31f29b63..0000000000
@@ -1,20 +0,0 @@
-SUMMARY = "Encode::Locale - Determine the locale encoding"
-HOMEPAGE = "https://metacpan.org/module/Encode::Locale"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
-LIC_FILES_CHKSUM = "file://README;md5=14e8006c2134045725fd81292a323d24"
-
-SRC_URI = "${CPAN_MIRROR}/authors/id/G/GA/GAAS/Encode-Locale-${PV}.tar.gz"
-SRC_URI[md5sum] = "fcfdb8e4ee34bcf62aed429b4a23db27"
-SRC_URI[sha256sum] = "176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1"
-
-S = "${WORKDIR}/Encode-Locale-${PV}"
-
-inherit cpan
-
-RDEPENDS:${PN} += "libencode-perl \
-                   libencode-alias-perl \
-                   perl-module-base \
-"
-
-BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1