Merge lp:~dbusmenu-team/libdbusmenu/ubuntu into lp:~ubuntu-desktop/libdbusmenu/ubuntu

Proposed by Ted Gould
Status: Merged
Merged at revision: 83
Proposed branch: lp:~dbusmenu-team/libdbusmenu/ubuntu
Merge into: lp:~ubuntu-desktop/libdbusmenu/ubuntu
Diff against target: 342 lines (+69/-32)
11 files modified
configure (+11/-11)
configure.ac (+3/-3)
debian/changelog (+20/-1)
debian/control (+8/-8)
debian/source/format (+1/-0)
docs/libdbusmenu-glib/reference/version.xml (+1/-1)
docs/libdbusmenu-gtk/reference/version.xml (+1/-1)
libdbusmenu-glib/client.c (+7/-0)
libdbusmenu-glib/server.c (+11/-4)
libdbusmenu-gtk/client.c (+2/-0)
libdbusmenu-gtk/menuitem.c (+4/-3)
To merge this branch: bzr merge lp:~dbusmenu-team/libdbusmenu/ubuntu
Reviewer Review Type Date Requested Status
Sebastien Bacher Pending
Review via email: mp+29476@code.launchpad.net

Description of the change

0.3.5

To post a comment you must log in.
lp:~dbusmenu-team/libdbusmenu/ubuntu updated
83. By Ken VanDine

