Merge lp:~mterry/hud/modernize-build into lp:hud/13.04

Proposed by Michael Terry
Status: Merged
Approved by: Didier Roche-Tolomelli
Approved revision: 238
Merged at revision: 237
Proposed branch: lp:~mterry/hud/modernize-build
Merge into: lp:hud/13.04
Diff against target: 278 lines (+84/-78)
13 files modified
.bzr-builddeb/default.conf (+2/-0)
data/Makefile.am (+1/-1)
data/com.canonical.hud.service.in (+1/-1)
debian/changelog (+7/-0)
debian/compat (+1/-1)
debian/control (+31/-28)
debian/copyright (+23/-33)
debian/hud-tools.install (+3/-7)
debian/hud.install (+5/-5)
debian/rules (+7/-0)
debian/source/format (+1/-0)
src/Makefile.am (+1/-1)
tests/test-dbus-message-count.in (+1/-1)
To merge this branch: bzr merge lp:~mterry/hud/modernize-build
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+139535@code.launchpad.net

Commit message

Modernize build system by using dh9 and some other packaging changes

Description of the change

Use dh9
Update copyright to use dep5
Use bzr split mode
Specify deb format 1.0
Sort Build-Depends
Use valac-0.18 rather than valac-0.16
Bump Standards-Version to 3.9.4
Fix Vcs-Bzr field
Use dh_install --fail-missing
Use bustle --count (raring version no longer has bustle-count) and bump required bustle version
Use pkglibexecdir due to dh9 fixing a long-standing bug with its definition of libexecdir
Don't install hud-service into /usr/lib/indicator-appmenu

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Everything looks good, ship the files in the right places, point to the right multiarched directory (even the service file).

For reference, I checked as well the gsettings schema, and Ted kept the same one than when the hud was in appmenu, so we are good, people won't lose their data :)

Approving, nice work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2012-12-12 18:15:28 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split = True
8
9=== modified file 'data/Makefile.am'
10--- data/Makefile.am 2012-10-24 13:44:33 +0000
11+++ data/Makefile.am 2012-12-12 18:15:28 +0000
12@@ -8,7 +8,7 @@
13 dbus_services_DATA = com.canonical.hud.service
14
15 %.service: %.service.in
16- sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
17+ sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
18
19 EXTRA_DIST = \
20 $(dbus_services_DATA:.service=.service.in) \
21
22=== modified file 'data/com.canonical.hud.service.in'
23--- data/com.canonical.hud.service.in 2012-01-12 12:13:00 +0000
24+++ data/com.canonical.hud.service.in 2012-12-12 18:15:28 +0000
25@@ -1,3 +1,3 @@
26 [D-BUS Service]
27 Name=com.canonical.hud
28-Exec=@libexecdir@/hud-service
29+Exec=@pkglibexecdir@/hud-service
30
31=== modified file 'debian/changelog'
32--- debian/changelog 2012-10-24 13:44:33 +0000
33+++ debian/changelog 2012-12-12 18:15:28 +0000
34@@ -1,6 +1,13 @@
35 hud (13.04.0-0ubuntu1~ppa1) UNRELEASED; urgency=low
36
37+ [ Ted Gould ]
38 * First version
39 * Now independent of indicator-appmenu
40
41+ [ Michael Terry ]
42+ * Switch to dh9
43+ * Update copyright to DEP-5
44+ * Use valac-0.18 instead of valac-0.16
45+ * Require raring's version of bustle for the --count argument
46+
47 -- Ted Gould <ted@ubuntu.com> Wed, 24 Oct 2012 15:43:27 +0200
48
49=== modified file 'debian/compat'
50--- debian/compat 2012-01-26 05:34:52 +0000
51+++ debian/compat 2012-12-12 18:15:28 +0000
52@@ -1,1 +1,1 @@
53-5
54+9
55
56=== modified file 'debian/control'
57--- debian/control 2012-11-29 21:27:45 +0000
58+++ debian/control 2012-12-12 18:15:28 +0000
59@@ -2,52 +2,55 @@
60 Section: gnome
61 Priority: optional
62 Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
63-Build-Depends: debhelper (>= 9.0),
64+Build-Depends: bamfdaemon,
65+ bustle (>= 0.4.2),
66+ dbus-test-runner,
67+ debhelper (>= 9),
68 dh-autoreconf,
69- libgtk-3-dev,
70+ gnome-common,
71 gnome-doc-utils,
72+ gtester2xunit,
73+ gtk-doc-tools,
74+ indicator-application (>= 0.4.90),
75+ indicator-appmenu,
76 intltool,
77+ libappindicator3-dev,
78+ libbamf3-dev (>= 0.2.53),
79 libdbusmenu-glib-dev (>= 0.5.90),
80 libdbusmenu-gtk3-dev (>= 0.5.90),
81 libdbusmenu-jsonloader-dev (>= 0.5.90),
82- libbamf3-dev (>= 0.2.53),
83+ libgtk-3-dev,
84+ libncurses5-dev,
85+ libreadline-dev,
86 libsqlite3-dev,
87+ metacity,
88 sqlite3,
89- dbus-test-runner,
90- libreadline-dev,
91- libncurses5-dev,
92- libappindicator3-dev,
93- indicator-application (>= 0.4.90),
94+ valac-0.18,
95 xvfb,
96- valac-0.16,
97- indicator-appmenu,
98- metacity,
99- bamfdaemon,
100- gnome-common,
101- gtk-doc-tools,
102- bustle,
103- gtester2xunit,
104-Standards-Version: 3.9.2
105+Standards-Version: 3.9.4
106 Homepage: http://launchpad.net/hud
107-Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-desktop/hud/ubuntu
108-Vcs-Browser: https://code.launchpad.net/~ubuntu-desktop/hud/ubuntu
109+# If you aren't a member of ~indicator-applet-developers but need to upload
110+# packaging changes, just go ahead. ~indicator-applet-developers will notice
111+# and sync up the code again.
112+Vcs-Bzr: http://bazaar.launchpad.net/~indicator-applet-developers/hud/trunk.13.04
113+Vcs-Browser: https://code.launchpad.net/~indicator-applet-developers/hud/trunk.13.04
114
115 Package: hud
116 Architecture: any
117-Depends: ${shlibs:Depends}, ${misc:Depends}
118-Conflicts: indicator-appmenu (< 13)
119+Depends: ${misc:Depends},
120+ ${shlibs:Depends},
121+Conflicts: indicator-appmenu (<< 13),
122 Description: Backend for the Unity HUD
123 .
124 This package provides a service for Unity's HUD
125
126 Package: hud-tools
127 Architecture: any
128-Depends: ${shlibs:Depends},
129- ${misc:Depends},
130+Depends: ${misc:Depends},
131+ ${shlibs:Depends},
132 hud (= ${binary:Version}),
133- sqlite3
134-Conflicts: indicator-appmenu-tools (< 13)
135-Description: Tools for debuging HUD.
136+ sqlite3,
137+Conflicts: indicator-appmenu-tools (<< 13),
138+Description: Tools for debugging the Unity HUD.
139 .
140- This package provides tools for working with HUD.
141-
142+ This package provides tools for working with Unity's HUD.
143
144=== modified file 'debian/copyright'
145--- debian/copyright 2010-05-27 20:45:50 +0000
146+++ debian/copyright 2012-12-12 18:15:28 +0000
147@@ -1,33 +1,23 @@
148-This package was debianized by Ted Gould <ted@canonical.com> on
149-Wed, 11 Feb 2009 15:41:06 -0600.
150-
151-It was downloaded from <http://launchpad.net/indicator-appmenu>
152-
153-Upstream Author:
154-
155- Ted Gould <ted@canonical.com>
156-
157-Copyright:
158-
159- Copyright (C) 2010 Canonical Ltd.
160-
161-License:
162-
163- This program is free software; you can redistribute it and/or modify
164- it under the terms of the GNU General Public License as published by
165- the Free Software Foundation, version 3 of the License.
166-
167- This program is distributed in the hope that it will be useful,
168- but WITHOUT ANY WARRANTY; without even the implied warranty of
169- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
170- GNU General Public License for more details.
171-
172- You should have received a copy of the GNU General Public License
173- along with this program; if not, write to the Free Software
174- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
175-
176-On Debian systems, the complete text of the GNU General
177-Public License can be found in `/usr/share/common-licenses/GPL-3'.
178-
179-The Debian packaging is (C) 2009, Canonical Ltd. and
180-is licensed under the GPLv3, see `/usr/share/common-licenses/GPL-3'.
181+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
182+Upstream-Name: Unity HUD
183+Source: http://launchpad.net/hud
184+
185+Files: *
186+Copyright: 2009-2012 Canonical, Ltd.
187+License: GPL-3
188+
189+License: GPL-3
190+ This program is free software: you can redistribute it and/or modify
191+ it under the terms of the GNU General Public License as published by
192+ the Free Software Foundation, version 3 of the License.
193+ .
194+ This program is distributed in the hope that it will be useful,
195+ but WITHOUT ANY WARRANTY; without even the implied warranty of
196+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
197+ GNU General Public License for more details.
198+ .
199+ You should have received a copy of the GNU General Public License
200+ along with this program. If not, see <http://www.gnu.org/licenses/>.
201+ .
202+ On Debian systems, the complete text of the GNU General Public License
203+ can be found in `/usr/share/common-licenses/GPL-3'
204
205=== modified file 'debian/hud-tools.install'
206--- debian/hud-tools.install 2012-10-24 13:43:21 +0000
207+++ debian/hud-tools.install 2012-12-12 18:15:28 +0000
208@@ -1,7 +1,3 @@
209-debian/tmp/usr/bin/hud-cli /usr/bin/
210-debian/tmp/usr/bin/hud-dump-application /usr/bin/
211-debian/tmp/usr/bin/hud-gtk /usr/bin/
212-debian/tmp/usr/bin/hud-list-applications /usr/bin/
213-debian/tmp/usr/bin/hud-verify-app-info /usr/bin/
214-debian/tmp/usr/share/man/ /usr/share/
215-debian/tmp/usr/share/hud-gtk /usr/share/
216+usr/bin
217+usr/share/hud-gtk
218+usr/share/man
219
220=== modified file 'debian/hud.install'
221--- debian/hud.install 2012-10-24 13:43:21 +0000
222+++ debian/hud.install 2012-12-12 18:15:28 +0000
223@@ -1,5 +1,5 @@
224-debian/source_hud.py /usr/share/apport/package-hooks/
225-debian/hud-crashdb.conf /etc/apport/crashdb.conf.d/
226-debian/tmp/usr/lib/hud/hud-service /usr/lib/indicator-appmenu/
227-debian/tmp/usr/share/dbus-1/ /usr/share/
228-debian/tmp/usr/share/glib-2.0/ /usr/share/
229+debian/hud-crashdb.conf /etc/apport/crashdb.conf.d
230+debian/source_hud.py /usr/share/apport/package-hooks
231+usr/lib
232+usr/share/dbus-1
233+usr/share/glib-2.0
234
235=== modified file 'debian/rules'
236--- debian/rules 2012-11-27 21:55:23 +0000
237+++ debian/rules 2012-12-12 18:15:28 +0000
238@@ -6,3 +6,10 @@
239 override_dh_autoreconf:
240 NOCONFIGURE=1 dh_autoreconf ./autogen.sh
241
242+override_dh_auto_configure:
243+ # Manually specify compiler in case user has multiple valac's lying around,
244+ # in which case 0.18 may not be the default.
245+ dh_auto_configure -- VALAC=/usr/bin/valac-0.18
246+
247+override_dh_install:
248+ dh_install --fail-missing
249
250=== added directory 'debian/source'
251=== added file 'debian/source/format'
252--- debian/source/format 1970-01-01 00:00:00 +0000
253+++ debian/source/format 2012-12-12 18:15:28 +0000
254@@ -0,0 +1,1 @@
255+1.0
256
257=== modified file 'src/Makefile.am'
258--- src/Makefile.am 2012-10-24 13:44:33 +0000
259+++ src/Makefile.am 2012-12-12 18:15:28 +0000
260@@ -11,7 +11,7 @@
261 bin_SCRIPTS = \
262 hud-list-applications
263
264-libexec_PROGRAMS = \
265+pkglibexec_PROGRAMS = \
266 hud-service
267
268 include $(top_srcdir)/Makefile.am.marshal
269
270=== modified file 'tests/test-dbus-message-count.in'
271--- tests/test-dbus-message-count.in 2012-11-26 17:47:24 +0000
272+++ tests/test-dbus-message-count.in 2012-12-12 18:15:28 +0000
273@@ -15,4 +15,4 @@
274 --task @srcdir@/test-dbus-message-count-send-query --wait-for com.canonical.AppMenu.Registrar --task-name query
275
276 sleep 1
277-bustle-count test-dbus-message-count.bustle
278+bustle --count test-dbus-message-count.bustle

Subscribers

People subscribed via source and target branches