staging/xdg-launcher.git
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>
6 years agoautobuild/agl: remove spurious dependency on config.xml.in and icon.png.in
Stephane Desneux [Wed, 7 Jun 2017 22:58:47 +0000 (00:58 +0200)]
autobuild/agl: remove spurious dependency on config.xml.in and icon.png.in

Change-Id: If96df9755b2f85991167744efe02321403d3022b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
6 years agoadd .gitreview file
Ronan Le Martret [Wed, 7 Jun 2017 13:21:43 +0000 (15:21 +0200)]
add .gitreview file

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agofix local rpm build
Ronan Le Martret [Wed, 7 Jun 2017 13:20:50 +0000 (15:20 +0200)]
fix local rpm build

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoFix: mismatch variable name.
Romain Forlot [Mon, 29 May 2017 08:40:29 +0000 (10:40 +0200)]
Fix: mismatch variable name.

Change-Id: I7ab991ec256a68a463418a77aef264e15df1973b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoDescription
Romain Forlot [Mon, 29 May 2017 08:40:04 +0000 (10:40 +0200)]
Description

Change-Id: I81f684b829d612fb58330cf0aeaca5e1097e3b4b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoTrick to always execute popule http and data dir
Romain Forlot [Mon, 29 May 2017 00:04:00 +0000 (02:04 +0200)]
Trick to always execute popule http and data dir

This will fake cmake to make it believe that the output produced by
custom_command never exists so it have to re execute the command...

Change-Id: I3836510d5c522b8f23991669eb07b08bf17aba5f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFormat
Romain Forlot [Mon, 29 May 2017 00:03:12 +0000 (02:03 +0200)]
Format

Change-Id: I5197065ea620cee4accca7e097df9a49b796c671
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoOverload CMAKE_INSTALL_PREFIX if custom defined
Romain Forlot [Mon, 29 May 2017 00:02:59 +0000 (02:02 +0200)]
Overload CMAKE_INSTALL_PREFIX if custom defined

Change-Id: I327d6af1862b4732f91d78abe26c7ffd6d2fbe51
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAlways configure files to build widget.
Romain Forlot [Mon, 29 May 2017 00:02:04 +0000 (02:02 +0200)]
Always configure files to build widget.

Change-Id: I78ff4d6333dcbb6786d5618a27b89ac9cd9e9ebc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUse FATAL_ERROR if missing file to build packages
Romain Forlot [Mon, 29 May 2017 00:01:40 +0000 (02:01 +0200)]
Use FATAL_ERROR if missing file to build packages

Change-Id: I5d1b0abf5447fdf9938d4c4d4b7ad0d921cf27a0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRenamed variables to avoid confusing
Romain Forlot [Mon, 29 May 2017 00:00:58 +0000 (02:00 +0200)]
Renamed variables to avoid confusing

Change-Id: Iddd9215f45001c3ed515e601e7ef2ba73161a703
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdd missing macro used in building RPM spec file
Romain Forlot [Sun, 28 May 2017 23:59:39 +0000 (01:59 +0200)]
Add missing macro used in building RPM spec file

Change-Id: I4058a9fc101b7aea0343a68557a2e5b76ec827f2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix missing variable use for remote debug
Romain Forlot [Sun, 28 May 2017 11:36:12 +0000 (13:36 +0200)]
Fix missing variable use for remote debug

Change-Id: I73a3c490e9abe780a79ac24fbfc838e5bd18eade
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding colors in output messages.
Romain Forlot [Sun, 28 May 2017 11:35:45 +0000 (13:35 +0200)]
Adding colors in output messages.

Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix:use first optional argument in adding subdir macro
Romain Forlot [Sun, 28 May 2017 11:02:09 +0000 (13:02 +0200)]
Fix:use first optional argument in adding subdir macro

Change-Id: Id09128836df86ade96036359e125e4ce4f23a124
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: first ssh connection
Romain Forlot [Sun, 28 May 2017 11:01:23 +0000 (13:01 +0200)]
Fix: first ssh connection

Don't ask to valid host key at first connection to a host

Change-Id: I664d15e2a913638ffccb85c4d420a0df8b9addc5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: rsync / on target.
Romain Forlot [Wed, 24 May 2017 16:43:43 +0000 (18:43 +0200)]
Fix: rsync / on target.

Populate target with the correct path.

Change-Id: I25df58cbc14ca2e0d20450a6be97c635f9c2a4b3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: hardcoded path
Romain Forlot [Wed, 24 May 2017 16:16:37 +0000 (18:16 +0200)]
Fix: hardcoded path

