Merge lp:~thomas-moenicke/phablet-extras/maliit-framework-settings into lp:phablet-extras/maliit-framework

Proposed by Thomas Moenicke
Status: Merged
Approved by: Bill Filler
Approved revision: 1555
Merged at revision: 1556
Proposed branch: lp:~thomas-moenicke/phablet-extras/maliit-framework-settings
Merge into: lp:phablet-extras/maliit-framework
Diff against target: 60 lines (+25/-1)
4 files modified
debian/maliit-framework.install (+1/-0)
debian/rules (+3/-0)
debian/server.conf (+20/-0)
passthroughserver/main.cpp (+1/-1)
To merge this branch: bzr merge lp:~thomas-moenicke/phablet-extras/maliit-framework-settings
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+168037@code.launchpad.net

Commit message

adding global settings file which can be overwritten by user settings. If no user settings, global settings is the fallback solution
  global path: /etc/xdg/maliit.org
  user path: ~/.config/maliit.org/server.conf

Description of the change

adding global settings file which can be overwritten by user settings. If no user settings, global settings is the fallback solution
  global path: /etc/xdg/maliit.org
  user path: ~/.config/maliit.org/server.conf

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/maliit-framework.install'
2--- debian/maliit-framework.install 2013-03-21 13:59:07 +0000
3+++ debian/maliit-framework.install 2013-06-07 12:08:29 +0000
4@@ -4,3 +4,4 @@
5 usr/lib/maliit/plugins/factories/libmaliit-plugins-quick-factory*
6 usr/lib/libmaliit-plugins-quick.so*
7 ../xinput/* etc/X11/xinit/xinput.d
8+etc/xdg/maliit.org/server.conf
9
10=== modified file 'debian/rules'
11--- debian/rules 2013-04-30 21:52:19 +0000
12+++ debian/rules 2013-06-07 12:08:29 +0000
13@@ -59,6 +59,9 @@
14 dh_clean -k
15 dh_installdirs $(EXCLUSIONS)
16
17+ mkdir -vp $(CURDIR)/debian/tmp/etc/xdg/maliit.org/
18+ cp $(CURDIR)/debian/server.conf $(CURDIR)/debian/tmp/etc/xdg/maliit.org/
19+
20 # Then proceed to normal installation
21 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 INSTALL_ROOT=$(CURDIR)/debian/tmp make $(PARALLEL_MAKEFLAGS) install
22
23
24=== added file 'debian/server.conf'
25--- debian/server.conf 1970-01-01 00:00:00 +0000
26+++ debian/server.conf 2013-06-07 12:08:29 +0000
27@@ -0,0 +1,20 @@
28+[maliit]
29+onscreen\active=libmaliit-keyboard-plugin.so:en_us
30+
31+pluginsettings\libmaliit-keyboard-plugin.so\current_style = ubuntu
32+pluginsettings\libmaliit-keyboard-plugin.so\word_engine_enabled = false
33+
34+onscreen\enabled=libmaliit-keyboard-plugin.so:en_gb, \
35+libmaliit-keyboard-plugin.so:en_us, \
36+libmaliit-keyboard-plugin.so:de, \
37+libmaliit-keyboard-plugin.so:es, \
38+libmaliit-keyboard-plugin.so:zh_cn_cangjie, \
39+libmaliit-keyboard-plugin.so:zh_cn_pinyin, \
40+libmaliit-keyboard-plugin.so:zh_cn_zhuyin,
41+
42+
43+; pluginsettings\libmaliit-keyboard-plugin.so\auto_correct_enabled = false
44+; pluginsettings\libmaliit-keyboard-plugin.so\feedback_enabled = false
45+; pluginsettings\libmaliit-keyboard-plugin.so\auto_caps_enabled = false
46+; pluginsettings\libmaliit-keyboard-plugin.so\hide_word_ribbon_in_potrait_mode = false
47+
48
49=== modified file 'passthroughserver/main.cpp'
50--- passthroughserver/main.cpp 2013-03-21 13:59:07 +0000
51+++ passthroughserver/main.cpp 2013-06-07 12:08:29 +0000
52@@ -130,7 +130,7 @@
53 #define Q_WS_QWS
54
55 int main(int argc, char **argv)
56-{printf("starting our own maliit server");
57+{
58 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
59 qInstallMsgHandler(outputMessagesToStdErr);
60 #else

Subscribers

People subscribed via source and target branches