Merge lp:~robert-ancell/unity-system-compositor/lightdm-conf.d into lp:unity-system-compositor

Proposed by Robert Ancell
Status: Merged
Approved by: Chris Halse Rogers
Approved revision: 30
Merged at revision: 29
Proposed branch: lp:~robert-ancell/unity-system-compositor/lightdm-conf.d
Merge into: lp:unity-system-compositor
Diff against target: 112 lines (+3/-74)
7 files modified
debian/10-unity-system-compositor.conf (+2/-0)
debian/config (+0/-7)
debian/install (+1/-0)
debian/po/POTFILES.in (+0/-1)
debian/po/templates.pot (+0/-40)
debian/postinst (+0/-17)
debian/templates (+0/-9)
To merge this branch: bzr merge lp:~robert-ancell/unity-system-compositor/lightdm-conf.d
Reviewer Review Type Date Requested Status
Chris Halse Rogers Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+170730@code.launchpad.net

Commit message

Use lighdm.conf.d instead of debconf

Description of the change

Use /etc/lightdm/lightdm.conf.d which is supported in lightdm >= 1.7.3. Makes it simpler to have package dependent configuration.

To post a comment you must log in.
30. By Robert Ancell

Add missing files

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Chris Halse Rogers (raof) wrote :

It doesn't do quite the same thing as the debconf question, but I don't think that's a problem. People can always disable unity-system-compositor by deleting/commenting the conf.d snippet.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/10-unity-system-compositor.conf'
2--- debian/10-unity-system-compositor.conf 1970-01-01 00:00:00 +0000
3+++ debian/10-unity-system-compositor.conf 2013-06-21 03:12:24 +0000
4@@ -0,0 +1,2 @@
5+[SeatDefaults]
6+type=unity
7
8=== removed file 'debian/config'
9--- debian/config 2013-06-13 04:02:29 +0000
10+++ debian/config 1970-01-01 00:00:00 +0000
11@@ -1,7 +0,0 @@
12-#!/bin/sh -e
13-
14-# Source debconf library.
15-. /usr/share/debconf/confmodule
16-
17-db_input low unity-system-compositor/enable || true
18-db_go
19
20=== added file 'debian/install'
21--- debian/install 1970-01-01 00:00:00 +0000
22+++ debian/install 2013-06-21 03:12:24 +0000
23@@ -0,0 +1,1 @@
24+debian/10-unity-system-compositor.conf /etc/lightdm/lightdm.conf.d
25
26=== removed directory 'debian/po'
27=== removed file 'debian/po/POTFILES.in'
28--- debian/po/POTFILES.in 2013-06-13 04:02:29 +0000
29+++ debian/po/POTFILES.in 1970-01-01 00:00:00 +0000
30@@ -1,1 +0,0 @@
31-[type: gettext/rfc822deb] templates
32
33=== removed file 'debian/po/templates.pot'
34--- debian/po/templates.pot 2013-06-13 04:02:29 +0000
35+++ debian/po/templates.pot 1970-01-01 00:00:00 +0000
36@@ -1,40 +0,0 @@
37-# SOME DESCRIPTIVE TITLE.
38-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
39-# This file is distributed under the same license as the PACKAGE package.
40-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
41-#
42-#, fuzzy
43-msgid ""
44-msgstr ""
45-"Project-Id-Version: unity-system-compositor\n"
46-"Report-Msgid-Bugs-To: unity-system-compositor@packages.debian.org\n"
47-"POT-Creation-Date: 2013-06-12 14:47+1000\n"
48-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
49-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
50-"Language-Team: LANGUAGE <LL@li.org>\n"
51-"Language: \n"
52-"MIME-Version: 1.0\n"
53-"Content-Type: text/plain; charset=CHARSET\n"
54-"Content-Transfer-Encoding: 8bit\n"
55-
56-#. Type: boolean
57-#. Description
58-#: ../templates:1001
59-msgid "Use Unity system compositor?"
60-msgstr ""
61-
62-#. Type: boolean
63-#. Description
64-#: ../templates:1001
65-msgid ""
66-"The Unity system compositor provides improved graphical smoothness to "
67-"startup, user-switching, and shutdown."
68-msgstr ""
69-
70-#. Type: boolean
71-#. Description
72-#: ../templates:1001
73-msgid ""
74-"If the system compositor is enabled, but fails to work, LightDM will fall "
75-"back to a regular session. It should be safe to enable the system compositor."
76-msgstr ""
77
78=== removed file 'debian/postinst'
79--- debian/postinst 2013-06-13 04:02:29 +0000
80+++ debian/postinst 1970-01-01 00:00:00 +0000
81@@ -1,17 +0,0 @@
82-#!/bin/sh -e
83-
84-. /usr/share/debconf/confmodule
85-
86-db_get unity-system-compositor/enable
87-
88-# Update LightDM defaults to match debconf, respecting any manual changes
89-if [ "$RET" = "true" ]; then
90- # --keep-old will only change the type if there is not already a type set
91- /usr/lib/lightdm/lightdm-set-defaults --keep-old --type=unity
92-else
93- # --remove will only remove if the type is currently set to "unity"
94- # Will exit with status 4 if the user has changed the value, so ignore that.
95- /usr/lib/lightdm/lightdm-set-defaults --remove --type=unity || [ $? = 4 ]
96-fi
97-
98-#DEBHELPER#
99
100=== removed file 'debian/templates'
101--- debian/templates 2013-06-13 04:02:29 +0000
102+++ debian/templates 1970-01-01 00:00:00 +0000
103@@ -1,9 +0,0 @@
104-Template: unity-system-compositor/enable
105-Type: boolean
106-Default: true
107-_Description: Use Unity system compositor?
108- The Unity system compositor provides improved graphical smoothness to startup,
109- user-switching, and shutdown.
110- .
111- If the system compositor is enabled, but fails to work, LightDM will fall back
112- to a regular session. It should be safe to enable the system compositor.

Subscribers

People subscribed via source and target branches