From d468ce3b3d602f7c8a88d67126a32900b76fd433 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Mon, 18 Oct 2021 14:07:53 +0200 Subject: Prepare master for new framework integration During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - meta-agl-core: remove Smack kernel patches - meta-app-framework - meta-pipewire/dynamic-layers/meta-app-framework/ v2: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26752 --- .../cmake-apps-module/cmake-apps-module_git.bb | 20 -------------------- .../recipes-devtools/json-c/json-c_%.bbappend | 1 - .../recipes-devtools/json-c/json-c_appfw.inc | 1 - .../libafb-helpers/libafb-helpers_git.bb | 8 -------- .../libafb-helpers/libafb-helpers_git.inc | 14 -------------- .../libappcontroller/libappcontroller_git.bb | 19 ------------------- .../nativesdk-packagegroup-sdk-host.bbappend | 1 - .../nativesdk-packagegroup-sdk-host_appfw.inc | 5 ----- .../run-postinsts/run-postinsts/ldconfig-wait.conf | 2 -- .../run-postinsts/run-postinsts_%.bbappend | 1 - .../run-postinsts/run-postinsts_appfw.inc | 14 -------------- 11 files changed, 86 deletions(-) delete mode 100644 meta-app-framework/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb delete mode 100644 meta-app-framework/recipes-devtools/json-c/json-c_%.bbappend delete mode 100644 meta-app-framework/recipes-devtools/json-c/json-c_appfw.inc delete mode 100644 meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.bb delete mode 100644 meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.inc delete mode 100644 meta-app-framework/recipes-devtools/libappcontroller/libappcontroller_git.bb delete mode 100644 meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend delete mode 100644 meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host_appfw.inc delete mode 100644 meta-app-framework/recipes-devtools/run-postinsts/run-postinsts/ldconfig-wait.conf delete mode 100644 meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_%.bbappend delete mode 100644 meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_appfw.inc (limited to 'meta-app-framework/recipes-devtools') diff --git a/meta-app-framework/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb b/meta-app-framework/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb deleted file mode 100644 index 4164171ff..000000000 --- a/meta-app-framework/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "CMake module to ease development of apps" -DESCRIPTION = "This is a migration of former app-templates git submodule which let you \ -ease the development of apps and widget building." -HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" -SECTION = "apps" - -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/cmake-apps-module;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "7c03348d9c2de43684fa69c3c9e227b25daceaaa" - -PV = "${AGLVERSION}" -S = "${WORKDIR}/git" - -inherit cmake - -FILES:${PN} += " ${datadir}/*/Modules/CMakeAfbTemplates*" - -BBCLASSEXTEND = "native nativesdk" - diff --git a/meta-app-framework/recipes-devtools/json-c/json-c_%.bbappend b/meta-app-framework/recipes-devtools/json-c/json-c_%.bbappend deleted file mode 100644 index 051f66aaf..000000000 --- a/meta-app-framework/recipes-devtools/json-c/json-c_%.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${@bb.utils.contains('APPFW_ENABLED', '1', 'json-c_appfw.inc', '', d)} diff --git a/meta-app-framework/recipes-devtools/json-c/json-c_appfw.inc b/meta-app-framework/recipes-devtools/json-c/json-c_appfw.inc deleted file mode 100644 index c15548c55..000000000 --- a/meta-app-framework/recipes-devtools/json-c/json-c_appfw.inc +++ /dev/null @@ -1 +0,0 @@ -EXTRA_OECONF:append = " --enable-threading" diff --git a/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.bb b/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.bb deleted file mode 100644 index 9ca32fdda..000000000 --- a/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.bb +++ /dev/null @@ -1,8 +0,0 @@ -require libafb-helpers_git.inc - -inherit cmake - -RDEPENDS:${PN}:append = " af-binder" - -ALLOW_EMPTY:${PN} = "1" - diff --git a/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.inc b/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.inc deleted file mode 100644 index 664f622a6..000000000 --- a/meta-app-framework/recipes-devtools/libafb-helpers/libafb-helpers_git.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "AFB helpers library" -DESCRIPTION = "AFB helpers library to ease JSON object manipulation and binding interaction" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libafb-helpers;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "16b77f6cea24332fffb75b6dcccb76f59565ed44" - -PV = "${AGLVERSION}" -S = "${WORKDIR}/git" - -DEPENDS:append = " af-binder jq" - diff --git a/meta-app-framework/recipes-devtools/libappcontroller/libappcontroller_git.bb b/meta-app-framework/recipes-devtools/libappcontroller/libappcontroller_git.bb deleted file mode 100644 index 74fe08144..000000000 --- a/meta-app-framework/recipes-devtools/libappcontroller/libappcontroller_git.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "Controller library for an Application Framework" -DESCRIPTION = "Controller library to be used to easily create a binding for AGL App Framework" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libappcontroller;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "1bef31c8bbad27f4914484c5007b2e199fb073d4" - -PV = "${AGLVERSION}" -S = "${WORKDIR}/git" - -DEPENDS:append = " af-binder libafb-helpers lua" -RDEPENDS:${PN}:append = " af-binder lua" - -inherit cmake - -ALLOW_EMPTY:${PN} = "1" - diff --git a/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend deleted file mode 100644 index 837b85392..000000000 --- a/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${@bb.utils.contains('APPFW_ENABLED', '1', 'nativesdk-packagegroup-sdk-host_appfw.inc', '', d)} diff --git a/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host_appfw.inc b/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host_appfw.inc deleted file mode 100644 index 27ee7cf52..000000000 --- a/meta-app-framework/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host_appfw.inc +++ /dev/null @@ -1,5 +0,0 @@ -RDEPENDS:${PN}:append = " \ - nativesdk-af-main-tools \ - nativesdk-af-binder-devtools \ - nativesdk-cmake-apps-module \ -" diff --git a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts/ldconfig-wait.conf b/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts/ldconfig-wait.conf deleted file mode 100644 index d706cc5f7..000000000 --- a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts/ldconfig-wait.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Unit] -After=ldconfig.service diff --git a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_%.bbappend b/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_%.bbappend deleted file mode 100644 index 6b9025dc5..000000000 --- a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_%.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${@bb.utils.contains('APPFW_ENABLED', '1', 'run-postinsts_appfw.inc', '', d)} diff --git a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_appfw.inc b/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_appfw.inc deleted file mode 100644 index 07b958aea..000000000 --- a/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_appfw.inc +++ /dev/null @@ -1,14 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/run-postinsts:" - -SRC_URI:append = " file://ldconfig-wait.conf" - -do_configure:append() { - if ! grep -q StandardOutput= ${WORKDIR}/run-postinsts.service; then - sed -i '/ExecStart=/iStandardOutput=journal+console' ${WORKDIR}/run-postinsts.service - fi -} - -do_install:append() { - install -d ${D}${sysconfdir}/systemd/system/run-postinsts.service.d - install -m 0644 ${WORKDIR}/ldconfig-wait.conf ${D}${sysconfdir}/systemd/system/run-postinsts.service.d -} -- cgit 1.2.3-korg