staging/xdg-launcher.git
6 years agoMerge remote-tracking branch 'origin/master' into dab 4.0.0 4.0.1 4.0.2 4.0.3 dab/4.0.0 dab/4.0.1 dab/4.0.2 dab/4.0.3 dab_4.0.0 dab_4.0.1 dab_4.0.2 dab_4.0.3
Jan-Simon Möller [Thu, 27 Jul 2017 15:33:11 +0000 (17:33 +0200)]
Merge remote-tracking branch 'origin/master' into dab

6 years agoFix logic bug in addition of -DKERNEL_MINIMAL_VERSION
Jan-Simon Möller [Wed, 26 Jul 2017 18:47:40 +0000 (20:47 +0200)]
Fix logic bug in addition of -DKERNEL_MINIMAL_VERSION

-DKERNEL_MINIMAL_VERSION_OK was always set.
Move it into else case.

Change-Id: Icc7e0982584bce6134611a7724e9d1ef36602360
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoComment
Romain Forlot [Tue, 25 Jul 2017 11:51:28 +0000 (13:51 +0200)]
Comment

Change-Id: I5a78f103c29c3535d332172ee0b0547de79cc193
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years ago2 Kernel checks available (warning or mandatory)
Romain Forlot [Tue, 25 Jul 2017 10:40:02 +0000 (12:40 +0200)]
2 Kernel checks available (warning or mandatory)

Use 2 differents checks, one specify a mandatory kernel version
and the other will output a warning and position a preprocessing
variable that can be used in the code to exclude portions of code
that use kernel features not available under a certain version.

Change-Id: Ifc6848df1a1a448094f5312ea23e6d4837e8ef14
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange compile flag and clearer to read
Romain Forlot [Tue, 25 Jul 2017 10:31:49 +0000 (12:31 +0200)]
Change compile flag and clearer to read

Use -O0 with DEBUG instead of -0g

Change-Id: I100e2188b34f3506d400379808ce875a4817be8d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding LICENSE FILE 3.99.3 dab/3.99.3 dab_3.99.3
Romain Forlot [Fri, 21 Jul 2017 15:22:10 +0000 (17:22 +0200)]
Adding LICENSE FILE

Change-Id: Ib3d0cf57f57e7c55617cdf249a486e3e9e20419b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd .gitreview for dab
Jan-Simon Möller [Sat, 24 Jun 2017 17:51:11 +0000 (19:51 +0200)]
Add .gitreview for dab

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoProject cmake file have precedence on home & sys
Romain Forlot [Fri, 21 Jul 2017 08:51:49 +0000 (10:51 +0200)]
Project cmake file have precedence on home & sys

Change-Id: Ied2c6e3c7f378b27a84229999b84dfc649a4e657
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoREADME: point to the correct CMakeLists.txt sample
José Bollo [Fri, 21 Jul 2017 08:11:48 +0000 (10:11 +0200)]
README: point to the correct CMakeLists.txt sample

Change-Id: I4aad3403f190bf2033355a827e0e6fa5c1f7fe6d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoREADME: update git repo url
José Bollo [Fri, 21 Jul 2017 07:53:16 +0000 (09:53 +0200)]
README: update git repo url

Change-Id: I0c4a46c779d95a68c930e0747a17903352fe9bdb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoAdd possibility to customize option at link.
Romain Forlot [Thu, 20 Jul 2017 13:56:35 +0000 (15:56 +0200)]
Add possibility to customize option at link.

Credit to Ronan Le Martret.

Change-Id: I5ea24a275df6726f87ce5e87abbb2cfc6d029f28
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: bad afb-daemon flag, disable auto answer 'no'
Romain Forlot [Wed, 19 Jul 2017 16:49:37 +0000 (18:49 +0200)]
Fix: bad afb-daemon flag, disable auto answer 'no'

Change-Id: I3ee63512433c869fdd809ee1b6571205cd07a4e1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years ago-pg flags belongs to profiling more than debug
Romain Forlot [Tue, 18 Jul 2017 16:27:33 +0000 (18:27 +0200)]
-pg flags belongs to profiling more than debug

