Skip to contentSkip to conversation

gmime: Fix append to do_configure

PATCH New Khem Raj 1 participant 5 messages Nov 14, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/5 gmime: Fix append to do_configure

It should be a function append

---
 meta-oe/recipes-gnome/gmime/gmime_3.2.6.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-gnome/gmime/gmime_3.2.6.bb +4 -1
index 9d1bb7d04b..4ae13e7efe 100644
@@ -13,4 +13,7 @@ SRC_URI[archive.md5sum] = "656548dc431004d1ebf95e5d0bb4b9c8"
 SRC_URI[archive.sha256sum] = "abff194c7c4802fba2e233890d09dde8bf7170c3ad5e13000601c8d5b3c44717"
 
 export ac_cv_have_iconv_detect_h="yes"
-do_configure_append = "cp ${WORKDIR}/iconv-detect.h ${S}"
+
+do_configure_append () {
+    cp ${WORKDIR}/iconv-detect.h ${S}
+}
Signature · 1 line
2.29.2
author
#1 lore raw

PATCH 2/5 dconf: Add leading whitespace for append operator

---
 meta-gnome/recipes-gnome/dconf/dconf_0.36.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/dconf/dconf_0.36.0.bb +1 -1
index 9146726884..4b924d89a5 100644
@@ -15,7 +15,7 @@ inherit gnomebase bash-completion vala
 # I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
 EXTRA_OEMESON = "-Dman=false"
 # no bash-completion for native
-EXTRA_OEMESON_append_class-native = "-Dbash_completion=false"
+EXTRA_OEMESON_append_class-native = " -Dbash_completion=false"
 
 FILES_${PN} += " \
     ${datadir}/dbus-1 \
Signature · 1 line
2.29.2
author
#2 lore raw

PATCH 3/5 kexec-tools-klibc: Add leading whitespace for append operator

In reply to Khem Raj
---
 meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +1 -1
index 7ad55d8b8c..d28cfc90f2 100644
@@ -68,7 +68,7 @@ COMMON_CFLAGS += "-O2 -I${STAGING_DIR_HOST}${libdir}/klibc/include -I${S}/purgat
 CFLAGS_x86_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
 CFLAGS_x86-64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
 CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
-CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
+CFLAGS_aarch64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
 CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
 CFLAGS_mipsel_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
 CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
Signature · 1 line
2.29.2
author
#3 lore raw

PATCH 4/5 spece: Add leading whitespace for append operator

In reply to Khem Raj
---
 meta-networking/recipes-support/spice/spice_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/spice/spice_git.bb +1 -1
index 9d3a0e6cb5..fad8b639e6 100644
@@ -32,7 +32,7 @@ S = "${WORKDIR}/git"
 inherit autotools gettext python3native python3-dir pkgconfig
 
 DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python3-pyparsing-native python3-six-native glib-2.0-native"
-DEPENDS_append_class-nativesdk = "nativesdk-openssl"
+DEPENDS_append_class-nativesdk = " nativesdk-openssl"
 
 export PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
 
Signature · 1 line
2.29.2
author
#4 lore raw

PATCH 5/5 recipe: Add leading whitespace for append operator

In reply to Khem Raj
---
 .../recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb | 2 +-
 meta-oe/recipes-devtools/grpc/grpc_1.24.3.bb              | 2 +-
 meta-oe/recipes-devtools/lua/lua_5.3.5.bb                 | 2 +-
 meta-oe/recipes-extended/gnuplot/gnuplot_5.2.8.bb         | 2 +-
 meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb  | 2 +-
 meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb   | 8 ++++----
 meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb  | 2 +-
 meta-oe/recipes-support/anthy/anthy_9100h.bb              | 4 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)
meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb +1 -1
index 2a42093447..170663882e 100644
@@ -7,7 +7,7 @@ SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
 SRCREV = "95f3c6ab36840fb1e0f4935f34dbf8f708b7780c"
 PV = "1.2"
 
-SRC_URI_append_class-target = "file://oe-remote.repo.sample"
+SRC_URI_append_class-target = " file://oe-remote.repo.sample"
 
 inherit distutils3-base
 
