Skip to contentSkip to conversation

jansson: move to oe-core

PATCH New Alexander Kanavin 1 participant 1 message Jun 21

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jansson: move to oe-core

Added in oe-core commit:
https://git.openembedded.org/openembedded-core/commit/?id=2b6e7d092b4a21930186682ebf085848b2e49de5

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 -
 .../jansson/0001-Honour-multilib-paths.patch  | 63 -------------------
 ...ols-starting-with-json_-and-jansson_.patch | 29 ---------
 .../jansson/jansson_2.15.0.bb                 | 20 ------
 4 files changed, 113 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/jansson/jansson/0001-Honour-multilib-paths.patch
 delete mode 100644 meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch
 delete mode 100644 meta-oe/recipes-extended/jansson/jansson_2.15.0.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -1
index 7c2df00207..ea474349b2 100644
@@ -348,7 +348,6 @@ RDEPENDS:packagegroup-meta-oe-extended = "\
     indent \
     iotop \
     isomd5sum \
-    jansson \
     jpnevulator \
     libblockdev \
     libcec \
meta-oe/recipes-extended/jansson/jansson/0001-Honour-multilib-paths.patch deleted +0 -63

63 lines not on this page · raw message

meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch deleted +0 -29
deleted file mode 100644
index a1c17d1d8e..0000000000
@@ -1,29 +0,0 @@
-From e5c38614fb7e0bdbcaec6db6133fa62cfed62818 Mon Sep 17 00:00:00 2001
-From: Jaeyoon Jung <[email protected]>
-Date: Wed, 15 Jan 2025 22:11:54 +0900
-Subject: [PATCH] Only export symbols starting with "json_" and "jansson_" for
- cmake
-
-It's already done by the commit 7c707a7 and bcb6b6f, but not for cmake.
-This makes symbols in the same visibility as built with libtool.
-
-Upstream-Status: Submitted [https://github.com/akheron/jansson/pull/704]
-Signed-off-by: Jaeyoon Jung <[email protected]>
----
- CMakeLists.txt | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3394236..52b9934 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -325,6 +325,9 @@ if(JANSSON_BUILD_SHARED_LIBS)
- # some linkers may only support --version-script
-       file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/jansson.sym" "JANSSON_${JANSSON_SOVERSION} {
-     global:
-+          json_*;
-+          jansson_*;
-+    local:
-           *;
- };
- ")
meta-oe/recipes-extended/jansson/jansson_2.15.0.bb deleted +0 -20
deleted file mode 100644
index 829ac1ad49..0000000000
@@ -1,20 +0,0 @@
-SUMMARY = "Jansson is a C library for encoding, decoding and manipulating JSON data"
-HOMEPAGE = "http://www.digip.org/jansson/"
-BUGTRACKER = "https://github.com/akheron/jansson/issues"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d9911525d4128bee234ee2d3ccaa2537"
-
-SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \
-           file://0001-Honour-multilib-paths.patch \
-           file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \
-           "
-SRC_URI[sha256sum] = "a7eac7765000373165f9373eb748be039c10b2efc00be9af3467ec92357d8954"
-
-UPSTREAM_CHECK_URI = "https://github.com/akheron/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
-
-inherit cmake pkgconfig
-
-EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }"
-
-BBCLASSEXTEND = "native"
Signature · 1 line
2.47.3