Change-Id: Iab550cc5653c7ef1094a8960aca9ca64f1aee1a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd group AGL to spec file
Ronan Le Martret [Wed, 12 Jul 2017 15:35:13 +0000 (17:35 +0200)]
Add group AGL to spec file

Change-Id: I2f667226a372a721b0bb4067ee6e0779a10c6432
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoRemove rpm macro "%__make", use "make" instead
Ronan Le Martret [Wed, 12 Jul 2017 15:30:21 +0000 (17:30 +0200)]
Remove rpm macro "%__make", use "make" instead

Change-Id: I6e2c77b1a21aeaa127e12fe5e1464a59f71e996f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoLinux autobuild script more verbose and usable
Romain Forlot [Tue, 11 Jul 2017 07:15:40 +0000 (09:15 +0200)]
Linux autobuild script more verbose and usable

Adding a help message and ensure DEST variable is set

Change-Id: I486c6a21b41c2912e92007ee522af6fe4e8ceb71
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd an help target used by default
Romain Forlot [Mon, 10 Jul 2017 14:14:02 +0000 (16:14 +0200)]
Add an help target used by default

Change-Id: Ifdf1d3968964a8d66ac218aa8d28b18bb0e94404
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: crash if no DEST argument provided
Romain Forlot [Mon, 10 Jul 2017 14:13:43 +0000 (16:13 +0200)]
Fix: crash if no DEST argument provided

Change-Id: I21d426f0ed5cc6b0a8edf0ebb9ce3a69ab313d0b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: shared library files not found by gdb
Romain Forlot [Mon, 10 Jul 2017 12:09:36 +0000 (14:09 +0200)]
Fix: shared library files not found by gdb

Old behavior assume a PATH that do not exists using XDS-server
this patch intends to make a list of bindings using a regex,
as GDB interprets the argument.

Change-Id: I67caa1853be67813e8de02cdbb34f107f1e1676c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Mon, 10 Jul 2017 11:52:02 +0000 (13:52 +0200)]
Format

Change-Id: Ib31c28da19c766c43fcbf9002d0aa1e9ecb370ac
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse recommended way to specify target dependencies
Romain Forlot [Mon, 10 Jul 2017 11:51:49 +0000 (13:51 +0200)]
Use recommended way to specify target dependencies

Change-Id: I6a8e5d435a0540522de555f521d24aa4de21050d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix invalid widget dir in config sample
Sebastien Douheret [Sun, 9 Jul 2017 19:30:11 +0000 (21:30 +0200)]
Fix invalid widget dir in config sample

Change-Id: I6f26d49137bfc567eaae17eb06ad77ce645ee95d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoDefault execution flag on shell scripts templates.
Romain Forlot [Fri, 7 Jul 2017 16:12:49 +0000 (18:12 +0200)]
Default execution flag on shell scripts templates.

Change-Id: I3db694c9c25e3fa6002390fb497b157f078ddbd8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: also avoid cleaning generated packaging files
Romain Forlot [Fri, 7 Jul 2017 16:11:56 +0000 (18:11 +0200)]
Fix: also avoid cleaning generated packaging files

Change-Id: I312e0743e8faf03ecfc5b43c77a9edaf9b40d937
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: cleaning of autobuild script using make clean
Romain Forlot [Fri, 7 Jul 2017 15:54:36 +0000 (17:54 +0200)]
Fix: cleaning of autobuild script using make clean

Fake files output to avoid cleaning those files once generated.
Doing that target always trigger and regenerate files.

Change-Id: I514318e2f08b1db2bf4e75bd0f0bf15c09329907
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: cleaning generated additionals files
Romain Forlot [Fri, 7 Jul 2017 11:04:52 +0000 (13:04 +0200)]
Fix: cleaning generated additionals files

Change-Id: I979b699e6ce090b354d6271c549111c2bd44cd2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd configured file to files to clean up with make
Romain Forlot [Fri, 7 Jul 2017 10:20:19 +0000 (12:20 +0200)]
Add configured file to files to clean up with make

Change-Id: Ibef0a4628bf3fe0b830f19fc8aa2f3e5d4b1ff19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong extension of configured files
Romain Forlot [Fri, 7 Jul 2017 10:04:20 +0000 (12:04 +0200)]
Fix: wrong extension of configured files

Remove the ".in" template extension from filenames which have to be
correctly named.

Change-Id: I8128f5fa64d5fa914a717c18fbba14fc43de4935
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd some reminder
Romain Forlot [Thu, 6 Jul 2017 17:06:15 +0000 (19:06 +0200)]
Add some reminder

Change-Id: I218b746a622cc0705be631292fc9e0c6154538eb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Yocto cross compile flag same the last commit
Romain Forlot [Thu, 6 Jul 2017 15:47:09 +0000 (17:47 +0200)]
Fix: Yocto cross compile flag same the last commit

Change-Id: Id39653e23fddedd3f48a64d1d9badd6c7a1ef894
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix Yocto can't compile project using app-templates
Romain Forlot [Wed, 5 Jul 2017 16:41:46 +0000 (18:41 +0200)]
Fix Yocto can't compile project using app-templates

Change-Id: Id5a9c1ffa6f24278f16fceeed0ba7e46ed49b37d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong macro name
Romain Forlot [Wed, 5 Jul 2017 14:56:07 +0000 (16:56 +0200)]
Fix: wrong macro name

Change-Id: Ia0af4453536509606f55a9557eff73a4d44e56ec
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChanges build flags to be more accurate
Romain Forlot [Wed, 5 Jul 2017 14:56:00 +0000 (16:56 +0200)]
Changes build flags to be more accurate

Change-Id: I1139845c4d103935c75dbd24ab6a4c38d121bdea
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate doc & use gitbook to enhance doc generation
Romain Forlot [Tue, 4 Jul 2017 17:00:40 +0000 (19:00 +0200)]
Update doc & use gitbook to enhance doc generation

Change-Id: If42c916f7664ea67b818a21b8f50c66c41e11f89
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd a CMakeLists.txt file to be used as root file
Romain Forlot [Tue, 4 Jul 2017 16:47:34 +0000 (18:47 +0200)]
Add a CMakeLists.txt file to be used as root file

Change-Id: I62900402fe9d3ef0ff4f4f19793cb08a67b116dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange location for custom CMake files and scripts
Romain Forlot [Tue, 4 Jul 2017 16:46:41 +0000 (18:46 +0200)]
Change location for custom CMake files and scripts

Use one additionnal level to put  all app-templates related files
in one directory.

Change-Id: Iec297d0070d8d47a4ce9e351bedb3ec45f691af4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Kernel detection under Yocto build env
Romain Forlot [Thu, 29 Jun 2017 13:31:15 +0000 (15:31 +0200)]
Fix: Kernel detection under Yocto build env

Change-Id: I2b21a6c2b5c812736ab3e7a480cbaa3f547819fc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding detection of a Yocto build environment
Romain Forlot [Thu, 29 Jun 2017 13:13:21 +0000 (15:13 +0200)]
Adding detection of a Yocto build environment

Change-Id: Id6a94153ada5b98a4a6d564859da8617ac636704
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# cmake/cmake.d/01-variables.cmake

6 years agoFix deb packaging naming
Ronan Le Martret [Wed, 28 Jun 2017 23:40:32 +0000 (01:40 +0200)]
Fix deb packaging naming

Change-Id: I8355dee83379c6c24e02104913fad5dcdebd95f0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: handling DEST env var in autobuild scripts
Romain Forlot [Thu, 29 Jun 2017 08:48:47 +0000 (10:48 +0200)]
Fix: handling DEST env var in autobuild scripts

Change-Id: Idf24c1adf12698d4b5ac7950e3d3c2e25b1c3274
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: idem...
Romain Forlot [Thu, 29 Jun 2017 07:46:29 +0000 (09:46 +0200)]
Fix: idem...

Change-Id: Iacc2ecf8dafce07fa9b8e1a3b123acf85417d650
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Debian things triggered even when use the SDK
Romain Forlot [Thu, 29 Jun 2017 07:44:17 +0000 (09:44 +0200)]
Fix: Debian things triggered even when use the SDK

USe variable reference not its value to test if defined

Change-Id: If59be00e2666d9e66f386fe0ca2cf39b386d0197
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "Add pkg-config for deb packaging"
Romain Forlot [Wed, 28 Jun 2017 16:19:53 +0000 (16:19 +0000)]
Merge "Add pkg-config for deb packaging"

6 years agoFix: wrong variable expands at configure_file time
Romain Forlot [Wed, 28 Jun 2017 16:06:25 +0000 (18:06 +0200)]
Fix: wrong variable expands at configure_file time

Change-Id: Idcaae73f3e186a9646407ed61df3f1b7da6bf782
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoComments and README update
Romain Forlot [Wed, 28 Jun 2017 15:59:12 +0000 (17:59 +0200)]
Comments and README update

Change-Id: I5b790459cd17e5cebbc415df68f040a9863215a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAutobuild scripts directory execution proof
Romain Forlot [Wed, 28 Jun 2017 14:41:56 +0000 (16:41 +0200)]
Autobuild scripts directory execution proof

autobuild scripts can be executed from anywhere we should
always have the build directory at the project root path.

Change-Id: I4b4be077c4ea986e054deb21f0b8a07d2db5e131
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse variable to handle autobuild target directory
Romain Forlot [Wed, 28 Jun 2017 14:40:32 +0000 (16:40 +0200)]
Use variable to handle autobuild target directory

Change-Id: If544267154111148b4e279ad6937c60195b20e26
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Debian detection, only valid in native env
Romain Forlot [Wed, 28 Jun 2017 16:10:46 +0000 (18:10 +0200)]
Fix: Debian detection, only valid in native env

Generate packaging files for Debian isn't available from
SDK. Only native and configured environment is supported
about now.

Change-Id: I70f6b19a4a04ecd7a902ef9d6f2300f4f98209a5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# cmake/cmake.d/01-variables.cmake

6 years agoMove variable definition to the right place.
Romain Forlot [Wed, 28 Jun 2017 14:38:10 +0000 (16:38 +0200)]
Move variable definition to the right place.

Change-Id: I36c0ff6d5b65b5da1258bb9807a5476cba2e4280
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd pkg-config for deb packaging
Ronan Le Martret [Wed, 28 Jun 2017 15:30:44 +0000 (17:30 +0200)]
Add pkg-config for deb packaging

Change-Id: Idb5c754fb456c877274c06646b515cb9f7963a21
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agochange path etc/config.cmake to conf.d/cmake/config.cmake
Ronan Le Martret [Wed, 28 Jun 2017 14:02:47 +0000 (16:02 +0200)]
change path etc/config.cmake to conf.d/cmake/config.cmake

Change-Id: I98d51ce911c51ced28760c53420ffdf474fe48f1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: autobuild script typo
Romain Forlot [Wed, 28 Jun 2017 08:54:27 +0000 (10:54 +0200)]
Fix: autobuild script typo

Change-Id: I3027ba7bd6fa98755e888152c860812cf0fd5908
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCustom targets depends on input files
Romain Forlot [Wed, 28 Jun 2017 08:54:13 +0000 (10:54 +0200)]
Custom targets depends on input files

Change-Id: I315df31ac299cf43c9bf7c5d7ee0043f65c5946c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: multiline COMMAND not supported...
Romain Forlot [Wed, 28 Jun 2017 07:55:15 +0000 (09:55 +0200)]
Fix: multiline COMMAND not supported...

Change-Id: Ic5bedd44fc032c07952b46b6c773c986fd641ad9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agotemplated autobuild script generation.
Romain Forlot [Wed, 28 Jun 2017 07:49:50 +0000 (09:49 +0200)]
templated autobuild script generation.

Change-Id: Ie7e411f30a30e073570c546aeec6ee05972f8e2a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding autobuild generation target
Romain Forlot [Tue, 27 Jun 2017 16:59:10 +0000 (18:59 +0200)]
Adding autobuild generation target

Change-Id: Idb231d005abbca3eb0a779320ab2382f6ff81108
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBack to previous populate http and data behavior
Romain Forlot [Tue, 27 Jun 2017 15:15:43 +0000 (17:15 +0200)]
Back to previous populate http and data behavior

Change-Id: I3ecd7f4175925ee48a394ea3bfc233bb016098be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoOnly 1 include in root CMake and no macro to call
Romain Forlot [Tue, 27 Jun 2017 13:18:02 +0000 (15:18 +0200)]
Only 1 include in root CMake and no macro to call

Added a variable to specify pattern to search CMakeLists.txt
over directories and include common.cmake from config.cmake file.
Now it isn't needed to call any macro to configure the
project.

Change-Id: I0c0eecc684db4f8ee1055d84205ad457a6fde179
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCorrect precedence over included files
Romain Forlot [Tue, 27 Jun 2017 13:02:05 +0000 (15:02 +0200)]
Correct precedence over included files

Change-Id: Ifc6f2bf72ea5bc9f497745cc65041f047e8b86bd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRecurse over template files to configure them.
Romain Forlot [Tue, 27 Jun 2017 12:32:41 +0000 (14:32 +0200)]
Recurse over template files to configure them.

Change-Id: I4e18946ac986a0c128b1d6f00185c0fd2200f643
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRecursive include cmake file systemn home, project
Romain Forlot [Tue, 27 Jun 2017 11:32:41 +0000 (13:32 +0200)]
Recursive include cmake file systemn home, project

Can now include any cmake file named with the template name
[0-9][0-9]-*.cmake

Change-Id: If6caf4e254691bb7b9b0e4e0b7adf9f19560ff25
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: htdocs and data files not populated.
Romain Forlot [Mon, 26 Jun 2017 16:31:08 +0000 (18:31 +0200)]
Fix: htdocs and data files not populated.

Change-Id: Ib1875f988ca7863c9edf6d181d5fe0652de41ab2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd wrapper to 4 most commons macros
Romain Forlot [Mon, 26 Jun 2017 16:08:40 +0000 (18:08 +0200)]
Add wrapper to 4 most commons macros

1 macros to call in the right orders 4 following macros:
- project_subdirs_add
- project_targets_populate
- project_package_build
- project_closing_msg

Could take 1 argument passed to project_subdirs_add

Change-Id: I4ae7e24f1a865413156c5c70b77098c3a20349b0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Mon, 26 Jun 2017 16:02:13 +0000 (18:02 +0200)]
Format

Change-Id: Ia9881d4ac0d89c77bee98b2c773118b6339fcf14
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCheck Kernel version against SDK env or Host env.
Romain Forlot [Mon, 26 Jun 2017 10:25:13 +0000 (12:25 +0200)]
Check Kernel version against SDK env or Host env.

This use Kernel header version.h to determine which
is the current kernel version use to develop the project

Change-Id: I0a654a5a0fc89543fa3d855c7adc6d319dd0b53c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSplit common files into specialized cmake files.
Romain Forlot [Mon, 26 Jun 2017 08:38:35 +0000 (10:38 +0200)]
Split common files into specialized cmake files.

Change-Id: I5c920f78c583a6a4eaeb53146413c35c640b4bbb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoConfigure file at build time with separated target
Romain Forlot [Wed, 21 Jun 2017 09:31:13 +0000 (09:31 +0000)]
Configure file at build time with separated target

Change-Id: I0464897b830e926bb173c9b80ef7682ff47ecb5b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoUpdate packaging creation
Ronan Le Martret [Fri, 9 Jun 2017 16:00:41 +0000 (18:00 +0200)]
Update packaging creation

 * update rpm creation
 * add deb packaging

Change-Id: Idc1623b7b0ca72d4842e59f9495fc26c487ef008
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoMerge changes I81a6d9f6,I67698bbb
Romain Forlot [Thu, 15 Jun 2017 07:57:00 +0000 (07:57 +0000)]
Merge changes I81a6d9f6,I67698bbb

* changes:
  Fix: remove old bug about overwriten variables.
  Fix gdb debugging and add widget install on target

6 years agoFix: remove old bug about overwriten variables.
Romain Forlot [Thu, 15 Jun 2017 07:42:08 +0000 (09:42 +0200)]
Fix: remove old bug about overwriten variables.

