Skip to contentSkip to conversation

xmlrpc-c: Upgrade to 1.59.01

PATCH New Khem Raj 1 participant 2 messages Apr 18, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 xmlrpc-c: Upgrade to 1.59.01

Fix buildpath warning due to tmpdir appearing in xmlconfig-c-config

WARNING: xmlrpc-c-1.54.06-r0 do_package_qa: QA Issue: File /usr/bin/xmlrpc-c-config in package xmlrpc-c-dev contains reference
to TMPDIR [buildpaths]

---
 .../xmlrpc-c/{xmlrpc-c_1.54.06.bb => xmlrpc-c_1.59.01.bb} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/xmlrpc-c/{xmlrpc-c_1.54.06.bb => xmlrpc-c_1.59.01.bb} (87%)
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb renamed from meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb +6 -2
similarity index 87%
rename from meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb
rename to meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
index 0a7ad33c64..278db6dc84 100644
@@ -9,8 +9,8 @@ SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
            file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
            file://0002-fix-formatting-issues.patch \
            "
-#Release 1.54.06
-SRCREV = "00870af80021aa0a66cc72c9aeb00587cbfde560"
+#Release 1.59.01
+SRCREV = "352aeaa9ae49e90e55187cbda839f2113df06278"
 
 S = "${WORKDIR}/git/stable"
 
@@ -40,6 +40,10 @@ do_configure() {
         rm -fv ${S}/tools/turbocharger/mod_gzip.c
 }
 
+do_install:append:class-target() {
+        sed -i 's,${WORKDIR},/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR},g' ${D}${bindir}/xmlrpc-c-config
+}
+
 BBCLASSEXTEND = "native"
 
 CLEANBROKEN = "1"
Signature · 1 line
2.40.0
author
#1 lore raw

PATCH 2/2 grilo: Fix buildpaths in generated header file

grl-type-builtins.h gets generated during compilation and it uses absolute paths to source files in comments. This is flagged by packager therefore remove the buildpath

Fixes
WARNING: grilo-0.3.15-r0 do_package_qa: QA Issue: File /usr/src/debug/grilo/0.3. 15-r0/src/grl-type-builtins.h in package grilo-src contains reference to TMPDIR [buildpaths]

---
 meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb +3 -0
index d51a27f01a..526a8593dc 100644
@@ -26,3 +26,6 @@ PACKAGECONFIG[test-ui] = "-Denable-test-ui=true, -Denable-test-ui=false, gtk+3 l
 # Once we have a recipe for 'totem-plparser' this can turn into a PACKAGECONFIG
 EXTRA_OEMESON = "-Denable-grl-pls=false"
 
+do_compile:append() {
+        sed -i -e 's,${B}/../,,' ${B}/src/grl-type-builtins.h
+}
Signature · 1 line
2.40.0