Skip to contentSkip to conversation

po4a: add full functionalities

PATCH In review [email protected] 2 participants 17 messages Jul 11, 2017 – Jul 13, 2017

lore
Share & tools
lore
#0 lore raw

cover po4a: add full functionalities

From: Ming Liu <[email protected]>

This patch series mainly aim to let po4a and po4a-native work with full functionalities by adding the following dependencies to its DEPENDS and RRECOMMENDS_${PN}:
- libtext-wrapi18n-perl
- libterm-readkey-perl
- liblocale-gettext-perl
- libunicode-linebreak-perl

Ming Liu (8):
libsombok3: add recipe
libmime-charset-perl: add recipe
libterm-readkey-perl: add recipe
liblocale-gettext-perl: add recipe
libtext-charwidth-perl: add recipe
libtext-wrapi18n-perl: add recipe
libunicode-linebreak-perl: add recipe
po4a: add full functionalities

 ...01-configure.ac-fix-cross-compiling-issue.patch | 31 +++++++++++++++++++
 .../libsombok3/libsombok3_2.4.0.bb                 | 25 +++++++++++++++
 .../liblocale/liblocale-gettext-perl_1.07.bb       | 21 +++++++++++++
 .../libmime/libmime-charset-perl_1.012.2.bb        | 19 ++++++++++++
 .../libterm/libterm-readkey-perl_2.37.bb           | 36 ++++++++++++++++++++++
 .../libtext/libtext-charwidth-perl_0.04.bb         | 27 ++++++++++++++++
 .../libtext/libtext-wrapi18n-perl_0.06.bb          | 32 +++++++++++++++++++
 .../libunicode-linebreak-perl_2017.004.bb          | 26 ++++++++++++++++
 meta-perl/recipes-perl/po4a/po4a_0.49.bb           | 17 ++++++++--
 9 files changed, 232 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch
 create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
 create mode 100644 meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
 create mode 100644 meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb
 create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
 create mode 100644 meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2017.004.bb
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/8 libsombok3: add recipe

From: Ming Liu <[email protected]>

Sombok - Unicode Text Segmentation Package.

It's being depended by libunicode-linebreak-perl.

---
 ...01-configure.ac-fix-cross-compiling-issue.patch | 31 ++++++++++++++++++++++
 .../libsombok3/libsombok3_2.4.0.bb                 | 25 +++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch
 create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch new file +31 -0
new file mode 100644
index 0000000..1a69287
@@ -0,0 +1,31 @@
+From 9c2ffe825e28d63e2a771135f297e8ffac0dbe81 Mon Sep 17 00:00:00 2001
+From: Ming Liu <[email protected]>
+Date: Tue, 11 Jul 2017 14:35:30 +0200
+Subject: [PATCH] configure.ac: fix cross-compiling issue
+
+Avoid checking for file existence when cross compiling.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Ming Liu <[email protected]>
+---
+ configure.ac | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9978852..06b16e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -120,9 +120,6 @@ AC_ARG_WITH(unicode-version,
+   AC_HELP_STRING(--with-unicode-version=VERSION,
+   [version of Unicode Standard @<:@default=current version@:>@]),
+   UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
+-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
+-  AC_MSG_RESULT($UNICODE_VERSION),
+-  AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
+ AC_SUBST(UNICODE_VERSION)
+ 
+ # check if code to debug memory allocation is enabled.
+-- 
+2.7.4
+
meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb new file +25 -0
new file mode 100644
index 0000000..b83e86a
@@ -0,0 +1,25 @@
+SUMMARY = "Sombok - Unicode Text Segmentation Package."
+DESCRIPTION = "Sombok library package performs Line Breaking Algorithm described in \
+Unicode Standard Annex #14 (UAX #14).  East_Asian_Width informative \
+properties defined by Annex #11 (UAX #11) may be concerned to determin \
+breaking positions.  This package also implements "default" Grapheme \
+Cluster segmentation described in Annex #29 (UAX #29)."
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
+
+SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https \
+           file://0001-configure.ac-fix-cross-compiling-issue.patch \
+          "
+
+inherit autotools pkgconfig
+
+# sombok-2.4.0
+SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+# Disable libthai support
+EXTRA_OECONF = "--disable-libthai"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-oe/meta-perl] [PATCH 1/8] libsombok3: add recipe

Quoted 9 lines · On Jul 11, 2017, at 9:44 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

Sombok - Unicode Text Segmentation Package.

It's being depended by libunicode-linebreak-perl.

Quoted 7 lines

---
...01-configure.ac-fix-cross-compiling-issue.patch | 31 ++++++++++++++++++++++
.../libsombok3/libsombok3_2.4.0.bb | 25 +++++++++++++++++

2 files changed, 56 insertions(+)

create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb

This is not following Debian naming, it should be libsombok3-perl_2.4.0.bb

Quoted 78 lines
meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch new file +31 -0
new file mode 100644
index 0000000..1a69287
@@ -0,0 +1,31 @@
+From 9c2ffe825e28d63e2a771135f297e8ffac0dbe81 Mon Sep 17 00:00:00 2001
+From: Ming Liu <[email protected]>
+Date: Tue, 11 Jul 2017 14:35:30 +0200
+Subject: [PATCH] configure.ac: fix cross-compiling issue
+
+Avoid checking for file existence when cross compiling.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Ming Liu <[email protected]>
+---
+ configure.ac | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9978852..06b16e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -120,9 +120,6 @@ AC_ARG_WITH(unicode-version,
+   AC_HELP_STRING(--with-unicode-version=VERSION,
+   [version of Unicode Standard @<:@default=current version@:>@]),
+   UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
+-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
+-  AC_MSG_RESULT($UNICODE_VERSION),
+-  AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
+ AC_SUBST(UNICODE_VERSION)
+ 
+ # check if code to debug memory allocation is enabled.
+-- 
+2.7.4
+
meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb new file +25 -0
new file mode 100644
index 0000000..b83e86a
@@ -0,0 +1,25 @@
+SUMMARY = "Sombok - Unicode Text Segmentation Package."
+DESCRIPTION = "Sombok library package performs Line Breaking Algorithm described in \
+Unicode Standard Annex #14 (UAX #14).  East_Asian_Width informative \
+properties defined by Annex #11 (UAX #11) may be concerned to determin \
+breaking positions.  This package also implements "default" Grapheme \
+Cluster segmentation described in Annex #29 (UAX #29)."
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
+
+SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https \
+           file://0001-configure.ac-fix-cross-compiling-issue.patch \
+          "
+
+inherit autotools pkgconfig
+
+# sombok-2.4.0
+SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+# Disable libthai support
+EXTRA_OECONF = "--disable-libthai"
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#3 lore raw

Re: [meta-oe/meta-perl] [PATCH 1/8] libsombok3: add recipe

Hi, Tim:

Are you sure about that? libsombok3 is actually not a perl module, it has the same name "libsombok3" on debian/ubuntu distributions.

the best,
thank you

2017-07-12 0:32 GMT+02:00 Tim Orling <[email protected]>:

Quoted 109 lines
Quoted 12 lines · On Jul 11, 2017, at 9:44 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

Sombok - Unicode Text Segmentation Package.

It's being depended by libunicode-linebreak-perl.

---
...01-configure.ac-fix-cross-compiling-issue.patch | 31

++++++++++++++++++++++

Quoted 1 line

.../libsombok3/libsombok3_2.4.0.bb | 25

+++++++++++++++++

Quoted 2 lines
2 files changed, 56 insertions(+)

create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3/0001-

configure.ac-fix-cross-compiling-issue.patch

Quoted 1 line

create mode 100644 meta-oe/recipes-devtools/libsombok3/

libsombok3_2.4.0.bb

This is not following Debian naming, it should be libsombok3-perl_2.4.0.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

configure.ac-fix-cross-compiling-issue.patch b/meta-oe/recipes-devtools/ libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch

meta-oe/recipes-devtools/libsombok3/libsombok3/0001-

Quoted 4 lines

new file mode 100644
index 0000000..1a69287

meta-oe/recipes-devtools/libsombok3/libsombok3/0001- new file +0 -0

configure.ac-fix-cross-compiling-issue.patch

Review

Quoted 33 lines
meta-oe/recipes-devtools/libsombok3/libsombok3/0001- new file +31 -0
@@ -0,0 +1,31 @@
+From 9c2ffe825e28d63e2a771135f297e8ffac0dbe81 Mon Sep 17 00:00:00 2001
+From: Ming Liu <[email protected]>
+Date: Tue, 11 Jul 2017 14:35:30 +0200
+Subject: [PATCH] configure.ac: fix cross-compiling issue
+
+Avoid checking for file existence when cross compiling.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Ming Liu <[email protected]>
+---
+ configure.ac | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9978852..06b16e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -120,9 +120,6 @@ AC_ARG_WITH(unicode-version,
+   AC_HELP_STRING(--with-unicode-version=VERSION,
+   [version of Unicode Standard @<:@default=current version@:>@]),
+   UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
+-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
+-  AC_MSG_RESULT($UNICODE_VERSION),
+-  AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
+ AC_SUBST(UNICODE_VERSION)
+
+ # check if code to debug memory allocation is enabled.
+--
+2.7.4
+
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb

meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb line 2

Quoted 8 lines

new file mode 100644
index 0000000..b83e86a

meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb new file +2 -0
@@ -0,0 +1,25 @@
+SUMMARY = "Sombok - Unicode Text Segmentation Package."
+DESCRIPTION = "Sombok library package performs Line Breaking Algorithm

described in \

meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb

Quoted 6 lines
meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb new file +6 -0
+Unicode Standard Annex #14 (UAX #14).  East_Asian_Width informative \
+properties defined by Annex #11 (UAX #11) may be concerned to determin \
+breaking positions.  This package also implements "default" Grapheme \
+Cluster segmentation described in Annex #29 (UAX #29)."
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5b122a36d0f6dc55279a0ebc69f3c6

0b"

Quoted 25 lines
meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb new file +17 -1
+
+SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https \
+           file://0001-configure.ac-fix-cross-compiling-issue.patch \
+          "
+
+inherit autotools pkgconfig
+
+# sombok-2.4.0
+SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+# Disable libthai support
+EXTRA_OECONF = "--disable-libthai"
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

Re: [meta-oe/meta-perl] [PATCH 1/8] libsombok3: add recipe

Quoted 7 lines · Ming Liu

Hi, Tim:

Are you sure about that? libsombok3 is actually not a perl module, it has the same name "libsombok3" on debian/ubuntu distributions.

I reviewed too quickly and did not notice this was being targeted for meta-oe/recipes-devtools

Regards,
Tim

Quoted 103 lines

the best,
thank you

2017-07-12 0:32 GMT+02:00 Tim Orling <[email protected] <mailto:[email protected]>>:

Quoted 8 lines · On Jul 11, 2017, at 9:44 AM, [email protected]…

From: Ming Liu <[email protected] <mailto:[email protected]>>

Sombok - Unicode Text Segmentation Package.

It's being depended by libunicode-linebreak-perl.

Quoted 7 lines
Signed-off-by Ming Liu <[email protected] <mailto:[email protected]>>

---
...01-configure.ac-fix-cross-compiling-issue.patch | 31 ++++++++++++++++++++++
.../libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/> | 25 +++++++++++++++++

2 files changed, 56 insertions(+)

create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch create mode 100644 meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/>

This is not following Debian naming, it should be libsombok3-perl_2.4.0.bb <http://libsombok3-perl_2.4.0.bb/>

Quoted 78 lines
meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch new file +31 -0
new file mode 100644
index 0000000..1a69287
@@ -0,0 +1,31 @@
+From 9c2ffe825e28d63e2a771135f297e8ffac0dbe81 Mon Sep 17 00:00:00 2001
+From: Ming Liu <[email protected] <mailto:[email protected]>>
+Date: Tue, 11 Jul 2017 14:35:30 +0200
+Subject: [PATCH] configure.ac <http://configure.ac/>: fix cross-compiling issue
+
+Avoid checking for file existence when cross compiling.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Ming Liu <[email protected] <mailto:[email protected]>>
+---
+ configure.ac <http://configure.ac/> | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/configure.ac <http://configure.ac/> b/configure.ac <http://configure.ac/>
+index 9978852..06b16e3 100644
+--- a/configure.ac <http://configure.ac/>
++++ b/configure.ac <http://configure.ac/>
+@@ -120,9 +120,6 @@ AC_ARG_WITH(unicode-version,
+   AC_HELP_STRING(--with-unicode-version=VERSION,
+   [version of Unicode Standard @<:@default=current version@:>@]),
+   UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
+-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
+-  AC_MSG_RESULT($UNICODE_VERSION),
+-  AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
+ AC_SUBST(UNICODE_VERSION)
+
+ # check if code to debug memory allocation is enabled.
+--
+2.7.4
+
meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/> new file +25 -1
new file mode 100644
index 0000000..b83e86a
@@ -0,0 +1,25 @@
+SUMMARY = "Sombok - Unicode Text Segmentation Package."
+DESCRIPTION = "Sombok library package performs Line Breaking Algorithm described in \
+Unicode Standard Annex #14 (UAX #14).  East_Asian_Width informative \
+properties defined by Annex #11 (UAX #11) may be concerned to determin \
+breaking positions.  This package also implements "default" Grapheme \
+Cluster segmentation described in Annex #29 (UAX #29)."
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
+
+SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https <http://github.com/hatukanezumi/sombok.git;protocol=https> \
+           file://0001-configure.ac-fix-cross-compiling-issue.patch \
+          "
+
+inherit autotools pkgconfig
+
+# sombok-2.4.0
+SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+# Disable libthai support
+EXTRA_OECONF = "--disable-libthai"
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>

#5 lore raw

PATCH 2/8 libmime-charset-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

MIME::Charset - Charset Information for MIME.

It's being depended by libunicode-linebreak-perl.

---
 .../libmime/libmime-charset-perl_1.012.2.bb           | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb
meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb new file +19 -0
new file mode 100644
index 0000000..79b4681
@@ -0,0 +1,19 @@
+SUMMARY = "MIME::Charset - Charset Information for MIME."
+DESCRIPTION = "MIME::Charset provides information about character sets used for MIME \
+messages on Internet."
+HOMEPAGE = "http://search.cpan.org/~nezumi/MIME-Charset-${PV}/"
+SECTION = "libs"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/MIME-Charset-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "71440416376248c31aa3bef753fae28d"
+SRC_URI[sha256sum] = "878c779c0256c591666bd06c0cde4c0d7820eeeb98fd1183082aee9a1e7b1d13"
+
+S = "${WORKDIR}/MIME-Charset-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#6 lore raw

PATCH 3/8 libterm-readkey-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

---
 .../libterm/libterm-readkey-perl_2.37.bb           | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +36 -0
new file mode 100644
index 0000000..6b76682
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing simple \
+control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
+for non-blocking reads, if the architecture allows, and some generalized \
+handy functions for working with terminals. One of the main goals is to \
+have the functions as portable as possible, so you can just plug in "use \
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules since it can't load
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${STAGING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile
+    fi
+}
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#7 lore raw

Re: [meta-oe/meta-perl] [PATCH 3/8] libterm-readkey-perl: add recipe

The original po4a recipe should have been named libpo4a-perl, to follow Debian naming. Notice that every other perl module you have in DEPENDS or RRECOMMENDS __are__ following Debian naming. Please help us keep the metadata consistent in the meta-perl layer. Thank you.

See 4.2 in:
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html

Quoted 64 lines · On Jul 11, 2017, at 9:44 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

---
.../libterm/libterm-readkey-perl_2.37.bb | 36 ++++++++++++++++++++++

1 file changed, 36 insertions(+)

create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +36 -0
new file mode 100644
index 0000000..6b76682
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing simple \
+control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
+for non-blocking reads, if the architecture allows, and some generalized \
+handy functions for working with terminals. One of the main goals is to \
+have the functions as portable as possible, so you can just plug in "use \
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules since it can't load
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${STAGING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile
+    fi
+}
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#8 lore raw

Re: [meta-oe/meta-perl] [PATCH 3/8] libterm-readkey-perl: add recipe

Hi, Tim:

po4a is providing some perl modules and also some normal binaries, and it's named as "po4a" on debian/ubuntu distributions as well, that's why I did not take po4a-perl as its name, shouldn't we let it have a identical name as debian distributions have, to follow debian naming?

the best,
thank you

2017-07-12 0:34 GMT+02:00 Tim Orling <[email protected]>:

Quoted 89 lines

The original po4a recipe should have been named libpo4a-perl, to follow Debian naming. Notice that every other perl module you have in DEPENDS or RRECOMMENDS __are__ following Debian naming. Please help us keep the metadata consistent in the meta-perl layer. Thank you.

See 4.2 in:
https://www.debian.org/doc/packaging-manuals/perl-policy/
ch-module_packages.html

Quoted 11 lines · On Jul 11, 2017, at 9:44 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

---
.../libterm/libterm-readkey-perl_2.37.bb | 36

++++++++++++++++++++++

Quoted 2 lines
1 file changed, 36 insertions(+)

create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_

2.37.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..6b76682

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +2 -0
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to

providing simple \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 3

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+control over terminal driver modes (cbreak, raw, cooked, etc.,) support

\

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 4

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+for non-blocking reads, if the architecture allows, and some

generalized \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 5

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+handy functions for working with terminals. One of the main goals is to

\

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 6

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+have the functions as portable as possible, so you can just plug in

"use \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 9 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +9 -0
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.

tar.gz"

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 3 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +3 -0
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e89

4ffad41d556b41d2f2f577c8db682db241"

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 11 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +11 -0
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules

since it can't load

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 3 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +3 -0
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${

STAGING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile

Quoted 12 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +4 -1
+    fi
+}
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#9 lore raw

Re: [meta-oe/meta-perl] [PATCH 3/8] libterm-readkey-perl: add recipe

Quoted 7 lines · Ming Liu

Hi, Tim:

po4a is providing some perl modules and also some normal binaries, and it's named as "po4a" on debian/ubuntu distributions as well, that's why I did not take po4a-perl as its name, shouldn't we let it have a identical name as debian distributions have, to follow debian naming?

In that case the po4a recipe is unclear and too simple. I would expect to see the libraries broken out into a sub package which does follow Debian naming. There is nothing in the recipe or commit message to indicate it is NOT a standard perl package. It will be read by non-informed users as open season to use any naming scheme they want. Hence my concern.

Just my 2 cents.

—Tim

Quoted 76 lines

the best,
thank you

2017-07-12 0:34 GMT+02:00 Tim Orling <[email protected] <mailto:[email protected]>>:
The original po4a recipe should have been named libpo4a-perl, to follow Debian naming. Notice that every other perl module you have in DEPENDS or RRECOMMENDS __are__ following Debian naming. Please help us keep the metadata consistent in the meta-perl layer. Thank you.

See 4.2 in:
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html <https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html>

Quoted 64 lines · On Jul 11, 2017, at 9:44 AM, [email protected]…

From: Ming Liu <[email protected] <mailto:[email protected]>>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

Signed-off-by Ming Liu <[email protected] <mailto:[email protected]>>

---
.../libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/> | 36 ++++++++++++++++++++++

1 file changed, 36 insertions(+)

create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/>

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/> new file +36 -1
new file mode 100644
index 0000000..6b76682
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing simple \
+control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
+for non-blocking reads, if the architecture allows, and some generalized \
+handy functions for working with terminals. One of the main goals is to \
+have the functions as portable as possible, so you can just plug in "use \
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV} <http://search.cpan.org/~jstowe/TermReadKey-$%7BPV%7D>"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules since it can't load
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${STAGING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile
+    fi
+}
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>

author
#10 lore raw

Re: [meta-oe/meta-perl] [PATCH 3/8] libterm-readkey-perl: add recipe

Hi, TIm:

I also had considered splitting po4a perl modules to a sub package to follow perl module naming scheme, but I finally decided to use the same package naming as it is on debian/ubuntu distributions(just a single main package named po4a), which I think is easier to be maintained/understood by developers/users, especially for those who are comfortable with debian systems.

//MIng Liu

2017-07-12 4:51 GMT+02:00 Tim Orling <[email protected]>:

Quoted 118 lines · Ming Liu

Hi, Tim:

po4a is providing some perl modules and also some normal binaries, and it's named as "po4a" on debian/ubuntu distributions as well, that's why I did not take po4a-perl as its name, shouldn't we let it have a identical name as debian distributions have, to follow debian naming?

In that case the po4a recipe is unclear and too simple. I would expect to see the libraries broken out into a sub package which does follow Debian naming. There is nothing in the recipe or commit message to indicate it is NOT a standard perl package. It will be read by non-informed users as open season to use any naming scheme they want. Hence my concern.

Just my 2 cents.

—Tim

the best,
thank you

2017-07-12 0:34 GMT+02:00 Tim Orling <[email protected]>:

Quoted 90 lines

The original po4a recipe should have been named libpo4a-perl, to follow Debian naming. Notice that every other perl module you have in DEPENDS or RRECOMMENDS __are__ following Debian naming. Please help us keep the metadata consistent in the meta-perl layer. Thank you.

See 4.2 in:
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-
module_packages.html

Quoted 11 lines · On Jul 11, 2017, at 9:44 AM, [email protected] wrote:

From: Ming Liu <[email protected]>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

---
.../libterm/libterm-readkey-perl_2.37.bb | 36

++++++++++++++++++++++

Quoted 2 lines
1 file changed, 36 insertions(+)

create mode 100644 meta-perl/recipes-perl/libterm/

libterm-readkey-perl_2.37.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

bb b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..6b76682

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +2 -0
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to

providing simple \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 3

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+control over terminal driver modes (cbreak, raw, cooked, etc.,)

support \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 4

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+for non-blocking reads, if the architecture allows, and some

generalized \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 5

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+handy functions for working with terminals. One of the main goals is

to \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 6

Quoted 1 line
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +1 -0
+have the functions as portable as possible, so you can just plug in

"use \

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 7 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +7 -0
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=c275db663c8

489a5709ebb22b185add5"

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb line 15

Quoted 2 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +2 -0
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar

.gz"

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 3 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +3 -0
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e8

94ffad41d556b41d2f2f577c8db682db241"

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 11 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +11 -0
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules

since it can't load

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb

Quoted 3 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +3 -0
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${STAG

ING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile

Quoted 12 lines
meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb new file +4 -1
+    fi
+}
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#11 lore raw

Re: [meta-oe/meta-perl] [PATCH 3/8] libterm-readkey-perl: add recipe

Understood. I now acknowledge that you did your due diligence. I guess I have some issues with Debian’s packaging of po4a, but that is for a different channel.

Thank you for thinking things through and answering my concerns.

—Tim

Quoted 102 lines · Ming Liu

Hi, TIm:

I also had considered splitting po4a perl modules to a sub package to follow perl module naming scheme, but I finally decided to use the same package naming as it is on debian/ubuntu distributions(just a single main package named po4a), which I think is easier to be maintained/understood by developers/users, especially for those who are comfortable with debian systems.

//MIng Liu

2017-07-12 4:51 GMT+02:00 Tim Orling <[email protected] <mailto:[email protected]>>:

Quoted 6 lines · On Jul 11, 2017, at 7:07 PM, Ming Liu <[email protected]…

Hi, Tim:

po4a is providing some perl modules and also some normal binaries, and it's named as "po4a" on debian/ubuntu distributions as well, that's why I did not take po4a-perl as its name, shouldn't we let it have a identical name as debian distributions have, to follow debian naming?

In that case the po4a recipe is unclear and too simple. I would expect to see the libraries broken out into a sub package which does follow Debian naming. There is nothing in the recipe or commit message to indicate it is NOT a standard perl package. It will be read by non-informed users as open season to use any naming scheme they want. Hence my concern.

Just my 2 cents.

—Tim

Quoted 76 lines

the best,
thank you

2017-07-12 0:34 GMT+02:00 Tim Orling <[email protected] <mailto:[email protected]>>:
The original po4a recipe should have been named libpo4a-perl, to follow Debian naming. Notice that every other perl module you have in DEPENDS or RRECOMMENDS __are__ following Debian naming. Please help us keep the metadata consistent in the meta-perl layer. Thank you.

See 4.2 in:
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html <https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html>

Quoted 64 lines · On Jul 11, 2017, at 9:44 AM, [email protected]…

From: Ming Liu <[email protected] <mailto:[email protected]>>

Term::ReadKey - A perl module for simple terminal control.

It's being strongly recommended by po4a.

Signed-off-by Ming Liu <[email protected] <mailto:[email protected]>>

---
.../libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/> | 36 ++++++++++++++++++++++

1 file changed, 36 insertions(+)

create mode 100644 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/>

meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb <http://libterm-readkey-perl_2.37.bb/> new file +36 -1
new file mode 100644
index 0000000..6b76682
@@ -0,0 +1,36 @@
+SUMMARY = "Term::ReadKey - A perl module for simple terminal control."
+DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing simple \
+control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
+for non-blocking reads, if the architecture allows, and some generalized \
+handy functions for working with terminals. One of the main goals is to \
+have the functions as portable as possible, so you can just plug in "use \
+Term::ReadKey" on any architecture and have a good likelihood of it \
+working."
+HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV} <http://search.cpan.org/~jstowe/TermReadKey-$%7BPV%7D>"
+SECTION = "libraries"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5= <>c275db663c8489a5709ebb22b185add5"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
+SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+
+S = "${WORKDIR}/TermReadKey-${PV}"
+
+# It needs depend on native to let dynamic loader use native modules
+# rather than target ones.
+DEPENDS = "libterm-readkey-perl-native"
+
+inherit cpan
+
+do_configure_append () {
+    # Hack the dynamic module loader so that it use native modules since it can't load
+    # the target ones.
+    if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+        sed -i -e "s#-I\$(INST_ARCHLIB)#-I${STAGING_BINDIR_NATIVE}/perl-native/perl/vendor_perl/${@get_perl_version(d)}#g" Makefile
+    fi
+}
+
+BBCLASSEXTEND = "native"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>

#12 lore raw

PATCH 4/8 liblocale-gettext-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

Locale::gettext - message handling functions.

It's being strongly recommended by po4a.

---
 .../liblocale/liblocale-gettext-perl_1.07.bb        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb new file +21 -0
new file mode 100644
index 0000000..fdc72a2
@@ -0,0 +1,21 @@
+SUMMARY = "Locale::gettext - message handling functions."
+DESCRIPTION = "The gettext module permits access from perl to the gettext() family of \
+functions for retrieving message strings from databases constructed to \
+internationalize software."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~pvandry/Locale-gettext-${PV}/"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=d028249c2d08dca6ca6c5bb43b56d926"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/P/PV/PVANDRY/Locale-gettext-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "bc652758af65c24500f1d06a77415019"
+SRC_URI[sha256sum] = "909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15"
+
+S = "${WORKDIR}/Locale-gettext-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#13 lore raw

PATCH 5/8 libtext-charwidth-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

Text::CharWidth - Get number of occupied columns of a string on terminal.

It's being depended by libtext-wrapi18n-perl.

---
 .../libtext/libtext-charwidth-perl_0.04.bb         | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb new file +27 -0
new file mode 100644
index 0000000..9057ae7
@@ -0,0 +1,27 @@
+SUMMARY = "Text::CharWidth - Get number of occupied columns of a string on terminal."
+DESCRIPTION = "This module supplies features similar as wcwidth(3) and wcswidth(3) \
+in C language. \
+Characters have its own width on terminal depending on locale. For \
+example, ASCII characters occupy one column per character, east Asian \
+fullwidth characters (like Hiragana or Han Ideograph) occupy two columns \
+per character, and combining characters (apperaring in ISO-8859-11 Thai, \
+Unicode, and so on) occupy zero columns per character. mbwidth() gives the \
+width of the first character of the given string and mbswidth() gives the \
+width of the whole given string."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15"
+SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8"
+
+S = "${WORKDIR}/Text-CharWidth-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#14 lore raw

PATCH 6/8 libtext-wrapi18n-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words.

It's being strongly recommended by po4a.

---
 .../libtext/libtext-wrapi18n-perl_0.06.bb          | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb new file +32 -0
new file mode 100644
index 0000000..b2c239d
@@ -0,0 +1,32 @@
+SUMMARY = "Text::WrapI18N - Line wrapping module with support for multibyte, \
+fullwidth, and combining characters and languages without whitespaces \
+between words."
+DESCRIPTION = "This module intends to be a better Text::Wrap module. This module is \
+needed to support multibyte character encodings such as UTF-8, EUC-JP, \
+EUC-KR, GB2312, and Big5. This module also supports characters with \
+irregular widths, such as combining characters (which occupy zero columns \
+on terminal, like diacritical marks in UTF-8) and fullwidth characters \
+(which occupy two columns on terminal, like most of east Asian \
+characters). Also, minimal handling of languages which doesn't use \
+whitespaces between words (like Chinese and Japanese) is supported."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0799c16a00926e6c18d400c2e2861d5f"
+SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488"
+
+S = "${WORKDIR}/Text-WrapI18N-${PV}"
+
+DEPENDS = "libtext-charwidth-perl"
+
+RDEPENDS_${PN} = "libtext-charwidth-perl"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#15 lore raw

PATCH 7/8 libunicode-linebreak-perl: add recipe

In reply to [email protected]

From: Ming Liu <[email protected]>

Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm.

It's being strongly recommended by po4a.

---
 .../libunicode-linebreak-perl_2017.004.bb          | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2017.004.bb
meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2017.004.bb new file +26 -0
new file mode 100644
index 0000000..5ccb411
@@ -0,0 +1,26 @@
+SUMMARY = "Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm."
+DESCRIPTION = "Unicode::LineBreak performs Line Breaking Algorithm described in Unicode \
+Standard Annex #14 [UAX #14]. East_Asian_Width informative property \
+defined by Annex #11 [UAX #11] will be concerned to determine breaking \
+positions."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~nezumi/Unicode-LineBreak-${PV}/"
+
+LICENSE = "Artistic-1.0 | GPLv1+"
+LIC_FILES_CHKSUM = "file://README;md5=77241abd74fec561b3f3de1b44c0241b"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "de7672227922260ac92d20bbad29660b"
+SRC_URI[sha256sum] = "655bc3c4cb60ad0770d97816716cfe322f24e602c70e595f5941dfa02c40cb76"
+
+S = "${WORKDIR}/Unicode-LineBreak-${PV}"
+
+DEPENDS = "libsombok3 libmime-charset-perl"
+
+RDEPENDS_${PN} = "libsombok3 libmime-charset-perl"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#16 lore raw

PATCH 8/8 po4a: add full functionalities

In reply to [email protected]

From: Ming Liu <[email protected]>

Add the following dependencies to DEPENDS and RRECOMMENDS_${PN}, to let po4a and po4a-native work with full functionalities:
- libtext-wrapi18n-perl
- libterm-readkey-perl
- liblocale-gettext-perl
- libunicode-linebreak-perl

---
 meta-perl/recipes-perl/po4a/po4a_0.49.bb | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
meta-perl/recipes-perl/po4a/po4a_0.49.bb +15 -2
index e52e5f7..5db5b8f 100644
@@ -13,8 +13,21 @@ SRCREV = "79ed87a577a543538fe39c7b60079981f5997072"
 
 S = "${WORKDIR}/git"
 
-inherit cpan_build
+DEPENDS = " \
+    libmodule-build-perl-native \
+    libtext-wrapi18n-perl \
+    libterm-readkey-perl \
+    liblocale-gettext-perl \
+    libunicode-linebreak-perl \
+"
+
+RRECOMMENDS_${PN} = " \
+    libtext-wrapi18n-perl \
+    libterm-readkey-perl \
+    liblocale-gettext-perl \
+    libunicode-linebreak-perl \
+"
 
-DEPENDS += "libmodule-build-perl-native"
+inherit cpan_build
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4