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

Tim Orling timothy.t.orling at linux.intel.com
Wed Jul 12 02:47:14 UTC 2017


> On Jul 11, 2017, at 7:08 PM, Ming Liu <liu.ming50 at gmail.com> wrote:
> 
> 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
> the best,
> thank you
> 
> 2017-07-12 0:32 GMT+02:00 Tim Orling <timothy.t.orling at linux.intel.com <mailto:timothy.t.orling at linux.intel.com>>:
> 
> > On Jul 11, 2017, at 9:44 AM, liu.ming50 at gmail.com <mailto:liu.ming50 at gmail.com> wrote:
> >
> > From: Ming Liu <peter.x.liu at external.atlascopco.com <mailto:peter.x.liu at external.atlascopco.com>>
> >
> > Sombok - Unicode Text Segmentation Package.
> >
> > It's being depended by libunicode-linebreak-perl.
> >
> > Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com <mailto:peter.x.liu at external.atlascopco.com>>
> > ---
> > ...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/>
> 
> >
> > diff --git a/meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch b/meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch
> > new file mode 100644
> > index 0000000..1a69287
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/libsombok3/libsombok3/0001-configure.ac-fix-cross-compiling-issue.patch
> > @@ -0,0 +1,31 @@
> > +From 9c2ffe825e28d63e2a771135f297e8ffac0dbe81 Mon Sep 17 00:00:00 2001
> > +From: Ming Liu <liu.ming50 at gmail.com <mailto:liu.ming50 at gmail.com>>
> > +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 <liu.ming50 at gmail.com <mailto:liu.ming50 at gmail.com>>
> > +---
> > + 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
> > +
> > diff --git a/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/> b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/>
> > new file mode 100644
> > index 0000000..b83e86a
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb <http://libsombok3_2.4.0.bb/>
> 
> > @@ -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
> > Openembedded-devel at lists.openembedded.org <mailto:Openembedded-devel at lists.openembedded.org>
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
> 
> 




More information about the Openembedded-devel mailing list