-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
144 lines (117 loc) · 4.99 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
dialer
Copyright (C) 2009, Intel Corporation, 2008, 2009.
dialer is a simple Voice Call Dialer/Manager based on Qt 4.7 and MTF 0.20+
It depends on:
- Following libraries to compile
qdbusxml2cpp (QtDBus XML Compiler)
libqtopengl
libmeegotouch
libmeegobluetooth
qt-mobility
qtcontact
libseaside
libqt-devel
libresourceqt1
libpulse
libpulse-mainloop-glib
As an example use zypper to download and install these in a MeeGo
based development system:
$ sudo zypper in -t pattern meego-handset-desktop-devel
$ sudo zypper si -d meego-handset-dialer
- Runtime requirements
oFono for telephony services
callhistory ofono plugin for call history tracking
seaside for contacts data access
- Optional packages
phonesim
-----------------------------------------------------------------------------
Build
-----------------------------------------------------------------------------
$ qmake
$ make
-----------------------------------------------------------------------------
Install
-----------------------------------------------------------------------------
$ sudo make install
-----------------------------------------------------------------------------
Running
-----------------------------------------------------------------------------
$ dialer
if you are running dialer in prestart mode, i.e. /usr/bin/dialer -prestart
then you must add an entry into the /etc/prestart/nokia.conf file to allow
lazyShutDown of the dialer application. Failure to do so results in applifed
killing the dialer process on shutdown...
Line to add to nokia.conf:
<allow_lazy_shutdown binary_path="/usr/bin/dialer"/>
In the /usr/share/dbus-1/services/dialer.service file -prestart must be added
Exec=/usr/bin/dialer -prestart
In the dialer.desktop file the /usr/share/applications/dialer.desktop add the
following lines:
OnlyShowIn=X-DUI;X-MeeGo;X-MeeGoTouch;
X-Desktop-File-Install-Version=0.16
X-Osso-Service=com.meego.dialer
-----------------------------------------------------------------------------
Selecting which UI to use, MTF or QML
-----------------------------------------------------------------------------
The UI is now a runtime (and compile time) selectible option:
QML UI:
$ /usr/bin/dialer -ux meego-ux-components
MTF UI:
$ /usr/bin/dialer -ux meegotouch
The default will remain "meegotouch" (MTF) for now, until we draw
closer to Feature equivalence
The UI can also be specified by setting the "/apps/dialer/ux" gconf
key to the same string values as used on the commandline options:
QML UI:
$ gconftool-2 -s -t string /app/dialer/ux meego-ux-components
MTF UI:
$ gconftool-2 -s -t string /app/dialer/ux meegotouch
-----------------------------------------------------------------------------
Selecting which running mode, with HFP or not
-----------------------------------------------------------------------------
Dialer added support to run in different modes as a runtime selectible option,
the argument is a string of modes delimited by comma, currently only hfp is
supported:
HFP mode:
$ /usr/bin/dialer -mode hfp
(possible scenario)
HFP and handset mode:
$ /usr/bin/dialer -mode hfp,handset
The UI can also be specified by setting the "/apps/dialer/mode" gconf
key to the same string list as used on the commandline options:
HFP mode:
$ gconftool-2 -s -t list --list-type string /apps/dialer/mode "[hfp]"
(possible scenario)
HFP and handset mode:
$ gconftool-2 -s -t list --list-type string \
/apps/dialer/mode "[hfp,handset]"
If the gconf mode key already have any existing values, the command line
argument will not overwrite them, instead it will append any additional new
modes specified to the list of running modes. If the gconf key changes its
value at runtime after the dialer has started, the running modes will reset
to the values specified in the gconf key, ignoring any command line
selections.
The support for preserving command line mode selection after gconf value
changes will need to be added later.
-----------------------------------------------------------------------------
Configure phone simulator
-----------------------------------------------------------------------------
If the GUI for the dialer doesn't show and you don't have a modem recognized
by and working with oFono, execute the following steps to configure the
phone simulator.
As root
# vi /etc/ofono/phonesim.conf # Un-comment the following lines in
[phonesim]
Address=127.0.0.1
Port=12345
# killall ofonod
# killall phonesim
# ofonod
As normal user
$ startphonesim
-----------------------------------------------------------------------------
Troubleshotting
-----------------------------------------------------------------------------
If build errors are encountered during the early part of the initial make
process, execute the following before retrying the build at the qmake step.
$ make distclean