Merge lp:~unity-2d-team/unity-2d/natty-release into lp:unity-2d/3.0

Proposed by Oliver Grawert
Status: Merged
Approved by: Florian Boucault
Approved revision: 390
Merged at revision: 373
Proposed branch: lp:~unity-2d-team/unity-2d/natty-release
Merge into: lp:unity-2d/3.0
Diff against target: 278 lines (+180/-3)
13 files modified
debian/20_unity-2d-gconf-default (+31/-0)
debian/20_unity-2d-gconf-mandatory (+2/-0)
debian/changelog (+14/-0)
debian/control (+30/-3)
debian/gconf/unity-2d.default.path (+3/-0)
debian/gconf/unity-2d.mandatory.path (+3/-0)
debian/unity-2d.install (+6/-0)
debian/unity-2d.postinst (+47/-0)
debian/unity-2d.postrm (+24/-0)
debian/unity-2d.py (+2/-0)
debian/unity-2d.triggers (+2/-0)
session/2d-ubuntu.session (+8/-0)
session/unity-2d.desktop (+8/-0)
To merge this branch: bzr merge lp:~unity-2d-team/unity-2d/natty-release
Reviewer Review Type Date Requested Status
Florian Boucault (community) Approve
Review via email: mp+47513@code.launchpad.net

Description of the change

merge of unity-2d-default-settings as new unity-2d toplevel package

To post a comment you must log in.
Revision history for this message
Florian Boucault (fboucault) wrote :

xdg directory and files underneath seem useless now.

review: Needs Fixing
Revision history for this message
Florian Boucault (fboucault) wrote :

Can we move gconf/ under debian/ ? It does not seem that these files are useful without debian/20_unity-2d-gconf-default debian/20_unity-2d-gconf-mandatory and the postinst scripts.

Revision history for this message
Florian Boucault (fboucault) wrote :

Everything else looks great.

387. By Oliver Grawert

drop xdg stuff, not needed anymore

388. By Oliver Grawert

switch reloading of gconfd-2 to use pkill

389. By Oliver Grawert

move gconf to debian/gconf, update package description for unity-2d

390. By Oliver Grawert

fix typos in package descriptions LP: #703170

Revision history for this message
Florian Boucault (fboucault) wrote :

Great fixes!

review: Approve
391. By Oliver Grawert

releasing version 3.2-0ubuntu2

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/20_unity-2d-gconf-default'
2--- debian/20_unity-2d-gconf-default 1970-01-01 00:00:00 +0000
3+++ debian/20_unity-2d-gconf-default 2011-01-26 17:30:52 +0000
4@@ -0,0 +1,31 @@
5+/apps/gnome-power-manager/lock/use_screensaver_settings true
6+/apps/gnome-power-manager/general/use_time_for_policy false
7+/desktop/unity/launcher/favorites/favorites_list [app-firefox.desktop,app-empathy.desktop,app-evolution.desktop,app-cheese.desktop,app-rhythmbox.desktop,app-ubuntu-software-center.desktop,app-nautilus.desktop]
8+/desktop/unity/launcher/favorites/app-firefox.desktop/type application
9+/desktop/unity/launcher/favorites/app-firefox.desktop/desktop_file /usr/share/applications/firefox.desktop
10+/desktop/unity/launcher/favorites/app-firefox.desktop/priority 2.0
11+/desktop/unity/launcher/favorites/app-empathy.desktop/type application
12+/desktop/unity/launcher/favorites/app-empathy.desktop/desktop_file /usr/share/applications/empathy.desktop
13+/desktop/unity/launcher/favorites/app-empathy.desktop/priority 3.0
14+/desktop/unity/launcher/favorites/app-evolution.desktop/type application
15+/desktop/unity/launcher/favorites/app-evolution.desktop/desktop_file /usr/share/une/applications/evolution.desktop
16+/desktop/unity/launcher/favorites/app-evolution.desktop/priority 4.0
17+/desktop/unity/launcher/favorites/app-cheese.desktop/type application
18+/desktop/unity/launcher/favorites/app-cheese.desktop/desktop_file /usr/share/applications/cheese.desktop
19+/desktop/unity/launcher/favorites/app-cheese.desktop/priority 5.0
20+/desktop/unity/launcher/favorites/app-rhythmbox.desktop/type application
21+/desktop/unity/launcher/favorites/app-rhythmbox.desktop/desktop_file /usr/share/applications/rhythmbox.desktop
22+/desktop/unity/launcher/favorites/app-rhythmbox.desktop/priority 6.0
23+/desktop/unity/launcher/favorites/app-ubuntu-software-center.desktop/type application
24+/desktop/unity/launcher/favorites/app-ubuntu-software-center.desktop/desktop_file /usr/share/applications/ubuntu-software-center.desktop
25+/desktop/unity/launcher/favorites/app-ubuntu-software-center.desktop/priority 7.0
26+/desktop/unity/launcher/favorites/app-nautilus.desktop/type application
27+/desktop/unity/launcher/favorites/app-nautilus.desktop/desktop_file /usr/share/applications/nautilus.desktop
28+/desktop/unity/launcher/favorites/app-nautilus.desktop/priority 8.0
29+/desktop/gnome/applications/window_manager/default /usr/bin/metacity
30+/desktop/gnome/applications/window_manager/current /usr/bin/metacity
31+/apps/metacity/general/show_maximized_titlebars false
32+/apps/metacity/general/theme Ambiance
33+/desktop/gnome/interface/gtk_theme Ambiance
34+/desktop/gnome/interface/icon_theme ubuntu-mono-dark
35+/desktop/gnome/peripherals/mouse/cursor_theme DMZ-White
36
37=== added file 'debian/20_unity-2d-gconf-mandatory'
38--- debian/20_unity-2d-gconf-mandatory 1970-01-01 00:00:00 +0000
39+++ debian/20_unity-2d-gconf-mandatory 2011-01-26 17:30:52 +0000
40@@ -0,0 +1,2 @@
41+/apps/nautilus/preferences/show_desktop false
42+/apps/nautilus/preferences/exit_with_last_window false
43
44=== modified file 'debian/changelog'
45--- debian/changelog 2011-01-21 12:11:31 +0000
46+++ debian/changelog 2011-01-26 17:30:52 +0000
47@@ -1,3 +1,17 @@
48+unity-2d (3.2-0ubuntu2) natty; urgency=low
49+
50+ * merge unity-2d-default-settings package as new unity-2d toplevel
51+ package.
52+ * fix various typos in package descriptions (LP: #703170)
53+
54+ -- Oliver Grawert <ogra@ubuntu.com> Wed, 26 Jan 2011 18:27:04 +0100
55+
56+unity-2d (3.2-0ubuntu1) natty; urgency=low
57+
58+ * switch to proper upstream versioning, we are actually at 3.2 not 1.0
59+
60+ -- Oliver Grawert <ogra@ubuntu.com> Fri, 21 Jan 2011 14:39:01 +0100
61+
62 unity-2d (0.1-0ubuntu4) natty; urgency=low
63
64 * add Vcs-Bzr location to debian/control
65
66=== modified file 'debian/control'
67--- debian/control 2011-01-21 12:07:31 +0000
68+++ debian/control 2011-01-26 17:30:52 +0000
69@@ -11,6 +11,33 @@
70 Standards-Version: 3.9.1
71 Vcs-Bzr: http://bazaar.launchpad.net/~unity-2d-team/unity-2d/natty-release
72
73+Package: unity-2d
74+Architecture: all
75+Depends: ${misc:Depends},
76+ unity-2d-launcher, unity-2d-panel, unity-2d-places, unity-2d-spread,
77+ metacity ( >= 2.30.3-0ubuntu3 ), gnome-session-bin
78+Recommends: indicator-application, indicator-appmenu, indicator-datetime,
79+ indicator-me, indicator-messages, indicator-session, indicator-sound,
80+ gnome-settings-daemon, nautilus, policykit-1-gnome, gnome-power-manager,
81+ gtk2-engines-pixbuf
82+Provides: unity-2d-default-settings
83+Conflicts: unity-2d-default-settings (<= 0.4)
84+Replaces: unity-2d-default-settings (<= 0.4)
85+Description: Unity interface for non-accelerated graphics cards
86+ The Unity 2D interface installs a fully usable 2D session and provides the
87+ common configuration files and defaults. Installing this package will
88+ offer a session called Unity 2D in your login manager.
89+ .
90+ Unity 2D is designed to run smoothly without any graphics acceleration.
91+
92+Package: unity-2d-default-settings
93+Architecture: all
94+Depends: unity-2d
95+Description: Transitional package for upgrades to the new unity-2d package
96+ This is a transitional package to properly handle upgrading from natty
97+ pre-release installations of unity-2d and also for handling upgrades of
98+ maverick installs from the unity-2d team PPA.
99+
100 Package: unity-2d-launcher
101 Architecture: any
102 Depends: ${shlibs:Depends}, ${misc:Depends}, unity-asset-pool
103@@ -25,7 +52,7 @@
104 Depends: ${shlibs:Depends}, ${misc:Depends}
105 Description: Unity 2D Panel
106 The Unity 2D panel displays a top panel containing the application menu and
107- various indicators. It part of Unity 2D and can not run as a standalone
108+ various indicators. It is part of Unity 2D and can not run as a standalone
109 application outside of the Unity 2D environment.
110
111 Package: libuqpanel0
112@@ -53,7 +80,7 @@
113 Depends: ${shlibs:Depends}, ${misc:Depends}, unity-2d-launcher
114 Description: Unity 2D Places
115 The Unity 2D places overlay over the desktop to provide quick access to
116- various categories of applications. It part of Unity 2D and can not run
117+ various categories of applications. It is part of Unity 2D and can not run
118 as a standalone application outside of the Unity 2D environment.
119
120 Package: unity-2d-spread
121@@ -62,6 +89,6 @@
122 Description: Unity 2D Spread
123 The Unity 2D spread allows you to display a quick thumbnailed view of open
124 windows so you can quickly and effectively choose which one you want to
125- switch to. It part of Unity 2D and can not run as a standalone application
126+ switch to. It is part of Unity 2D and can not run as a standalone application
127 outside of the Unity 2D environment.
128
129
130=== added directory 'debian/gconf'
131=== added file 'debian/gconf/unity-2d.default.path'
132--- debian/gconf/unity-2d.default.path 1970-01-01 00:00:00 +0000
133+++ debian/gconf/unity-2d.default.path 2011-01-26 17:30:52 +0000
134@@ -0,0 +1,3 @@
135+# Additional mandatory path for unity-2d experience
136+xml:readonly:/var/lib/gconf/unity-2d.default
137+
138
139=== added file 'debian/gconf/unity-2d.mandatory.path'
140--- debian/gconf/unity-2d.mandatory.path 1970-01-01 00:00:00 +0000
141+++ debian/gconf/unity-2d.mandatory.path 2011-01-26 17:30:52 +0000
142@@ -0,0 +1,3 @@
143+# Additional mandatory path for unity-2d experience
144+xml:readonly:/var/lib/gconf/unity-2d.mandatory
145+
146
147=== added file 'debian/unity-2d.install'
148--- debian/unity-2d.install 1970-01-01 00:00:00 +0000
149+++ debian/unity-2d.install 2011-01-26 17:30:52 +0000
150@@ -0,0 +1,6 @@
151+debian/unity-2d.py /usr/share/apport/general-hooks
152+debian/gconf/* /usr/share/gconf
153+session/unity-2d.desktop /usr/share/xsessions
154+session/2d-ubuntu.session /usr/share/gnome-session/sessions
155+debian/20_unity-2d-gconf-mandatory /usr/share/gconf/unity-2d/mandatory
156+debian/20_unity-2d-gconf-default /usr/share/gconf/unity-2d/default
157
158=== added file 'debian/unity-2d.postinst'
159--- debian/unity-2d.postinst 1970-01-01 00:00:00 +0000
160+++ debian/unity-2d.postinst 2011-01-26 17:30:52 +0000
161@@ -0,0 +1,47 @@
162+#!/bin/sh
163+set -e
164+
165+signal_daemons()
166+{
167+ # Tell all running daemons to reload their databases
168+ pkill -HUP -x gconfd-2 >/dev/null 2>&1 || true
169+}
170+
171+case "$1" in
172+ configure|upgrade)
173+ if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then
174+ /usr/lib/gdm/gdm-set-default-session --keep-old unity-2d || true
175+ fi
176+ if which update-gconf-defaults >/dev/null 2>&1 ; then
177+ mkdir -p /var/lib/gconf/unity-2d.mandatory
178+ mkdir -p /var/lib/gconf/unity-2d.default
179+ fi
180+ ;;
181+ triggered)
182+ for trigger in $2; do
183+ case $trigger in
184+ /usr/share/gconf/unity-2d/mandatory)
185+ update-gconf-defaults --source /usr/share/gconf/unity-2d/mandatory \
186+ --destination /var/lib/gconf/unity-2d.mandatory --no-signal
187+ ;;
188+ /usr/share/gconf/unity-2d/default)
189+ update-gconf-defaults --source /usr/share/gconf/unity-2d/default \
190+ --destination /var/lib/gconf/unity-2d.default --no-signal
191+ ;;
192+ esac
193+ done
194+ signal_daemons
195+ exit 0
196+ ;;
197+esac
198+
199+#DEBHELPER#
200+
201+# Upon installation/upgrade, regenerate all databases, because in this case
202+# there will be no trigger run
203+update-gconf-defaults --source /usr/share/gconf/unity-2d/mandatory \
204+ --destination /var/lib/gconf/unity-2d.mandatory --no-signal
205+update-gconf-defaults --source /usr/share/gconf/unity-2d/default \
206+ --destination /var/lib/gconf/unity-2d.default --no-signal
207+signal_daemons
208+
209
210=== added file 'debian/unity-2d.postrm'
211--- debian/unity-2d.postrm 1970-01-01 00:00:00 +0000
212+++ debian/unity-2d.postrm 2011-01-26 17:30:52 +0000
213@@ -0,0 +1,24 @@
214+#!/bin/sh
215+set -e
216+
217+case "$1" in
218+ remove|purge)
219+ if which update-gconf-defaults >/dev/null 2>&1 && [ -d /usr/share/gconf/mandatory/unity-2d ]; then
220+ update-gconf-defaults --source /usr/share/gconf/unity-2d/mandatory \
221+ --destination /var/lib/gconf/unity-2d.mandatory
222+ update-gconf-defaults --source /usr/share/gconf/unity-2d/default \
223+ --destination /var/lib/gconf/unity-2d.default
224+ fi
225+ if [ -d /var/lib/gconf/unity-2d.mandatory ]; then
226+ rm -rf /var/lib/gconf/unity-2d.mandatory
227+ fi
228+ if [ -d /var/lib/gconf/unity-2d.default ]; then
229+ rm -rf /var/lib/gconf/unity-2d.default
230+ fi
231+ if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then
232+ /usr/lib/gdm/gdm-set-default-session --remove unity-2d || true
233+ fi
234+ ;;
235+esac
236+
237+#DEBHELPER#
238
239=== added file 'debian/unity-2d.py'
240--- debian/unity-2d.py 1970-01-01 00:00:00 +0000
241+++ debian/unity-2d.py 2011-01-26 17:30:52 +0000
242@@ -0,0 +1,2 @@
243+def add_info(report):
244+ report['Tags'] = report.get('Tags', '') + ' unity-2d'
245
246=== added file 'debian/unity-2d.triggers'
247--- debian/unity-2d.triggers 1970-01-01 00:00:00 +0000
248+++ debian/unity-2d.triggers 2011-01-26 17:30:52 +0000
249@@ -0,0 +1,2 @@
250+interest /usr/share/gconf/unity-2d/defaults
251+interest /usr/share/gconf/unity-2d/mandatory
252
253=== added directory 'session'
254=== added file 'session/2d-ubuntu.session'
255--- session/2d-ubuntu.session 1970-01-01 00:00:00 +0000
256+++ session/2d-ubuntu.session 2011-01-26 17:30:52 +0000
257@@ -0,0 +1,8 @@
258+[GNOME Session]
259+Name=Unity 2D
260+Required=windowmanager;panel;filemanager;
261+Required-windowmanager=metacity
262+Required-panel=unity-2d-panel
263+Required-filemanager=nautilus
264+DefaultApps=gnome-settings-daemon;unity-2d-launcher;
265+FallbackSession=classic-gnome
266
267=== added file 'session/unity-2d.desktop'
268--- session/unity-2d.desktop 1970-01-01 00:00:00 +0000
269+++ session/unity-2d.desktop 2011-01-26 17:30:52 +0000
270@@ -0,0 +1,8 @@
271+[Desktop Entry]
272+Name=Unity 2D
273+Comment=This session logs you into Unity 2D
274+Exec=gnome-session --session=2d-ubuntu
275+TryExec=gnome-session
276+Icon=
277+Type=Application
278+X-Ubuntu-Gettext-Domain=unity-2d

Subscribers

People subscribed via source and target branches

to all changes: