Use a single lvgl submodule for all apps
This commit is contained in:
7
.gitmodules
vendored
7
.gitmodules
vendored
@@ -1,6 +1,3 @@
|
|||||||
[submodule "buffyboard/lvgl"]
|
[submodule "lvgl"]
|
||||||
path = buffyboard/lvgl
|
path = lvgl
|
||||||
url = https://github.com/littlevgl/lvgl.git
|
|
||||||
[submodule "unl0kr/lvgl"]
|
|
||||||
path = unl0kr/lvgl
|
|
||||||
url = https://github.com/littlevgl/lvgl.git
|
url = https://github.com/littlevgl/lvgl.git
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Copyright 2022 Johannes Marbach, Oliver Smith
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
|
|
||||||
find lvgl/src -name 'lv_init.c'
|
|
||||||
find lvgl/src/core -name '*.c'
|
|
||||||
find lvgl/src/dev -name '*.c'
|
|
||||||
find lvgl/src/display -name '*.c'
|
|
||||||
find lvgl/src/draw -name '*.c'
|
|
||||||
find lvgl/src/drivers -name '*.c'
|
|
||||||
find lvgl/src/extra -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/keyboard -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/msgbox -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/span -name '*.c'
|
|
||||||
find lvgl/src/indev -name '*.c'
|
|
||||||
find lvgl/src/font -name '*.c'
|
|
||||||
find lvgl/src/hal -name '*.c'
|
|
||||||
find lvgl/src/layouts -name '*.c'
|
|
||||||
find lvgl/src/libs -name '*.c'
|
|
||||||
find lvgl/src/misc -name '*.c'
|
|
||||||
find lvgl/src/osal -name '*.c'
|
|
||||||
find lvgl/src/stdlib -name '*.c'
|
|
||||||
find lvgl/src/tick -name '*.c'
|
|
||||||
find lvgl/src/themes -name '*.c'
|
|
||||||
find lvgl/src/widgets -name '*.c'
|
|
@@ -7,7 +7,7 @@
|
|||||||
#include "cursor.h"
|
#include "cursor.h"
|
||||||
#include "indev.h"
|
#include "indev.h"
|
||||||
|
|
||||||
#include "lvgl/lvgl.h"
|
#include "../lvgl/lvgl.h"
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
Submodule buffyboard/lvgl deleted from e4de2d265a
@@ -27,12 +27,12 @@ squeek2lvgl_sources = [
|
|||||||
'../squeek2lvgl/sq2lv.c',
|
'../squeek2lvgl/sq2lv.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
lvgl_sources = run_command('find-lvgl-sources.sh', 'lvgl', check: true).stdout().strip().split('\n')
|
lvgl_sources = run_command('../find-lvgl-sources.sh', '../lvgl', check: true).stdout().strip().split('\n')
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'buffyboard',
|
'buffyboard',
|
||||||
sources: buffyboard_sources + squeek2lvgl_sources + lvgl_sources,
|
sources: buffyboard_sources + squeek2lvgl_sources + lvgl_sources,
|
||||||
include_directories: ['lvgl'],
|
include_directories: ['..'],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
dependency('libinput'),
|
dependency('libinput'),
|
||||||
meson.get_compiler('c').find_library('m', required: false),
|
meson.get_compiler('c').find_library('m', required: false),
|
||||||
|
27
find-lvgl-sources.sh
Executable file
27
find-lvgl-sources.sh
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Copyright 2022 Johannes Marbach, Oliver Smith
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|
||||||
|
find "$1/src" -name 'lv_init.c'
|
||||||
|
find "$1/src/core" -name '*.c'
|
||||||
|
find "$1/src/dev" -name '*.c'
|
||||||
|
find "$1/src/display" -name '*.c'
|
||||||
|
find "$1/src/draw" -name '*.c'
|
||||||
|
find "$1/src/drivers" -name '*.c'
|
||||||
|
find "$1/src/extra" -name '*.c'
|
||||||
|
find "$1/src/extra/widgets/keyboard" -name '*.c'
|
||||||
|
find "$1/src/extra/widgets/msgbox" -name '*.c'
|
||||||
|
find "$1/src/extra/widgets/span" -name '*.c'
|
||||||
|
find "$1/src/indev" -name '*.c'
|
||||||
|
find "$1/src/font" -name '*.c'
|
||||||
|
find "$1/src/hal" -name '*.c'
|
||||||
|
find "$1/src/layouts" -name '*.c'
|
||||||
|
find "$1/src/libs" -name '*.c'
|
||||||
|
find "$1/src/misc" -name '*.c'
|
||||||
|
find "$1/src/osal" -name '*.c'
|
||||||
|
find "$1/src/stdlib" -name '*.c'
|
||||||
|
find "$1/src/tick" -name '*.c'
|
||||||
|
find "$1/src/themes" -name '*.c'
|
||||||
|
find "$1/src/widgets" -name '*.c'
|
1
lvgl
Submodule
1
lvgl
Submodule
Submodule lvgl added at 1ea51ad616
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Copyright 2022 Johannes Marbach, Oliver Smith
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
|
|
||||||
find lvgl/src -name 'lv_init.c'
|
|
||||||
find lvgl/src/core -name '*.c'
|
|
||||||
find lvgl/src/dev -name '*.c'
|
|
||||||
find lvgl/src/display -name '*.c'
|
|
||||||
find lvgl/src/draw -name '*.c'
|
|
||||||
find lvgl/src/drivers -name '*.c'
|
|
||||||
find lvgl/src/extra -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/keyboard -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/msgbox -name '*.c'
|
|
||||||
find lvgl/src/extra/widgets/span -name '*.c'
|
|
||||||
find lvgl/src/indev -name '*.c'
|
|
||||||
find lvgl/src/font -name '*.c'
|
|
||||||
find lvgl/src/hal -name '*.c'
|
|
||||||
find lvgl/src/layouts -name '*.c'
|
|
||||||
find lvgl/src/libs -name '*.c'
|
|
||||||
find lvgl/src/misc -name '*.c'
|
|
||||||
find lvgl/src/osal -name '*.c'
|
|
||||||
find lvgl/src/stdlib -name '*.c'
|
|
||||||
find lvgl/src/tick -name '*.c'
|
|
||||||
find lvgl/src/themes -name '*.c'
|
|
||||||
find lvgl/src/widgets -name '*.c'
|
|
Submodule unl0kr/lvgl deleted from 4f9c16f177
@@ -49,14 +49,14 @@ if libdrm_dep.found()
|
|||||||
add_project_arguments('-DLV_USE_LINUX_DRM=1', language: ['c'])
|
add_project_arguments('-DLV_USE_LINUX_DRM=1', language: ['c'])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lvgl_sources = run_command('find-lvgl-sources.sh', 'lvgl', check: true).stdout().strip().split('\n')
|
lvgl_sources = run_command('../find-lvgl-sources.sh', '../lvgl', check: true).stdout().strip().split('\n')
|
||||||
|
|
||||||
install_data(sources: 'unl0kr.conf', install_dir : get_option('sysconfdir'))
|
install_data(sources: 'unl0kr.conf', install_dir : get_option('sysconfdir'))
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'unl0kr',
|
'unl0kr',
|
||||||
sources: unl0kr_sources + squeek2lvgl_sources + lvgl_sources,
|
sources: unl0kr_sources + squeek2lvgl_sources + lvgl_sources,
|
||||||
include_directories: ['lvgl'],
|
include_directories: ['..'],
|
||||||
dependencies: unl0kr_dependencies,
|
dependencies: unl0kr_dependencies,
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user