[DEV] integrate GLD

This commit is contained in:
Edouard DUPIN 2021-12-15 22:38:05 +01:00
parent eee6cddab6
commit 9d5f834c76
15 changed files with 284 additions and 364 deletions

View File

@ -3,7 +3,7 @@
"group-id":"com.atria-soft",
"description":"ewol is a widget management library",
"license":"MPL-2",
"license-file":"file://LICENCE.txt",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",

View File

@ -4,7 +4,7 @@
"group-id":"com.atria-soft",
"description":"ewol test software",
"license":"MPL-2",
"license-file":"file://LICENCE.txt",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",

View File

@ -3,7 +3,7 @@
"group-id":"com.atria-soft",
"description":"ewol is a widget management library",
"license":"MPL-2",
"license-file":"file://LICENCE.txt",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
@ -165,8 +165,7 @@
"."
],
"compilation-version": {
"language": "c++",
"version": 2017
"c++": 2017
},
"dependency": [
"elog",
@ -185,9 +184,6 @@
"fluorine"
],
"flag": {
"language": "c++",
"value": [
"-DEWOL_VERSION=\"{{{project.version}}}\""
]
"c++": "-DEWOL_VERSION=\"{{{quote2}}}{{{project.version}}}{{{quote2}}}\""
}
}

View File

@ -0,0 +1,34 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 0XX : Create costum Widget",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp",
"appl/widget/VectorDisplay.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,48 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 0XX : Create costum Widget"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
'appl/widget/VectorDisplay.cpp',
])
my_module.add_depend([
'ewol'
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,33 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 001 : Hello Word",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,44 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 001 : Hello Word"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
])
my_module.add_depend([
'ewol'
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,35 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 0XX : bsic tree example",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp",
"appl/widget/BasicTree.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol",
"test-debug"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,49 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 0XX : bsic tree example"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
'appl/widget/BasicTree.cpp',
])
my_module.add_depend([
'ewol',
'test-debug',
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,65 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"ewol Wallpaper sample",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/WidgetDisplay.cpp",
"appl/Windows.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
},
"copy": [
"data/SnowFlake.svg"
],
"path": [
"."
],
"package":{
"SECTION": "example",
"ICON": "../data/icon.png",
"PRIORITY": "extra",
"ANDROID_APPL_TYPE": "WALLPAPER",
"ANDROID_WALLPAPER_PROPERTIES": [
[
"list",
"testpattern",
"Select test pattern",
"Choose which test pattern to display",
[
["key","value display"],
["key2","value display 2"]
]
], [
"bool",
"movement",
"Motion",
"Apply movement to test pattern",
[
"Moving test pattern",
"Still test pattern"
]
]
]
}
}

View File

@ -1,68 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_name():
return "ewol Wallpaper sample"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial xxx example wallpaper"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/WidgetDisplay.cpp',
'appl/Windows.cpp',
])
my_module.add_depend(['ewol'])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.copy_path('data/SnowFlake.svg','')
my_module.add_path(".")
# set the package properties :
my_module.set_pkg("ICON", "../data/icon.png")
my_module.set_pkg("SECTION", "example")
my_module.set_pkg("PRIORITY", "extra")
my_module.set_pkg("ANDROID_APPL_TYPE", "WALLPAPER")
#for the exemple :
my_module.add_pkg("ANDROID_WALLPAPER_PROPERTIES", ["list", "testpattern", "Select test pattern", "Choose which test pattern to display", \
[ ["key","value display"],\
["key2","value display 2"]\
] \
])
my_module.add_pkg("ANDROID_WALLPAPER_PROPERTIES", ["bool", "movement", "Motion", "Apply movement to test pattern", ["Moving test pattern", "Still test pattern"]])
# add the currrent module at the
return True

View File

