Skip to contentSkip to conversation

1. Add new feature - binary log.

PATCH In review Thuận Nguyễn-Thái 2 participants 2 messages Jul 18 – Jul 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1. Add new feature - binary log.

2. Cache hit/miss.

---
 .../0001-allow-build-with-cmake-4.patch       | 40 -------------------
 ...mplelog_1.0.8.bb => libsimplelog_1.1.0.bb} | 11 ++---
 2 files changed, 6 insertions(+), 45 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch
 rename meta-oe/recipes-support/libsimplelog/{libsimplelog_1.0.8.bb => libsimplelog_1.1.0.bb} (63%)
meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch deleted +0 -40
deleted file mode 100644
index 17adf92bb0..0000000000
@@ -1,40 +0,0 @@
-From 77be1b3e7d6ff4261114424278413a679672bb92 Mon Sep 17 00:00:00 2001
-From: Alper Ak <[email protected]>
-Date: Wed, 9 Jul 2025 12:10:37 +0300
-Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
- compatibility
-
-Fix:
-
-| CMake Error in CMakeLists.txt:
-|   No cmake_minimum_required command is present.  A line of code such as
-|
-|     cmake_minimum_required(VERSION 4.0)
-|
-|   should be added at the top of the file.  The version specified may be lower
-|   if you wish to support older CMake versions for this project.  For more
-|   information run "cmake --help-policy CMP0000".
-|
-|
-| -- Configuring incomplete, errors occurred!
-
-Upstream-Status: Submitted [https://github.com/thuanalg/simplelog-topic/pull/1]
-
-Signed-off-by: Alper Ak <[email protected]>
----
- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index dca80f1..0fc6db0 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,3 +1,5 @@
-+cmake_minimum_required(VERSION 3.5)
-+
- # Add main.cpp file of the project root directory as a source file
- project(simplelog_topic_project)
- set(SOURCE_LIB_FILES src/simplelog.c )
--- 
-2.43.0
-
meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb renamed from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb +6 -5
similarity index 63%
rename from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb
rename to meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb
index 41b9d47686..fbfa926166 100644
@@ -3,16 +3,17 @@ 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"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=594fdc3cb85f0b684cf5d7b332a741be"
 
-SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV} \
-        file://0001-allow-build-with-cmake-4.patch"
+SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;"
 
-SRCREV = "093d80b4006042b75a433a5e63760ae9bebad142"
+SRCREV = "151e83902ca9755bcd285791d2f49de6fc30bfe6"
+
+S = "${WORKDIR}/git"
 
 inherit cmake
 
 # Specify any options you want to pass to cmake using EXTRA_OECMAKE:
-EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+EXTRA_OECMAKE += "-DUNIX_LINUX=1 -D__LINUX__=1 -D_GNU_SOURCE=1"
 
 
Signature · 1 line
2.43.0
#1 lore raw

Please fix the commit message as per guidelines.

https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#implement-and-commit-changes

Quoted 118 lines · Thuận Nguyễn-Thái via lists.openembedded.org

2. Cache hit/miss.

---
 .../0001-allow-build-with-cmake-4.patch       | 40 -------------------
 ...mplelog_1.0.8.bb => libsimplelog_1.1.0.bb} | 11 ++---
 2 files changed, 6 insertions(+), 45 deletions(-)
 delete mode 100644
meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch
 rename meta-oe/recipes-support/libsimplelog/{libsimplelog_1.0.8.bb =>

libsimplelog_1.1.0.bb} (63%)

diff --git a/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch b/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch deleted file mode 100644
index 17adf92bb0..0000000000
---
a/meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch +++ /dev/null

meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch deleted +0 -14
@@ -1,40 +0,0 @@
-From 77be1b3e7d6ff4261114424278413a679672bb92 Mon Sep 17 00:00:00 2001
-From: Alper Ak <[email protected]>
-Date: Wed, 9 Jul 2025 12:10:37 +0300
-Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
- compatibility
-
-Fix:
-
-| CMake Error in CMakeLists.txt:
-|   No cmake_minimum_required command is present.  A line of code such as
-|
-|     cmake_minimum_required(VERSION 4.0)
-|
-|   should be added at the top of the file.  The version specified may be

lower
-| if you wish to support older CMake versions for this project. For
more

-|   information run "cmake --help-policy CMP0000".
-|
-|
-| -- Configuring incomplete, errors occurred!
(quoted diff) +0 -2
-
-Upstream-Status: Submitted [

https://github.com/thuanalg/simplelog-topic/pull/1]

meta-oe/recipes-support/libsimplelog/libsimplelog/0001-allow-build-with-cmake-4.patch deleted +0 -19
-
-Signed-off-by: Alper Ak <[email protected]>
----
- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index dca80f1..0fc6db0 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,3 +1,5 @@
-+cmake_minimum_required(VERSION 3.5)
-+
- # Add main.cpp file of the project root directory as a source file
- project(simplelog_topic_project)
- set(SOURCE_LIB_FILES src/simplelog.c )
---
-2.43.0
-
meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb renamed from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb +0 -0
similarity index 63%
rename from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb
rename to meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb
index 41b9d47686..fbfa926166 100644
@@ -3,16 +3,17 @@ 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"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=594fdc3cb85f0b684cf5d7b332a741be"

-SRC_URI = "git:// github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV}
<http://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v$%7BPV%7D>
\

meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb renamed from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb +1 -1
-        file://0001-allow-build-with-cmake-4.patch"
+SRC_URI = "git://

github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;"

meta-oe/recipes-support/libsimplelog/libsimplelog_1.1.0.bb renamed from meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb +4 -3
-SRCREV = "093d80b4006042b75a433a5e63760ae9bebad142"
+SRCREV = "151e83902ca9755bcd285791d2f49de6fc30bfe6"
+
+S = "${WORKDIR}/git"
 
 inherit cmake
 
 # Specify any options you want to pass to cmake using EXTRA_OECMAKE:
-EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+EXTRA_OECMAKE += "-DUNIX_LINUX=1 -D__LINUX__=1 -D_GNU_SOURCE=1"
 
 
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#128257):
https://lists.openembedded.org/g/openembedded-devel/message/128257
Mute This Topic: https://lists.openembedded.org/mt/120334975/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-