Change-Id: I882f7f69b3577a779266c5347c25ee6d7ab52377
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: variable coherence
Romain Forlot [Wed, 24 May 2017 16:07:15 +0000 (18:07 +0200)]
Fix: variable coherence

Change-Id: Ie7c073e0df0e19b31e210cb02d628bde864d11de
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdded possibility to check linux kernel version
Romain Forlot [Wed, 24 May 2017 15:59:53 +0000 (17:59 +0200)]
Added possibility to check linux kernel version

Change-Id: I212e1a5a2dc16c6cc2eb78523dbf9496d9da234a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdded missing files...
Romain Forlot [Wed, 24 May 2017 15:55:25 +0000 (17:55 +0200)]
Added missing files...

Change-Id: I4e359bb76bbd60833970ece52c12596196a22b02
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoMissing variable and target call
Romain Forlot [Wed, 24 May 2017 15:51:10 +0000 (17:51 +0200)]
Missing variable and target call

Change-Id: If0dbac632f45ecbb122a68bea18fb6e9645b86e7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoGet back to last folder structure (more or less)
Romain Forlot [Wed, 24 May 2017 15:20:56 +0000 (17:20 +0200)]
Get back to last folder structure (more or less)

Change-Id: I2993ec9ca8f4ed73e1dfc9fb6caf554bfc0ac871
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: can't build rpm file
Romain Forlot [Wed, 24 May 2017 14:37:35 +0000 (16:37 +0200)]
Fix: can't build rpm file

Change-Id: Ie916acdb5402137ef861b3b442ac76a161374731
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: can't build wgt file
Romain Forlot [Wed, 24 May 2017 14:37:11 +0000 (16:37 +0200)]
Fix: can't build wgt file

Fix changed icon file name.

Change-Id: I2c8ab65df8ffe245f8f52fc8a147c19e76aa069c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate README doc
Romain Forlot [Wed, 24 May 2017 13:13:56 +0000 (15:13 +0200)]
Update README doc

Change-Id: I94da23c8d87dc11862d93b4c87a8291cad633fb3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdd variable indicating where is app-templates repo clone
Romain Forlot [Wed, 24 May 2017 13:13:38 +0000 (15:13 +0200)]
Add variable indicating where is app-templates repo clone

Change-Id: Ifd7d2e47727840705dddec1a4ae83e917a5110be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoSeparate directory to put package build files.
Romain Forlot [Wed, 24 May 2017 13:12:22 +0000 (15:12 +0200)]
Separate directory to put package build files.

Templated files config.xml.in and config.spec.in are configured to be used
by wgt and rpm packager software.

Change-Id: Id7fbd7822acb4d0f187d9d9b8d1682ee7ef0cc33
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: rpm spec file not configured.
Romain Forlot [Wed, 24 May 2017 13:10:10 +0000 (15:10 +0200)]
Fix: rpm spec file not configured.

Fix: wrong variable name tested

Change-Id: I03dfb603c1c30b1935356699e45b1f82bc1f63c8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFormat: indent
Romain Forlot [Wed, 24 May 2017 13:09:11 +0000 (15:09 +0200)]
Format: indent

Change-Id: Ia500deb6b1af1df6f1f0f0ec31e0e5730ac293f5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRename variable to be more accurate
Romain Forlot [Wed, 24 May 2017 13:08:29 +0000 (15:08 +0200)]
Rename variable to be more accurate

Renaming PROJECT_PKG_DIR to PROJECT_PKG_BUILD_DIR.

Change-Id: I8e26ca9d2ec908ee2dcd3980ea86847a1b7e0178
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRenaming macros to common.
Romain Forlot [Wed, 24 May 2017 12:59:46 +0000 (14:59 +0200)]
Renaming macros to common.

Change-Id: I5f4085718afa7519ec2ec67566e3685d36412f27
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix wrong rpm spec files extensions.
Romain Forlot [Wed, 24 May 2017 12:08:22 +0000 (14:08 +0200)]
Fix wrong rpm spec files extensions.

Classic RPM build file is suffixed with .spec.

Change-Id: I66e1a756ce72501d3ebb103588bf439bf1135140
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoReorganization of folder structure
Romain Forlot [Wed, 24 May 2017 10:02:21 +0000 (12:02 +0200)]
Reorganization of folder structure

Change-Id: I809382d652415038b53be9a1ec9f2f60939cce42
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: Test modules package dependencies versions.
Romain Forlot [Mon, 22 May 2017 16:40:26 +0000 (18:40 +0200)]
Fix: Test modules package dependencies versions.

Change-Id: I3cb68b4c431c064e5a34cac5466c3f8afdf06f3b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoImprove populate htdocs and data target types.
Romain Forlot [Mon, 22 May 2017 16:39:55 +0000 (18:39 +0200)]
Improve populate htdocs and data target types.

Copy the directory contents instead of the directory itself to avoid copying
directory inside the target directory if it exists.

Change-Id: I152287e59dc1f0a00fcf538f270519128459dc42
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix project LIBDIR and RESOURCES paths.
Romain Forlot [Fri, 19 May 2017 12:18:56 +0000 (14:18 +0200)]
Fix project LIBDIR and RESOURCES paths.

Change-Id: I36c4139e53266938285f8a275bf38243cd10907e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoImprove .gitignore
Romain Forlot [Thu, 18 May 2017 23:09:41 +0000 (01:09 +0200)]
Improve .gitignore

Change-Id: I994277a8a552ac76b043b388f03a4f8e0ec0bd6b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoSpecify script as a sample file to be copied
Romain Forlot [Thu, 18 May 2017 23:06:53 +0000 (01:06 +0200)]
Specify script as a sample file to be copied

Change-Id: I464a4eb83f47860f3e5e0f9297e6632fe90cdc51
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoReorganization for a new project tree logic.
Romain Forlot [Thu, 18 May 2017 16:21:08 +0000 (18:21 +0200)]
Reorganization for a new project tree logic.

This directory has to be include as submodules by example into a conf.d
directory at root project path. conf.d will have config.cmake, icon.png, build scripts
and a package directory where should lies builded config.xml and config.spec files to
build package using OBS (by example)

Change-Id: I2a5cd8a4b5641995ef89a1e796a0e5a229303f7c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoGit repo can be used as submodules
Romain Forlot [Thu, 18 May 2017 15:49:35 +0000 (17:49 +0200)]
Git repo can be used as submodules

Clean templates files as they are useless for usage in submodules into a project.

Change-Id: I24c71b64ab2b3a958494f3f190c014227a1da576
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate template to the reference 3.99.1 dab/3.99.1 dab_3.99.1
Romain Forlot [Wed, 17 May 2017 16:43:49 +0000 (18:43 +0200)]
Update template to the reference

Change-Id: I32b9911fa0f8b294e3f38ce88de2ed58a9b57c71
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdd closing message and a widget message. Example more complete
Romain Forlot [Wed, 17 May 2017 16:43:31 +0000 (18:43 +0200)]
Add closing message and a widget message. Example more complete

Change-Id: Ia320d1f95131704b2d5dfd5987edbc183e2956bd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: wrong path to test if html5 app is generated.
Romain Forlot [Wed, 17 May 2017 16:42:37 +0000 (18:42 +0200)]
Fix: wrong path to test if html5 app is generated.

Change-Id: I36825a533db7816229c249b1af1e199231fd6fbc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoTesting correctly a property
Romain Forlot [Wed, 17 May 2017 16:42:15 +0000 (18:42 +0200)]
Testing correctly a property

Change-Id: I86259e19ec58df81591cd2491ce560ce932b5406
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: populate targets not created
Romain Forlot [Wed, 17 May 2017 16:41:43 +0000 (18:41 +0200)]
Fix: populate targets not created

It is a consequence of using property, we have to retrieve it before test it

Change-Id: If617bb673cd348dcc7d193878350a4b2c09dee05
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: Project name not set.
Romain Forlot [Wed, 17 May 2017 16:39:38 +0000 (18:39 +0200)]
Fix: Project name not set.

Wrong variable used, it was PROJECT_NAME that is used in macros.cmake.

Change-Id: Ie7e88cde77a826478e027a543a7d5c6210f44360
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate templates
Romain Forlot [Wed, 17 May 2017 15:42:07 +0000 (17:42 +0200)]
Update templates

Change-Id: Iff329f333f3b6f81471a6c5ada5acb0418523f21
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: using property for global targets list
Romain Forlot [Wed, 17 May 2017 15:41:49 +0000 (17:41 +0200)]
Fix: using property for global targets list

Change-Id: I42667730a021c2a5c59906ed915d81530db763cf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate templates macros.cmake files.
Romain Forlot [Wed, 17 May 2017 14:52:47 +0000 (16:52 +0200)]
Update templates macros.cmake files.

Change-Id: I030e08c308cbff28df232314008707b6dcacb261
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoGLOBAL property instead of cache var to handle project targets
Romain Forlot [Wed, 17 May 2017 14:54:17 +0000 (16:54 +0200)]
GLOBAL property instead of cache var to handle project targets