@ -0,0 +1,56 @@
{
"type":"BINARY",
"sub-type":"TOOL",
"group-id":"com.atria-soft",
"description":"ewol tools software (visual)",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/debug.cpp",
"appl/init.cpp",
"appl/MainWindows.cpp",
"appl/TestDistanceField.cpp",
"appl/widget/SizerColor.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"{{{project.name}}}\"",
"-DAPPL_VERSION=\"{{{project.version}}}\""
]
},
"path": [
"."
],
"copy": [
{
"path": "data/icon.png",
"to": ""
},{
"path": "data/icon.*"
},{
"path": "data/cube.*"
},{
"path": "data/grass.*"
},{
"path": "data/stone*"
},{
"path": "data/sphere.*"
},{
"path": "data/gui.xml"
},{
"path": "data/FreeSerif*",
"to": "fonts/"
}
]
}

View File

@ -1,73 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_sub_type():
return "TOOL"
def get_desc():
return "ewol tools software (visual)"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def configure(target, my_module):
# add the file to compile:
my_module.add_src_file([
'appl/debug.cpp',
'appl/init.cpp',
'appl/MainWindows.cpp',
'appl/TestDistanceField.cpp',
'appl/widget/SizerColor.cpp'
])
my_module.add_depend(['ewol'])
my_module.copy_file('data/icon.png','icon.png')
my_module.copy_path('data/icon.*','')
my_module.copy_path('data/cube.*','')
my_module.copy_path('data/grass.*','')
my_module.copy_path('data/stone*','')
my_module.copy_path('data/sphere.png','')
my_module.copy_path('data/sphere.obj','')
my_module.copy_path('data/gui.xml','')
my_module.add_path(".")
my_module.copy_path("data/FreeSerif*","fonts/")
"""
# set the package properties :
my_module.pkg_set("VERSION", versionID)
my_module.pkg_set("COMPAGNY_TYPE", "org")
my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.pkg_set("ICON", tools.get_current_path(__file__) + "/../data/icon.png")
my_module.pkg_set("SECTION", ["Development"])
my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ewol test software")
my_module.pkg_set("NAME", "test software")
my_module.pkg_add("RIGHT", "SET_ORIENTATION")
my_module.pkg_add("RIGHT", "VIBRATE")
"""
return True

View File

@ -0,0 +1,56 @@
{
"type":"BINARY",
"sub-type":"TOOL",
"group-id":"com.atria-soft",
"description":"ewol tools software platform test (visual)",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/debug.cpp",
"appl/init.cpp",
"appl/MainWindows.cpp",
"appl/TestDistanceField.cpp",
"appl/widget/SizerColor.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"{{{project.name}}}\"",
"-DAPPL_VERSION=\"{{{project.version}}}\""
]
},
"path": [
"."
],
"copy": [
{
"path": "data/icon.png",
"to": ""
},{
"path": "data/icon.*"
},{
"path": "data/cube.*"
},{
"path": "data/grass.*"
},{
"path": "data/stone*"
},{
"path": "data/sphere.*"
},{
"path": "data/gui.xml"
},{
"path": "data/FreeSerif*",
"to": "fonts/"
}
]
}

View File

@ -1,73 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_sub_type():
return "TOOL"
def get_desc():
return "ewol tools software (visual)"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def configure(target, my_module):
# add the file to compile:
my_module.add_src_file([
'appl/debug.cpp',
'appl/init.cpp',
'appl/MainWindows.cpp',
'appl/TestDistanceField.cpp',
'appl/widget/SizerColor.cpp'
])
my_module.add_depend(['ewol'])
my_module.copy_file('data/icon.png','icon.png')
my_module.copy_path('data/icon.*','')
my_module.copy_path('data/cube.*','')
my_module.copy_path('data/grass.*','')
my_module.copy_path('data/stone*','')
my_module.copy_path('data/sphere.png','')
my_module.copy_path('data/sphere.obj','')
my_module.copy_path('data/gui.xml','')
my_module.add_path(".")
my_module.copy_path("data/FreeSerif*","fonts/")
"""
# set the package properties :
my_module.pkg_set("VERSION", versionID)
my_module.pkg_set("COMPAGNY_TYPE", "org")
my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.pkg_set("ICON", tools.get_current_path(__file__) + "/../data/icon.png")
my_module.pkg_set("SECTION", ["Development"])
my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ewol test software")
my_module.pkg_set("NAME", "test software")
my_module.pkg_add("RIGHT", "SET_ORIENTATION")
my_module.pkg_add("RIGHT", "VIBRATE")
"""
return True