Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Thuận Nguyễn-Thái" <nguyenthaithuanalg@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Thuận Nguyễn-Thái" <nguyenthaithuanalg@gmail.com>
Subject: [meta-oe][PATCH] libsimplelog: upgrade 1.0.8 -> 1.1.0
Date: Mon, 20 Jul 2026 23:02:26 +0700	[thread overview]
Message-ID: <20260720160226.6848-1-nguyenthaithuanalg@gmail.com> (raw)

Add note to answer from meta-openembedded maintainer: Khem Raj

And explain -D__LINUX__=1, -D_GNU_SOURCE=1 and musl (strictly POSIX)

Signed-off-by: Thuận Nguyễn-Thái <nguyenthaithuanalg@gmail.com>
---
 .../libsimplelog/libsimplelog_1.1.0.bb           | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb
index 53c13d726b..7a385d537b 100644
--- a/meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb
+++ b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb
@@ -3,17 +3,27 @@ SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI
 DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
 HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
 LICENSE = "MIT"
+#The checksum of "LIC_FILES_CHKSUM" changed b/c I did change from "2024" to "2024-2026"
+#libsimplelog  is allways full "MIT license".
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=594fdc3cb85f0b684cf5d7b332a741be"
 
 SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV}"
 
 SRCREV = "151e83902ca9755bcd285791d2f49de6fc30bfe6"
 
-S = "${WORKDIR}/git"
-
 inherit cmake
 
-# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
 EXTRA_OECMAKE += "-DUNIX_LINUX=1 -D__LINUX__=1 -D_GNU_SOURCE=1"
 
+# From v.1.0.8 -> v1.1.0
+# Note for -D__LINUX__=1 -D_GNU_SOURCE=1
+# If don't use these flags, v.1.1.0 works like v1.0.8, and well adapt with musl (strictly POSIX)
+# If use 2 flags, they helps the source is more effective. Please test for 2 cases, you will see.
+# Please check "p->r = sched_getcpu();" in "simplelog.c"
+# You can use as below without any problem
+# EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+
+# Drop 0001-allow-build-with-cmake-4.patch as it is now integrated upstream. 
+# Please see branch "main", commit "4827c4325063266f6d2a7e133a9d3a9050ff6a3c" by 
+# Author: Alper Ak <alperyasinak1@gmail.com>
 
-- 
2.43.0



             reply	other threads:[~2026-07-20 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20 16:02 Thuận Nguyễn-Thái [this message]
2026-07-20 16:10 ` [oe] [meta-oe][PATCH] libsimplelog: upgrade 1.0.8 -> 1.1.0 Khem Raj

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=20260720160226.6848-1-nguyenthaithuanalg@gmail.com \
    --to=nguyenthaithuanalg@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox