mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
apt: Do not disable NLS
Add a patch to disable cmake po targets (From OE-Core rev: 28ba2ddcf73400263ae8409f64190d5f109c44b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,37 @@
|
|||||||
|
From 33347f9f8301633b01af4e208b7be5fdfcb0df0c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 20 Mar 2021 14:45:18 -0700
|
||||||
|
Subject: [PATCH] cmake: Do not build po files
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
| CMake Error at CMakeLists.txt:252 (add_dependencies):
|
||||||
|
| The dependency target "update-po4a" of target "update-po" does not exist.
|
||||||
|
|
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [Cross-compile specific]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 7 -------
|
||||||
|
1 file changed, 7 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 3c8ec3f..821a24f 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -245,13 +245,6 @@ add_subdirectory(ftparchive)
|
||||||
|
add_subdirectory(methods)
|
||||||
|
add_subdirectory(test)
|
||||||
|
|
||||||
|
-if (USE_NLS)
|
||||||
|
-add_subdirectory(po)
|
||||||
|
-
|
||||||
|
-# Link update-po4a into the update-po target
|
||||||
|
-add_dependencies(update-po update-po4a)
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
# Create our directories.
|
||||||
|
install_empty_directories(
|
||||||
|
${CONF_DIR}/apt.conf.d
|
||||||
|
--
|
||||||
|
2.31.0
|
||||||
|
|
||||||
@@ -11,6 +11,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
|
|||||||
file://0001-Fix-musl-build.patch \
|
file://0001-Fix-musl-build.patch \
|
||||||
file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
|
file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
|
||||||
file://0001-srvrec-Keep-support-for-older-resolver.patch \
|
file://0001-srvrec-Keep-support-for-older-resolver.patch \
|
||||||
|
file://0001-cmake-Do-not-build-po-files.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI_append_class-native = " \
|
SRC_URI_append_class-native = " \
|
||||||
@@ -41,7 +42,7 @@ BBCLASSEXTEND = "native nativesdk"
|
|||||||
DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
|
DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
|
||||||
|
|
||||||
EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
|
EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
|
||||||
-DUSE_NLS=False -DDPKG_DATADIR=${datadir}/dpkg \
|
-DDPKG_DATADIR=${datadir}/dpkg \
|
||||||
-DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \
|
-DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \
|
||||||
-DWITH_TESTS=False \
|
-DWITH_TESTS=False \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user