diff options
25 files changed, 1308 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3012233 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,825 @@ +libdbusmenu (0.3.100-0ubuntu1~ppa1) UNRELEASED; urgency=low + + * New upstream release. + * GTK application menus are not correctly displayed (LP: #726678) + * Fix LP: #723873 - ensure that changing a menuitem property to a + default value gets propagated properly in the client + * Fix some crashes by disconnecting more signals when a menuitem is + deleted. LP: #725980 and LP: #726153 + * Making sure to grab the variant and dispose of it in handle_event. + * Change the destroy prototype to fix GIR warnings + * Fix emitting property changes to use tuples + * Track the icon theme directories + * Handle cases where passed in property names could be in the + properties hash table + * Making property names match DBus protocol recommendations + * Restricting GIR scanner to exported interfaces + * Use the library i18n libraries instead of the app ones + * Make GetLayout use the parent parameter + + -- Ted Gould <ted@ubuntu.com> Thu, 03 Mar 2011 13:43:48 -0600 + +libdbusmenu (0.3.99-0ubuntu5) natty; urgency=low + + * debian/patches/lp726678.patch + - GTK application menus are not correctly displayed (LP: #726678) + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 01 Mar 2011 12:14:35 -0500 + +libdbusmenu (0.3.99-0ubuntu4) natty; urgency=low + + * Fix a warning in gedit + - update debian/patches/fix-defaults-in-client.patch + * Fix missing submenus in bluetooth-applet + - add debian/patches/bluetooth-applet-fix.patch + - update debian/patches/series + + -- Chris Coulson <chris.coulson@canonical.com> Tue, 01 Mar 2011 15:13:00 +0000 + +libdbusmenu (0.3.99-0ubuntu3) natty; urgency=low + + * Fix LP: #723873 - ensure that changing a menuitem property to a default + value gets propagated properly in the client + - add debian/patches/fix-defaults-in-client.patch + - update debian/patches/series + + -- Chris Coulson <chris.coulson@canonical.com> Tue, 01 Mar 2011 00:47:24 +0000 + +libdbusmenu (0.3.99-0ubuntu2) natty; urgency=low + + * debian/patches/disconnect-more-signals.patch: + - Fix some crashes by disconnecting more signals when a menuitem is + deleted. LP: #725980 and LP: #726153 + + -- Michael Terry <mterry@ubuntu.com> Mon, 28 Feb 2011 10:09:57 -0500 + +libdbusmenu (0.3.99-0ubuntu1) natty; urgency=low + + [ Ted Gould ] + * New upstream release. + * Add a signal on the menuitem for generic event support + * Handle the case of a single NULL entry as well. + * Not checking defaults when value is NULL + * Add the 'type' variable first when processing new + menuitems + * Protection from unref'ing NULL variants + * Only send the requested properties and request fewer + * Add in a defaults database + * Only send property updates if the menu item has been + seen on the bus. + * Add a property for text direction. + * Add a property for needing attention. + * Documentation fixes + * Making menuitems track their own parents + * Resolving property changes by looking at the properties + directly. + + [ Ken VanDine ] + * libdbusmenu-glib/menuitem.c + - Making sure to grab the variant and dispose of it in handle_event. + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 24 Feb 2011 22:54:54 -0500 + +libdbusmenu (0.3.98-0ubuntu4) natty; urgency=low + + * Merged from trunk (rev 220) + - Cleaning up cleaning up so we don't unref twice and crash + - Fixing the signatures to make them more consistent + - Adding defaults to translatable files + - Support a set of defaults and not sending them over the bus. + - Fixing annotations and adding tests with python. + + -- Ken VanDine <ken.vandine@canonical.com> Wed, 23 Feb 2011 11:34:57 -0500 + +libdbusmenu (0.3.98-0ubuntu3) natty; urgency=low + + * debian/control: + - Use new libgtk-3-dev build-depends + + -- Robert Ancell <robert.ancell@canonical.com> Tue, 22 Feb 2011 16:16:44 +1100 + +libdbusmenu (0.3.98-0ubuntu2) natty; urgency=low + + * libdbusmenu-glib/{client,menuitem,server}.c + * Be more selective on unref + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 22 Feb 2011 09:23:38 -0500 + +libdbusmenu (0.3.98-0ubuntu1) natty; urgency=low + + * New upstream release. + ∘ Fixing distcheck + ∘ Grouping Property Change events into a single DBus signal + ∘ Removing XML from the GetLayout function + ∘ Clean up icon handling in the parser (LP: #715864) + ∘ Fixing signatures on dbusmenu-dumper + * debian/control: Removing libxml2 Build-Dep + + -- Ted Gould <ted@ubuntu.com> Thu, 17 Feb 2011 11:11:40 -0600 + +libdbusmenu (0.3.97-0ubuntu1) natty; urgency=low + + [Ted Gould] + * New upstream release. + ∘ Handle ChildAdded on GtkShell items (LP: #709839) + ∘ Fixing take_children() to not unref + ∘ Fix naming of the GIR file (LP: #713099) + + [Ken VanDine] + * debian/gir1.2-dbusmenu-glib-0.4.install, + debian/libdbusmenu-glib-dev.install: Changing gir, typelib and vala + file names + + -- Ted Gould <ted@ubuntu.com> Thu, 10 Feb 2011 14:40:14 -0600 + +libdbusmenu (0.3.96-0ubuntu3) natty; urgency=low + + * libdbusmenu-gtk/parser.c + - Handle ChildAdded on GtkShell items and clean up the code so that it + has single functions for doing common operations. (LP: #709839) + + -- Ken VanDine <ken.vandine@canonical.com> Mon, 07 Feb 2011 09:29:09 -0500 + +libdbusmenu (0.3.96-0ubuntu2) natty; urgency=low + + * libdbusmenu-glib/menuitem.c + - take_children() shouldn't unref as the caller wouldn't get a chance + to use the items if this was the last ref. + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 04 Feb 2011 12:18:13 -0500 + +libdbusmenu (0.3.96-0ubuntu1) natty; urgency=low + + * New upstream release. + * Remove signal handlers for correct objects + + -- Ted Gould <ted@ubuntu.com> Thu, 03 Feb 2011 14:11:16 -0600 + +libdbusmenu (0.3.95-0ubuntu1) natty; urgency=low + + * New upstream release. + * Fix crashes on rapidly creating and destroying client + and menu objects (LP: #709754) + * Fix dynamically changed submenus to get the parsed + (LP: #696896) + * Fix bad signature on GetProperties with no hits + + -- Ted Gould <ted@ubuntu.com> Mon, 31 Jan 2011 16:03:06 -0600 + +libdbusmenu (0.3.94-0ubuntu1) natty; urgency=low + + * New upstream release. + * Fixing setting toggle to a boolean + * Fixing some memory leaks + * Fixing signatures in GetChildren + * Look for the serializable menuitems and use their + build functions + * Fix critical message from being printed + * Fixing shutdown messages on destruction + * Fixing warnings from 'use-fallback' + * Adding a parser + * Adding a serializable menu item + + -- Ted Gould <ted@ubuntu.com> Thu, 27 Jan 2011 14:26:19 -0600 + +libdbusmenu (0.3.93-0ubuntu1) natty; urgency=low + + [ Ted Gould ] + * New upstream release. + * Fixing scanner export + * Increasing scanner warnings + * Signalling to DBus when object is registered + * Handling errors in GVariant better than crashing + + [ Ken VanDine ] + * debian/control + - Bumped build depends for libgtk3.0-dev to >= 2.99.2-1ubuntu2, a gir + related patch we needed was dropped in 2.99.2-1ubuntu1 but re-added + in 2.99.2-1ubuntu2 + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 20 Jan 2011 15:05:52 -0500 + +libdbusmenu (0.3.92-0ubuntu3) natty; urgency=low + + * libdbusmenu-glib/server.c + * Better error handling when parsing g_variants (LP: #703039) + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 18 Jan 2011 12:19:37 -0500 + +libdbusmenu (0.3.92-0ubuntu2) natty; urgency=low + + * libdbusmenu-glib/Makefile.am, libdbusmenu-gtk/Makefile.am + - Use EXPORT_PACKAGES to prevent circular build depends + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 18 Jan 2011 10:05:15 -0500 + +libdbusmenu (0.3.92-0ubuntu1) natty; urgency=low + + * New upstream release. + * Fixing handle event to send unboxed values + * Build fixes + + -- Ted Gould <ted@ubuntu.com> Fri, 14 Jan 2011 10:43:44 -0600 + +libdbusmenu (0.3.91-0ubuntu1) natty; urgency=low + + * New upstream release. + * Porting from dbus-glib to GDBus + * Bumping the library ABI version + * debian/*.install: Changing to be the 0.4 version of the dbusmenu + API of all the filenames and paths. + * debian/control: Bumping ABI version in package names + * debian/control: Changing the GIR package names from "0.2" to + "0.4" which now the names of the actual files. + + -- Ted Gould <ted@ubuntu.com> Thu, 13 Jan 2011 10:24:28 -0600 + +libdbusmenu (0.3.90-0ubuntu3) natty; urgency=low + + * Updated for the gir abi transition + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 16 Dec 2010 10:06:26 -0500 + +libdbusmenu (0.3.90-0ubuntu2) natty; urgency=low + + * libdbusmenu-gtk/genericmenuitem.c + - Switching away from using set_activate as that doesn't actually set + the value, it just signals + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 09 Dec 2010 17:46:41 -0500 + +libdbusmenu (0.3.90-0ubuntu1) natty; urgency=low + + * debian/rules + - Added build targets to build with gtk3 enabled in additional to + default build with gtk2 + * debian/control + - Updated build depends to support building with gtk+-3.0 + - Added dh-autoreconf build depends + - Added libdbusmenu-gtk3-2, libdbusmenu-gtk3-dev, gir1.0-dbusmenu-gtk3-0.2 + binaries + - build depend on libgdk-pixbuf2.0-dev >= 2.22.1-0ubuntu4, needed + for GIR fixes + - Removed build depends for gir-repository-dev (LP: #677382) + - Use gir:Depends + * docs/libdbusmenu-gtk/reference/Makefile.am, libdbusmenu-glib/Makefile.am, + libdbusmenu-gtk/Makefile.am + - Fixes needed for building with-gtk=3 + + [ Ted Gould ] + * New upstream release. + * Breaking ABI and getting reserved back + * Adding build support for GTK2/3 builds + * Only force a flush of top level items, allow others to be + based on the count. + * debian/control, debian/libdbusmenu-glib2.install, + debian/libdbusmenu-gtk2.install: Switching package names to + match .so bump. + + -- Ken VanDine <ken.vandine@canonical.com> Wed, 24 Nov 2010 12:05:39 -0500 + +libdbusmenu (0.3.16-0ubuntu1) maverick; urgency=low + + * New upstream release: + * Don't use a typedef in the signal handler in the class to + avoid confusing vapigen. + + -- Ted Gould <ted@ubuntu.com> Wed, 22 Sep 2010 10:28:01 -0500 + +libdbusmenu (0.3.15-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release: + - fix Action for top-level dropdown menu item not activated (LP: #637692) + + -- Didier Roche <didrocks@ubuntu.com> Wed, 22 Sep 2010 14:55:44 +0200 + +libdbusmenu (0.3.14-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Fixing a memory leak by unref'ing a hashtable + * Making a callback for the event dbus function happen off + of the mainloop so it returns a response. (LP: #636756) + + -- Ted Gould <ted@ubuntu.com> Wed, 15 Sep 2010 11:36:09 -0500 + +libdbusmenu (0.3.13-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Handling window grabs on activated signals (LP: #633275) + * Fixing the passing of the value to the results signal + * Adding a test for checking event results signal + * Changing the timeouts on event calls for better detection + of failing applications + + [Ken VanDine] + * debian/control + - Dropped build depends for dbus-test-runner, it isn't in the archive + yet, we should add that next cycle + + -- Ted Gould <ted@ubuntu.com> Thu, 09 Sep 2010 09:50:15 -0500 + +libdbusmenu (0.3.12-0ubuntu1) maverick; urgency=low + + * debian/rules: update the shlibs + + [ Ted Gould ] + * New upstream release. + * Support activation of menus client side + * Increase layout XML size (LP: #621238) + * Display an event for the status of the signal to the server + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 26 Aug 2010 23:34:45 +0200 + +libdbusmenu (0.3.11-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Fix to handle whitespace in layout XML better + * Fixes to test scripts on ARM + + -- Ted Gould <ted@ubuntu.com> Thu, 19 Aug 2010 13:47:33 -0500 + +libdbusmenu (0.3.10-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Fixes to dbusmenu-dumper + + -- Ted Gould <ted@ubuntu.com> Thu, 12 Aug 2010 11:28:37 -0500 + +libdbusmenu (0.3.9-0ubuntu2) maverick; urgency=low + + * Rebuild with the current gobject introspection version + + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 10 Aug 2010 21:50:16 +0200 + +libdbusmenu (0.3.9-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Making it so that properties are requested bredth first + * Globbing layout signaling from the server + * Globbing property requests into group requests (LP: #604670) + + -- Ted Gould <ted@ubuntu.com> Mon, 02 Aug 2010 20:28:58 -0500 + +libdbusmenu (0.3.8-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Added ItemActivationRequested signal. + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 30 Jul 2010 13:44:34 -0400 + +libdbusmenu (0.3.7-1) unstable; urgency=low + + * Merge latest upstream from Ubuntu. + * Standards-Version: 3.9.1 + + -- Evgeni Golov <evgeni@debian.org> Thu, 29 Jul 2010 12:00:04 +0200 + +libdbusmenu (0.3.7-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 22 Jul 2010 21:17:13 +0200 + +libdbusmenu (0.3.6-1) unstable; urgency=low + + * Merge new upstream from Ubuntu. + + -- Evgeni Golov <evgeni@debian.org> Sat, 17 Jul 2010 10:47:35 +0200 + +libdbusmenu (0.3.6-0ubuntu2~ppa1) lucid; urgency=low + + * Upstream Merge + * Making dbusmenu-dumper have a click to dump feature. + * Autogen update + + -- Ted Gould <ted@ubuntu.com> Tue, 20 Jul 2010 16:40:29 -0500 + +libdbusmenu (0.3.6-0ubuntu1) maverick; urgency=low + + * New upstream release. + ∘ Protect against NULL values as event + + -- Ted Gould <ted@ubuntu.com> Thu, 15 Jul 2010 09:42:07 -0500 + +libdbusmenu (0.3.5-1) unstable; urgency=low + + * Merge new upstream and changes from Ubuntu. + * debian/control: + + Add missing "used" to the json package description. + + -- Evgeni Golov <evgeni@debian.org> Wed, 14 Jul 2010 10:21:29 +0200 + +libdbusmenu (0.3.5-0ubuntu1) maverick; urgency=low + + * New upstream release. + ∘ Protect against NULL nodes (LP: #602444) + ∘ Remove extra warnings and messages + ∘ Handle not having a session bus better (LP: #598715) + + -- Ted Gould <ted@ubuntu.com> Thu, 08 Jul 2010 10:24:18 -0500 + +libdbusmenu (0.3.4-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Block building submenus on separators (LP: #598620) + * Adding more through JSON support for testing + * Fixing up value handling in dbusmenu-dumper + * debian/control, debian/libdbusmenu-jsonloader*install: Adding + two binary packages for the jsonloader test library. + + -- Ted Gould <ted@ubuntu.com> Thu, 01 Jul 2010 09:00:16 -0500 + +libdbusmenu (0.3.3-1) unstable; urgency=low + + * Merge Ubuntu. + Preserve Maintainer and Vcs-* fields. + * Standards-Version: 3.9.0 + * Source-Format: 1.0 for now + + -- Evgeni Golov <evgeni@debian.org> Thu, 01 Jul 2010 11:42:23 +0200 + +libdbusmenu (0.3.3-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Adding support for menu shortcuts (LP: #591293) + * Fixing distcheck of documentation builds + * Autogen.sh fix for adding custom prefix (LP: #595565) + * Fixing children property name to match spec (LP: #597321) + * Merging in Debian branch + * debian/control: Switching branch on this branch to be the + dbusmenu-team. + * debian/rules: Updating shlibs to 0.3.3 for shortcut API additions + + -- Ted Gould <ted@ubuntu.com> Thu, 24 Jun 2010 09:32:42 -0500 + +libdbusmenu (0.3.2-1) unstable; urgency=low + + * Merge from Ubuntu. + Closes: #586069 + * debian/control: + - Set Maintainer to pkg-ayatana. + - Add myself as Uploader. + - Update package descriptions. + - Standards-Version: 3.8.4 + - Fix Homepage URL. + - Update Vcs-* fields. + - -doc packages are Arch:all + * debian/copyright: + - Convert to DEP5 format. + - Add Ken and Sebastien, according to changelog. + - Add Aurélien Gâteau, according to headers. + + -- Evgeni Golov <evgeni@debian.org> Sun, 20 Jun 2010 13:56:00 +0200 + +libdbusmenu (0.3.2-0ubuntu1) maverick; urgency=low + + * debian/control + - added doc packages + - added build dep for gtk-doc-tools + * debian/libdbusmenu-glib-doc.install added + * debian/libdbusmenu-gtk-doc.install added + * debian/rules + - enabled gtk-doc for configure + + [Ted Gould] + * New upstream release. + * Set the 'child-display' property on menuitems that + have child menuitems. + * gtk-doc support + * Document the 'shortcut' property + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 10 Jun 2010 16:33:42 -0400 + +libdbusmenu (0.3.1-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Fix annotations for GIR scanner + * Add function to get submenu of GTK-ified items + * Fix signal prototype of ID update + * Fixing up VAPI files to build them correctly + * Fixing the version string in the GIR file + * Fix documentation title page + * Reject text nodes early (warnings with Qt integration) + * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file + names for package list. + * debian/gir1.0-dbusmenu-glib-0.2.install: Changing the name of the + typelib file. + + -- Ted Gould <ted@ubuntu.com> Fri, 04 Jun 2010 14:42:26 -0500 + +libdbusmenu (0.3.0-0ubuntu1~ppa1) lucid; urgency=low + + * New upstream release. + * Add function to get submenu of GTK-ified items + * Fix signal prototype of ID update + * Fixing up VAPI files to build them correctly + * Fixing the version string in the GIR file + * Fix documentation title page + * Reject text nodes early (warnings with Qt integration) + * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file + names for package list. + * debian/gir1.0-dbusmenu-glib-0.2.install: Changing the name of the + typelib file. + + -- Ted Gould <ted@ubuntu.com> Thu, 27 May 2010 11:47:05 -0500 + +libdbusmenu (0.2.9-0ubuntu3) lucid; urgency=low + + * Upstream Merge + * Only unref root if the root has changed. + * Ensure that callbacks retain references to objects incase + they get deleted quickly. + * Protecting references before signalling + * Decrementing refs when added to child menus + + -- Ted Gould <ted@ubuntu.com> Sat, 17 Apr 2010 13:09:57 -0500 + +libdbusmenu (0.2.9-0ubuntu2) lucid; urgency=low + + * Upstream Merge + * Changing GTK layer to look at position in realized + children to avoid realization races. (LP: #555816) + * Don't allow setting children twice + * Ref children of a menuitem + * Return error when parent ID of getlayout can't be found + * Adding in visible property to docs + * Helpful comments in the code + + -- Ted Gould <ted@ubuntu.com> Thu, 15 Apr 2010 01:25:42 -0500 + +libdbusmenu (0.2.9-0ubuntu1) lucid; urgency=low + + * New upstream release. + * Documentation fix + * Changing the parse function to get_children instead of + taking them. (LP: #471044) + * Supporting AboutToShow in event callbacks to catch up + with QT implementation. + * Unrefing on layout updates (LP: #545026) + * Resetting sync versions on disconnection + * Removing useless warning + + -- Ted Gould <ted@ubuntu.com> Thu, 01 Apr 2010 09:14:36 -0500 + +libdbusmenu (0.2.8-0ubuntu2) lucid; urgency=low + + * debian/control: + - restore vcs location, we move back to the non import version, the other + one don't allow merging trunk changes + + [ Ted Gould ] + * Upstream Merge + * Changing the parse function to get_children instead of + taking them. (LP: #471044) + * Supporting AboutToShow in event callbacks to catch up + with QT implementation. + * Unrefing on layout updates (LP: #545026) + * Resetting sync versions on disconnection + * Removing useless warning + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 01 Apr 2010 12:36:06 +0200 + +libdbusmenu (0.2.8-0ubuntu1) lucid; urgency=low + + * debian/control + - Dropped Vcs-Bzr and Vcs-Browser + - Added extended description for gir1.0-dbusmenu-gtk-0.2 and + gir1.0-dbusmenu-glib-0.2 + + * debian/rules + - bumped shlibs version to 0.2.8 for libdbusmenu-glib1 + + [Ted Gould] + * Upstream release 0.2.8 + * Adding support for blank icons (LP: #534854) + * Remove unneeded warning (LP: #537312) + * Fix typo in documentation + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 25 Mar 2010 11:35:46 -0400 + +libdbusmenu (0.2.7-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.7 + * Adding in building of the GObject Introspection details + * Adding in building of VAPI files + * debian/control: + * Adding dependency on valac + * Adding in gir's as build dependencies. + * Adding in build dependencies for GIR dev + * Adding dependencies for gir-repository-dev and + gobject-introspection to ensure we get all the GI goodies. + * debian/control, debian/gir1.0-dbusmenu-glib-0.2.install, + debian/gir1.0-dbusmenu-gtk-0.2.install: Adding new packages to + hold the typelib files generated by GObject introspection. + * debian/libdbusmenu-glib-dev.install, + debian/libdbusmenu-gtk-dev.install: + * Added VAPI files to the packages. + * Added GIR files to the packages. + + -- Ted Gould <ted@ubuntu.com> Thu, 04 Mar 2010 11:13:43 -0600 + +libdbusmenu (0.2.6-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.6 + * Fix testing to make it more reliable + * Remove delayed property queueing as it was causing properties to not + get updated. (lp: #524308) + + -- Ted Gould <ted@ubuntu.com> Thu, 25 Feb 2010 10:23:49 -0600 + +libdbusmenu (0.2.5-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.5 + * Adding in menuitem proxy object. + * Adding ID to default <menu> item. + * debian/rules: Updating shlibs + + -- Ted Gould <ted@ubuntu.com> Thu, 18 Feb 2010 11:00:24 -0600 + +libdbusmenu (0.2.4-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.4 + * Remove uneccessary reference to stop duplication of menus + * Handle dbus method errors better + + -- Ted Gould <ted@ubuntu.com> Thu, 11 Feb 2010 10:13:56 -0600 + +libdbusmenu (0.2.3-0ubuntu3) lucid; urgency=low + + * Backported lp:~ted/dbusmenu/dbus-error-handling to fix the + indicator-applet crashing sometime on softwares close + (lp: #518900, #519019) + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 10 Feb 2010 00:12:35 +0100 + +libdbusmenu (0.2.3-0ubuntu2) lucid; urgency=low + + * Upstream Merge + * Removing the ref to root and a setting of root + + -- Ted Gould <ted@ubuntu.com> Tue, 09 Feb 2010 08:53:00 -0600 + +libdbusmenu (0.2.3-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.3 + * Fixing handing of root IDs being zero + * Handling syncing of properties when reusing items + * Shipping new JSON files and READMEs for testing. + * libdbusmenu-tools.install: Add in json file and README so + that they're put in the right directories. + + -- Ted Gould <ted@ubuntu.com> Fri, 05 Feb 2010 11:24:58 -0800 + +libdbusmenu (0.2.2-0ubuntu3) lucid; urgency=low + + * debian/control: + - let libdbusmenu-glib1 breaks libdbusmenu-glib0 since they are create + issues at runtime if both got loaded + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 04 Feb 2010 18:10:56 -0800 + +libdbusmenu (0.2.2-0ubuntu2) lucid; urgency=low + + * debian/control: fix a typo in the tools depends + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 04 Feb 2010 14:18:47 -0800 + +libdbusmenu (0.2.2-0ubuntu1) lucid; urgency=low + + * Updated for the soname changes + + [ Ted Gould ] + * Upstream Release 0.2.2 + * Interoperability fixes + * Adding timestamps to events + * Better handling of XML + * Adding tools for timing dbusmenu + * debian/libdbusmenu-tools.install: Adding a wildcard to get + all of the tools in libexec + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 04 Feb 2010 13:56:49 -0800 + +libdbusmenu (0.2.1-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.1 + - Fix to not destroy the image if we're still using it. + - Adding code to support icon names that have an implied direction in them. + - Fix to put a small amount of padding between the icon and the label. + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 12 Jan 2010 11:03:39 -0500 + +libdbusmenu (0.2.0-0ubuntu3) lucid; urgency=low + + * debian/rules: + - updated shlibs version (lp: #505258) + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 11 Jan 2010 16:04:11 +0100 + +libdbusmenu (0.2.0-0ubuntu2) lucid; urgency=low + + * Added debian/libdbusmenu-tools.install + * debian/control + - improved description for libdbusmenu-tools + + -- Ken VanDine <ken.vandine@canonical.com> Sat, 09 Jan 2010 09:05:47 -0500 + +libdbusmenu (0.2.0-0ubuntu1) lucid; urgency=low + + * Upstream release 0.2.0 + - Remove unused libdbusmenu-qt + - Changing API to be V0.2 for reals + - Adding underline support + - Test suite fixes and automation support + - dbus-dumper tool + - Switch to org.ayatana + - Fixing the handling of typed properties, especially bools. + - Adding GetChildren function for getting a single submenu + - Starting to watch DBus if the proxy builds fail. + - Test suite fixes + - Fixing the consistency between the #defines and what + was used in the code. + * debian/control, debian/libdbusmenu-tools.install: Setting + up a package for the new dbusmenu-dumper tool. + * debian/control: Mentioning nicely that this will cause + indicator-messages << 0.3 and indicator-session << 0.2 to + break. + + -- Ted Gould <ted@ubuntu.com> Fri, 08 Jan 2010 08:42:59 -0600 + +libdbusmenu (0.1.8-0ubuntu1) lucid; urgency=low + + * Upstream release 0.1.8 + * Changing the name to org.ayatana + * Underline fixes + * Documenation of the DBus API + * Adding the GPL v3 Copying file so that we're all legal. + + -- Ted Gould <ted@ubuntu.com> Thu, 10 Dec 2009 12:55:07 -0600 + +libdbusmenu (0.1.6-0ubuntu1) karmic; urgency=low + + * Upstream release 0.1.6 (LP: #442822) + * Managing the life-cycle of the GTK Menu item better to + ensure that it is positioned correctly and dies + appropriately. (LP: #430904) and (LP: #419953) + * Checking returned properties to ensure that there wasn't + DBus errors. (LP: #433719) + + -- Ted Gould <ted@ubuntu.com> Fri, 02 Oct 2009 17:00:45 -0500 + +libdbusmenu (0.1.5-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #436185) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 24 Sep 2009 17:12:25 -0400 + +libdbusmenu (0.1.4-0ubuntu1) karmic; urgency=low + + * Upstream release (LP: #432003) + - Applying a fix by not blocking if we're calling for the root. Everyone + should be listening for root changes anyway (lp: #427819) + + -- Ted Gould <ted@ubuntu.com> Thu, 17 Sep 2009 11:29:40 -0500 + +libdbusmenu (0.1.3-0ubuntu1) karmic; urgency=low + + * Upstream update 0.1.3 (LP: #427360) + * Fixes reordering of menu item issue + + -- Ted Gould <ted@ubuntu.com> Thu, 10 Sep 2009 08:43:47 -0500 + +libdbusmenu (0.1.2-0ubuntu1) karmic; urgency=low + + * debian/rules: + - updated shlib version + + [ Ted Gould ] + * Upstream release 0.1.2 (LP: #423958) + + [ Ken VanDine ] + * debian/control + - Specify full urls for Vcs-Bzr + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 04 Sep 2009 11:12:38 +0200 + +libdbusmenu (0.1.0-0ubuntu1) karmic; urgency=low + + [ Ted Gould ] + * Upstream release 0.1.0 + * debian/watch: Added for tarball + * debian/control: + - Specify both Vcs-Bzr and Vcs-Browser + - Fixed the project name + + [ Martin Pitt ] + * Add bzr-builddep configuration for merge mode. + * debian/control: Fix Vcs-* links. + + -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 27 Aug 2009 20:55:55 +0200 + +libdbusmenu (0.1~bzr5-0ubuntu1) karmic; urgency=low + + * First version. + + -- Ted Gould <ted@ubuntu.com> Wed, 05 Aug 2009 00:46:41 +0100 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6d879d8 --- /dev/null +++ b/debian/control @@ -0,0 +1,225 @@ +Source: libdbusmenu +Section: gnome +Priority: optional +Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: The Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org> +Uploaders: Evgeni Golov <evgeni@debian.org> +Build-Depends: debhelper (>= 5.0), + cdbs (>= 0.4.41), + quilt, + libgtk2.0-dev (>= 2.23.2-0ubuntu2), + libgtk-3-dev (>= 2.99.2-1ubuntu2), + libgdk-pixbuf2.0-dev (>= 2.22.1-0ubuntu4), + libdbus-glib-1-dev, + gnome-doc-utils, + gtk-doc-tools, + libtool, + intltool, + libjson-glib-dev, + gobject-introspection, + libgirepository1.0-dev (>= 0.9.3), + gir1.2-glib-2.0, + gir1.2-gtk-2.0, + gir1.2-gtk-3.0, + libx11-dev (>= 1.3), + dh-autoreconf, + valac-0.12 +Standards-Version: 3.9.1 +Homepage: https://launchpad.net/dbusmenu +Vcs-Bzr: https://code.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu + +Package: libdbusmenu-glib3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Breaks: indicator-messages (<< 0.3.0), + indicator-session (<< 0.2.0), + libdbusmenu-glib0 +Description: library for passing menus over DBus + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains shared libraries to be used by applications. + +Package: libdbusmenu-glib-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdbusmenu-glib3 (= ${binary:Version}), + libdbus-glib-1-dev (>= 0.76), + libgtk2.0-dev (>= 2.12.0) +Description: library for passing menus over DBus - development files + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains files that are needed to build applications. + +Package: libdbusmenu-gtk3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: library for passing menus over DBus - GTK+ version + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains shared libraries to be used by GTK+ applications. + +Package: libdbusmenu-gtk-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdbusmenu-gtk3 (= ${binary:Version}), + libdbus-glib-1-dev (>= 0.76), + libgtk2.0-dev (>= 2.12.0), + libdbusmenu-glib-dev +Description: library for passing menus over DBus - GTK+ version developement files + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains files that are needed to build GTK+ applications. + +Package: libdbusmenu-tools +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + python, + libdbusmenu-glib3 (= ${binary:Version}) +Description: tools useful during development with libdbusmenu + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains tools that are useful when developing and building + applications with libdbusmenu. + +Package: gir1.2-dbusmenu-glib-0.4 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + libdbusmenu-glib3 (= ${binary:Version}), + ${gir:Depends} +Description: typelib file for libdbusmenu-glib3 + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package can be used by other packages using the GIRepository format to + generate dynamic bindings for libdbusmenu-glib3. + +Package: gir1.2-dbusmenu-gtk-0.4 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + libdbusmenu-gtk3 (= ${binary:Version}), + ${gir:Depends} +Description: typelib file for libdbusmenu-gtk3 + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package can be used by other packages using the GIRepository format to + generate dynamic bindings for libdbusmenu-gtk3. + +Package: libdbusmenu-glib-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: library for passing menus over DBus - documentation + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains developer documentation for libdbusmenu-glib. + +Package: libdbusmenu-gtk-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: library for passing menus over DBus - GTK+ version documentation + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains developer documentation for libdbusmenu-gtk. + +Package: libdbusmenu-jsonloader3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: library for passing menus over DBus - Test lib + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains shared libraries to be used by test suites in + applications or libraries using dbusmenu. + +Package: libdbusmenu-jsonloader-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdbus-glib-1-dev (>= 0.76), + libdbusmenu-glib-dev (= ${binary:Version}), + libjson-glib-dev +Description: library for passing menus over DBus - Test lib development files + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains files that are needed to build test suites in + applications or libraries using dbusmenu. + +Package: libdbusmenu-gtk3-3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: library for passing menus over DBus - GTK+ version + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains shared libraries to be used by GTK+ applications. + +Package: libdbusmenu-gtk3-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdbusmenu-gtk3-3 (= ${binary:Version}), + libdbus-glib-1-dev (>= 0.76), + libgtk-3-dev (>= 2.91.4-0ubuntu1), + libdbusmenu-glib-dev +Description: library for passing menus over DBus - GTK+ version developement files + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package contains files that are needed to build GTK+ applications. + +Package: gir1.2-dbusmenu-gtk3-0.4 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + libdbusmenu-gtk3-3 (= ${binary:Version}), + ${gir:Depends} +Description: typelib file for libdbusmenu-gtk3-3 + libdbusmenu passes a menu structure across DBus so that a program can + create a menu simply without worrying about how it is displayed on the + other side of the bus. + . + This package can be used by other packages using the GIRepository format to + generate dynamic bindings for libdbusmenu-gtk3. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6d7c11b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: libdbusmenu +Maintainer: Ted Gould <ted@canonical.com> +Source: https://launchpad.net/dbusmenu + +Files: * +Copyright: 2009-2010 Ted Gould <ted@canonical.com>, Canonical Ltd. +License: GPL-3 + +Files: libdbusmenu-{glib,gtk}/* +Copyright: 2009-2010 Ted Gould <ted@canonical.com>, Canonical Ltd. +License: LGPL-2.1 | LGPL-3 + +Files: libdbusmenu-glib/dbus-menu.xml +Copyright: 2009-2010 Ted Gould <ted@canonical.com>, Canonical Ltd. +Copyright: 2009-2010 Aurélien Gâteau <aurelien.gateau@canonical.com> +License: LGPL-2.1 | LGPL-3 + +Files: tools/{dbusmenu-bench,testapp/main.c} +Copyright: 2009-2010 Aurélien Gâteau <aurelien.gateau@canonical.com> +License: LGPL-2.1 | LGPL-3 + +Files: debian/* +Copyright: 2009-2010 Evgeni Golov <evgeni@debian.org> +Copyright: 2009-2010 Ted Gould <ted@canonical.com>, Canonical Ltd. +Copyright: 2009-2010 Sebastien Bacher <seb128@ubuntu.com> +Copyright: 2009-2010 Ken VanDine <ken.vandine@canonical.com> +License: GPL-3 + +License: GPL-3 + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +License: LGPL-2.1 + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + +License: LGPL-3 + On Debian systems, the complete text of the GNU Lesser General + Public License version 3 can be found in `/usr/share/common-licenses/LGPL-3'. diff --git a/debian/gir1.2-dbusmenu-glib-0.4.install b/debian/gir1.2-dbusmenu-glib-0.4.install new file mode 100644 index 0000000..20751be --- /dev/null +++ b/debian/gir1.2-dbusmenu-glib-0.4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/Dbusmenu-0.4.typelib diff --git a/debian/gir1.2-dbusmenu-gtk-0.4.install b/debian/gir1.2-dbusmenu-gtk-0.4.install new file mode 100644 index 0000000..16bad97 --- /dev/null +++ b/debian/gir1.2-dbusmenu-gtk-0.4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/DbusmenuGtk-0.4.typelib diff --git a/debian/gir1.2-dbusmenu-gtk3-0.4.install b/debian/gir1.2-dbusmenu-gtk3-0.4.install new file mode 100644 index 0000000..abf6fab --- /dev/null +++ b/debian/gir1.2-dbusmenu-gtk3-0.4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/DbusmenuGtk3-0.4.typelib diff --git a/debian/libdbusmenu-glib-dev.install b/debian/libdbusmenu-glib-dev.install new file mode 100644 index 0000000..f8e0345 --- /dev/null +++ b/debian/libdbusmenu-glib-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/include/libdbusmenu-0.4/libdbusmenu-glib/* +debian/tmp/usr/lib/pkgconfig/dbusmenu-glib-0.4.pc +debian/tmp/usr/lib/libdbusmenu-glib.a +debian/tmp/usr/lib/libdbusmenu-glib.so +debian/tmp/usr/share/gir-1.0/Dbusmenu-0.4.gir +debian/tmp/usr/share/vala/vapi/Dbusmenu-0.4.vapi diff --git a/debian/libdbusmenu-glib-doc.install b/debian/libdbusmenu-glib-doc.install new file mode 100644 index 0000000..2fde7f6 --- /dev/null +++ b/debian/libdbusmenu-glib-doc.install @@ -0,0 +1 @@ +debian/tmp//usr/share/gtk-doc/html/libdbusmenu-glib/* diff --git a/debian/libdbusmenu-glib3.install b/debian/libdbusmenu-glib3.install new file mode 100644 index 0000000..acdbacf --- /dev/null +++ b/debian/libdbusmenu-glib3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libdbusmenu-glib.so.* diff --git a/debian/libdbusmenu-gtk-dev.install b/debian/libdbusmenu-gtk-dev.install new file mode 100644 index 0000000..0ce2419 --- /dev/null +++ b/debian/libdbusmenu-gtk-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/include/libdbusmenu-0.4/libdbusmenu-gtk/* +debian/tmp/usr/lib/pkgconfig/dbusmenu-gtk-0.4.pc +debian/tmp/usr/lib/libdbusmenu-gtk.a +debian/tmp/usr/lib/libdbusmenu-gtk.so +debian/tmp/usr/share/gir-1.0/DbusmenuGtk-0.4.gir +debian/tmp/usr/share/vala/vapi/DbusmenuGtk-0.4.vapi diff --git a/debian/libdbusmenu-gtk-doc.install b/debian/libdbusmenu-gtk-doc.install new file mode 100644 index 0000000..e349aaa --- /dev/null +++ b/debian/libdbusmenu-gtk-doc.install @@ -0,0 +1 @@ +debian/tmp//usr/share/gtk-doc/html/libdbusmenu-gtk/* diff --git a/debian/libdbusmenu-gtk3-3.install b/debian/libdbusmenu-gtk3-3.install new file mode 100644 index 0000000..af2e9a3 --- /dev/null +++ b/debian/libdbusmenu-gtk3-3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libdbusmenu-gtk3.so.* diff --git a/debian/libdbusmenu-gtk3-dev.install b/debian/libdbusmenu-gtk3-dev.install new file mode 100644 index 0000000..2c9d2e3 --- /dev/null +++ b/debian/libdbusmenu-gtk3-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/pkgconfig/dbusmenu-gtk3-0.4.pc +debian/tmp/usr/lib/libdbusmenu-gtk3.a +debian/tmp/usr/lib/libdbusmenu-gtk3.so +debian/tmp/usr/share/gir-1.0/DbusmenuGtk3-0.4.gir +debian/tmp/usr/share/vala/vapi/DbusmenuGtk3-0.4.vapi diff --git a/debian/libdbusmenu-gtk3.install b/debian/libdbusmenu-gtk3.install new file mode 100644 index 0000000..d677935 --- /dev/null +++ b/debian/libdbusmenu-gtk3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libdbusmenu-gtk.so.* diff --git a/debian/libdbusmenu-jsonloader-dev.install b/debian/libdbusmenu-jsonloader-dev.install new file mode 100644 index 0000000..9594064 --- /dev/null +++ b/debian/libdbusmenu-jsonloader-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/libdbusmenu-0.4/libdbusmenu-jsonloader/* +debian/tmp/usr/lib/pkgconfig/dbusmenu-jsonloader-0.4.pc +debian/tmp/usr/lib/libdbusmenu-jsonloader.a +debian/tmp/usr/lib/libdbusmenu-jsonloader.so diff --git a/debian/libdbusmenu-jsonloader3.install b/debian/libdbusmenu-jsonloader3.install new file mode 100644 index 0000000..bff47f5 --- /dev/null +++ b/debian/libdbusmenu-jsonloader3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libdbusmenu-jsonloader.so.* diff --git a/debian/libdbusmenu-tools.install b/debian/libdbusmenu-tools.install new file mode 100644 index 0000000..4bdf013 --- /dev/null +++ b/debian/libdbusmenu-tools.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libdbusmenu/dbusmenu-* +debian/tmp/usr/share/libdbusmenu/* /usr/share/libdbusmenu-tools/ +debian/tmp/usr/share/doc/libdbusmenu/README.dbusmenu-bench /usr/share/doc/libdbusmenu-tools/ diff --git a/debian/patches/bluetooth-applet-fix.patch b/debian/patches/bluetooth-applet-fix.patch new file mode 100644 index 0000000..34e0e48 --- /dev/null +++ b/debian/patches/bluetooth-applet-fix.patch @@ -0,0 +1,20 @@ +--- a/libdbusmenu-gtk/parser.c ++++ b/libdbusmenu-gtk/parser.c +@@ -456,6 +456,17 @@ construct_dbusmenu_for_widget (GtkWidget + } + } + ++ GtkWidget *submenu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(widget)); ++ if (submenu) ++ { ++ pdata->shell = submenu; ++ g_signal_connect (G_OBJECT (submenu), ++ "child-added", ++ G_CALLBACK (child_added_cb), ++ mi); ++ g_object_add_weak_pointer(G_OBJECT(submenu), (gpointer*)&pdata->shell); ++ } ++ + if (!g_object_get_data (G_OBJECT (widget), "gtk-empty-menu-item") && !GTK_IS_TEAROFF_MENU_ITEM (widget)) + { + visible = gtk_widget_get_visible (widget); diff --git a/debian/patches/disconnect-more-signals.patch b/debian/patches/disconnect-more-signals.patch new file mode 100644 index 0000000..653d32c --- /dev/null +++ b/debian/patches/disconnect-more-signals.patch @@ -0,0 +1,18 @@ +=== modified file 'libdbusmenu-gtk/parser.c' +Index: libdbusmenu-0.3.99/libdbusmenu-gtk/parser.c +=================================================================== +--- libdbusmenu-0.3.99.orig/libdbusmenu-gtk/parser.c 2011-02-28 10:09:40.907065942 -0500 ++++ libdbusmenu-0.3.99/libdbusmenu-gtk/parser.c 2011-02-28 10:09:43.037065942 -0500 +@@ -129,6 +129,12 @@ + if (pdata != NULL && pdata->widget != NULL) { + g_signal_handlers_disconnect_matched(pdata->widget, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, + 0, 0, NULL, G_CALLBACK(widget_notify_cb), NULL); ++ g_signal_handlers_disconnect_matched(pdata->widget, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, ++ 0, 0, NULL, G_CALLBACK(accel_changed), NULL); ++ g_signal_handlers_disconnect_matched(pdata->widget, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, ++ 0, 0, NULL, G_CALLBACK(checkbox_toggled), NULL); ++ g_signal_handlers_disconnect_matched(pdata->widget, (GSignalMatchType)G_SIGNAL_MATCH_FUNC, ++ 0, 0, NULL, G_CALLBACK(menuitem_notify_cb), NULL); + g_object_remove_weak_pointer(G_OBJECT(pdata->widget), (gpointer*)&pdata->widget); + } + diff --git a/debian/patches/fix-defaults-in-client.patch b/debian/patches/fix-defaults-in-client.patch new file mode 100644 index 0000000..8e422db --- /dev/null +++ b/debian/patches/fix-defaults-in-client.patch @@ -0,0 +1,77 @@ +--- a/libdbusmenu-glib/menuitem.c ++++ b/libdbusmenu-glib/menuitem.c +@@ -1150,9 +1150,9 @@ dbusmenu_menuitem_property_set_variant ( + DbusmenuMenuitemPrivate * priv = DBUSMENU_MENUITEM_GET_PRIVATE(mi); + GVariant * default_value = NULL; + +- if (value != NULL) { +- const gchar * type = menuitem_get_type(mi); ++ const gchar * type = menuitem_get_type(mi); + ++ if (value != NULL) { + /* Check the expected type to see if we want to have a warning */ + GVariantType * default_type = dbusmenu_defaults_default_get_type(priv->defaults, type, property); + if (default_type != NULL) { +@@ -1163,22 +1163,23 @@ dbusmenu_menuitem_property_set_variant ( + g_warning("Setting menuitem property '%s' with value of type '%s' when expecting '%s'", property, g_variant_get_type_string(value), g_variant_type_peek_string(default_type)); + } + } ++ } + +- /* Check the defaults database to see if we have a default +- for this property. */ +- default_value = dbusmenu_defaults_default_get(priv->defaults, type, property); +- if (default_value != NULL) { +- /* Now see if we're setting this to the same value as the +- default. If we are then we just want to swallow this variant +- and make the function behave like we're clearing it. */ +- if (g_variant_equal(default_value, value)) { +- g_variant_ref_sink(value); +- g_variant_unref(value); +- value = NULL; +- } ++ /* Check the defaults database to see if we have a default ++ for this property. */ ++ default_value = dbusmenu_defaults_default_get(priv->defaults, type, property); ++ if (default_value != NULL && value != NULL) { ++ /* Now see if we're setting this to the same value as the ++ default. If we are then we just want to swallow this variant ++ and make the function behave like we're clearing it. */ ++ if (g_variant_equal(default_value, value)) { ++ g_variant_ref_sink(value); ++ g_variant_unref(value); ++ value = NULL; + } + } + ++ + gboolean replaced = FALSE; + gpointer currentval = g_hash_table_lookup(priv->properties, property); + +@@ -1371,9 +1372,7 @@ dbusmenu_menuitem_property_remove (Dbusm + g_return_if_fail(DBUSMENU_IS_MENUITEM(mi)); + g_return_if_fail(property != NULL); + +- DbusmenuMenuitemPrivate * priv = DBUSMENU_MENUITEM_GET_PRIVATE(mi); +- +- g_hash_table_remove(priv->properties, property); ++ dbusmenu_menuitem_property_set_variant(mi, property, NULL); + + return; + } +@@ -1753,13 +1752,8 @@ dbusmenu_menuitem_property_is_default (D + return FALSE; + } + +- currentval = dbusmenu_defaults_default_get(priv->defaults, menuitem_get_type(mi), property); +- if (currentval != NULL) { +- return TRUE; +- } +- +- g_warn_if_reached(); +- return FALSE; ++ /* If we haven't stored it locally, then it's the default */ ++ return TRUE; + } + + /* Check to see if this menu item has been sent into the bus yet or diff --git a/debian/patches/lp726678.patch b/debian/patches/lp726678.patch new file mode 100644 index 0000000..e784b60 --- /dev/null +++ b/debian/patches/lp726678.patch @@ -0,0 +1,17 @@ +=== modified file 'libdbusmenu-glib/server.c' +--- a/libdbusmenu-glib/server.c 2011-02-24 19:52:01 +0000 ++++ b/libdbusmenu-glib/server.c 2011-03-01 16:51:50 +0000 +@@ -1180,7 +1180,11 @@ + GVariant * items = NULL; + + if (priv->root != NULL) { +- items = dbusmenu_menuitem_build_variant(priv->root, props, recurse); ++ DbusmenuMenuitem * mi = dbusmenu_menuitem_find_id(priv->root, parent); ++ ++ if (mi != NULL) { ++ items = dbusmenu_menuitem_build_variant(mi, props, recurse); ++ } + } + + /* What happens if we don't have anything? */ + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..3467a18 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +disconnect-more-signals.patch +fix-defaults-in-client.patch +bluetooth-applet-fix.patch +lp726678.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..10140ea --- /dev/null +++ b/debian/rules @@ -0,0 +1,46 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_SRCDIR = . +DEB_BUILDDIR = $(DEB_SRCDIR)/build + +DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc --enable-introspection +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +DEB_DH_MAKESHLIBS_ARGS_libdbusmenu-gtk2 += -V 'libdbusmenu-gtk2 (>= 0.3.90)' +DEB_DH_MAKESHLIBS_ARGS_libdbusmenu-gtk3-2 += -V 'libdbusmenu-gtk3-2 (>= 0.3.90)' +DEB_DH_MAKESHLIBS_ARGS_libdbusmenu-glib2 += -V 'libdbusmenu-glib2 (>= 0.3.90)' + +configure/libdbusmenu-gtk3-2:: stamp-configure-gtk3 +stamp-configure-gtk3: + : # configure for GTK+ 3.0 + set -e; \ + rm -rf build-gtk3; \ + mkdir build-gtk3; \ + cd build-gtk3; \ + $(DEB_CONFIGURE_SCRIPT_ENV) ../configure --with-gtk=3 \ + $(filter-out --srcdir=%, $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_EXTRA_FLAGS)) \ + --enable-gtk-doc=no; \ + cd ..; + touch stamp-configure-gtk3 + +build/libdbusmenu-gtk3-2:: stamp-build-gtk3 +stamp-build-gtk3: stamp-configure-gtk3 + : # build for GTK+ 3.0 + $(MAKE) -C build-gtk3; + touch stamp-build-gtk3 + +common-install-prehook-arch:: stamp-build-gtk3 + : # install for GTK+ 3.0 + $(MAKE) -C build-gtk3 DESTDIR=$(CURDIR)/debian/tmp install + +binary-predeb/gir%:: + dh_girepository -p$(cdbs_curpkg) + +clean:: + rm -f stamp-*-gtk3 + rm -rf build-gtk3 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9f089a5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://launchpad.net/dbusmenu/+download .*/libdbusmenu-([0-9.]+)\.tar\.gz |