Change-Id: I81a6d9f68c04ad309ac023a1aa2257b83393bcb9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate README
Romain Forlot [Thu, 15 Jun 2017 07:38:11 +0000 (09:38 +0200)]
Update README

Change-Id: I51f64cd74c348728afefed8deafc2f0a37e28969
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# README.md

6 years agoFix gdb debugging and add widget install on target
Sebastien Douheret [Thu, 15 Jun 2017 07:19:08 +0000 (09:19 +0200)]
Fix gdb debugging and add widget install on target

Change-Id: I67698bbbfa626e55cbe382afd7e9c5eb699f6149
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUpdate README
Romain Forlot [Tue, 13 Jun 2017 11:46:57 +0000 (13:46 +0200)]
Update README

Change-Id: I51f64cd74c348728afefed8deafc2f0a37e28969
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "Update config.cmake.sample"
Romain Forlot [Tue, 13 Jun 2017 08:52:13 +0000 (08:52 +0000)]
Merge "Update config.cmake.sample"

6 years agoMerge "Replace LIBRARIES by LDFLAGS for pkgconfig dep"
Romain Forlot [Tue, 13 Jun 2017 08:51:45 +0000 (08:51 +0000)]
Merge "Replace LIBRARIES by LDFLAGS for pkgconfig dep"

6 years agoFix:WIDGET_ENTRY_POINT variable always overwritten
Romain Forlot [Mon, 12 Jun 2017 10:50:34 +0000 (12:50 +0200)]
Fix:WIDGET_ENTRY_POINT variable always overwritten

Change-Id: I429676174add205d60b9cd0d03f091f2533a5182
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agorenamed default submodules dir
Romain Forlot [Mon, 12 Jun 2017 10:42:14 +0000 (12:42 +0200)]
renamed default submodules dir

Change-Id: Idd0505c2ca7f9c055313628667d7f3f2a5d35523
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix wrong path to submodule files.
Romain Forlot [Mon, 12 Jun 2017 10:35:56 +0000 (12:35 +0200)]
Fix wrong path to submodule files.

Change-Id: Ic28656d1e662b639ea84d052dbf48876c7ed7737
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Fri, 9 Jun 2017 15:05:58 +0000 (17:05 +0200)]
Format

Change-Id: Ia3fd8c0c03782664a7f0fbc6bc2bb2a5f747d136
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoReplace LIBRARIES by LDFLAGS for pkgconfig dep
Ronan Le Martret [Mon, 12 Jun 2017 09:38:38 +0000 (11:38 +0200)]
Replace LIBRARIES by LDFLAGS for pkgconfig dep

 XXX_LIBRARIES provide the lib name, LDFLAGS lib name and path.

Change-Id: Iad84a450e2a0876e8c9d284408a43f472e1f275f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoUpdate config.cmake.sample
Ronan Le Martret [Mon, 12 Jun 2017 08:42:48 +0000 (10:42 +0200)]
Update config.cmake.sample

 Add version for pkgconfig  required, (libsystemd, libmicrohttpd)
 Add pkgconfig required (libmicrohttpd)

Change-Id: Ic4e348cc00950074cf38b7a1be94315ac9f4a41b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoMerge "Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINT"
Jan-Simon Moeller [Mon, 12 Jun 2017 08:35:03 +0000 (08:35 +0000)]
Merge "Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINT"

6 years agogitignore: add vim swap files
Stephane Desneux [Fri, 9 Jun 2017 21:51:42 +0000 (23:51 +0200)]
gitignore: add vim swap files

Change-Id: I9e7fb4501475e3a0daeedbe413db8cbe9126bd76
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agofix typo: 'license', not 'licence' (french)
Stephane Desneux [Fri, 9 Jun 2017 21:40:52 +0000 (23:40 +0200)]
fix typo: 'license', not 'licence' (french)

Change-Id: Iaa3fc567f7f61f944c6d4cb17dd1693dbf3c67be
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agoDon't ship config.xml to packaging dir. Useless
Romain Forlot [Fri, 9 Jun 2017 14:57:08 +0000 (16:57 +0200)]
Don't ship config.xml to packaging dir. Useless

Change-Id: I1d5daebf7870e372d615c4f39e2a538a6590d189
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate README.
Romain Forlot [Fri, 9 Jun 2017 13:56:18 +0000 (15:56 +0200)]
Update README.

Change-Id: Ie98d9ae9269cbd73e0353636cfe87346697ee0b7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Fri, 9 Jun 2017 13:07:37 +0000 (15:07 +0200)]
Format

Change-Id: I10ac047df90ee5c4e795433a1de977d7a4ff95c8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding a full explained widget configuration file
Romain Forlot [Fri, 9 Jun 2017 13:07:32 +0000 (15:07 +0200)]
Adding a full explained widget configuration file

Change-Id: Ice3a74d0e64eea17780e28ef3cf5eae74293b0a0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMore detailled comments.
Romain Forlot [Fri, 9 Jun 2017 13:07:07 +0000 (15:07 +0200)]
More detailled comments.

Change-Id: I980342903fe2a538b590addf86d53fb210807944
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoSet default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINT
Sebastien Douheret [Fri, 9 Jun 2017 12:46:54 +0000 (14:46 +0200)]
Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINT

Change-Id: I275373636bfa4e33e0c82ff934971ee17501bfe1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoRemove spec file from package tree.
Romain Forlot [Fri, 9 Jun 2017 09:21:22 +0000 (11:21 +0200)]
Remove spec file from package tree.

Change-Id: I1cca6118dc07efe15f408b222980fecf6ad0d125
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdded a target to build an archive from git repo
Romain Forlot [Fri, 9 Jun 2017 08:43:07 +0000 (10:43 +0200)]
Added a target to build an archive from git repo

Change-Id: If6f491f7bf8e3e7a29b9c9db369126dc550318c3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: cli CMAKE_INSTALL_PREFIX variable ignored
Romain Forlot [Fri, 9 Jun 2017 08:42:50 +0000 (10:42 +0200)]
Fix: cli CMAKE_INSTALL_PREFIX variable ignored

Don't overwrite CMAKE_INSTALL_PREFIX

Change-Id: Ie4b0a6dde2b59fee6704369b6fe66a1390c4a092
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agocmake: add WIDGET_CONFIG_TEMPLATE setting to specify location for config.xml.in
Stephane Desneux [Thu, 8 Jun 2017 23:08:00 +0000 (01:08 +0200)]
cmake: add WIDGET_CONFIG_TEMPLATE setting to specify location for config.xml.in

Change-Id: I285196388c12145b6b049af692a7a67c03aaba24
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agocmake: add default icons
Stephane Desneux [Thu, 8 Jun 2017 15:35:55 +0000 (17:35 +0200)]
cmake: add default icons

Change-Id: I219069e14543d0899e9dae4f2b92a113dd8aae83
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agocommon.cmake: fix icon copy and final name in package
Stephane Desneux [Thu, 8 Jun 2017 15:00:20 +0000 (17:00 +0200)]
common.cmake: fix icon copy and final name in package

Change-Id: I6791a0e0de9e8f3d3b540550f9dfe9c06821f4ae
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agoMerge "Add build rule to .PHONY list"
Jan-Simon Moeller [Thu, 8 Jun 2017 10:11:33 +0000 (10:11 +0000)]
Merge "Add build rule to .PHONY list"

6 years agoMake optional kernel version checks.
Romain Forlot [Thu, 8 Jun 2017 10:09:13 +0000 (12:09 +0200)]
Make optional kernel version checks.

Kernel version check against the kernel host version
that the correct one which can be in a SDK.

Change-Id: If84efdb4391d574b3d48fc35c07d84937f43ef8f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: empty value in generated config.xml file.
Romain Forlot [Thu, 8 Jun 2017 10:08:31 +0000 (12:08 +0200)]
Fix: empty value in generated config.xml file.

Make mandatory and update WIDGET_ENTRY_POINT and
WIDGET_TYPE settings.

Change-Id: I6681bab6d31a47769467be1a43de6fb9070007be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd build rule to .PHONY list
Sebastien Douheret [Thu, 8 Jun 2017 08:09:51 +0000 (10:09 +0200)]
Add build rule to .PHONY list

Change-Id: I4725e23c04b00ffb3212681423ff9bcc2320be07
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>