--- bamf-0.2.118.orig/configure +++ bamf-0.2.118/configure @@ -14642,7 +14642,7 @@ fi -CFLAGS="$CFLAGS -Wall -Werror -lm" +CFLAGS="$CFLAGS -Wall -lm" --- bamf-0.2.118.orig/configure.in +++ bamf-0.2.118/configure.in @@ -143,7 +143,7 @@ fi dnl CFLAGS -CFLAGS="$CFLAGS -Wall -Werror -lm" +CFLAGS="$CFLAGS -Wall -lm" AC_SUBST(BAMFDAEMON_CFLAGS) AC_SUBST(BAMFDAEMON_LIBS) --- bamf-0.2.118.orig/src/bamf-view.c +++ bamf-0.2.118/src/bamf-view.c @@ -683,7 +683,8 @@ if (g_dbus_interface_skeleton_get_object_path (iface)) g_dbus_interface_skeleton_unexport (iface); } - g_list_free (ifaces); + + g_list_free_full (ifaces, g_object_unref); if (priv->name) { --- bamf-0.2.118.orig/lib/libbamf/bamf-view.c +++ bamf-0.2.118/lib/libbamf/bamf-view.c @@ -67,7 +67,7 @@ URGENT_CHANGED, VISIBLE_CHANGED, NAME_CHANGED, - + LAST_SIGNAL, }; @@ -415,7 +415,10 @@ gboolean bamf_view_remote_ready (BamfView *view) { - return BAMF_IS_VIEW (view) && view->priv->proxy; + if (BAMF_IS_VIEW (view) && view->priv->proxy) + return !view->priv->is_closed; + + return FALSE; } const gchar * @@ -552,39 +555,39 @@ view->priv->checked_flags = 0x0; view->priv->proxy = NULL; + + g_free (view->priv->path); + view->priv->path = NULL; } -static void -bamf_view_on_closed (DBusGProxy *proxy, BamfView *self) +void +_bamf_view_set_closed (BamfView *view, gboolean closed) { BamfViewPrivate *priv; + g_return_if_fail (BAMF_IS_VIEW (view)); - priv = self->priv; - - priv->is_closed = TRUE; + priv = view->priv; - if (priv->cached_children) + if (priv->is_closed != closed) { - g_list_free_full (priv->cached_children, g_object_unref); - priv->cached_children = NULL; - } + priv->is_closed = closed; - if (priv->sticky) - { - bamf_view_unset_proxy (self); + if (closed && priv->cached_children) + { + g_list_free_full (priv->cached_children, g_object_unref); + priv->cached_children = NULL; + } } - +} + +static void +bamf_view_on_closed (DBusGProxy *proxy, BamfView *self) +{ + _bamf_view_set_closed (self, TRUE); + g_object_ref (self); - - // must be emitted before path is cleared as path is utilized in cleanup - g_signal_emit (G_OBJECT (self), view_signals[CLOSED], 0); - if (priv->path) - { - g_free (priv->path); - priv->path = NULL; - } - + g_signal_emit (G_OBJECT (self), view_signals[CLOSED], 0); g_object_unref (self); } @@ -608,7 +611,7 @@ switch (property_id) { case PROP_PATH: - g_value_set_string (value, self->priv->path); + g_value_set_string (value, self->priv->is_closed ? NULL : self->priv->path); break; case PROP_ACTIVE: @@ -732,7 +735,7 @@ bamf_view_get_path (BamfView *view) { g_return_val_if_fail (BAMF_IS_VIEW (view), NULL); - + return view->priv->path; } @@ -774,17 +777,21 @@ bamf_view_set_path (BamfView *view, const char *path) { BamfViewPrivate *priv; - + g_return_if_fail (BAMF_IS_VIEW (view)); - + g_return_if_fail (path); + priv = view->priv; - priv->is_closed = FALSE; - if (priv->path) + _bamf_view_set_closed (view, FALSE); + + if (priv->proxy && g_strcmp0 (priv->path, path) == 0) { - g_free (priv->path); + // The proxy path has not been changed, no need to unset and re-set it again + return; } + g_free (priv->path); bamf_view_unset_proxy (view); priv->path = g_strdup (path); @@ -824,15 +831,15 @@ "RunningChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); - + dbus_g_proxy_add_signal (priv->proxy, "UrgentChanged", - G_TYPE_BOOLEAN, + G_TYPE_BOOLEAN, G_TYPE_INVALID); - + dbus_g_proxy_add_signal (priv->proxy, "UserVisibleChanged", - G_TYPE_BOOLEAN, + G_TYPE_BOOLEAN, G_TYPE_INVALID); dbus_g_proxy_add_signal (priv->proxy, @@ -876,7 +883,7 @@ (GCallback) bamf_view_on_urgent_changed, view, NULL); - + dbus_g_proxy_connect_signal (priv->proxy, "UserVisibleChanged", (GCallback) bamf_view_on_user_visible_changed, @@ -1021,8 +1028,7 @@ GError *error = NULL; priv = self->priv = BAMF_VIEW_GET_PRIVATE (self); - - priv->is_closed = TRUE; + _bamf_view_set_closed (self, TRUE); priv->connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); if (priv->connection == NULL) --- bamf-0.2.118.orig/lib/libbamf/bamf-view-private.h +++ bamf-0.2.118/lib/libbamf/bamf-view-private.h @@ -36,4 +36,7 @@ void bamf_view_set_name (BamfView *view, const char *name); void bamf_view_set_icon (BamfView *view, const char *icon); + +void _bamf_view_set_closed (BamfView *view, gboolean closed); + #endif --- bamf-0.2.118.orig/lib/libbamf/bamf-matcher.c +++ bamf-0.2.118/lib/libbamf/bamf-matcher.c @@ -151,6 +151,8 @@ if (!BAMF_IS_VIEW (view)) return; + /* We manually set the view as not closed, to avoid issues like bug #925421 */ + _bamf_view_set_closed (view, FALSE); g_signal_emit (matcher, matcher_signals[VIEW_OPENED], 0, view); } @@ -168,6 +170,8 @@ if (!BAMF_IS_VIEW (view)) return; + /* We manually set the view as closed, to avoid issues like bug #925421 */ + _bamf_view_set_closed (view, TRUE); g_signal_emit (matcher, matcher_signals[VIEW_CLOSED], 0, view); } --- bamf-0.2.118.orig/lib/libbamf/bamf-factory.c +++ bamf-0.2.118/lib/libbamf/bamf-factory.c @@ -107,6 +107,7 @@ { g_return_if_fail (BAMF_IS_FACTORY (self)); self->priv->local_views = g_list_remove (self->priv->local_views, view); + self->priv->registered_views = g_list_remove (self->priv->registered_views, view); } static void @@ -279,7 +280,7 @@ /* If the primary search doesn't give out any result, we fallback * to children window comparison */ - if (!matched_view) + if (!list_desktop_file && !matched_view) { GList *list_children, *ll; list_children = bamf_application_get_cached_xids (list_app); --- bamf-0.2.118.orig/debian/gir1.2-bamf-0.2.install +++ bamf-0.2.118/debian/gir1.2-bamf-0.2.install @@ -0,0 +1 @@ +#debian/tmp/usr/lib/girepository-1.0/ --- bamf-0.2.118.orig/debian/copyright +++ bamf-0.2.118/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Didier Roche on +Tue, 25 May 2010 10:31:02 -0000. + +It was downloaded from + +Upstream Author: + + Jason Smith + +Copyright: + + Copyright (C) 2009-2010 Canonical Ltd. + +License: + + When not otherwise specified, the following license applies: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License Version 3.0 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in `/usr/share/common-licenses/LGPL-3' + + + * src/*,test/*: + + This program is free software: you can redistribute it and/or modify it + under the terms of the the GNU General Public License version 3, as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR + PURPOSE. See the applicable version of the GNU Lesser General Public + License for more details. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL-3' + +The Debian packaging is: + + Copyright (C) 2010 Canonical Ltd. + +and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. --- bamf-0.2.118.orig/debian/watch +++ bamf-0.2.118/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/bamf/+download .*/bamf-([0-9.]+)\.tar\.gz --- bamf-0.2.118.orig/debian/bamfdaemon.install +++ bamf-0.2.118/debian/bamfdaemon.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/bamf +debian/tmp/usr/share/dbus-1/services/ --- bamf-0.2.118.orig/debian/libbamf-doc.install +++ bamf-0.2.118/debian/libbamf-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/ --- bamf-0.2.118.orig/debian/libbamf3-0.symbols +++ bamf-0.2.118/debian/libbamf3-0.symbols @@ -0,0 +1,91 @@ +libbamf3.so.0 libbamf3-0 #MINVER# + bamf_application_get_application_type@Base 0.2.20 + bamf_application_get_desktop_file@Base 0.2.20 + bamf_application_get_show_menu_stubs@Base 0.2.48 + bamf_application_get_type@Base 0.2.20 + bamf_application_get_windows@Base 0.2.20 + bamf_application_get_xids@Base 0.2.20 + bamf_application_new@Base 0.2.20 + bamf_application_new_favorite@Base 0.2.60 + bamf_control_get_default@Base 0.2.20 + bamf_control_get_type@Base 0.2.20 + bamf_control_insert_desktop_file@Base 0.2.20 + bamf_control_register_application_for_pid@Base 0.2.20 + bamf_control_register_tab_provider@Base 0.2.20 + bamf_control_set_approver_behavior@Base 0.2.44 + bamf_factory_app_for_file@Base 0.2.60 + bamf_factory_get_default@Base 0.2.20 + bamf_factory_get_type@Base 0.2.20 + bamf_factory_view_for_path@Base 0.2.20 + bamf_indicator_get_dbus_menu_path@Base 0.2.36 + bamf_indicator_get_remote_address@Base 0.2.36 + bamf_indicator_get_remote_path@Base 0.2.36 + bamf_indicator_get_type@Base 0.2.36 + bamf_indicator_new@Base 0.2.36 + bamf_marshal_VOID__INT_INT@Base 0.2.108 + bamf_marshal_VOID__OBJECT_OBJECT@Base 0.2.24 + bamf_marshal_VOID__STRING_STRING@Base 0.2.20 + bamf_marshal_VOID__STRING_STRING_STRING@Base 0.2.20 + bamf_matcher_application_is_running@Base 0.2.20 + bamf_matcher_get_active_application@Base 0.2.20 + bamf_matcher_get_active_window@Base 0.2.20 + bamf_matcher_get_application_for_desktop_file@Base 0.2.60 + bamf_matcher_get_application_for_window@Base 0.2.48 + bamf_matcher_get_application_for_xid@Base 0.2.20 + bamf_matcher_get_applications@Base 0.2.20 + bamf_matcher_get_default@Base 0.2.20 + bamf_matcher_get_running_applications@Base 0.2.20 + bamf_matcher_get_tabs@Base 0.2.20 + bamf_matcher_get_type@Base 0.2.20 + bamf_matcher_get_window_stack_for_monitor@Base 0.2.108 + bamf_matcher_get_windows@Base 0.2.46 + bamf_matcher_get_xids_for_application@Base 0.2.20 + bamf_matcher_register_favorites@Base 0.2.46 + bamf_tab_get_id@Base 0.2.28 + bamf_tab_get_preview@Base 0.2.28 + bamf_tab_get_type@Base 0.2.28 + bamf_tab_get_uri@Base 0.2.28 + bamf_tab_new@Base 0.2.28 + bamf_tab_set_preview@Base 0.2.28 + bamf_tab_set_uri@Base 0.2.28 + bamf_tab_show@Base 0.2.28 + bamf_tab_source_get_tab_ids@Base 0.2.20 + bamf_tab_source_get_tab_preview@Base 0.2.20 + bamf_tab_source_get_tab_uri@Base 0.2.20 + bamf_tab_source_get_tab_xid@Base 0.2.20 + bamf_tab_source_get_type@Base 0.2.20 + bamf_tab_source_show_tab@Base 0.2.20 + bamf_view_get_children@Base 0.2.20 + bamf_view_get_click_suggestion@Base 0.2.60 + bamf_view_get_icon@Base 0.2.20 + bamf_view_get_name@Base 0.2.20 + bamf_view_get_path@Base 0.2.60 + bamf_view_get_type@Base 0.2.20 + bamf_view_get_view_type@Base 0.2.20 + bamf_view_is_active@Base 0.2.20 + bamf_view_is_closed@Base 0.2.54 + bamf_view_is_running@Base 0.2.20 + bamf_view_is_sticky@Base 0.2.60 + bamf_view_is_urgent@Base 0.2.20 + bamf_view_remote_ready@Base 0.2.60 + bamf_view_set_icon@Base 0.2.60 + bamf_view_set_name@Base 0.2.60 + bamf_view_set_path@Base 0.2.60 + bamf_view_set_sticky@Base 0.2.60 + bamf_view_user_visible@Base 0.2.20 + bamf_window_get_monitor@Base 0.2.108 + bamf_window_get_pid@Base 0.2.112 + bamf_window_get_transient@Base 0.2.28 + bamf_window_get_type@Base 0.2.20 + bamf_window_get_utf8_prop@Base 0.2.110 + bamf_window_get_window_type@Base 0.2.46 + bamf_window_get_xid@Base 0.2.20 + bamf_window_last_active@Base 0.2.30 + bamf_window_maximized@Base 0.2.108 + bamf_window_new@Base 0.2.20 + dbus_glib_bamf_tab_source_object_info@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOOLEAN__STRING_POINTER@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOXED__STRING@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOXED__VOID@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_STRING__STRING@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_UINT__STRING@Base 0.2.20 --- bamf-0.2.118.orig/debian/bamfdaemon.postrm +++ bamf-0.2.118/debian/bamfdaemon.postrm @@ -0,0 +1,8 @@ +#! /bin/sh +set -e + +if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then + rm -f /usr/share/applications/bamf.index +fi + +#DEBHELPER# --- bamf-0.2.118.orig/debian/control +++ bamf-0.2.118/debian/control @@ -0,0 +1,137 @@ +Source: bamf +Section: libs +Priority: optional +Maintainer: Ubuntu Core Developers +Build-Depends: debhelper (>= 8.1.2ubuntu2), + cdbs (>= 0.4.90ubuntu9), + libglib2.0-dev (>= 2.28.0~), + libwnck-dev, + libwnck-3-dev, + libgtop2-dev, + libgtk2.0-dev (>= 2.12.0), + libgtk-3-dev (>= 3.0.0), + libdbus-glib-1-dev, + gtk-doc-tools, + gobject-introspection (>= 0.6.5-3), + libgirepository1.0-dev, + gir1.2-atk-1.0, + gir1.2-glib-2.0, + gir1.2-gtk-2.0 (>= 2.19.5), + gir1.2-gtk-3.0 (>= 3.0.0), + gir1.2-pango-1.0, + gir1.2-wnck-1.0, + xvfb, + dbus-x11, +Standards-Version: 3.9.2 +Homepage: https://launchpad.net/bamf +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/bamf/precise + +Package: bamfdaemon +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Multi-Arch: foreign +Description: Window matching library - daemon + bamf matches application windows to desktop files + . + This package contains the daemon used by the library and a gio + module that facilitates the matching of applications started + through GDesktopAppInfo + +Package: libbamf0 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + bamfdaemon (= ${binary:Version}), +Breaks: unity (<< 3.2.12) +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: Window matching library - shared library + bamf matches application windows to desktop files + . + This package contains shared libraries to be used by applications. + +Package: libbamf3-0 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + bamfdaemon (= ${binary:Version}), +Breaks: unity (<< 3.2.12) +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: Window matching library - shared library + bamf matches application windows to desktop files + . + This package contains shared libraries to be used by applications. + +Package: libbamf-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libbamf0 (= ${binary:Version}), + libwnck-dev, + libglib2.0-dev (>= 2.23.0-1ubuntu3~), +Suggests: libbamf-doc +Description: Window matching library - development files + bamf matches application windows to desktop files + . + This package contains files that are needed to build applications. + +Package: libbamf3-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libbamf3-0 (= ${binary:Version}), + libwnck-3-dev, + libglib2.0-dev (>= 2.23.0-1ubuntu3~), +Suggests: libbamf-doc +Description: Window matching library - development files + bamf matches application windows to desktop files + . + This package contains files that are needed to build applications. + +Package: libbamf-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: devhelp +Description: Window matching library - documentation + bamf matches application windows to desktop files + . + This package contains the daemon used by the library and a gio + module that facilitates the matching of applications started + through GDesktopAppInfo + . + This package contains the documentation + +Package: bamf-dbg +Section: debug +Architecture: any +Priority: extra +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libbamf0 (= ${binary:Version}), + libbamf3-0 (= ${binary:Version}), +Description: Window matching library - debugging symbols + bamf matches application windows to desktop files + . + This package contains the daemon used by the library and a gio + module that facilitates the matching of applications started + through GDesktopAppInfo + . + This package contains debugging symbols for the daemon and library. + +#Package: gir1.2-bamf-0.2 +#Section: libs +#Architecture: any +#Depends: ${gir:Depends}, +# ${shlibs:Depends}, +# ${misc:Depends} +#Description: GObject introspection data for the Bamf 0 library +# This package contains introspection data for the Bamf library. +# . +# It can be used by packages using the GIRepository format to generate +# dynamic bindings. + --- bamf-0.2.118.orig/debian/bamfdaemon.postinst +++ bamf-0.2.118/debian/bamfdaemon.postinst @@ -0,0 +1,15 @@ +#! /bin/sh +set -e + +if [ "$1" = "configure" ] || [ "$1" = "triggered" ]; then + if [ -d /usr/share/applications ]; then + # rebuild index + I=/usr/share/applications/bamf.index + echo "Rebuilding $I..." + rm -f $I + perl -ne 'if (/^Exec=(.+)$/) { $f = (split "/", $ARGV)[-1]; print "$f\t$1\n"; }' /usr/share/applications/*.desktop > $I.new || rm -f $I.new + [ -e $I.new ] && mv $I.new $I || true + fi +fi + +#DEBHELPER# --- bamf-0.2.118.orig/debian/libbamf0.symbols +++ bamf-0.2.118/debian/libbamf0.symbols @@ -0,0 +1,91 @@ +libbamf.so.0 libbamf0 #MINVER# + bamf_application_get_application_type@Base 0.2.20 + bamf_application_get_desktop_file@Base 0.2.20 + bamf_application_get_show_menu_stubs@Base 0.2.48 + bamf_application_get_type@Base 0.2.20 + bamf_application_get_windows@Base 0.2.20 + bamf_application_get_xids@Base 0.2.20 + bamf_application_new@Base 0.2.20 + bamf_application_new_favorite@Base 0.2.60 + bamf_control_get_default@Base 0.2.20 + bamf_control_get_type@Base 0.2.20 + bamf_control_insert_desktop_file@Base 0.2.20 + bamf_control_register_application_for_pid@Base 0.2.20 + bamf_control_register_tab_provider@Base 0.2.20 + bamf_control_set_approver_behavior@Base 0.2.44 + bamf_factory_app_for_file@Base 0.2.60 + bamf_factory_get_default@Base 0.2.20 + bamf_factory_get_type@Base 0.2.20 + bamf_factory_view_for_path@Base 0.2.20 + bamf_indicator_get_dbus_menu_path@Base 0.2.36 + bamf_indicator_get_remote_address@Base 0.2.36 + bamf_indicator_get_remote_path@Base 0.2.36 + bamf_indicator_get_type@Base 0.2.36 + bamf_indicator_new@Base 0.2.36 + bamf_marshal_VOID__INT_INT@Base 0.2.108 + bamf_marshal_VOID__OBJECT_OBJECT@Base 0.2.24 + bamf_marshal_VOID__STRING_STRING@Base 0.2.20 + bamf_marshal_VOID__STRING_STRING_STRING@Base 0.2.20 + bamf_matcher_application_is_running@Base 0.2.20 + bamf_matcher_get_active_application@Base 0.2.20 + bamf_matcher_get_active_window@Base 0.2.20 + bamf_matcher_get_application_for_desktop_file@Base 0.2.60 + bamf_matcher_get_application_for_window@Base 0.2.48 + bamf_matcher_get_application_for_xid@Base 0.2.20 + bamf_matcher_get_applications@Base 0.2.20 + bamf_matcher_get_default@Base 0.2.20 + bamf_matcher_get_running_applications@Base 0.2.20 + bamf_matcher_get_tabs@Base 0.2.20 + bamf_matcher_get_type@Base 0.2.20 + bamf_matcher_get_window_stack_for_monitor@Base 0.2.108 + bamf_matcher_get_windows@Base 0.2.46 + bamf_matcher_get_xids_for_application@Base 0.2.20 + bamf_matcher_register_favorites@Base 0.2.46 + bamf_tab_get_id@Base 0.2.28 + bamf_tab_get_preview@Base 0.2.28 + bamf_tab_get_type@Base 0.2.28 + bamf_tab_get_uri@Base 0.2.28 + bamf_tab_new@Base 0.2.28 + bamf_tab_set_preview@Base 0.2.28 + bamf_tab_set_uri@Base 0.2.28 + bamf_tab_show@Base 0.2.28 + bamf_tab_source_get_tab_ids@Base 0.2.20 + bamf_tab_source_get_tab_preview@Base 0.2.20 + bamf_tab_source_get_tab_uri@Base 0.2.20 + bamf_tab_source_get_tab_xid@Base 0.2.20 + bamf_tab_source_get_type@Base 0.2.20 + bamf_tab_source_show_tab@Base 0.2.20 + bamf_view_get_children@Base 0.2.20 + bamf_view_get_click_suggestion@Base 0.2.60 + bamf_view_get_icon@Base 0.2.20 + bamf_view_get_name@Base 0.2.20 + bamf_view_get_path@Base 0.2.60 + bamf_view_get_type@Base 0.2.20 + bamf_view_get_view_type@Base 0.2.20 + bamf_view_is_active@Base 0.2.20 + bamf_view_is_closed@Base 0.2.54 + bamf_view_is_running@Base 0.2.20 + bamf_view_is_sticky@Base 0.2.60 + bamf_view_is_urgent@Base 0.2.20 + bamf_view_remote_ready@Base 0.2.60 + bamf_view_set_icon@Base 0.2.60 + bamf_view_set_name@Base 0.2.60 + bamf_view_set_path@Base 0.2.60 + bamf_view_set_sticky@Base 0.2.60 + bamf_view_user_visible@Base 0.2.20 + bamf_window_get_monitor@Base 0.2.108 + bamf_window_get_pid@Base 0.2.112 + bamf_window_get_transient@Base 0.2.28 + bamf_window_get_type@Base 0.2.20 + bamf_window_get_utf8_prop@Base 0.2.110 + bamf_window_get_window_type@Base 0.2.46 + bamf_window_get_xid@Base 0.2.20 + bamf_window_last_active@Base 0.2.30 + bamf_window_maximized@Base 0.2.108 + bamf_window_new@Base 0.2.20 + dbus_glib_bamf_tab_source_object_info@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOOLEAN__STRING_POINTER@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOXED__STRING@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_BOXED__VOID@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_STRING__STRING@Base 0.2.20 + dbus_glib_marshal_bamf_tab_source_UINT__STRING@Base 0.2.20 --- bamf-0.2.118.orig/debian/bamfdaemon.triggers +++ bamf-0.2.118/debian/bamfdaemon.triggers @@ -0,0 +1,2 @@ +interest /usr/share/applications +interest gmenucache --- bamf-0.2.118.orig/debian/changelog +++ bamf-0.2.118/debian/changelog @@ -0,0 +1,526 @@ +bamf (0.2.118-0ubuntu0.3) precise-proposed; urgency=low + + * lib/libbamf/bamf-factory.c: + - LibreOffice Unity integration (launcher and switcher) is broken. + (LP: #1026426) + + -- Omer Akram Fri, 12 Oct 2012 17:20:49 +0500 + +bamf (0.2.118-0ubuntu0.2) precise-proposed; urgency=low + + * Cherry-pick from upstream: + - Started applications pinned to the launcher are not set as running + (LP: #976642) + - sometimes icons get dropped from the launcher when they should not + (LP: #925421) + + -- Ɓukasz 'sil2100' Zemczak Wed, 20 Jun 2012 19:09:43 +0100 + +bamf (0.2.118-0ubuntu0.1) precise-proposed; urgency=low + + [ Didier Roche ] + * New upstream release. (0.2.116) + - multiple instances or double icons of application detected on bamfdaemon + respawn (LP: #928912) + - unity confused with chrome/chromium web apps (LP: #692462) + - BamfView's dispose() method doesn't invoke the superclass' dispose() + (LP: #986888) + * debian/control: + - remove Multi-Arch: same for the -dbg package + (Closes: #669980, #658057) + + [ Alan Pope ] + * New upstream release. + - Unity crashed in bamf_application_on_window_removed (LP: #1000577) + - Locked smuxi launcher icon does not indicate smuxi running status + (LP: #999820) + - No launcher icon or Alt+Tab entry for Gimp windows (LP: #995916) + - the RunningApplicationsChanged signal is no longer emitted when an + application is closed since r460 (LP: #989551) + + -- Alan Pope Wed, 23 May 2012 09:10:08 +0100 + +bamf (0.2.114-0ubuntu1) precise-proposed; urgency=low + + * New upstream release. + - invalid valgrind read errors (LP: #929468) + + -- Didier Roche Fri, 23 Mar 2012 14:16:41 +0100 + +bamf (0.2.112-0ubuntu1) precise; urgency=low + + * New upstream release. + - bamf matcher messes up refcounting on views (LP: #942070) + - Chromium is running, but not showing in launcher or alt-tab. + (LP: #918474) + - libbamf leaks memory on view dispose (LP: #942148) + - Coverity PW.PARAMETER_HIDDEN - CID 10449 (LP: #937398) + - Coverity UNINIT - CID 10451 (LP: #937402) + * debian/libbamf0.symbols, debian/libbamf3-0.symbols: + - update symbols for new API + + -- Didier Roche Mon, 12 Mar 2012 11:47:33 +0100 + +bamf (0.2.110-0ubuntu1) precise; urgency=low + + * New upstream release. + - BAMF does not pass make check (LP: #897148) + - BAMF requires a headless testing target (LP: #897150) + - Clicking Nautilus launcher icon fails to open a Nautilus file explorer + window when copying a file and all other Nautilus windows are closed / + bamf should skip the taskbar (LP: #784804) + * debian/libbamf0.symbols, + debian/libbamf3-0.symbols: + - updated symbols + + -- Didier Roche Fri, 17 Feb 2012 13:36:25 +0100 + +bamf (0.2.108-0ubuntu2) precise; urgency=low + + * remove -Werror for now as there is just new glib deprecation making it + FTBFS. + * debian/source/ + - remove, doesn't play well with merge-upstream workflow + + -- Didier Roche Fri, 03 Feb 2012 14:04:28 +0100 + +bamf (0.2.108-0ubuntu1) precise; urgency=low + + * New upstream release. + - BAMF does not pass make check (LP: #897148) + - BAMF requires a headless testing target (LP: #897150) + - Clicking Nautilus launcher icon fails to open a Nautilus file explorer + window when copying a file and all other Nautilus windows are closed / + bamf should skip the taskbar (LP: #784804) + * debian/libbamf0.symbols, debian/libbamf3-0.symbols: + - updated symbols + + -- Didier Roche Fri, 03 Feb 2012 11:36:48 +0100 + +bamf (0.2.106-0ubuntu1) precise; urgency=low + + * New upstream release. + - Unity acts not as a dock for LibreOffice but as a launcher (LP: #741995) + - Libreoffice Calc icon does not appear when opened via Writer + (LP: #861355) + - Bamf Ignores some local .desktop files with OnlyShowIn flag + (LP: #863290) + - Libreoffice and unity integration broken. (LP: #842566) + * debian/control, debian/rules: + - enable headless tests build + * debian/control: + - bump libglib2.0-dev to 2.28 + + -- Didier Roche Thu, 12 Jan 2012 17:01:43 +0100 + +bamf (0.2.104-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Hopefully really fix unity confused with chrome (not chromium) web apps + (LP: #692462) + - Fix to build with gtk2 version + + -- Didier Roche Mon, 26 Sep 2011 13:51:22 +0200 + +bamf (0.2.100-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Fix unity confused with chrome web apps (LP: #692462) + + -- Didier Roche Thu, 22 Sep 2011 15:15:28 +0200 + +bamf (0.2.98-0ubuntu2) oneiric; urgency=low + + * Cherry-pick a crasher fix: + - bamfdaemon crashed with SIGSEGV in sn_xcb_display_new() + + -- Didier Roche Thu, 15 Sep 2011 15:54:20 +0200 + +bamf (0.2.98-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Bamf doesn't recognize just installed applications (LP: #676593) + * debian/control: + - update Standards-Version + + -- Didier Roche Thu, 08 Sep 2011 20:09:28 +0200 + +bamf (0.2.96-0ubuntu1) oneiric; urgency=low + + * New upstream release. + + -- Sebastien Bacher Thu, 25 Aug 2011 17:44:16 +0200 + +bamf (0.2.94-0ubuntu1) oneiric; urgency=low + + * New upstream release: + - no more dependency on the gio ubuntu patch, use the upstream system now + (LP: #687683) + * debian/rules: + - the new tests depends on a X server, desactivate them when building on + buildd + * debian/bamfdaemon.install: + - do not install the gio module as it's not built anymore + + -- Didier Roche Thu, 04 Aug 2011 14:56:07 +0200 + +bamf (0.2.92-0ubuntu1) oneiric; urgency=low + + * New upstream release. + * debian/control, debian/rules: + - Add libbamf3-0 and libbamf3-dev packages for GTK+ 3 + + -- Michael Terry Fri, 17 Jun 2011 12:19:14 -0400 + +bamf (0.2.90-0ubuntu3) natty-proposed; urgency=low + + * Cherry-pick from upstream: + - System Testing and Printers don't display proper menus when launched by + command line (LP: #717134) + - Unity Min,Max,Close buttons not available in Libreoffice when opened by + double-clicking a file (LP: #728927) + + -- Didier Roche Wed, 27 Apr 2011 17:07:18 +0200 + +bamf (0.2.90-0ubuntu2) natty; urgency=low + + * Cherry-pick from upstream: + - Thunderbird won't stay in launcher and no quicklist (LP: #765736) + + -- Didier Roche Wed, 20 Apr 2011 18:07:49 +0200 + +bamf (0.2.90-0ubuntu1) natty; urgency=low + + * New upstream release. + - compiz assert failure: *** glibc detected *** compiz: double free or + corruption (out): 0x0a1c5a38 *** (LP: #761372) + - "Authenticate" window shows in launcher as "Polkit-gnome-authentication- + agent-1" (LP: #740844) + + -- Didier Roche Tue, 19 Apr 2011 19:09:34 +0200 + +bamf (0.2.86-0ubuntu3) natty; urgency=low + + * Cherry-pick a crash fix in unity with double free corruption (LP: #761372) + + -- Didier Roche Fri, 15 Apr 2011 12:49:24 +0200 + +bamf (0.2.86-0ubuntu2) natty; urgency=low + + * Trunk commit r358, really fixes the crash bug listed before (lp: #754225) + + -- Sebastien Bacher Tue, 12 Apr 2011 22:19:24 +0200 + +bamf (0.2.86-0ubuntu1) natty; urgency=low + + * New upstream release. + - bamfdaemon crashed with SIGABRT in dbus_g_connection_register_g_object() + (LP: #752137) + - bamfdaemon crashed with SIGABRT in dbus_g_connection_register_g_object() + (LP: #754225) + + -- Didier Roche Mon, 11 Apr 2011 12:41:48 +0200 + +bamf (0.2.84-0ubuntu2) natty; urgency=low + + * Move the giomodule DSO back to /usr/lib/gio/modules, because something + we haven't identified yet refuses to see it when it's installed to the + multiarch path. LP: #751025 + + -- Steve Langasek Thu, 07 Apr 2011 23:54:53 +0000 + +bamf (0.2.84-0ubuntu1) natty; urgency=low + + * New upstream release. + - unity-panel-service crashed with SIGSEGV in bamf_factory_view_for_path() + (LP: #717684) + - bamfdaemon crashed with SIGABRT in dbus_g_connection_register_g_object() + (LP: #739218) + - compiz crashed with SIGSEGV in g_utf8_validate() (LP: #736792) + + -- Didier Roche Thu, 07 Apr 2011 17:17:54 +0200 + +bamf (0.2.82-0ubuntu1) natty; urgency=low + + * New upstream release. + - bamfdaemon crashed with SIGSEGV in XInternAtom() (LP: #743407) + - catch more cases for 'Keep in Launcher' by recognizing StatupWMClass + from .desktop file (LP: #693231) + + -- Didier Roche Fri, 01 Apr 2011 11:17:17 +0200 + +bamf (0.2.80-0ubuntu2) natty; urgency=low + + * Fix a FTBFS with current libglib2.0 due to the giomodules path changing + for multiarch. + * As long as we're in here, multiarch the whole package; bamf has no + reverse-depends, so there's no risk of causing other build failures, and + moving the giomodules takes us halfway there anyway. + + -- Steve Langasek Tue, 29 Mar 2011 19:50:12 +0000 + +bamf (0.2.80-0ubuntu1) natty; urgency=low + + * New upstream release. + - 'Keep in launcher' item missing for some applications (LP: #657771) + - can't pin KTouch to the launcher (LP: #693755) + + -- Didier Roche Thu, 17 Mar 2011 17:51:00 +0100 + +bamf (0.2.78-0ubuntu1) natty; urgency=low + + * New upstream release: + - adapt bamf to LibreOffice (LP: #705461) + + -- Didier Roche Thu, 10 Feb 2011 17:59:34 +0100 + +bamf (0.2.76-0ubuntu1) natty; urgency=low + + * New upstream release. + - add a new signal to detect tab changes (LP: #691651) + + -- Didier Roche Thu, 27 Jan 2011 13:50:42 +0100 + +bamf (0.2.74-0ubuntu1) natty; urgency=low + + * New upstream release. + - Set the default application icon when the application desktop file has no icon= + key. It was appearing fully black. (LP: #703521) + * debian/control: + - remove vala build-dep, not needed anymore + + -- Didier Roche Thu, 20 Jan 2011 17:45:45 +0100 + +bamf (0.2.72-0ubuntu1) natty; urgency=low + + * New upstream release. + + -- Didier Roche Fri, 14 Jan 2011 19:02:24 +0100 + +bamf (0.2.70-0ubuntu1) natty; urgency=low + + * New upstream release. + * debian/control: + bamf dbus protocol changed. Breaks: on old unity + + -- Didier Roche Fri, 14 Jan 2011 17:30:12 +0100 + +bamf (0.2.68-0ubuntu1) natty; urgency=low + + [ Didier Roche ] + * debian/control: + - add Vcs-Bzr tag + + [ Sebastien Bacher ] + * New upstream release. + + -- Sebastien Bacher Fri, 17 Dec 2010 13:36:08 +0100 + +bamf (0.2.66-0ubuntu1) natty; urgency=low + + * New upstream release. + - Fix the Ubuntu Starter Edition bug (LP: #683623) + - check that desktop file is currently supported before creating the + favorite (LP: #682345) + - unity-panel-service crashed with SIGSEGV in free() (LP: #677580) + + -- Didier Roche Thu, 09 Dec 2010 19:37:54 +0100 + +bamf (0.2.64-0ubuntu1) natty; urgency=low + + * New upstream release. + + -- Didier Roche Tue, 30 Nov 2010 16:52:19 +0100 + +bamf (0.2.62-0ubuntu1) natty; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 18 Nov 2010 18:28:10 +0100 + +bamf (0.2.60-0ubuntu1) natty; urgency=low + + * new upstream release + * debian/libbamf0.symbols: + - add the new symbols + + -- Didier Roche Thu, 11 Nov 2010 18:37:42 +0100 + +bamf (0.2.58-0ubuntu2) maverick; urgency=low + + * Fix tons of accuracy matching issues using the gio module + (LP: #645849, #630066) + + -- Didier Roche Thu, 30 Sep 2010 17:14:27 +0200 + +bamf (0.2.58-0ubuntu1) maverick; urgency=low + + * New upstream release: + - Fix Nautilus' "File Operation" dialog gets stuck and prevents opening new + Nautilus windows (LP: #647979) + - Fix bamfdaemon crashed with SIGSEGV in g_str_hash() (LP: #638705) + + -- Didier Roche Mon, 27 Sep 2010 22:28:40 +0200 + +bamf (0.2.54-0ubuntu1) maverick; urgency=low + + * New upstream release. + * cherry pick some patches from upstream too for more fixes in special + launchers (LP: #622146) + * debian/libbamf0.symbols: + - update to latest version + + -- Didier Roche Wed, 22 Sep 2010 19:21:45 +0200 + +bamf (0.2.52-0ubuntu1) maverick; urgency=low + + * New upstream release: + - Take previous distro inline patch with next release (LP: #641229) + + -- Didier Roche Fri, 17 Sep 2010 13:52:17 +0200 + +bamf (0.2.50-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Caching fixes + - Ensure we ship proper strings to open office windows + + -- Ken VanDine Wed, 15 Sep 2010 17:23:41 -0400 + +bamf (0.2.48-0ubuntu1) maverick; urgency=low + + * New upstream release: + - Dropbox 0.8.90 build shows in the launcher (LP: #610226) + * update debian/libbamf0.symbols + + -- Didier Roche Tue, 14 Sep 2010 19:13:51 +0200 + +bamf (0.2.46-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Handle non system launchers (LP: #622146) + * Add new symbols to debian/libbamf0.symbols + + -- Didier Roche Thu, 09 Sep 2010 19:15:45 +0200 + +bamf (0.2.44-0ubuntu1) maverick; urgency=low + + * New upstream release: + - Fix potential NULL deref when XDG_DATA_DIRS is not set + (lp: #602519) + * debian/control: + - updated for the new vala versioning + * debian/libbamf0.symbols: + - new version update + + -- Sebastien Bacher Thu, 19 Aug 2010 19:16:15 +0200 + +bamf (0.2.42-0ubuntu2) maverick; urgency=low + + * Update by Mikkel Kamstrup Erlandsen to match gio changes (lp: #616737) + + -- Sebastien Bacher Wed, 18 Aug 2010 22:31:44 +0200 + +bamf (0.2.42-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/rules: + - enjoying and running testsuite during build (LP: #586340) + * debian/control: + - bumping Standards-Version to latest + - remove gir-repository-dev from build-dep + + -- Didier Roche Fri, 13 Aug 2010 12:44:39 +0200 + +bamf (0.2.40-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Mon, 02 Aug 2010 15:54:41 +0200 + +bamf (0.2.38-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 22 Jul 2010 19:07:31 +0200 + +bamf (0.2.36-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/libbamf0.symbols: + - update to latest + + -- Didier Roche Fri, 16 Jul 2010 14:44:16 +0200 + +bamf (0.2.34-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Hangs when nautilus device detected dialog are displayed (LP: #601017) + - Netbeans does not show in Unity when open (LP: #598083) + - The launcher doesn't list some running softwares (LP: #601082) + + -- Didier Roche Mon, 12 Jul 2010 15:49:36 +0200 + +bamf (0.2.32-0ubuntu1) maverick; urgency=low + + * New upstream release. + - fix bad matchin on OOo (LP: #595583) + - fix crash in bamf_matcher_possible_applications_for_window (LP: #597986) + - fix exaile icon not showing in launcher (LP: #593470) + + -- Didier Roche Thu, 24 Jun 2010 16:21:22 +0200 + +bamf (0.2.30-0ubuntu1) maverick; urgency=low + + * New upstream release: + - fix KDE applications not showing up in the Unity Launcher + (LP: #592502) + * debian/libbamf0.symbols: + - adding new symbols + + -- Didier Roche Thu, 17 Jun 2010 18:07:38 +0200 + +bamf (0.2.28-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 10 Jun 2010 17:16:17 +0200 + +bamf (0.2.26-0ubuntu2) maverick; urgency=low + + * debian/libbamf-dev.install: + - don't try to install a vapi file right now + + -- Didier Roche Mon, 07 Jun 2010 17:36:38 +0200 + +bamf (0.2.26-0ubuntu1) maverick; urgency=low + + * debian/control, debian/libbamf-doc.install: + - add libbamf-doc package + * debian/libbamf0.symbols: + - updated + * debian/control, debian/rules: + - build the doc by default + * debian/libbamf-dev.install: + - install vapi files + * debian/rules: + - fix rm *{,l}a files + * debian/watch: + - use https + * New upstream release. + + -- Didier Roche Mon, 07 Jun 2010 10:45:49 +0200 + +bamf (0.2.24-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 27 May 2010 18:35:29 +0200 + +bamf (0.2.22-0ubuntu1) maverick; urgency=low + + * Initial Packaging (LP: #583880) + * temporary disabling gir building due to bug: + https://bugzilla.gnome.org/show_bug.cgi?id=619703 + + -- Didier Roche Tue, 25 May 2010 10:32:24 +0200 --- bamf-0.2.118.orig/debian/libbamf3-0.install +++ bamf-0.2.118/debian/libbamf3-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libbamf3.so.* --- bamf-0.2.118.orig/debian/compat +++ bamf-0.2.118/debian/compat @@ -0,0 +1 @@ +5 --- bamf-0.2.118.orig/debian/rules +++ bamf-0.2.118/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +DEB_MAKE_FLAVORS = gtk2 gtk3 +DEB_BUILDDIR = build + +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/utils.mk + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +DEB_CONFIGURE_EXTRA_FLAGS_gtk2 = --with-gtk=2 +DEB_CONFIGURE_EXTRA_FLAGS_gtk3 = --with-gtk=3 +DEB_CONFIGURE_EXTRA_FLAGS += --enable-introspection=no --enable-gtk-doc \ + --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --enable-headless-tests \ + $(DEB_CONFIGURE_EXTRA_FLAGS_$(cdbs_make_curflavor)) + +# install flavors on top of each other (gtk3 wins because it is last) +DEB_MAKE_DESTDIRSKEL = $(cdbs_curdestdir) + +DEB_DBG_PACKAGE_bamfdaemon = bamf-dbg +DEB_DBG_PACKAGE_libbamf0 = bamf-dbg +DEB_DBG_PACKAGE_libbamf3-0 = bamf-dbg + +common-binary-post-install-arch:: + find debian/tmp/usr/lib -name \*.la -exec rm {} \; + find debian/tmp/usr/lib -name \*.a -exec rm {} \; + +common-binary-fixup-arch:: + dh_girepository -pgir1.2-bamf-0.2 + +common-binary-predeb-arch:: list-missing --- bamf-0.2.118.orig/debian/libbamf0.install +++ bamf-0.2.118/debian/libbamf0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libbamf.so.* --- bamf-0.2.118.orig/debian/libbamf-dev.install +++ bamf-0.2.118/debian/libbamf-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/libbamf/libbamf/ +debian/tmp/usr/lib/*/pkgconfig/libbamf.pc +debian/tmp/usr/lib/*/libbamf.so +#debian/tmp/usr/share/vala/vapi/ +#debian/tmp/usr/share/gir-1.0/ --- bamf-0.2.118.orig/debian/libbamf3-dev.install +++ bamf-0.2.118/debian/libbamf3-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/libbamf3/libbamf/ +debian/tmp/usr/lib/*/pkgconfig/libbamf3.pc +debian/tmp/usr/lib/*/libbamf3.so +#debian/tmp/usr/share/vala/vapi/ +#debian/tmp/usr/share/gir-1.0/