Compare commits

..

1 Commits

Author SHA1 Message Date
2b8fa0902e Remove unnecessary trigger 2019-07-02 14:57:20 +02:00
6 changed files with 14 additions and 34 deletions

View File

@ -4,10 +4,6 @@ stages:
- build - build
before_script: before_script:
- apt-get -y update
- apt-get -y install wget gnupg2
- echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list
- wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -
- apt-get -y update - apt-get -y update
- apt-get -y build-dep . - apt-get -y build-dep .
@ -16,6 +12,8 @@ build_meson:
tags: tags:
- librem5 - librem5
script: script:
- meson . _build/ -Ddepdatadir=/usr/share - mkdir -p ../build
- ninja -C _build install - meson ../build/
- cd ../build
- ninja install

View File

@ -14,6 +14,10 @@ install_data(
install_dir: pkgdatadir + '/keyboards/geometry/', install_dir: pkgdatadir + '/keyboards/geometry/',
) )
install_data('dbus/sm.puri.OSK0.xml',
install_dir: dbusdir
)
symbols = [ symbols = [
'ar.xml', 'ar.xml',
'as-inscript.xml', 'as-inscript.xml',

14
debian/changelog vendored
View File

@ -1,17 +1,3 @@
squeekboard (1.0.10+nmu1) amber-phone; urgency=medium
* Add dbus protocol definition.
This let's us drop the virtboard build dependency.
* debian: Drop virtboard build-dependency
-- Guido Günther <agx@sigxcpu.org> Mon, 07 Oct 2019 09:31:18 +0200
squeekboard (1.0.10) unstable; urgency=medium
* Use a shared DBus definition
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Tue, 02 Jul 2019 20:12:02 +0000
squeekboard (1.0.9) unstable; urgency=medium squeekboard (1.0.9) unstable; urgency=medium
* Initial release. * Initial release.

View File

@ -1,7 +1,7 @@
project( project(
'squeekboard', 'squeekboard',
'c', 'rust', 'c', 'rust',
version: '1.0.10', version: '1.0.9',
license: 'GPLv3', license: 'GPLv3',
meson_version: '>=0.43.0', meson_version: '>=0.43.0',
default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ], default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
@ -19,12 +19,7 @@ endif
prefix = get_option('prefix') prefix = get_option('prefix')
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') == '' dbusdir = join_paths(datadir, 'dbus-1/interfaces')
depdatadir = datadir
else
depdatadir = get_option('depdatadir')
endif
dbusdir = join_paths(depdatadir, 'dbus-1/interfaces')
subdir('data') subdir('data')
subdir('protocols') subdir('protocols')

View File

@ -1 +0,0 @@
option('depdatadir', type : 'string', value : '', description : 'System data path. Will be searched for definitions instead of datadir when provided')

View File

@ -1,7 +1,7 @@
gnome = import('gnome') gnome = import('gnome')
dbus_src = gnome.gdbus_codegen( dbus_src = gnome.gdbus_codegen(
'sm.puri.OSK0', 'sm.puri.OSK0',
join_paths(meson.source_root() / 'data' / 'dbus', 'sm.puri.OSK0.xml') '../data/dbus/sm.puri.OSK0.xml'
) )
sources = [ sources = [
@ -56,16 +56,14 @@ deps = [
dependency('xkbcommon'), dependency('xkbcommon'),
cc.find_library('m'), cc.find_library('m'),
cc.find_library('rt'), cc.find_library('rt'),
cc.find_library('dl'),
cc.find_library('pthread'),
# dependency('libxklavier'), # FIXME remove # dependency('libxklavier'), # FIXME remove
] ]
# Replacement for eekboard-server # Replacement for eekboard-server
rslib = static_library( rslib = library(
'rslib', 'rslib',
sources:['imservice.rs'], sources:['imservice.rs'],
rust_crate_type: 'staticlib' install: true
) )
squeekboard = executable('squeekboard', squeekboard = executable('squeekboard',