--- bamf-0.3.6.orig/src/bamf-legacy-window-test.c +++ bamf-0.3.6/src/bamf-legacy-window-test.c @@ -194,6 +194,16 @@ } char * +bamf_legacy_window_test_get_process_name (BamfLegacyWindow *legacy_window) +{ + BamfLegacyWindowTest *self; + + self = BAMF_LEGACY_WINDOW_TEST (legacy_window); + + return g_strdup (self->process_name); +} + +char * bamf_legacy_window_test_get_app_id (BamfLegacyWindow *legacy_window) { BamfLegacyWindowTest *self; @@ -371,6 +381,7 @@ g_free (self->wm_class_name); g_free (self->wm_class_instance); g_free (self->exec); + g_free (self->process_name); g_free (self->application_id); g_free (self->unique_bus_name); g_free (self->dbus_menu_object_path); @@ -390,6 +401,7 @@ win_class->get_class_name = bamf_legacy_window_test_get_class_name; win_class->get_class_instance_name = bamf_legacy_window_test_get_class_instance_name; win_class->get_exec_string = bamf_legacy_window_test_get_exec_string; + win_class->get_process_name = bamf_legacy_window_test_get_process_name; win_class->get_xid = bamf_legacy_window_test_get_xid; win_class->get_pid = bamf_legacy_window_test_get_pid; win_class->needs_attention = bamf_legacy_window_test_needs_attention; @@ -431,6 +443,7 @@ copy->wm_class_name = g_strdup (self->wm_class_name); copy->wm_class_instance = g_strdup (self->wm_class_instance); copy->exec = g_strdup (self->exec); + copy->process_name = g_strdup (self->process_name); copy->application_id = g_strdup (self->application_id); copy->unique_bus_name = g_strdup (self->unique_bus_name); copy->dbus_menu_object_path = g_strdup (self->dbus_menu_object_path); @@ -459,5 +472,13 @@ self->wm_class_name = g_strdup (wmclass_name); self->exec = g_strdup (exec); + if (self->exec) + { + gchar **splitted_exec = g_strsplit (exec, " ", 2); + gchar *tmp = g_utf8_strrchr (splitted_exec[0], -1, G_DIR_SEPARATOR); + self->process_name = g_strdup (tmp ? tmp + 1 : splitted_exec[0]); + g_strfreev (splitted_exec); + } + return self; } --- bamf-0.3.6.orig/src/bamf-matcher.c +++ bamf-0.3.6/src/bamf-matcher.c @@ -58,7 +58,8 @@ "^gksu(do)?$", "^sudo$", "^su-to-root$", "^amdxdg-su$", "^java(ws)?$", "^mono$", "^ruby$", "^padsp$", "^aoss$", "^python(\\d.\\d)?$", "^(ba)?sh$", "^perl$", "^env$", "^xdg-open$", - /* javaws strings: */ "^net\\.sourceforge\\.jnlp\\.runtime\\.Boot$", "^rt.jar$" + /* javaws strings: */ "^net\\.sourceforge\\.jnlp\\.runtime\\.Boot$", "^rt\\.jar$", + "^com\\.sun\\.javaws\\.Main$", "^deploy\\.jar$" }; // Prefixes that must be considered starting point of exec strings @@ -511,6 +512,30 @@ return (l ? (char *) l->data : NULL); } +gboolean +bamf_matcher_is_valid_process_prefix (BamfMatcher *self, const char *process_name) +{ + GRegex *regex; + gint i; + + g_return_val_if_fail (BAMF_IS_MATCHER (self), TRUE); + + if (!process_name || *process_name == '\0') + return FALSE; + + for (i = 0; i < self->priv->bad_prefixes->len; ++i) + { + regex = g_array_index (self->priv->bad_prefixes, GRegex *, i); + + if (g_regex_match (regex, process_name, 0, NULL)) + { + return FALSE; + } + } + + return TRUE; +} + /* Attempts to return the binary name for a particular execution string */ char * bamf_matcher_get_trimmed_exec (BamfMatcher * self, const char * exec_string) @@ -566,16 +591,7 @@ if (good_prefix) continue; - bad_prefix = FALSE; - for (j = 0; j < self->priv->bad_prefixes->len; j++) - { - regex = g_array_index (self->priv->bad_prefixes, GRegex *, j); - if (g_regex_match (regex, part, 0, NULL)) - { - bad_prefix = TRUE; - break; - } - } + bad_prefix = !bamf_matcher_is_valid_process_prefix (self, part); if (!bad_prefix) { @@ -1504,9 +1520,10 @@ result = g_list_reverse (result); return result; } - + proc_name = process_name (pid); - if (proc_name) + + if (bamf_matcher_is_valid_process_prefix (self, proc_name)) { table_list = g_hash_table_lookup (priv->desktop_file_table, proc_name); @@ -1514,15 +1531,15 @@ { result = g_list_prepend (result, g_strdup (l->data)); } - g_free (proc_name); } - + g_free (proc_name); + result = g_list_reverse (result); return result; } static gboolean -is_web_app_window (BamfMatcher *self, BamfLegacyWindow *window) +is_web_app_window (BamfLegacyWindow *window) { const char *window_class = bamf_legacy_window_get_class_name (window); const char *instance_name = bamf_legacy_window_get_class_instance_name (window); @@ -1557,12 +1574,26 @@ } static gboolean +is_javaws_window (BamfLegacyWindow *window) +{ + const char *window_class = bamf_legacy_window_get_class_name (window); + + if (g_strcmp0 (window_class, "net-sourceforge-jnlp-runtime-Boot") == 0 || + g_strcmp0 (window_class, "com-sun-javaws-Main") == 0) + { + return TRUE; + } + + return FALSE; +} + +static gboolean bamf_matcher_window_skips_hint_set (BamfMatcher *self, BamfLegacyWindow *window) { - gboolean skip_hint_set = FALSE; + gboolean skip_hint_set; g_return_val_if_fail (BAMF_IS_MATCHER (self), TRUE); - skip_hint_set = is_web_app_window (self, window); + skip_hint_set = is_web_app_window (window) || is_javaws_window (window); return skip_hint_set; } @@ -1644,7 +1675,7 @@ if (!filter_by_wmclass) { - if (is_web_app_window (self, window)) + if (is_web_app_window (window)) { // This ensures that a new application is created even for unknown webapps filter_by_wmclass = TRUE; --- bamf-0.3.6.orig/src/bamf-legacy-window.c +++ bamf-0.3.6/src/bamf-legacy-window.c @@ -186,6 +186,51 @@ } char * +bamf_legacy_window_get_process_name (BamfLegacyWindow *self) +{ + gchar *stat_path; + gchar *contents; + gchar **lines; + gchar **sections; + gchar *result = NULL; + guint pid; + + g_return_val_if_fail (BAMF_IS_LEGACY_WINDOW (self), NULL); + + if (BAMF_LEGACY_WINDOW_GET_CLASS (self)->get_process_name) + return BAMF_LEGACY_WINDOW_GET_CLASS (self)->get_process_name (self); + + pid = bamf_legacy_window_get_pid (self); + + if (pid <= 0) + return NULL; + + stat_path = g_strdup_printf ("/proc/%i/status", pid); + + if (g_file_get_contents (stat_path, &contents, NULL, NULL)) + { + lines = g_strsplit (contents, "\n", 2); + + if (lines && g_strv_length (lines) > 0) + { + sections = g_strsplit (lines[0], "\t", 0); + if (sections) + { + if (g_strv_length (sections) > 1) + result = g_strdup (sections[1]); + + g_strfreev (sections); + } + g_strfreev (lines); + } + g_free (contents); + } + g_free (stat_path); + + return result; +} + +char * bamf_legacy_window_get_exec_string (BamfLegacyWindow *self) { gchar *result = NULL; @@ -223,6 +268,8 @@ return result; } + + const char * bamf_legacy_window_save_mini_icon (BamfLegacyWindow *self) { --- bamf-0.3.6.orig/src/bamf-legacy-window.h +++ bamf-0.3.6/src/bamf-legacy-window.h @@ -74,6 +74,7 @@ const char * (*get_class_name) (BamfLegacyWindow *legacy_window); const char * (*get_class_instance_name) (BamfLegacyWindow *legacy_window); char * (*get_exec_string) (BamfLegacyWindow *legacy_window); + char * (*get_process_name) (BamfLegacyWindow *legacy_window); char * (*get_app_id) (BamfLegacyWindow *legacy_window); char * (*get_unique_bus_name) (BamfLegacyWindow *legacy_window); char * (*get_menu_object_path) (BamfLegacyWindow *legacy_window); @@ -142,6 +143,8 @@ char * bamf_legacy_window_get_exec_string (BamfLegacyWindow *self); +char * bamf_legacy_window_get_process_name (BamfLegacyWindow *self); + BamfLegacyWindow * bamf_legacy_window_get_transient (BamfLegacyWindow *self); char * bamf_legacy_window_get_hint (BamfLegacyWindow *self, @@ -158,3 +161,4 @@ BamfLegacyWindow * bamf_legacy_window_new (WnckWindow *legacy_window); #endif + --- bamf-0.3.6.orig/src/bamf-matcher-private.h +++ bamf-0.3.6/src/bamf-matcher-private.h @@ -50,5 +50,6 @@ BamfApplication * bamf_matcher_get_application_by_desktop_file (BamfMatcher *self, const char *desktop_file); BamfApplication * bamf_matcher_get_application_by_xid (BamfMatcher *self, guint xid); char * bamf_matcher_get_trimmed_exec (BamfMatcher *self, const char *exec); +gboolean bamf_matcher_is_valid_process_prefix (BamfMatcher *self, const char *exec); #endif --- bamf-0.3.6.orig/src/bamf-legacy-window-test.h +++ bamf-0.3.6/src/bamf-legacy-window-test.h @@ -57,6 +57,7 @@ char * wm_class_name; char * wm_class_instance; char * exec; + char * process_name; char * application_id; char * unique_bus_name; char * dbus_menu_object_path; --- bamf-0.3.6.orig/tests/bamfdaemon/test-matcher.c +++ bamf-0.3.6/tests/bamfdaemon/test-matcher.c @@ -34,6 +34,8 @@ static void test_match_libreoffice_windows (void); static void test_match_gnome_control_center_panels (void); static void test_match_javaws_windows (void); +static void test_match_javaws_windows_hint_ignored (void); +static void test_match_javaws_windows_no_desktop_match (void); static void test_new_desktop_matches_unmatched_windows (void); static void test_trim_exec_string (void); @@ -56,6 +58,8 @@ g_test_add_func (DOMAIN"/Matching/Application/LibreOffice", test_match_libreoffice_windows); g_test_add_func (DOMAIN"/Matching/Application/GnomeControlCenter", test_match_gnome_control_center_panels); g_test_add_func (DOMAIN"/Matching/Application/JavaWebStart", test_match_javaws_windows); + g_test_add_func (DOMAIN"/Matching/Application/JavaWebStart/HintIngored", test_match_javaws_windows_hint_ignored); + g_test_add_func (DOMAIN"/Matching/Application/JavaWebStart/NoDesktopMatch", test_match_javaws_windows_no_desktop_match); g_test_add_func (DOMAIN"/Matching/Windows/UnmatchedOnNewDesktop", test_new_desktop_matches_unmatched_windows); g_test_add_func (DOMAIN"/ExecStringTrimming", test_trim_exec_string); } @@ -569,7 +573,7 @@ screen = bamf_legacy_screen_get_default (); matcher = bamf_matcher_get_default (); - const char *exec_prefix = "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java " \ + const char *exec_prefix = "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws " \ "-Xbootclasspath/a:/usr/share/icedtea-web/netx.jar " \ "-Xms8m -Djava.security.manager " \ "-Djava.security.policy=/etc/icedtea-web/javaws.policy " \ @@ -577,8 +581,8 @@ "-Dicedtea-web.bin.name=javaws " \ "-Dicedtea-web.bin.location=/usr/bin/javaws "\ "net.sourceforge.jnlp.runtime.Boot"; - const char *class_name = "sun-awt-X11-XFramePeer"; - const char *class_instance = "net-sourceforge-jnlp-runtime-Boot"; + const char *class_name = "net-sourceforge-jnlp-runtime-Boot"; + const char *class_instance = "sun-awt-X11-XFramePeer"; cleanup_matcher_tables (matcher); export_matcher_on_bus (matcher); @@ -626,6 +630,93 @@ } static void +test_match_javaws_windows_hint_ignored (void) +{ + BamfMatcher *matcher; + BamfLegacyScreen *screen; + BamfLegacyWindowTest *test_win; + BamfApplication *app; + + screen = bamf_legacy_screen_get_default (); + matcher = bamf_matcher_get_default (); + const char *exec_prefix = "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws " \ + "-Xbootclasspath/a:/usr/share/icedtea-web/netx.jar " \ + "-Xms8m -Djava.security.manager " \ + "-Djava.security.policy=/etc/icedtea-web/javaws.policy " \ + "-classpath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar " \ + "-Dicedtea-web.bin.name=javaws " \ + "-Dicedtea-web.bin.location=/usr/bin/javaws "\ + "net.sourceforge.jnlp.runtime.Boot "; + const char *class_name = "net-sourceforge-jnlp-runtime-Boot"; + const char *class_instance = "sun-awt-X11-XFramePeer"; + + cleanup_matcher_tables (matcher); + export_matcher_on_bus (matcher); + + guint xid = g_random_int (); + guint pid = g_random_int (); + char *exec = g_strconcat (exec_prefix, "Notepad.jnlp", NULL); + test_win = bamf_legacy_window_test_new (xid, "Notepad", NULL, exec); + bamf_legacy_window_test_set_wmclass (test_win, class_name, class_instance); + test_win->pid = pid; + _bamf_legacy_screen_open_test_window (screen, test_win); + g_free (exec); + + bamf_matcher_register_desktop_file_for_pid (matcher, DATA_DIR"/icedtea-netx-javaws.desktop", pid); + + char *hint = bamf_legacy_window_get_hint (BAMF_LEGACY_WINDOW (test_win), _NET_WM_DESKTOP_FILE); + g_assert (hint == NULL); + + app = bamf_matcher_get_application_by_xid (matcher, xid); + g_assert (BAMF_IS_APPLICATION (app)); + g_assert (bamf_application_get_desktop_file (app) == NULL); + + g_object_unref (matcher); + g_object_unref (screen); +} + +static void +test_match_javaws_windows_no_desktop_match (void) +{ + BamfMatcher *matcher; + BamfLegacyScreen *screen; + BamfLegacyWindowTest *test_win; + BamfApplication *app; + + screen = bamf_legacy_screen_get_default (); + matcher = bamf_matcher_get_default (); + const char *exec_prefix = "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws " \ + "-Xbootclasspath/a:/usr/share/icedtea-web/netx.jar " \ + "-Xms8m -Djava.security.manager " \ + "-Djava.security.policy=/etc/icedtea-web/javaws.policy " \ + "-classpath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar " \ + "-Dicedtea-web.bin.name=javaws " \ + "-Dicedtea-web.bin.location=/usr/bin/javaws "\ + "net.sourceforge.jnlp.runtime.Boot "; + const char *class_name = "net-sourceforge-jnlp-runtime-Boot"; + const char *class_instance = "sun-awt-X11-XFramePeer"; + + cleanup_matcher_tables (matcher); + export_matcher_on_bus (matcher); + + bamf_matcher_load_desktop_file (matcher, DATA_DIR"/icedtea-netx-javaws.desktop"); + + guint xid = g_random_int (); + char *exec = g_strconcat (exec_prefix, "Notepad.jnlp", NULL); + test_win = bamf_legacy_window_test_new (xid, "Notepad", NULL, exec); + bamf_legacy_window_test_set_wmclass (test_win, class_name, class_instance); + _bamf_legacy_screen_open_test_window (screen, test_win); + g_free (exec); + + app = bamf_matcher_get_application_by_xid (matcher, xid); + g_assert (BAMF_IS_APPLICATION (app)); + g_assert (bamf_application_get_desktop_file (app) == NULL); + + g_object_unref (matcher); + g_object_unref (screen); +} + +static void test_trim_exec_string (void) { BamfMatcher *matcher; @@ -691,6 +782,19 @@ trimmed = bamf_matcher_get_trimmed_exec (matcher, exec); g_assert_cmpstr (trimmed, ==, "notepad.jnlp"); g_free (trimmed); + + exec = "/usr/lib/jvm/java-7-oracle/jre/bin/java " \ + "-classpath /usr/lib/jvm/java-7-oracle/jre/lib/deploy.jar " \ + "-Djava.security.policy=file:/usr/lib/jvm/java-7-oracle/jre/lib/security/javaws.policy " \ + "-DtrustProxy=true -Xverify:remote " \ + "-Djnlpx.home=/usr/lib/jvm/java-7-oracle/jre/bin " \ + "-Djnlpx.remove=true -Dsun.awt.warmup=true " \ + "-Xbootclasspath/a:/usr/lib/jvm/java-7-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-7-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-7-oracle/jre/lib/plugin.jar " \ + "-Xms12m -Xmx384m -Djnlpx.jvm=/usr/lib/jvm/java-7-oracle/jre/bin/java " \ + "com.sun.javaws.Main Notepad.jnlp"; + trimmed = bamf_matcher_get_trimmed_exec (matcher, exec); + g_assert_cmpstr (trimmed, ==, "notepad.jnlp"); + g_free (trimmed); g_object_unref (matcher); } --- bamf-0.3.6.orig/tests/bamfdaemon/data/icedtea-netx-javaws.desktop +++ bamf-0.3.6/tests/bamfdaemon/data/icedtea-netx-javaws.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=IcedTea Java Web Start +Name[fi]=IcedTea Java - Web Start +Comment=IcedTea Java Web Start +Comment[fi]=IcedTea Java - Web Start +Exec=/usr/bin/javaws %u +Terminal=false +Type=Application +Icon=javaws +Categories=Application;Network; +MimeType=application/x-java-jnlp-file; +NoDisplay=true --- bamf-0.3.6.orig/debian/gir1.2-bamf-0.2.install +++ bamf-0.3.6/debian/gir1.2-bamf-0.2.install @@ -0,0 +1 @@ +#debian/tmp/usr/lib/girepository-1.0/ --- bamf-0.3.6.orig/debian/copyright +++ bamf-0.3.6/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.3.6.orig/debian/watch +++ bamf-0.3.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/bamf/+download .*/bamf-([0-9.]+)\.tar\.gz --- bamf-0.3.6.orig/debian/bamfdaemon.install +++ bamf-0.3.6/debian/bamfdaemon.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/bamf +debian/tmp/usr/share/dbus-1/services/ --- bamf-0.3.6.orig/debian/libbamf-doc.install +++ bamf-0.3.6/debian/libbamf-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/ --- bamf-0.3.6.orig/debian/libbamf3-0.symbols +++ bamf-0.3.6/debian/libbamf3-0.symbols @@ -0,0 +1,77 @@ +libbamf3.so.0 libbamf3-0 #MINVER# + bamf_application_get_application_menu@Base 0.3.0 + bamf_application_get_application_type@Base 0.2.20 + bamf_application_get_desktop_file@Base 0.2.20 + bamf_application_get_focusable_child@Base 0.3.0 + bamf_application_get_show_menu_stubs@Base 0.2.48 + bamf_application_get_supported_mime_types@Base 0.3.0 + 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_get_type@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_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_close@Base 0.3.0 + bamf_tab_get_desktop_name@Base 0.3.0 + bamf_tab_get_is_foreground_tab@Base 0.3.0 + bamf_tab_get_location@Base 0.3.0 + bamf_tab_get_type@Base 0.2.28 + bamf_tab_get_xid@Base 0.3.0 + bamf_tab_new@Base 0.2.28 + bamf_tab_raise@Base 0.3.0 + bamf_tab_request_preview@Base 0.3.0 + 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_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_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 --- bamf-0.3.6.orig/debian/bamfdaemon.postrm +++ bamf-0.3.6/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.3.6.orig/debian/control +++ bamf-0.3.6/debian/control @@ -0,0 +1,138 @@ +Source: bamf +Section: libs +Priority: optional +Maintainer: Didier Roche +Uploaders: Andrea Veri +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-3.0, + libunity-webapps-dev (>= 2.3.3) +Standards-Version: 3.9.3 +Homepage: https://launchpad.net/bamf +Vcs-Bzr: https://code.launchpad.net/+branch/ubuntu/bamf + +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 (gtk2) + bamf matches application windows to desktop files + . + This package contains shared libraries to be used by gtk2 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 (gtk2) + bamf matches application windows to desktop files + . + This package contains files that are needed to build applications on + gtk2 stack. + +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.3.6.orig/debian/bamfdaemon.postinst +++ bamf-0.3.6/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 -e 'use File::Find; my $dir_name; sub strip_exec { my $f = $_; return unless $f =~ /\.desktop$/; return unless ("$File::Find::dir" eq "$dir_name"); my @lines; open F, $f; @lines = ; close F; my $in_desktop_entry = 0; foreach (@lines) { if (/^\[\s*(.+)\s*\]/) { $in_desktop_entry = ($1 eq "Desktop Entry"); } if (/^Exec=(.+)$/ && $in_desktop_entry) { print "$f\t$1\n"; } } }; $dir_name = $ARGV[-1]; $dir_name = $1 if($dir_name=~/(.*)\/$/); find(\&strip_exec, $dir_name);' /usr/share/applications > $I.new || rm -f $I.new + [ -e $I.new ] && mv $I.new $I || true + fi +fi + +#DEBHELPER# --- bamf-0.3.6.orig/debian/libbamf0.symbols +++ bamf-0.3.6/debian/libbamf0.symbols @@ -0,0 +1,77 @@ +libbamf.so.0 libbamf0 #MINVER# + bamf_application_get_application_menu@Base 0.3.0 + bamf_application_get_application_type@Base 0.2.20 + bamf_application_get_desktop_file@Base 0.2.20 + bamf_application_get_focusable_child@Base 0.3.0 + bamf_application_get_show_menu_stubs@Base 0.2.48 + bamf_application_get_supported_mime_types@Base 0.3.0 + 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_get_type@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_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_close@Base 0.3.0 + bamf_tab_get_desktop_name@Base 0.3.0 + bamf_tab_get_is_foreground_tab@Base 0.3.0 + bamf_tab_get_location@Base 0.3.0 + bamf_tab_get_type@Base 0.2.28 + bamf_tab_get_xid@Base 0.3.0 + bamf_tab_new@Base 0.2.28 + bamf_tab_raise@Base 0.3.0 + bamf_tab_request_preview@Base 0.3.0 + 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_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_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 --- bamf-0.3.6.orig/debian/bamfdaemon.triggers +++ bamf-0.3.6/debian/bamfdaemon.triggers @@ -0,0 +1,2 @@ +interest /usr/share/applications +interest gmenucache --- bamf-0.3.6.orig/debian/changelog +++ bamf-0.3.6/debian/changelog @@ -0,0 +1,681 @@ +bamf (0.3.6-0ubuntu2) quantal-proposed; urgency=low + + * Cherry-pick upstream. + - BamfMatcher: ignore the javaws windows when setting the window hint + (LP: #1108380) + + -- Łukasz 'sil2100' Zemczak Tue, 19 Feb 2013 17:51:44 +0100 + +bamf (0.3.6-0ubuntu1) quantal-proposed; urgency=low + + * New upstream release. + - BamfMatcher: Don't associate .desktopless applications with different + exec string, fix JavaWS apps (LP: #1098186) + + -- Łukasz 'sil2100' Zemczak Mon, 14 Jan 2013 14:21:45 +0100 + +bamf (0.3.4-0ubuntu1) quantal-proposed; urgency=low + + [ Timo Jyrinki ] + * New upstream release. + - Autoconf: Make libunity-webapps an optional dependency (on by default) + - Libbamf: Some signal, type and annotation fixes + - libbamf: gir-annotion fixes and make gi-scanner verbose + - Autoconf: Exclude generated sources from tarball and fix "make + distcheck". + - BamfMatcher: add support for libreoffice Base, and libreoffice matching + tests (LP: #1063862) + + [ Didier Roche ] + * debian/bamfdaemon.postinst: + - Fix bamf.index perl script generation to fix UOA g-c-c panel associated + with empathy. (LP: #1045223) + + -- Didier Roche Wed, 17 Oct 2012 07:49:01 +0200 + +bamf (0.3.2-0ubuntu1) quantal-proposed; urgency=low + + [ Łukasz 'sil2100' Zemczak ] + * New upstream release. + - bamfdaemon crashes in bamf_application_get_supported_mime_types + (LP: #1058260) + - Webapps close prematurely (LP: #1051042) + - Broken UI and no window management (LP: #1053288) + + [ Timo Jyrinki ] + * Cherry-pick LibreOffice fix (LP: #1026426) + + -- Łukasz 'sil2100' Zemczak Mon, 01 Oct 2012 16:05:32 +0200 + +bamf (0.3.0-0ubuntu2) quantal-proposed; urgency=low + + * rebuild against libunity-webapps 2.3.3 + + -- Ken VanDine Wed, 19 Sep 2012 12:32:09 -0400 + +bamf (0.3.0-0ubuntu1) quantal-proposed; urgency=low + + * Note that while technically that update breaks compatibility by + dropping some public functions the corresponding code never worked and + it has been verified those were not used by any rdepends. + * debian/control: + - Build-Depends on libunity-webapps-dev to prepare the landing of the + branch using it + * debian/libbamf3-0.symbols: + - updated as well + + [ Łukasz 'sil2100' Zemczak ] + * New upstream release. + - added webapps support + * debian/libbamf0.symbols: + - updated symbol file, removed some broken methods + + -- Sebastien Bacher Fri, 31 Aug 2012 21:59:04 +0200 + +bamf (0.2.122-0ubuntu1) quantal-proposed; urgency=low + + * New upstream release. + - Type mismatch in libbamf bamf_control_register_application_for_pid() + and dbus interface (LP: #1021143) + - running applications without an icon use a blank icon (LP: #886778) + + -- Łukasz 'sil2100' Zemczak Fri, 10 Aug 2012 12:18:02 +0200 + +bamf (0.2.120-0ubuntu1) quantal; urgency=low + + [ Łukasz 'sil2100' Zemczak ] + * New upstream release. + - 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) + * debian/libbamf0.symbols, debian/libbamf3-0.symbols: + - removed symbols that were wrongly exported upstream before (private + symbols) + + -- Didier Roche Tue, 10 Jul 2012 08:41:32 +0200 + +bamf (0.2.118-1ubuntu1) quantal; urgency=low + + * Sync from debian. No more difference. + * 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) + * debian/*symbols: + - add new private symbol (will not be exported after next release) + * debian/control: + - change packaging location to canonical branch (lp:ubuntu/bamf) + + -- Didier Roche Mon, 25 Jun 2012 11:01:57 +0200 + +bamf (0.2.118-1) unstable; urgency=low + + * Backport latest release to debian + * debian/control: + - bump Standards-Version to latest + - remove build-dep only used for unit tests + - replace the gtk2 variant of the wnck introspection gir package with + gtk3 one + - ensure the gtk2/gtk3 version doesn't have the same description + * debian/*.symbols: + - adding some PRIVATE symbols to make lintian happy. We saw that bamf + is exporting by error some of its private symbols. This will be fixed + in next released (and so the symbols will be removed from the .symbols + files) + * debian/rules: + - add hardening flags (thanks Andrea) + * debian/sources/format: + - added to specify we use format 1.0 + + -- Didier Roche Fri, 01 Jun 2012 11:51:11 +0200 + +bamf (0.2.118-0ubuntu1) quantal; 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.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-1) unstable; urgency=low + + [ Didier Roche ] + * Initial upload to Debian. Package grabbed from Ubuntu, + we'll keep this package in sync within the two + distributions. + * debian/control: + - removed gir's package for now, still not building + correctly. + + [ Andrea Veri ] + * debian/control: + - changed Maintainer accordingly. + - added myself into uploaders. + -- Didier Roche Mon, 21 Nov 2011 10:56:21 +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.3.6.orig/debian/libbamf3-0.install +++ bamf-0.3.6/debian/libbamf3-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libbamf3.so.* --- bamf-0.3.6.orig/debian/compat +++ bamf-0.3.6/debian/compat @@ -0,0 +1 @@ +5 --- bamf-0.3.6.orig/debian/rules +++ bamf-0.3.6/debian/rules @@ -0,0 +1,34 @@ +#!/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 \ + $(shell dpkg-buildflags --export=configure) \ + $(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.3.6.orig/debian/libbamf0.install +++ bamf-0.3.6/debian/libbamf0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libbamf.so.* --- bamf-0.3.6.orig/debian/libbamf-dev.install +++ bamf-0.3.6/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.3.6.orig/debian/libbamf3-dev.install +++ bamf-0.3.6/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/ --- bamf-0.3.6.orig/debian/sources/format +++ bamf-0.3.6/debian/sources/format @@ -0,0 +1 @@ +1.0