releasing version 0.3.5-0ubuntu1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure'
2--- configure 2010-07-01 13:57:16 +0000
3+++ configure 2010-07-08 15:41:07 +0000
4@@ -1,6 +1,6 @@
5 #! /bin/sh
6 # Guess values for system-dependent variables and create Makefiles.
7-# Generated by GNU Autoconf 2.65 for libdbusmenu 0.3.4.
8+# Generated by GNU Autoconf 2.65 for libdbusmenu 0.3.5.
9 #
10 # Report bugs to <ted@canonical.com>.
11 #
12@@ -703,8 +703,8 @@
13 # Identity of this package.
14 PACKAGE_NAME='libdbusmenu'
15 PACKAGE_TARNAME='libdbusmenu'
16-PACKAGE_VERSION='0.3.4'
17-PACKAGE_STRING='libdbusmenu 0.3.4'
18+PACKAGE_VERSION='0.3.5'
19+PACKAGE_STRING='libdbusmenu 0.3.5'
20 PACKAGE_BUGREPORT='ted@canonical.com'
21 PACKAGE_URL=''
22
23@@ -1524,7 +1524,7 @@
24 # Omit some internal or obsolete options to make the list less imposing.
25 # This message is too long to be a string in the A/UX 3.1 sh.
26 cat <<_ACEOF
27-\`configure' configures libdbusmenu 0.3.4 to adapt to many kinds of systems.
28+\`configure' configures libdbusmenu 0.3.5 to adapt to many kinds of systems.
29
30 Usage: $0 [OPTION]... [VAR=VALUE]...
31
32@@ -1594,7 +1594,7 @@
33
34 if test -n "$ac_init_help"; then
35 case $ac_init_help in
36- short | recursive ) echo "Configuration of libdbusmenu 0.3.4:";;
37+ short | recursive ) echo "Configuration of libdbusmenu 0.3.5:";;
38 esac
39 cat <<\_ACEOF
40
41@@ -1724,7 +1724,7 @@
42 test -n "$ac_init_help" && exit $ac_status
43 if $ac_init_version; then
44 cat <<\_ACEOF
45-libdbusmenu configure 0.3.4
46+libdbusmenu configure 0.3.5
47 generated by GNU Autoconf 2.65
48
49 Copyright (C) 2009 Free Software Foundation, Inc.
50@@ -2097,7 +2097,7 @@
51 This file contains any messages produced by compilers while
52 running configure, to aid debugging if configure makes a mistake.
53
54-It was created by libdbusmenu $as_me 0.3.4, which was
55+It was created by libdbusmenu $as_me 0.3.5, which was
56 generated by GNU Autoconf 2.65. Invocation command line was
57
58 $ $0 $@
59@@ -2911,7 +2911,7 @@
60
61 # Define the identity of the package.
62 PACKAGE=libdbusmenu
63- VERSION=0.3.4
64+ VERSION=0.3.5
65
66
67 # Some tools Automake needs.
68@@ -12937,7 +12937,7 @@
69 ###########################
70
71 LIBDBUSMENU_CURRENT=1
72-LIBDBUSMENU_REVISION=9
73+LIBDBUSMENU_REVISION=10
74 LIBDBUSMENU_AGE=0
75
76
77@@ -14250,7 +14250,7 @@
78 # report actual input values of CONFIG_FILES etc. instead of their
79 # values after options handling.
80 ac_log="
81-This file was extended by libdbusmenu $as_me 0.3.4, which was
82+This file was extended by libdbusmenu $as_me 0.3.5, which was
83 generated by GNU Autoconf 2.65. Invocation command line was
84
85 CONFIG_FILES = $CONFIG_FILES
86@@ -14316,7 +14316,7 @@
87 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
88 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
89 ac_cs_version="\\
90-libdbusmenu config.status 0.3.4
91+libdbusmenu config.status 0.3.5
92 configured by $0, generated by GNU Autoconf 2.65,
93 with options \\"\$ac_cs_config\\"
94
95
96=== modified file 'configure.ac'
97--- configure.ac 2010-07-01 13:57:16 +0000
98+++ configure.ac 2010-07-08 15:41:07 +0000
99@@ -1,11 +1,11 @@
100
101-AC_INIT(libdbusmenu, 0.3.4, ted@canonical.com)
102+AC_INIT(libdbusmenu, 0.3.5, ted@canonical.com)
103 AC_COPYRIGHT([Copyright 2009,2010 Canonical])
104
105 AC_PREREQ(2.62)
106
107 AM_CONFIG_HEADER(config.h)
108-AM_INIT_AUTOMAKE(libdbusmenu, 0.3.4, [-Wno-portability])
109+AM_INIT_AUTOMAKE(libdbusmenu, 0.3.5, [-Wno-portability])
110
111 AM_MAINTAINER_MODE
112
113@@ -87,7 +87,7 @@
114 ###########################
115
116 LIBDBUSMENU_CURRENT=1
117-LIBDBUSMENU_REVISION=9
118+LIBDBUSMENU_REVISION=10
119 LIBDBUSMENU_AGE=0
120
121 AC_SUBST(LIBDBUSMENU_CURRENT)
122
123=== modified file 'debian/changelog'
124--- debian/changelog 2010-07-01 14:53:43 +0000
125+++ debian/changelog 2010-07-08 15:41:07 +0000
126@@ -1,3 +1,12 @@
127+libdbusmenu (0.3.5-0ubuntu1~ppa1) lucid; urgency=low
128+
129+ * New upstream release.
130+ ∘ Protect against NULL nodes (LP: #602444)
131+ ∘ Remove extra warnings and messages
132+ ∘ Handle not having a session bus better (LP: #598715)
133+
134+ -- Ted Gould <ted@ubuntu.com> Thu, 08 Jul 2010 10:24:18 -0500
135+
136 libdbusmenu (0.3.4-0ubuntu1) maverick; urgency=low
137
138 * New upstream release.
139@@ -9,6 +18,15 @@
140
141 -- Ted Gould <ted@ubuntu.com> Thu, 01 Jul 2010 09:00:16 -0500
142
143+libdbusmenu (0.3.3-1) unstable; urgency=low
144+
145+ * Merge Ubuntu.
146+ Preserve Maintainer and Vcs-* fields.
147+ * Standards-Version: 3.9.0
148+ * Source-Format: 1.0 for now
149+
150+ -- Evgeni Golov <evgeni@debian.org> Thu, 01 Jul 2010 11:42:23 +0200
151+
152 libdbusmenu (0.3.3-0ubuntu1) maverick; urgency=low
153
154 * New upstream release.
155@@ -34,12 +52,13 @@
156 - Standards-Version: 3.8.4
157 - Fix Homepage URL.
158 - Update Vcs-* fields.
159+ - -doc packages are Arch:all
160 * debian/copyright:
161 - Convert to DEP5 format.
162 - Add Ken and Sebastien, according to changelog.
163 - Add Aurélien Gâteau, according to headers.
164
165- -- Evgeni Golov <evgeni@debian.org> Wed, 16 Jun 2010 11:37:08 +0200
166+ -- Evgeni Golov <evgeni@debian.org> Sun, 20 Jun 2010 13:56:00 +0200
167
168 libdbusmenu (0.3.2-0ubuntu1) maverick; urgency=low
169
170
171=== modified file 'debian/control'
172--- debian/control 2010-06-29 13:21:55 +0000
173+++ debian/control 2010-07-08 15:41:07 +0000
174@@ -20,7 +20,7 @@
175 gir1.0-glib-2.0,
176 gir1.0-gtk-2.0,
177 valac
178-Standards-Version: 3.8.4
179+Standards-Version: 3.9.0
180 Homepage: https://launchpad.net/dbusmenu
181 Vcs-Bzr: https://code.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu
182 Vcs-Browser: http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu
183@@ -60,12 +60,12 @@
184 Architecture: any
185 Depends: ${shlibs:Depends},
186 ${misc:Depends}
187-Description: library for passing menus over DBus - GTK version
188+Description: library for passing menus over DBus - GTK+ version
189 libdbusmenu passes a menu structure across DBus so that a program can
190 create a menu simply without worrying about how it is displayed on the
191 other side of the bus.
192 .
193- This package contains shared libraries to be used by GTK applications.
194+ This package contains shared libraries to be used by GTK+ applications.
195
196 Package: libdbusmenu-gtk-dev
197 Section: libdevel
198@@ -76,12 +76,12 @@
199 libdbus-glib-1-dev (>= 0.76),
200 libgtk2.0-dev (>= 2.12.0),
201 libdbusmenu-glib-dev
202-Description: library for passing menus over DBus - GTK version developement files
203+Description: library for passing menus over DBus - GTK+ version developement files
204 libdbusmenu passes a menu structure across DBus so that a program can
205 create a menu simply without worrying about how it is displayed on the
206 other side of the bus.
207 .
208- This package contains files that are needed to build GTK applications.
209+ This package contains files that are needed to build GTK+ applications.
210
211 Package: libdbusmenu-tools
212 Section: devel
213@@ -129,7 +129,7 @@
214
215 Package: libdbusmenu-glib-doc
216 Section: doc
217-Architecture: any
218+Architecture: all
219 Depends: ${misc:Depends}
220 Description: library for passing menus over DBus - documentation
221 libdbusmenu passes a menu structure across DBus so that a program can
222@@ -140,9 +140,9 @@
223
224 Package: libdbusmenu-gtk-doc
225 Section: doc
226-Architecture: any
227+Architecture: all
228 Depends: ${misc:Depends}
229-Description: library for passing menus over DBus - GTK version documentation
230+Description: library for passing menus over DBus - GTK+ version documentation
231 libdbusmenu passes a menu structure across DBus so that a program can
232 create a menu simply without worrying about how it is displayed on the
233 other side of the bus.
234
235=== added directory 'debian/source'
236=== added file 'debian/source/format'
237--- debian/source/format 1970-01-01 00:00:00 +0000
238+++ debian/source/format 2010-07-08 15:41:07 +0000
239@@ -0,0 +1,1 @@
240+1.0
241
242=== modified file 'docs/libdbusmenu-glib/reference/version.xml'
243--- docs/libdbusmenu-glib/reference/version.xml 2010-07-01 13:57:16 +0000
244+++ docs/libdbusmenu-glib/reference/version.xml 2010-07-08 15:41:07 +0000
245@@ -1,1 +1,1 @@
246-0.3.4
247+0.3.5
248
249=== modified file 'docs/libdbusmenu-gtk/reference/version.xml'
250--- docs/libdbusmenu-gtk/reference/version.xml 2010-07-01 13:57:16 +0000
251+++ docs/libdbusmenu-gtk/reference/version.xml 2010-07-08 15:41:07 +0000
252@@ -1,1 +1,1 @@
253-0.3.4
254+0.3.5
255
256=== modified file 'libdbusmenu-glib/client.c'
257--- libdbusmenu-glib/client.c 2010-06-21 20:07:26 +0000
258+++ libdbusmenu-glib/client.c 2010-07-08 15:41:07 +0000
259@@ -561,6 +561,9 @@
260 static gint
261 parse_node_get_id (xmlNodePtr node)
262 {
263+ if (node == NULL) {
264+ return -1;
265+ }
266 if (node->type != XML_ELEMENT_NODE) {
267 return -1;
268 }
269@@ -886,6 +889,10 @@
270
271 xmlNodePtr root = xmlDocGetRootElement(xmldoc);
272
273+ if (root == NULL) {
274+ g_warning("Unable to get root node of menu XML");
275+ }
276+
277 DbusmenuMenuitem * oldroot = priv->root;
278
279 priv->root = parse_layout_xml(client, root, priv->root, NULL, priv->menuproxy);
280
281=== modified file 'libdbusmenu-glib/server.c'
282--- libdbusmenu-glib/server.c 2010-05-27 16:43:19 +0000
283+++ libdbusmenu-glib/server.c 2010-07-08 15:41:07 +0000
284@@ -225,15 +225,22 @@
285 set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
286 {
287 DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(obj);
288+ GError * error = NULL;
289
290 switch (id) {
291 case PROP_DBUS_OBJECT:
292 g_return_if_fail(priv->dbusobject == NULL);
293 priv->dbusobject = g_value_dup_string(value);
294- DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);
295- dbus_g_connection_register_g_object(connection,
296- priv->dbusobject,
297- obj);
298+ DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
299+
300+ if (connection == NULL || error != NULL) {
301+ g_warning("Unable to get session bus: %s", error == NULL ? "No message" : error->message);
302+ if (error != NULL) { g_error_free(error); }
303+ } else {
304+ dbus_g_connection_register_g_object(connection,
305+ priv->dbusobject,
306+ obj);
307+ }
308 break;
309 case PROP_ROOT_NODE:
310 if (priv->root != NULL) {
311
312=== modified file 'libdbusmenu-gtk/client.c'
313--- libdbusmenu-gtk/client.c 2010-06-29 23:12:08 +0000
314+++ libdbusmenu-gtk/client.c 2010-07-08 15:41:07 +0000
315@@ -148,7 +148,9 @@
316 return FALSE;
317 }
318
319+ #ifdef MASSIVEDEBUGGING
320 g_debug("Setting shortcut on '%s': %d %X", dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL), key, modifiers);
321+ #endif
322
323 GtkMenuItem * gmi = dbusmenu_gtkclient_menuitem_get(data->client, mi);
324 if (gmi == NULL) {
325
326=== modified file 'libdbusmenu-gtk/menuitem.c'
327--- libdbusmenu-gtk/menuitem.c 2010-06-23 19:50:26 +0000
328+++ libdbusmenu-gtk/menuitem.c 2010-07-08 15:41:07 +0000
329@@ -264,9 +264,10 @@
330
331 GtkAccelGroup * group = gtk_accel_group_from_accel_closure(closure);
332
333- /* Seriously, if this returns NULL something is seriously
334- wrong in GTK. */
335- g_return_val_if_fail(group != NULL, FALSE);
336+ /* Apparently this is more common than I thought. */
337+ if (group == NULL) {
338+ return FALSE;
339+ }
340
341 GtkAccelKey * key = gtk_accel_group_find(group, find_closure, closure);
342 /* Again, not much we can do except complain loudly. */

Subscribers

People subscribed via source and target branches

to all changes: