Merge lp:~laney/gsettings-ubuntu-touch-schemas/add-accountsservice-schema into lp:gsettings-ubuntu-touch-schemas

Proposed by Iain Lane
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 21
Merged at revision: 16
Proposed branch: lp:~laney/gsettings-ubuntu-touch-schemas/add-accountsservice-schema
Merge into: lp:gsettings-ubuntu-touch-schemas
Diff against target: 109 lines (+54/-1)
7 files modified
Makefile.am (+1/-1)
accountsservice/Makefile.am (+19/-0)
accountsservice/com.ubuntu.touch.AccountsService.SecurityPrivacy.xml (+15/-0)
configure.ac (+3/-0)
debian/accountsservice-ubuntu-touch-schemas.install (+2/-0)
debian/control (+13/-0)
debian/gsettings-ubuntu-touch-schemas.install (+1/-0)
To merge this branch: bzr merge lp:~laney/gsettings-ubuntu-touch-schemas/add-accountsservice-schema
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+201467@code.launchpad.net

Commit message

Move AccountsService vendor extension schema from ubuntu-system-settings.

Description of the change

Add and install AS vendor extension schemas.

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
Sebastien Bacher (seb128) wrote :

Thanks, it would have been nice to have only 1 binary for the a-s and gsettings schemas (those are only a bunch of text files), but if we want to make the schemas depends on the service it makes sense

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile.am'
2--- Makefile.am 2013-07-19 11:57:43 +0000
3+++ Makefile.am 2014-01-13 17:38:42 +0000
4@@ -1,4 +1,4 @@
5-SUBDIRS = schemas po
6+SUBDIRS = accountsservice schemas po
7
8 EXTRA_DIST = autogen.sh
9
10
11=== added directory 'accountsservice'
12=== added file 'accountsservice/Makefile.am'
13--- accountsservice/Makefile.am 1970-01-01 00:00:00 +0000
14+++ accountsservice/Makefile.am 2014-01-13 17:38:42 +0000
15@@ -0,0 +1,19 @@
16+accountsservice_schemas = \
17+ com.ubuntu.touch.AccountsService.SecurityPrivacy.xml
18+
19+EXTRA_DIST = \
20+ $(accountsservice_schemas)
21+
22+install-data-hook:
23+ $(MKDIR_P) $(DESTDIR)$(datadir)/dbus-1/interfaces \
24+ $(DESTDIR)$(datadir)/accountsservice/interfaces
25+
26+ for file in $(accountsservice_schemas); do \
27+ $(INSTALL_DATA) $$file $(DESTDIR)$(datadir)/dbus-1/interfaces; \
28+ $(LN_S) ../../dbus-1/interfaces/$$file \
29+ $(DESTDIR)$(datadir)/accountsservice/interfaces; \
30+ done
31+
32+CLEANFILES = \
33+ $(accountsservice_schemas)
34+
35
36=== added file 'accountsservice/com.ubuntu.touch.AccountsService.SecurityPrivacy.xml'
37--- accountsservice/com.ubuntu.touch.AccountsService.SecurityPrivacy.xml 1970-01-01 00:00:00 +0000
38+++ accountsservice/com.ubuntu.touch.AccountsService.SecurityPrivacy.xml 2014-01-13 17:38:42 +0000
39@@ -0,0 +1,15 @@
40+<node>
41+ <interface name="com.ubuntu.touch.AccountsService.SecurityPrivacy">
42+
43+ <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
44+
45+ <property name="StatsWelcomeScreen" type="b" access="readwrite">
46+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
47+ </property>
48+
49+ <property name="MessagesWelcomeScreen" type="b" access="readwrite">
50+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
51+ </property>
52+
53+ </interface>
54+</node>
55
56=== modified file 'configure.ac'
57--- configure.ac 2013-07-19 12:17:08 +0000
58+++ configure.ac 2014-01-13 17:38:42 +0000
59@@ -9,6 +9,8 @@
60 AM_MAINTAINER_MODE([enable])
61
62 AC_PROG_SED
63+AC_PROG_LN_S
64+AC_PROG_MKDIR_P
65
66 GIO_MIN_VERSION=[2.31.0]
67 PKG_CHECK_EXISTS([gio-2.0 >= $GIO_MIN_VERSION],[],
68@@ -22,6 +24,7 @@
69
70 AC_OUTPUT([
71 Makefile
72+accountsservice/Makefile
73 schemas/Makefile
74 po/Makefile.in
75 ])
76
77=== added file 'debian/accountsservice-ubuntu-touch-schemas.install'
78--- debian/accountsservice-ubuntu-touch-schemas.install 1970-01-01 00:00:00 +0000
79+++ debian/accountsservice-ubuntu-touch-schemas.install 2014-01-13 17:38:42 +0000
80@@ -0,0 +1,2 @@
81+usr/share/dbus-1
82+usr/share/accountsservice
83
84=== modified file 'debian/control'
85--- debian/control 2013-10-22 17:08:18 +0000
86+++ debian/control 2014-01-13 17:38:42 +0000
87@@ -23,3 +23,16 @@
88 Description: GSettings deskop-wide schemas for Ubuntu Touch
89 gsettings-desktop-schemas contains a collection of GSettings schemas for
90 settings shared by various components of an Ubuntu Touch environment.
91+
92+Package: accountsservice-ubuntu-touch-schemas
93+Architecture: all
94+Multi-Arch: foreign
95+Depends: ${misc:Depends},
96+ ${shlibs:Depends},
97+ accountsservice
98+Breaks: ubuntu-system-settings (<= 0.1+14.04.20140110-0ubuntu1)
99+Replaces: ubuntu-system-settings (<= 0.1+14.04.20140110-0ubuntu1)
100+Description: AccountsService schemas for Ubuntu Touch
101+ accountsservice-ubuntu-touch-schemas contains a collection of AccountsService
102+ vendor extension schemas used by various components of an Ubuntu Touch
103+ environment.
104
105=== added file 'debian/gsettings-ubuntu-touch-schemas.install'
106--- debian/gsettings-ubuntu-touch-schemas.install 1970-01-01 00:00:00 +0000
107+++ debian/gsettings-ubuntu-touch-schemas.install 2014-01-13 17:38:42 +0000
108@@ -0,0 +1,1 @@
109+usr/share/glib-2.0

Subscribers

People subscribed via source and target branches