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
=== modified file 'configure'
--- configure 2010-07-01 13:57:16 +0000
+++ configure 2010-07-08 15:41:07 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for libdbusmenu 0.3.4.3# Generated by GNU Autoconf 2.65 for libdbusmenu 0.3.5.
4#4#
5# Report bugs to <ted@canonical.com>.5# Report bugs to <ted@canonical.com>.
6#6#
@@ -703,8 +703,8 @@
703# Identity of this package.703# Identity of this package.
704PACKAGE_NAME='libdbusmenu'704PACKAGE_NAME='libdbusmenu'
705PACKAGE_TARNAME='libdbusmenu'705PACKAGE_TARNAME='libdbusmenu'
706PACKAGE_VERSION='0.3.4'706PACKAGE_VERSION='0.3.5'
707PACKAGE_STRING='libdbusmenu 0.3.4'707PACKAGE_STRING='libdbusmenu 0.3.5'
708PACKAGE_BUGREPORT='ted@canonical.com'708PACKAGE_BUGREPORT='ted@canonical.com'
709PACKAGE_URL=''709PACKAGE_URL=''
710710
@@ -1524,7 +1524,7 @@
1524 # Omit some internal or obsolete options to make the list less imposing.1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF1526 cat <<_ACEOF
1527\`configure' configures libdbusmenu 0.3.4 to adapt to many kinds of systems.1527\`configure' configures libdbusmenu 0.3.5 to adapt to many kinds of systems.
15281528
1529Usage: $0 [OPTION]... [VAR=VALUE]...1529Usage: $0 [OPTION]... [VAR=VALUE]...
15301530
@@ -1594,7 +1594,7 @@
15941594
1595if test -n "$ac_init_help"; then1595if test -n "$ac_init_help"; then
1596 case $ac_init_help in1596 case $ac_init_help in
1597 short | recursive ) echo "Configuration of libdbusmenu 0.3.4:";;1597 short | recursive ) echo "Configuration of libdbusmenu 0.3.5:";;
1598 esac1598 esac
1599 cat <<\_ACEOF1599 cat <<\_ACEOF
16001600
@@ -1724,7 +1724,7 @@
1724test -n "$ac_init_help" && exit $ac_status1724test -n "$ac_init_help" && exit $ac_status
1725if $ac_init_version; then1725if $ac_init_version; then
1726 cat <<\_ACEOF1726 cat <<\_ACEOF
1727libdbusmenu configure 0.3.41727libdbusmenu configure 0.3.5
1728generated by GNU Autoconf 2.651728generated by GNU Autoconf 2.65
17291729
1730Copyright (C) 2009 Free Software Foundation, Inc.1730Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2097,7 +2097,7 @@
2097This file contains any messages produced by compilers while2097This file contains any messages produced by compilers while
2098running configure, to aid debugging if configure makes a mistake.2098running configure, to aid debugging if configure makes a mistake.
20992099
2100It was created by libdbusmenu $as_me 0.3.4, which was2100It was created by libdbusmenu $as_me 0.3.5, which was
2101generated by GNU Autoconf 2.65. Invocation command line was2101generated by GNU Autoconf 2.65. Invocation command line was
21022102
2103 $ $0 $@2103 $ $0 $@
@@ -2911,7 +2911,7 @@
29112911
2912# Define the identity of the package.2912# Define the identity of the package.
2913 PACKAGE=libdbusmenu2913 PACKAGE=libdbusmenu
2914 VERSION=0.3.42914 VERSION=0.3.5
29152915
29162916
2917# Some tools Automake needs.2917# Some tools Automake needs.
@@ -12937,7 +12937,7 @@
12937###########################12937###########################
1293812938
12939LIBDBUSMENU_CURRENT=112939LIBDBUSMENU_CURRENT=1
12940LIBDBUSMENU_REVISION=912940LIBDBUSMENU_REVISION=10
12941LIBDBUSMENU_AGE=012941LIBDBUSMENU_AGE=0
1294212942
1294312943
@@ -14250,7 +14250,7 @@
14250# report actual input values of CONFIG_FILES etc. instead of their14250# report actual input values of CONFIG_FILES etc. instead of their
14251# values after options handling.14251# values after options handling.
14252ac_log="14252ac_log="
14253This file was extended by libdbusmenu $as_me 0.3.4, which was14253This file was extended by libdbusmenu $as_me 0.3.5, which was
14254generated by GNU Autoconf 2.65. Invocation command line was14254generated by GNU Autoconf 2.65. Invocation command line was
1425514255
14256 CONFIG_FILES = $CONFIG_FILES14256 CONFIG_FILES = $CONFIG_FILES
@@ -14316,7 +14316,7 @@
14316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=114316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14317ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"14317ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14318ac_cs_version="\\14318ac_cs_version="\\
14319libdbusmenu config.status 0.3.414319libdbusmenu config.status 0.3.5
14320configured by $0, generated by GNU Autoconf 2.65,14320configured by $0, generated by GNU Autoconf 2.65,
14321 with options \\"\$ac_cs_config\\"14321 with options \\"\$ac_cs_config\\"
1432214322
1432314323
=== modified file 'configure.ac'
--- configure.ac 2010-07-01 13:57:16 +0000
+++ configure.ac 2010-07-08 15:41:07 +0000
@@ -1,11 +1,11 @@
11
2AC_INIT(libdbusmenu, 0.3.4, ted@canonical.com)2AC_INIT(libdbusmenu, 0.3.5, ted@canonical.com)
3AC_COPYRIGHT([Copyright 2009,2010 Canonical])3AC_COPYRIGHT([Copyright 2009,2010 Canonical])
44
5AC_PREREQ(2.62)5AC_PREREQ(2.62)
66
7AM_CONFIG_HEADER(config.h)7AM_CONFIG_HEADER(config.h)
8AM_INIT_AUTOMAKE(libdbusmenu, 0.3.4, [-Wno-portability])8AM_INIT_AUTOMAKE(libdbusmenu, 0.3.5, [-Wno-portability])
99
10AM_MAINTAINER_MODE10AM_MAINTAINER_MODE
1111
@@ -87,7 +87,7 @@
87###########################87###########################
8888
89LIBDBUSMENU_CURRENT=189LIBDBUSMENU_CURRENT=1
90LIBDBUSMENU_REVISION=990LIBDBUSMENU_REVISION=10
91LIBDBUSMENU_AGE=091LIBDBUSMENU_AGE=0
9292
93AC_SUBST(LIBDBUSMENU_CURRENT)93AC_SUBST(LIBDBUSMENU_CURRENT)
9494
=== modified file 'debian/changelog'
--- debian/changelog 2010-07-01 14:53:43 +0000
+++ debian/changelog 2010-07-08 15:41:07 +0000
@@ -1,3 +1,12 @@
1libdbusmenu (0.3.5-0ubuntu1~ppa1) lucid; urgency=low
2
3 * New upstream release.
4 ∘ Protect against NULL nodes (LP: #602444)
5 ∘ Remove extra warnings and messages
6 ∘ Handle not having a session bus better (LP: #598715)
7
8 -- Ted Gould <ted@ubuntu.com> Thu, 08 Jul 2010 10:24:18 -0500
9
1libdbusmenu (0.3.4-0ubuntu1) maverick; urgency=low10libdbusmenu (0.3.4-0ubuntu1) maverick; urgency=low
211
3 * New upstream release.12 * New upstream release.
@@ -9,6 +18,15 @@
918
10 -- Ted Gould <ted@ubuntu.com> Thu, 01 Jul 2010 09:00:16 -050019 -- Ted Gould <ted@ubuntu.com> Thu, 01 Jul 2010 09:00:16 -0500
1120
21libdbusmenu (0.3.3-1) unstable; urgency=low
22
23 * Merge Ubuntu.
24 Preserve Maintainer and Vcs-* fields.
25 * Standards-Version: 3.9.0
26 * Source-Format: 1.0 for now
27
28 -- Evgeni Golov <evgeni@debian.org> Thu, 01 Jul 2010 11:42:23 +0200
29
12libdbusmenu (0.3.3-0ubuntu1) maverick; urgency=low30libdbusmenu (0.3.3-0ubuntu1) maverick; urgency=low
1331
14 * New upstream release.32 * New upstream release.
@@ -34,12 +52,13 @@
34 - Standards-Version: 3.8.452 - Standards-Version: 3.8.4
35 - Fix Homepage URL.53 - Fix Homepage URL.
36 - Update Vcs-* fields.54 - Update Vcs-* fields.
55 - -doc packages are Arch:all
37 * debian/copyright:56 * debian/copyright:
38 - Convert to DEP5 format.57 - Convert to DEP5 format.
39 - Add Ken and Sebastien, according to changelog.58 - Add Ken and Sebastien, according to changelog.
40 - Add Aurélien Gâteau, according to headers.59 - Add Aurélien Gâteau, according to headers.
4160
42 -- Evgeni Golov <evgeni@debian.org> Wed, 16 Jun 2010 11:37:08 +020061 -- Evgeni Golov <evgeni@debian.org> Sun, 20 Jun 2010 13:56:00 +0200
4362
44libdbusmenu (0.3.2-0ubuntu1) maverick; urgency=low63libdbusmenu (0.3.2-0ubuntu1) maverick; urgency=low
4564
4665
=== modified file 'debian/control'
--- debian/control 2010-06-29 13:21:55 +0000
+++ debian/control 2010-07-08 15:41:07 +0000
@@ -20,7 +20,7 @@
20 gir1.0-glib-2.0,20 gir1.0-glib-2.0,
21 gir1.0-gtk-2.0,21 gir1.0-gtk-2.0,
22 valac22 valac
23Standards-Version: 3.8.423Standards-Version: 3.9.0
24Homepage: https://launchpad.net/dbusmenu24Homepage: https://launchpad.net/dbusmenu
25Vcs-Bzr: https://code.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu25Vcs-Bzr: https://code.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu
26Vcs-Browser: http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu26Vcs-Browser: http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu
@@ -60,12 +60,12 @@
60Architecture: any60Architecture: any
61Depends: ${shlibs:Depends},61Depends: ${shlibs:Depends},
62 ${misc:Depends}62 ${misc:Depends}
63Description: library for passing menus over DBus - GTK version63Description: library for passing menus over DBus - GTK+ version
64 libdbusmenu passes a menu structure across DBus so that a program can64 libdbusmenu passes a menu structure across DBus so that a program can
65 create a menu simply without worrying about how it is displayed on the65 create a menu simply without worrying about how it is displayed on the
66 other side of the bus.66 other side of the bus.
67 .67 .
68 This package contains shared libraries to be used by GTK applications.68 This package contains shared libraries to be used by GTK+ applications.
6969
70Package: libdbusmenu-gtk-dev70Package: libdbusmenu-gtk-dev
71Section: libdevel71Section: libdevel
@@ -76,12 +76,12 @@
76 libdbus-glib-1-dev (>= 0.76),76 libdbus-glib-1-dev (>= 0.76),
77 libgtk2.0-dev (>= 2.12.0),77 libgtk2.0-dev (>= 2.12.0),
78 libdbusmenu-glib-dev78 libdbusmenu-glib-dev
79Description: library for passing menus over DBus - GTK version developement files79Description: library for passing menus over DBus - GTK+ version developement files
80 libdbusmenu passes a menu structure across DBus so that a program can80 libdbusmenu passes a menu structure across DBus so that a program can
81 create a menu simply without worrying about how it is displayed on the81 create a menu simply without worrying about how it is displayed on the
82 other side of the bus.82 other side of the bus.
83 .83 .
84 This package contains files that are needed to build GTK applications.84 This package contains files that are needed to build GTK+ applications.
8585
86Package: libdbusmenu-tools86Package: libdbusmenu-tools
87Section: devel87Section: devel
@@ -129,7 +129,7 @@
129129
130Package: libdbusmenu-glib-doc130Package: libdbusmenu-glib-doc
131Section: doc131Section: doc
132Architecture: any132Architecture: all
133Depends: ${misc:Depends}133Depends: ${misc:Depends}
134Description: library for passing menus over DBus - documentation134Description: library for passing menus over DBus - documentation
135 libdbusmenu passes a menu structure across DBus so that a program can135 libdbusmenu passes a menu structure across DBus so that a program can
@@ -140,9 +140,9 @@
140140
141Package: libdbusmenu-gtk-doc141Package: libdbusmenu-gtk-doc
142Section: doc142Section: doc
143Architecture: any143Architecture: all
144Depends: ${misc:Depends}144Depends: ${misc:Depends}
145Description: library for passing menus over DBus - GTK version documentation145Description: library for passing menus over DBus - GTK+ version documentation
146 libdbusmenu passes a menu structure across DBus so that a program can146 libdbusmenu passes a menu structure across DBus so that a program can
147 create a menu simply without worrying about how it is displayed on the147 create a menu simply without worrying about how it is displayed on the
148 other side of the bus.148 other side of the bus.
149149
=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2010-07-08 15:41:07 +0000
@@ -0,0 +1,1 @@
11.0
02
=== modified file 'docs/libdbusmenu-glib/reference/version.xml'
--- docs/libdbusmenu-glib/reference/version.xml 2010-07-01 13:57:16 +0000
+++ docs/libdbusmenu-glib/reference/version.xml 2010-07-08 15:41:07 +0000
@@ -1,1 +1,1 @@
10.3.410.3.5
22
=== modified file 'docs/libdbusmenu-gtk/reference/version.xml'
--- docs/libdbusmenu-gtk/reference/version.xml 2010-07-01 13:57:16 +0000
+++ docs/libdbusmenu-gtk/reference/version.xml 2010-07-08 15:41:07 +0000
@@ -1,1 +1,1 @@
10.3.410.3.5
22
=== modified file 'libdbusmenu-glib/client.c'
--- libdbusmenu-glib/client.c 2010-06-21 20:07:26 +0000
+++ libdbusmenu-glib/client.c 2010-07-08 15:41:07 +0000
@@ -561,6 +561,9 @@
561static gint561static gint
562parse_node_get_id (xmlNodePtr node)562parse_node_get_id (xmlNodePtr node)
563{563{
564 if (node == NULL) {
565 return -1;
566 }
564 if (node->type != XML_ELEMENT_NODE) {567 if (node->type != XML_ELEMENT_NODE) {
565 return -1;568 return -1;
566 }569 }
@@ -886,6 +889,10 @@
886889
887 xmlNodePtr root = xmlDocGetRootElement(xmldoc);890 xmlNodePtr root = xmlDocGetRootElement(xmldoc);
888891
892 if (root == NULL) {
893 g_warning("Unable to get root node of menu XML");
894 }
895
889 DbusmenuMenuitem * oldroot = priv->root;896 DbusmenuMenuitem * oldroot = priv->root;
890897
891 priv->root = parse_layout_xml(client, root, priv->root, NULL, priv->menuproxy);898 priv->root = parse_layout_xml(client, root, priv->root, NULL, priv->menuproxy);
892899
=== modified file 'libdbusmenu-glib/server.c'
--- libdbusmenu-glib/server.c 2010-05-27 16:43:19 +0000
+++ libdbusmenu-glib/server.c 2010-07-08 15:41:07 +0000
@@ -225,15 +225,22 @@
225set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)225set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
226{226{
227 DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(obj);227 DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(obj);
228 GError * error = NULL;
228229
229 switch (id) {230 switch (id) {
230 case PROP_DBUS_OBJECT:231 case PROP_DBUS_OBJECT:
231 g_return_if_fail(priv->dbusobject == NULL);232 g_return_if_fail(priv->dbusobject == NULL);
232 priv->dbusobject = g_value_dup_string(value);233 priv->dbusobject = g_value_dup_string(value);
233 DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);234 DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
234 dbus_g_connection_register_g_object(connection,235
235 priv->dbusobject,236 if (connection == NULL || error != NULL) {
236 obj);237 g_warning("Unable to get session bus: %s", error == NULL ? "No message" : error->message);
238 if (error != NULL) { g_error_free(error); }
239 } else {
240 dbus_g_connection_register_g_object(connection,
241 priv->dbusobject,
242 obj);
243 }
237 break;244 break;
238 case PROP_ROOT_NODE:245 case PROP_ROOT_NODE:
239 if (priv->root != NULL) {246 if (priv->root != NULL) {
240247
=== modified file 'libdbusmenu-gtk/client.c'
--- libdbusmenu-gtk/client.c 2010-06-29 23:12:08 +0000
+++ libdbusmenu-gtk/client.c 2010-07-08 15:41:07 +0000
@@ -148,7 +148,9 @@
148 return FALSE;148 return FALSE;
149 }149 }
150150
151 #ifdef MASSIVEDEBUGGING
151 g_debug("Setting shortcut on '%s': %d %X", dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL), key, modifiers);152 g_debug("Setting shortcut on '%s': %d %X", dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL), key, modifiers);
153 #endif
152154
153 GtkMenuItem * gmi = dbusmenu_gtkclient_menuitem_get(data->client, mi);155 GtkMenuItem * gmi = dbusmenu_gtkclient_menuitem_get(data->client, mi);
154 if (gmi == NULL) {156 if (gmi == NULL) {
155157
=== modified file 'libdbusmenu-gtk/menuitem.c'
--- libdbusmenu-gtk/menuitem.c 2010-06-23 19:50:26 +0000
+++ libdbusmenu-gtk/menuitem.c 2010-07-08 15:41:07 +0000
@@ -264,9 +264,10 @@
264264
265 GtkAccelGroup * group = gtk_accel_group_from_accel_closure(closure);265 GtkAccelGroup * group = gtk_accel_group_from_accel_closure(closure);
266266
267 /* Seriously, if this returns NULL something is seriously267 /* Apparently this is more common than I thought. */
268 wrong in GTK. */268 if (group == NULL) {
269 g_return_val_if_fail(group != NULL, FALSE);269 return FALSE;
270 }
270271
271 GtkAccelKey * key = gtk_accel_group_find(group, find_closure, closure);272 GtkAccelKey * key = gtk_accel_group_find(group, find_closure, closure);
272 /* Again, not much we can do except complain loudly. */273 /* Again, not much we can do except complain loudly. */

Subscribers

People subscribed via source and target branches

to all changes: