summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--README.md11
-rw-r--r--TODO2
-rw-r--r--src/CMakeLists.txt9
4 files changed, 20 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e6995c..f62a279 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ macro(setc name value)
endmacro(setc)
setc(USE_LIBZIP 1)
+setc(USE_SIMULATION 1)
setc(afm_name "aglfwk")
setc(afm_confdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}")
diff --git a/README.md b/README.md
index e5ce6c6..96640c5 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@ This package requires the following libraries or modules:
- ***xmlsec1-openssl***
- ***json-c***
- ***dbus-1***
+- ***security-manager***
This package also requires either ***libzip*** (version >= 0.11)
or the binaries ***zip*** and ***unzip***. By default, it will
@@ -78,6 +79,10 @@ The installed programs are:
- ***wgtpkg-sign***: command line tool to add a signature
to a widget directory.
+## Description
+
+The framework defined by afm-main
+
## Comparison with Tizen framework
This package is providing few less behaviour than
@@ -93,6 +98,10 @@ the following Tizen packages:
### Details about widgets
+The widgets are specified in that W3C recommandation:
+[Packaged Web Apps](http://www.w3.org/TR/widgets).
+This model was initially designed for HTML applications.
+But it is well suited for other kind of applications.
### Details about dependencies
@@ -105,5 +114,5 @@ For details, you can dig into internet the following links:
- [D-Bus](http://www.freedesktop.org/wiki/Software/dbus)
- [libzip](http://www.nih.at/libzip)
- [CMake](https://cmake.org)
-
+- [Security-Manager](https://wiki.tizen.org/wiki/Security/Tizen_3.X_Security_Manager)
diff --git a/TODO b/TODO
index 136911e..6e89fef 100644
--- a/TODO
+++ b/TODO
@@ -2,5 +2,5 @@ List of things to do
- Implement CRL and OCSP parts of x509
- Implement permissions grant based on certificates
- more documentation
-- more launchers
- notifications
+- manage upgrade packages
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 89d4d51..c47e632 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,7 +46,14 @@ endif(USE_LIBZIP)
###########################################################################
-include_directories(simulation)
+if(USE_SIMULATION)
+ include_directories(simulation)
+else(USE_SIMULATION)
+ pkg_check_modules(SECMGR REQUIRED security-manager)
+ add_compile_options(${SECMGR_CFLAGS})
+ include_directories(${SECMGR_INCLUDE_DIRS})
+ link_libraries(${SECMGR_LIBRARIES})
+endif(USE_SIMULATION)
###########################################################################