From f2e80a76127e745791399da0c0ec216d584bbc47 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Wed, 26 Jan 2022 12:51:43 +0100
Subject: [PATCH] gettext: Drop bbappend for dependencies now handled with
 PACKAGECONFIG

Upstream now handles the dependecies of croco, glib and libxml through
PACKAGECONFIG (enabling external support by default).

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../recipes-core/gettext/gettext_%.bbappend    | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 meta-oniro-core/recipes-core/gettext/gettext_%.bbappend

diff --git a/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend b/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend
deleted file mode 100644
index be47e65f..00000000
--- a/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend
+++ /dev/null
@@ -1,18 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-# Use system libraries instead of internal bundled copies.
-# It's better for code size and security (fix bugs in one place),
-# and startup time of something only run on a developer machine
-# hardly matters.
-DEPENDS += "libxml2 libcroco glib-2.0"
-do_configure:prepend () {
-	# Get rid of forcing bundled library versions
-	sed -i \
-		-e 's,gl_LIBXML(\[yes\]),gl_LIBXML([no]),g' \
-		-e 's,gl_LIBCROCO(\[yes\]),gl_LIBCROCO([no]),g' \
-		-e 's,gl_LIBGLIB(\[yes\]),gl_LIBGLIB([no]),g' \
-		${S}/libtextstyle/gnulib-m4/gnulib-comp.m4
-	sed -i -e 's,force_included=yes,force_included=no,g' \
-		${S}/configure ${S}/*/configure
-}
-- 
GitLab