summaryrefslogtreecommitdiffstats
path: root/meta-hmi-framework/recipes-platform
AgeCommit message (Collapse)AuthorFilesLines
2018-07-03Add launcher recipes and add into packagegroupzheng_wenlong1-0/+1
Add launcher recipes and add into packagegroupi. Change-Id: I18b47cbd0076434a97f2aad70b062f2702ba0e5a Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-06-27Add qlibhomescreen recipes and add it into packagegroup for SDKzheng_wenlong1-0/+1
We detached the launcher area from homescreen. The lancher application requires qlibhomescreen. Add the qlibhomescreen recipes into packagegroup for it to be contained in the SDK. [Patch sets 7] Change revision to 313cd53946a456163108c4f6f1582e442ebc4022 Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/14517/ Bug-AGL: SPEC-1518 Change-Id: I0d21120d5ddb26d2ba3a392968718be0a95d8ffc Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-02-06Add hmi-debug recipeKazumasa Mitsunari1-0/+1
This recipe installs the hmi-debug file to control log level. Bug-AGL: SPEC-1179 Change-Id: I223269ca44cd4d923241147ee4d0a3bc05e7ac59 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-21Enable runxdg in CES2018 demo by defaultTadao Tanikawa1-0/+1
Add runxdg package into package group of new HMI framework, then it is enabled by default for CES2018 demo. Bug-AGL: SPEC-1096 Change-Id: I4adf932980471d44b35bbbe7914d4fa1247ad055 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-15Soundmanager needs to be enabled outside of hmi packagegroupJan-Simon Möller1-2/+0
This changeset removes agl-service-soundmanager-2017 from meta-agl-devel/meta-hmi-framework/recipes-platform/packagegroups/packagegroup-hmi-framework.bb b/c this needs to be handled differently as discussed in https://gerrit.automotivelinux.org/gerrit/#/c/11643/ . Thus we need to separate it from the hmi-framework packagegroup. Change-Id: Iafdff1cf1c8d29ddb89960a61a1787e630baa9c4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-11Merge "Set PREFERRED_PROVIDER_virtual/libhomescreen in config fragment"Jan-Simon Moeller1-1/+1
2017-11-10Add qlibwindowmanager recipeKazumasa Mitsunari1-0/+1
Change-Id: I4621b74b0f2ca446a4d007901b33b58f396d0aa3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-09Set PREFERRED_PROVIDER_virtual/libhomescreen in config fragmentzheng_wenlong1-1/+1
Set PREFERRED_PROVIDER_virtual/libhomescreen in config fragment, homescreen-2017 DEPENDS in virtual/libhomescreen, packagegroup-hmi-framework.bb RDEPENDS in libhomescreen-2017. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/11759/ Change-Id: Iee449470e85f6faae37dc71aa2eb7a90ac47b9f6 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-31Add libraries to hmi-framework packagegroupKazumasa Mitsunari1-9/+3
Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11455/ https://gerrit.automotivelinux.org/gerrit/#/c/11511/ https://gerrit.automotivelinux.org/gerrit/#/c/11533/ https://gerrit.automotivelinux.org/gerrit/#/c/11515/ https://gerrit.automotivelinux.org/gerrit/#/c/11509/ Bug-AGL : SPEC-993 Change-Id: Id947eddf553bcfbcec0986d1159b8f8f31634178 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-17Fix HMI framework recipesYuta Doi1-5/+0
1. Modify SRCREV to the correct value in windowmanager and soundmanager. 2. Add "wayland-native" to windowmanager for resolving error: WLSCAN-NOTFOUND 3. Remove "PACKAGES" from packagegroup-hmi-framework.bb for resolving QA Issue: [packages-list] Change-Id: I1987dd2620e2b2832da5a8e9e754c9ddd0c2fa6f Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-10-12Add recipes for new hmi fweel_4.99.1eel/4.99.14.99.1zheng_wenlong1-0/+27
Add recipesc for agl-service-windowmanager-2017, agl-service-soundmanager-2017, agl-service-homescreen-2017 and homescreen-2017. [Patch Sets 2] Modify homescreen-2017_git.bb to use aglwgt make package. [Patch Sets 3] Modify agl-service-windowmanager-2017_git.bb to use aglwgt make package. Modify agl-service-soundmanager-2017_git.bb to use aglwgt make package. [Patch Sets 4] Modify agl-service-homescreen-2017_git.bb to use aglwgt make package. [Patch Sets 5] (jsmoeller) Modify layer and add packagegroup containing the required packages. Modify feature name to be agl-hmi-framework to be consistent in naming Mofify local.conf.inc to set DISTRO_FEATURES flag instead of setting IMAGE_INSTALL. Change-Id: Iac998b5c9ed519649c8c367e97a5aa31c6140c26 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
> (C) 2018 Wind River Systems, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import os import sys import argparse import logging import re class Dot(object): def __init__(self): parser = argparse.ArgumentParser( description="Analyse recipe-depends.dot generated by bitbake -g", epilog="Use %(prog)s --help to get help") parser.add_argument("dotfile", help = "Specify the dotfile", nargs = 1, action='store', default='') parser.add_argument("-k", "--key", help = "Specify the key, e.g., recipe name", action="store", default='') parser.add_argument("-d", "--depends", help = "Print the key's dependencies", action="store_true", default=False) parser.add_argument("-w", "--why", help = "Print why the key is built", action="store_true", default=False) parser.add_argument("-r", "--remove", help = "Remove duplicated dependencies to reduce the size of the dot files." " For example, A->B, B->C, A->C, then A->C can be removed.", action="store_true", default=False) self.args = parser.parse_args() if len(sys.argv) != 3 and len(sys.argv) < 5: print('ERROR: Not enough args, see --help for usage') def main(self): #print(self.args.dotfile[0]) # The format is {key: depends} depends = {} with open(self.args.dotfile[0], 'r') as f: for line in f.readlines(): if ' -> ' not in line: continue line_no_quotes = line.replace('"', '') m = re.match("(.*) -> (.*)", line_no_quotes) if not m: print('WARNING: Found unexpected line: %s' % line) continue key = m.group(1) if key == "meta-world-pkgdata": continue dep = m.group(2) if key in depends: if not key in depends[key]: depends[key].add(dep) else: print('WARNING: Fonud duplicated line: %s' % line) else: depends[key] = set() depends[key].add(dep) if self.args.remove: reduced_depends = {} for k, deps in depends.items(): child_deps = set() added = set() # Both direct and indirect depends are already in the dict, so # we don't have to do this recursively. for dep in deps: if dep in depends: child_deps |= depends[dep] reduced_depends[k] = deps - child_deps outfile= '%s-reduced%s' % (self.args.dotfile[0][:-4], self.args.dotfile[0][-4:]) with open(outfile, 'w') as f: print('Saving reduced dot file to %s' % outfile) f.write('digraph depends {\n') for k, v in reduced_depends.items(): for dep in v: f.write('"%s" -> "%s"\n' % (k, dep)) f.write('}\n') sys.exit(0) if self.args.key not in depends: print("ERROR: Can't find key %s in %s" % (self.args.key, self.args.dotfile[0])) sys.exit(1) if self.args.depends: if self.args.key in depends: print('Depends: %s' % ' '.join(depends[self.args.key])) reverse_deps = [] if self.args.why: for k, v in depends.items(): if self.args.key in v and not k in reverse_deps: reverse_deps.append(k) print('Because: %s' % ' '.join(reverse_deps)) if __name__ == "__main__": try: dot = Dot() ret = dot.main() except Exception as esc: ret = 1 import traceback traceback.print_exc() sys.exit(ret)