blob: 0add33bcc5f8dcde6f96c816c0e456b5a1c6b134 (
plain)
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
|
Demo / manual test descrption
Feature to be demonstrated:
- Dropping the context prefix both on provider side and on client side, when doing the dbus traffic.
0.
Versions used in this tests:
Latest versions (27.5.2009) of DuiValueSpace and libcontextprovider:
libcontextprovider0_0.1.8~unreleased_armel.deb
libduivaluespace0_0.9~unreleased_armel.deb
1a. Build the packages from ContextKit repository (branch removecontextprefix) inside scratchbox.
Outside scratchbox:
./autogen.sh --enable-gtk-doc
./configure
make
make clean
Inside scratchbox:
./configure
make
dpkg-buildpackage -b -us -uc -rfakeroot
1b. Build the packages from DuiValueSpace repository (branch dropping-context) inside scratchbox.
Inside scratchbox:
./configure
make
dpkg-buildpackage -b -us -uc -rfakeroot
Note: When these versions are released, they can be obtained directly from Harmattan repository.
3. Copy the .deb packages to the device and install them.
On the device:
4. Install context-subscriber-example.
5. Start monitoring DBus traffic on system bus.
dbus-monitor --system
6. Run context-subscriber-example.
7. Outcome: Even though the context-provider-example and context-subscriber-example use the keys with "Context." prefix, they still work together, and dbus-monitor shows that the keys are transmitted without the "Context." prefix.
signal sender=:1.15 -> dest=(null destination) serial=38 path=/org/freedesktop/ContextKit/Subscribers/6; interface=org.freedesktop.ContextKit.Subscriber; member=Changed
array [
dict entry(
string "Example.EdgeUp"
variant int32 3
)
]
array [
]
|