From: Fulup Ar Foll Date: Mon, 30 May 2016 15:02:20 +0000 (+0200) Subject: Widget Doc X-Git-Tag: 2.0.2~19 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=680d3330bbbb5e4fb304b2cf086af135dce2380d Widget Doc --- diff --git a/doc/widgets.md b/doc/widgets.md index 1b2df87..961bb12 100644 --- a/doc/widgets.md +++ b/doc/widgets.md @@ -14,7 +14,7 @@ The widgets The widgets are described by the technical recommendations [widgets] and [widgets-digsig]. -### signature of the +### signature The application framework @@ -22,21 +22,21 @@ This is the original part of our work here ### directory where are stored applications -Applications can be installed in few places: on the system itself or on an extension device. -For my phone, for example, it is the sd card. +Applications can be installed in different places: the system itself, extension device. +On a phone application are typically installed on the sd card. This translates to: - - /usr/applications: for system wide applications - - /opt/applications: for removable applications + - /usr/applications: system wide applications + - /opt/applications: removable applications -In the remaining of the document, these places are writen "APPDIR". +From here those paths are referenced as: "APPDIR". -Organisation of directory of applications +Organization of directory of applications ========================================= -The main path for applivcations are: APPDIR/PKGID/VER. +The main path for applications is: APPDIR/PKGID/VER. Where: @@ -44,30 +44,27 @@ Where: - PKGID is a directory whose name is the package identifier - VER is the version of the package MAJOR.MINOR -This organisation has the advantage to allow several versions to leave together. +This organization has the advantage to allow several versions to leave together. This is needed for some good reasons (rolling back) and also for less good reasons (user habits). Identity of installed files --------------------------- -All the files are installed as the user "userapp" and group "userapp". +All files are installed as user "userapp" and group "userapp". All files have rw(x) for user and r-(x) for group and others. -This allows any user to read the files. +This allows every user to read every file. -Labelling the directories of applications +labeling the directories of applications ----------------------------------------- -Organisation of data +organization of data ==================== The data of a user are in its directory and are labelled using the labels of the application - - - [meta-intel]: https://github.com/01org/meta-intel-iot-security "A collection of layers providing security technologies" [widgets]: http://www.w3.org/TR/widgets "Packaged Web Apps" [widgets-digsig]: http://www.w3.org/TR/widgets-digsig "XML Digital Signatures for Widgets" diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml new file mode 100644 index 0000000..2979794 --- /dev/null +++ b/nbproject/configurations.xml @@ -0,0 +1,132 @@ + + + + + + afm-db.c + afm-launch-mode.c + afm-launch.c + afm-main-plugin.c + afm-run.c + afm-system-daemon.c + afm-user-daemon.c + secmgr-wrap.c + utils-dir.c + utils-jbus.c + utils-json.c + verbose.c + wgt-config.c + wgt-info.c + wgt.c + wgtpkg-base64.c + wgtpkg-certs.c + wgtpkg-digsig.c + wgtpkg-files.c + wgtpkg-info.c + wgtpkg-install.c + wgtpkg-installer.c + wgtpkg-pack.c + wgtpkg-permissions.c + wgtpkg-sign.c + wgtpkg-uninstall.c + wgtpkg-workdir.c + wgtpkg-xmlsec.c + wgtpkg-zip.c + + + + CMakeLists.txt + Makefile + nbproject/private/launcher.properties + + + ^(nbproject)$ + + . + + Makefile + + + + default + false + false + + + + + + . + ${MAKE} -f Makefile + ${MAKE} -f Makefile clean + + + + . + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=${IDE_CC} -DCMAKE_CXX_COMPILER=${IDE_CXX} -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..40d64ec --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,26 @@ + + + org.netbeans.modules.cnd.makeproject + + + afm-main + c + + h + UTF-8 + + + . + + + + Default + 0 + + + + false + + + +