meta-oe/recipes-devtools/grpc/grpc_1.24.3.bb +1 -1
index 752562eb33..c25ce360e7 100644
@@ -62,6 +62,6 @@ do_configure_prepend_toolchain-clang_x86() {
 
 BBCLASSEXTEND = "native nativesdk"
 
-SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc"
+SYSROOT_DIRS_BLACKLIST_append_class-target = " ${baselib}/cmake/grpc"
 
 FILES_${PN}-dev += "${bindir}"
meta-oe/recipes-devtools/lua/lua_5.3.5.bb +1 -1
index 7d84ea60b6..60c33d6586 100644
@@ -31,7 +31,7 @@ PACKAGECONFIG ??= "readline"
 PACKAGECONFIG[readline] = ",,readline"
 
 UCLIBC_PATCHES += "file://uclibc-pthread.patch"
-SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}"
+SRC_URI_append_libc-uclibc = " ${UCLIBC_PATCHES}"
 
 TARGET_CC_ARCH += " -fPIC ${LDFLAGS}"
 EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -fPIC' MYLDFLAGS='${LDFLAGS}'"
meta-oe/recipes-extended/gnuplot/gnuplot_5.2.8.bb +1 -1
index 926d8851d2..b2c41756e5 100644
@@ -32,7 +32,7 @@ BBCLASSEXTEND = "native"
 DEPENDS_class-native = "readline-native"
 PACKAGECONFIG_class-native = ""
 
-SRC_URI_append_class-native = "file://0001-reduce-build-to-conversion-tools-for-native-build.patch"
+SRC_URI_append_class-native = " file://0001-reduce-build-to-conversion-tools-for-native-build.patch"
 
 do_install_class-native() {
     install -d ${D}${bindir}
meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb +1 -1
index a081cb17a8..27fe0e2c40 100644
@@ -31,4 +31,4 @@ FILES_statgrab-dbg = "${bindir}/.debug/statgrab"
 FILES_saidar = "${bindir}/saidar"
 FILES_saidar-dbg = "${bindir}/.debug/saidar"
 FILES_${PN}-mrtg = "${bindir}/statgrab-make-mrtg-config ${bindir}/statgrab-make-mrtg-index"
-RDEPENDS_${PN}-mrtg_append = "perl statgrab"
+RDEPENDS_${PN}-mrtg_append = " perl statgrab"
meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +4 -4
index 2b884e3a1b..b3ea44c3c3 100644
@@ -69,10 +69,10 @@ COMPATIBLE_MACHINE_mips = "(!.*mips).*"
 COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
 
-TARGET_CFLAGS_append_riscv32 += "-fpic"
-TARGET_CXXFLAGS_append_riscv32 += "-fpic"
-TARGET_CFLAGS_append_riscv64 += "-fpic"
-TARGET_CXXFLAGS_append_riscv64 += "-fpic"
+TARGET_CFLAGS_append_riscv32 = " -fpic"
+TARGET_CXXFLAGS_append_riscv32 = " -fpic"
+TARGET_CFLAGS_append_riscv64 = " -fpic"
+TARGET_CXXFLAGS_append_riscv64 = " -fpic"
 
 do_install[cleandirs] += "${WORKDIR}/minifi-install"
 
meta-oe/recipes-graphics/libyui/libyui-ncurses_2.55.0.bb +1 -1
index ba94a838a9..15c40ee31f 100644
@@ -21,7 +21,7 @@ DEPENDS += "boost libyui ncurses"
 BBCLASSEXTEND = "nativesdk"
 
 EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO"
-EXTRA_OECMAKE_append_toolchain-clang = "-DENABLE_WERROR=OFF"
+EXTRA_OECMAKE_append_toolchain-clang = " -DENABLE_WERROR=OFF"
 
 do_configure_prepend () {
     cd ${S}
meta-oe/recipes-support/anthy/anthy_9100h.bb +2 -2
index 9d78c3457c..a83efe03c8 100644
@@ -12,8 +12,8 @@ SRC_URI = "http://osdn.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz \
     file://2ch_t.patch \
 "
 
-SRC_URI_append_class-target = "file://target-helpers.patch"
-SRC_URI_append_class-native = "file://native-helpers.patch"
+SRC_URI_append_class-target = " file://target-helpers.patch"
+SRC_URI_append_class-native = " file://native-helpers.patch"
 
 SRC_URI[md5sum] = "1f558ff7ed296787b55bb1c6cf131108"
 SRC_URI[sha256sum] = "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
Signature · 1 line
2.29.2