From: Gyorgy Sarvari <skandigraun@gmail.com>
To: peter.marko@siemens.com, jan vermaete <jan.vermaete@gmail.com>
Cc: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
Date: Tue, 16 Sep 2025 11:16:26 +0200 [thread overview]
Message-ID: <754e2c0a-dc81-4255-b8c0-447c8b350dfd@gmail.com> (raw)
In-Reply-To: <AS1PR10MB5697405DE0AFC728BBE605BFFD15A@AS1PR10MB5697.EURPRD10.PROD.OUTLOOK.COM>
On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
>> -----Original Message-----
>> From: jan vermaete <jan.vermaete@gmail.com>
>> Sent: Saturday, September 6, 2025 19:22
>> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
>> Cc: openembedded-devel@lists.openembedded.org
>> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
>>
>> If I'm not mistaken the usage of a tag in the fetcher does require
>> network access.
>> What's not always the case.
>> This does break the parsing by bitbake when no network/Internet is available.
> Hello, that is true for older releases.
> In master, using tag is possible and even encouraged/required to validate that the hash belongs to a tag.
>
Yes, but this patch seems to be missing a revision also, in which case
the old behavior stays.
> Peter
>
>> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
>> <peter.marko=siemens.com@lists.openembedded.org> wrote:
>>> From: Peter Marko <peter.marko@siemens.com>
>>>
>>> It is needed for poco 1.14+
>>> Ptest runs for less than a second.
>>>
>>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
>>> ---
>>> .../include/ptest-packagelists-meta-oe.inc | 1 +
>>> .../utf8proc/utf8proc/run-ptest | 15 +++++++++
>>> .../utf8proc/utf8proc_2.10.0.bb | 33 +++++++++++++++++++
>>> 3 files changed, 49 insertions(+)
>>> create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>>
>>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-
>> oe/conf/include/ptest-packagelists-meta-oe.inc
>>> index d77b97d576..18324ff0d3 100644
>>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
>>> pv \
>>> sdbus-c++ \
>>> tomlplusplus \
>>> + utf8proc \
>>> uthash \
>>> xmlsec1 \
>>> zeromq \
>>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-
>> oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> new file mode 100644
>>> index 0000000000..349e496d68
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> @@ -0,0 +1,15 @@
>>> +#!/bin/sh
>>> +
>>> +execute_test() {
>>> + eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
>>> +}
>>> +
>>> +execute_test "case"
>>> +execute_test "custom"
>>> +execute_test "iterate"
>>> +execute_test "misc"
>>> +execute_test "printproperty"
>>> +execute_test "valid"
>>> +execute_test "charwidth"
>>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
>>> +execute_test "normtest data/NormalizationTest.txt"
>>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-
>> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> new file mode 100644
>>> index 0000000000..e42d16b8b7
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> @@ -0,0 +1,33 @@
>>> +SUMMARY = "library that provides operations for data in the UTF-8 encoding"
>>> +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
>>> +normalization, case-folding, and other operations for data in the UTF-8 \
>>> +encoding, supporting Unicode version 16.0"
>>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
>>> +SECTION = "libs"
>>> +
>>> +LICENSE = "MIT & Unicode-3.0"
>>> +LIC_FILES_CHKSUM =
>> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
>>> +
>>> +SRC_URI = "\
>>> +
>> git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
>>> + file://run-ptest \
>>> +"
>>> +
>>> +inherit cmake ptest
>>> +
>>> +EXTRA_OECMAKE = "\
>>> + -DBUILD_SHARED_LIBS=ON \
>>> + ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
>> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
>>> +"
>>> +
>>> +do_install_ptest() {
>>> + # this list and run-ptest needs to be updated on upgrade (the project uses
>> add_test feature)
>>> + for t in "case" custom iterate misc printproperty valid charwidth
>> graphemetest normtest; do
>>> + install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
>>> + done
>>> + install -d ${D}${PTEST_PATH}/data
>>> + install -m 0644 ${B}/data/GraphemeBreakTest.txt
>> ${D}${PTEST_PATH}/data/
>>> + install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
>>> +}
>>> +
>>> +BBCLASSEXTEND = "native"
>>>
>>>
>>>
>>
>> --
>> Jan Vermaete
>> “Success is a self-correcting phenomenom.” -- Gary Hamel
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#119405): https://lists.openembedded.org/g/openembedded-devel/message/119405
>> Mute This Topic: https://lists.openembedded.org/mt/115073156/6084445
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
next prev parent reply other threads:[~2025-09-16 9:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 03/10] poco: remove obsolete config define Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 04/10] poco: enable dns in ptest Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 05/10] poco: ignore newly failing test Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 06/10] poco: disable redis config by default Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled " Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 08/10] poco: enable postgresql support Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Peter Marko
2025-09-06 17:22 ` [oe] " jan vermaete
2025-09-15 10:53 ` Marko, Peter
2025-09-16 9:16 ` Gyorgy Sarvari [this message]
2025-09-16 10:28 ` Marko, Peter
2025-09-16 17:43 ` Yoann Congal
2025-09-17 13:02 ` Yoann Congal
2025-09-17 16:27 ` Khem Raj
2025-09-04 22:11 ` [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2 Peter Marko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=754e2c0a-dc81-4255-b8c0-447c8b350dfd@gmail.com \
--to=skandigraun@gmail.com \
--cc=jan.vermaete@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=peter.marko@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.