Didn't find the property GlobalTargetList even in cmake 3.8. So using the existing
variable.

Change-Id: I2851d54d11daf2462321e234c577fde911d078ee
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdating template to the new AGLbuild script
Romain Forlot [Sat, 13 May 2017 11:44:23 +0000 (13:44 +0200)]
Updating template to the new AGLbuild script

Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: being compatible with aglwgt_deploy Yocto tasks.
Romain Forlot [Sat, 13 May 2017 11:44:08 +0000 (13:44 +0200)]
Fix: being compatible with aglwgt_deploy Yocto tasks.

Bitbake looks into package dir to take widget and deploy them so we have to
move the wgt file into that dir :)

Change-Id: Ic729b2ec2a6017f090679c61c8a32a3a62f42d28
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding comments as documentation for each target.
Romain Forlot [Fri, 12 May 2017 07:59:36 +0000 (09:59 +0200)]
Adding comments as documentation for each target.

Change-Id: Ia4d73bd4c2cd3be882998c45fca2fa3da8bae971
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate template with references.
Romain Forlot [Tue, 9 May 2017 11:20:38 +0000 (13:20 +0200)]
Update template with references.

Change-Id: Ic575adc4c8815f41a02c32d9835332cc2608d513
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding missing mimetype
Romain Forlot [Tue, 9 May 2017 11:20:16 +0000 (13:20 +0200)]
Adding missing mimetype

Change-Id: I09612dcd21c881363bb3da911f3429ea49f68104
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding a widget message after building the widget package.
Romain Forlot [Tue, 9 May 2017 11:19:49 +0000 (13:19 +0200)]
Adding a widget message after building the widget package.

Change-Id: I868faad7cc1985cd2fe0267694d2ec363ab01d7d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoChange packaging dependency logic
Romain Forlot [Tue, 9 May 2017 11:19:29 +0000 (13:19 +0200)]
Change packaging dependency logic

Make a main target on which populate target will depend then build widget will
just depend on a this target.

Change-Id: Idada3b7ce97b9b7412550a1fbc36e8fb19857afc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRework dependencies about custom target to be more CMake compliant
Romain Forlot [Tue, 9 May 2017 11:17:16 +0000 (13:17 +0200)]
Rework dependencies about custom target to be more CMake compliant

CMake dependencies about custom target is to added with add_dependencies()
DEPENDS options is more for output file dependencies.

Change-Id: I3fb6b17e0de97bbb495471d50562d41f6ab549f0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: make CACHED INTERNAL variable to be visible.
Romain Forlot [Tue, 9 May 2017 11:13:19 +0000 (13:13 +0200)]
Fix: make CACHED INTERNAL variable to be visible.

Else scope isn't good and GLOBAL_TARGET_LIST is empty
when testing in closing message macro.

Change-Id: I1a490d4b4c909996763f9c0b58387dae8e44e1b5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoCheck compiler version to ensure a minimal version.
Romain Forlot [Tue, 9 May 2017 11:11:25 +0000 (13:11 +0200)]
Check compiler version to ensure a minimal version.

Change-Id: I619ba2c41e9e5f46b1d10d31510794b6577fce85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoRemove bashisme and don't echo executed command.
Romain Forlot [Tue, 9 May 2017 11:09:26 +0000 (13:09 +0200)]
Remove bashisme and don't echo executed command.

Change-Id: Ifca91194ce89b3264cbb417ccfd60981bcfc246d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate CMakeLists files tree and organization
Romain Forlot [Fri, 5 May 2017 08:59:12 +0000 (10:59 +0200)]
Update CMakeLists files tree and organization

Separation between project CMake file and Target CMake files.
Adding LINK_FLAGS missing for bindings and following sources files rename operations.

Change-Id: I664d20f84fd6a528fb2b057981e3ef9a4243c10d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoTemplates separation between binding API hat and Callbacks
Romain Forlot [Fri, 5 May 2017 08:58:01 +0000 (10:58 +0200)]
Templates separation between binding API hat and Callbacks

Change-Id: I4c405c0ae02f50f03f9b4e71ebbdcd74f51e4ac8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate template to the reference.
Romain Forlot [Thu, 4 May 2017 22:26:35 +0000 (00:26 +0200)]
Update template to the reference.

Change-Id: I5140d5c8df51773815074b1f7dd5a9556a3e6428
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoGenerate a new target only if LABELS has been set.
Romain Forlot [Thu, 4 May 2017 22:24:19 +0000 (00:24 +0200)]
Generate a new target only if LABELS has been set.

Change-Id: I0a7fc0a141c738da1211a1b51198e78cc0e5f286
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>