Merge branch 'devel' into 'master'
Entry test added to -devel package See merge request Librem5/squeekboard!286
This commit is contained in:
@ -40,7 +40,7 @@ Most common testing is done in CI. Occasionally, and for each release, do perfor
|
|||||||
Testing with an application:
|
Testing with an application:
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 tests/entry.py
|
python3 tools/entry.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Testing visibility:
|
Testing visibility:
|
||||||
|
|||||||
5
debian/control
vendored
5
debian/control
vendored
@ -45,9 +45,12 @@ Description: On-screen keyboard for Wayland
|
|||||||
Package: squeekboard-devel
|
Package: squeekboard-devel
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends:
|
Depends:
|
||||||
|
python3,
|
||||||
|
python3-gi,
|
||||||
${shlibs:Depends}
|
${shlibs:Depends}
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Description: Resources for making Squeekboard layouts
|
Description: Resources for making Squeekboard layouts
|
||||||
Tools for creating Squeekboard layouts:
|
Tools for creating and testing Squeekboard layouts:
|
||||||
.
|
.
|
||||||
|
* squeekboard-entry
|
||||||
* squeekboard-test-layout
|
* squeekboard-test-layout
|
||||||
|
|||||||
1
debian/squeekboard-devel.install
vendored
1
debian/squeekboard-devel.install
vendored
@ -1 +1,2 @@
|
|||||||
usr/bin/squeekboard-test-layout /usr/bin
|
usr/bin/squeekboard-test-layout /usr/bin
|
||||||
|
usr/bin/squeekboard-entry /usr/bin
|
||||||
|
|||||||
@ -40,6 +40,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
|
bindir = join_paths(prefix, get_option('bindir'))
|
||||||
datadir = join_paths(prefix, get_option('datadir'))
|
datadir = join_paths(prefix, get_option('datadir'))
|
||||||
pkgdatadir = join_paths(datadir, meson.project_name())
|
pkgdatadir = join_paths(datadir, meson.project_name())
|
||||||
if get_option('depdatadir') == ''
|
if get_option('depdatadir') == ''
|
||||||
@ -67,4 +68,5 @@ subdir('data')
|
|||||||
subdir('protocols')
|
subdir('protocols')
|
||||||
subdir('eek')
|
subdir('eek')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
subdir('tools')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
|||||||
@ -112,16 +112,3 @@ squeekboard = executable('squeekboard',
|
|||||||
'-DEEK_COMPILATION=1'],
|
'-DEEK_COMPILATION=1'],
|
||||||
)
|
)
|
||||||
|
|
||||||
bindir = join_paths(prefix, get_option('bindir'))
|
|
||||||
|
|
||||||
test_layout = custom_target('squeekboard-test-layout',
|
|
||||||
build_by_default: true,
|
|
||||||
# meson doesn't track all inputs, cargo does
|
|
||||||
build_always_stale: true,
|
|
||||||
output: ['squeekboard-test-layout'],
|
|
||||||
console: true,
|
|
||||||
command: [cargo_build] + cargo_build_flags
|
|
||||||
+ ['--rename', 'test_layout', '@OUTPUT@', '--bin', 'test_layout'],
|
|
||||||
install: true,
|
|
||||||
install_dir: bindir,
|
|
||||||
)
|
|
||||||
|
|||||||
0
tests/entry.py → tools/entry.py
Normal file → Executable file
0
tests/entry.py → tools/entry.py
Normal file → Executable file
19
tools/meson.build
Normal file
19
tools/meson.build
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
entry = configure_file(
|
||||||
|
copy: true,
|
||||||
|
input: 'entry.py',
|
||||||
|
output: 'squeekboard-entry',
|
||||||
|
install: true,
|
||||||
|
install_dir: bindir,
|
||||||
|
)
|
||||||
|
|
||||||
|
test_layout = custom_target('squeekboard-test-layout',
|
||||||
|
build_by_default: true,
|
||||||
|
# meson doesn't track all inputs, cargo does
|
||||||
|
build_always_stale: true,
|
||||||
|
output: ['squeekboard-test-layout'],
|
||||||
|
console: true,
|
||||||
|
command: [cargo_build] + cargo_build_flags
|
||||||
|
+ ['--rename', 'test_layout', '@OUTPUT@', '--bin', 'test_layout'],
|
||||||
|
install: true,
|
||||||
|
install_dir: bindir,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user