Skip to content

Commit e4982d5

Browse files
committed
Import Tenfoot code from the other project
This really needs to live as its own project, as it's generic and can be re-used between many use-cases.
1 parent 34a673c commit e4982d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4467
-0
lines changed

Diff for: meson.build

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
project(
2+
'fabric-tenfoot',
3+
'vala', 'c',
4+
version: '0.1',
5+
)
6+
7+
vapi_dir = meson.current_source_dir() / 'vapi'
8+
add_project_arguments(['--vapidir', vapi_dir], language: 'vala')
9+
10+
dependencies = [
11+
meson.get_compiler('vala').find_library('linux'),
12+
dependency('gtk4'),
13+
#meson.get_compiler('c').find_library('m'),
14+
dependency('manette-0.2', fallback:['libmanette', 'libmanette_dep']),
15+
dependency('fabric-ui', fallback:['fabric-ui', 'fabric_ui_dep']),
16+
]
17+
18+
sources = []
19+
20+
# Add data for use at runtime
21+
conf = configuration_data()
22+
conf.set_quoted('VERSION', meson.project_version())
23+
conf.set_quoted('GDK_PIXBUF_MODULE_FILE', get_option('gdk_pixbuf_module_file'))
24+
conf.set('bindir', join_paths(get_option('prefix'), 'bin'))
25+
26+
configure_file(output: 'config.h', configuration: conf)
27+
config_h_dir = include_directories('.')
28+
29+
sources += configure_file(
30+
input: 'src/configuration.vala.in',
31+
output: 'configuration.vala',
32+
configuration: conf,
33+
)
34+
35+
# Call subdirs
36+
subdir('resources')
37+
subdir('src')

Diff for: meson.options

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
option('gdk_pixbuf_module_file', type : 'string', description : 'GDK Pixbuf module file path to build in the executable.')

Diff for: resources/OSK/key-backspace.svg

+84
Loading

Diff for: resources/OSK/key-caps.svg

+89
Loading

Diff for: resources/OSK/key-enter.svg

+89
Loading

Diff for: resources/OSK/key-left.svg

+83
Loading

0 commit comments

Comments
 (0)