diff options
-rw-r--r-- | recipes-demo/html5-background/files/webapps-html5-background.desktop | 11 | ||||
-rw-r--r-- | recipes-demo/html5-background/html5-background_git.bb | 40 | ||||
-rw-r--r-- | recipes-demo/html5-homescreen/files/homescreen.service (renamed from recipes-demo/html5-launcher/files/launcher.service) | 6 | ||||
-rw-r--r-- | recipes-demo/html5-homescreen/html5-homescreen_git.bb | 41 | ||||
-rw-r--r-- | recipes-demo/html5-launcher/html5-launcher_git.bb | 11 | ||||
-rw-r--r-- | recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb | 13 | ||||
-rw-r--r-- | recipes-wam/chromium/chromium_git.bb | 2 | ||||
-rw-r--r-- | recipes-wam/wam/files/WebAppMgr.service | 2 | ||||
-rw-r--r-- | recipes-wam/wam/wam_git.bb | 2 |
9 files changed, 106 insertions, 22 deletions
diff --git a/recipes-demo/html5-background/files/webapps-html5-background.desktop b/recipes-demo/html5-background/files/webapps-html5-background.desktop new file mode 100644 index 000000000..d53a76739 --- /dev/null +++ b/recipes-demo/html5-background/files/webapps-html5-background.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=HTML5 Background +Comment=Background +GenericName=Background +Exec=env AFM_ID=webapps-html5-background AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-background/ /usr/bin/WebAppMgr +Icon=settings +Terminal=false +Type=Application +Categories=System; +StartupNotify=true diff --git a/recipes-demo/html5-background/html5-background_git.bb b/recipes-demo/html5-background/html5-background_git.bb new file mode 100644 index 000000000..cf1dee119 --- /dev/null +++ b/recipes-demo/html5-background/html5-background_git.bb @@ -0,0 +1,40 @@ +SUMMARY = "AGL HTML5 Homescreen" +HOMEPAGE = "https://github.com/AGL-web-applications/background" +SECTION = "apps" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +SRC_URI = " \ + git://github.com/AGL-web-applications/background.git;protocol=https;branch=master \ + file://webapps-html5-background.desktop \ +" +SRCREV = "3b8dae349d428c0230b9885f86d421d43cda5638" + +DEPENDS = "nodejs-native" + +do_compile() { + bldcmd=${S}/autobuild/agl/autobuild + cd ${S} + $bldcmd build +} + +WAM_APPLICATIONS_DIR="${libdir}/wam_apps" +APPLICATIONS_DIR="${datadir}/applications" + +do_install() { + install -d ${D}${WAM_APPLICATIONS_DIR}/${PN} + cp -R --no-dereference --preserve=mode,links ${S}/dist/* ${D}${WAM_APPLICATIONS_DIR}/${PN} + install -d ${D}${APPLICATIONS_DIR} + install ${WORKDIR}/webapps-html5-background.desktop ${D}${APPLICATIONS_DIR} +} + +FILES_${PN} = " \ + ${WAM_APPLICATIONS_DIR}/${PN} \ + ${APPLICATIONS_DIR} \ +" + +RCONFLICTS_${PN} = "homescreen" diff --git a/recipes-demo/html5-launcher/files/launcher.service b/recipes-demo/html5-homescreen/files/homescreen.service index 67dcf5e1c..20ed2ee13 100644 --- a/recipes-demo/html5-launcher/files/launcher.service +++ b/recipes-demo/html5-homescreen/files/homescreen.service @@ -1,12 +1,12 @@ [Unit] -Description=AGL Launcher +Description=AGL Homescreen Requires=WebAppMgr.service dbus.service After=WebAppMgr.service dbus.service [Service] Type=simple -Environment=AFM_ID=launcher -Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-launcher/ +Environment=AFM_ID=homescreen +Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/ ExecStartPre=sleep 1 ExecStart=/usr/bin/WebAppMgr Restart=on-failure diff --git a/recipes-demo/html5-homescreen/html5-homescreen_git.bb b/recipes-demo/html5-homescreen/html5-homescreen_git.bb new file mode 100644 index 000000000..1d5f14a4d --- /dev/null +++ b/recipes-demo/html5-homescreen/html5-homescreen_git.bb @@ -0,0 +1,41 @@ +SUMMARY = "AGL HTML5 Homescreen" +HOMEPAGE = "https://git.automotivelinux.org/apps/html5-homescreen/" +SECTION = "apps" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +SRC_URI = " \ + git://gerrit.automotivelinux.org/gerrit/apps/html5-homescreen;protocol=https;branch=${AGL_BRANCH} \ + file://homescreen.service \ +" +SRCREV = "${AGL_APP_REVISION}" + +DEPENDS = "nodejs-native" + +do_compile() { + bldcmd=${S}/autobuild/agl/autobuild + cd ${S} + $bldcmd build +} + +WAM_APPLICATIONS_DIR="${libdir}/wam_apps" + +do_install() { + install -d ${D}${WAM_APPLICATIONS_DIR}/${PN} + cp -R --no-dereference --preserve=mode,links ${S}/dist/* ${D}${WAM_APPLICATIONS_DIR}/${PN} + install -d ${D}${systemd_user_unitdir}/agl-session.target.wants + install -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service + ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service +} + +FILES_${PN} = " \ + ${WAM_APPLICATIONS_DIR}/${PN} \ + ${systemd_user_unitdir} \ +" + +RCONFLICTS_${PN} = "homescreen" +RDEPENDS_${PN} = "applaunchd html5-background"
\ No newline at end of file diff --git a/recipes-demo/html5-launcher/html5-launcher_git.bb b/recipes-demo/html5-launcher/html5-launcher_git.bb index 2a4f7ed17..61899e4c9 100644 --- a/recipes-demo/html5-launcher/html5-launcher_git.bb +++ b/recipes-demo/html5-launcher/html5-launcher_git.bb @@ -10,7 +10,7 @@ B = "${WORKDIR}/build" SRC_URI = " \ git://gerrit.automotivelinux.org/gerrit/apps/html5-launcher;protocol=https;branch=${AGL_BRANCH} \ - file://launcher.service \ + file://launcher.desktop \ " SRCREV = "${AGL_APP_REVISION}" @@ -23,18 +23,19 @@ do_compile() { } WAM_APPLICATIONS_DIR="${libdir}/wam_apps" +APPLICATIONS_DIR="${datadir}/applications" do_install() { install -d ${D}${WAM_APPLICATIONS_DIR}/${PN} cp -R --no-dereference --preserve=mode,links ${S}/dist/* ${D}${WAM_APPLICATIONS_DIR}/${PN} - install -d ${D}${systemd_user_unitdir}/agl-session.target.wants - install -m0644 ${WORKDIR}/launcher.service ${D}${systemd_user_unitdir}/launcher.service - ln -s ../launcher.service ${D}${systemd_user_unitdir}/agl-session.target.wants/launcher.service + install -d ${D}${APPLICATIONS_DIR} + install ${WORKDIR}/launcher.desktop ${D}${APPLICATIONS_DIR} } FILES_${PN} = " \ ${WAM_APPLICATIONS_DIR}/${PN} \ - ${systemd_user_unitdir} \ + ${APPLICATIONS_DIR} \ " RCONFLICTS_${PN} = "launcher" +RDEPENDS_${PN} = "applaunchd"
\ No newline at end of file diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb index bb457b993..b00883b0a 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb @@ -18,30 +18,21 @@ RDEPENDS:${PN} += "\ " RDEPENDS:${PN} += "\ - packagegroup-hmi-framework \ packagegroup-agl-profile-graphical-html5 \ packagegroup-agl-demo \ " RDEPENDS:${PN}:append = " \ - weston-ini-conf \ + weston-ini-conf-landscape \ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'unzip' , '', d)} \ " -# NOTE: Currently no coverage versions for the application widgets, -# they should be added here when available. -# Also, the navigation and mixer debug widgets are currently -# specified explicitly, as there's no simple way to derive their -# names from the virtual/ RPROVIDES at present. -RDEPENDS:${PN}-devel = " \ - packagegroup-hmi-framework-devel \ - " - # TODO(jdapena): replace this with HTML5 apps. AGL_APPS = " \ dashboard \ html5-launcher \ + html5-homescreen \ html5-hvac \ ondemandnavi \ settings \ diff --git a/recipes-wam/chromium/chromium_git.bb b/recipes-wam/chromium/chromium_git.bb index 25ed0bb46..ce679d0a1 100644 --- a/recipes-wam/chromium/chromium_git.bb +++ b/recipes-wam/chromium/chromium_git.bb @@ -8,7 +8,7 @@ SRC_URI = "\ # Needed by catapult DEPENDS += "python-six-native python-beautifulsoup4-native python-lxml-native python-html5lib-native python-webencodings-native" -SRCREV_chromium87 = "bc1410d5ad4eca384fa7350410b0df4d3f2bed10" +SRCREV_chromium87 = "fa99cf33440ed399f80b9a5166869afc83c3138b" SRCREV_v8 = "935065d097cce0090bc858746e6aee0919b222de" CHROMIUM_VERSION = "87.0.4280.88" diff --git a/recipes-wam/wam/files/WebAppMgr.service b/recipes-wam/wam/files/WebAppMgr.service index 749d85059..0285347d6 100644 --- a/recipes-wam/wam/files/WebAppMgr.service +++ b/recipes-wam/wam/files/WebAppMgr.service @@ -21,7 +21,7 @@ Type=simple UMask=0077 OOMScoreAdjust=-1000 EnvironmentFile=-/etc/default/WebAppMgr.env -ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam +ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam --agl-shell-appid=homescreen Restart=on-failure RestartSec=50 diff --git a/recipes-wam/wam/wam_git.bb b/recipes-wam/wam/wam_git.bb index 28c5d4e78..20c2222c4 100644 --- a/recipes-wam/wam/wam_git.bb +++ b/recipes-wam/wam/wam_git.bb @@ -30,7 +30,7 @@ SRC_URI = "\ file://WebAppMgr.env \ " S = "${WORKDIR}/git" -SRCREV = "b0c1e4691b68ecb0dd300d918ec218955bf8c713" +SRCREV = "8dd3f17d374b227d3f8c053621c058cebb68a9e9" PV = "ose55.agl.marlin" |