Merge lp:~bregma/bamf/lp-1415052 into lp:bamf

Proposed by Stephen M. Webb
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 606
Merged at revision: 615
Proposed branch: lp:~bregma/bamf/lp-1415052
Merge into: lp:bamf
Diff against target: 78 lines (+14/-2)
5 files modified
debian/control (+1/-0)
debian/gir1.2-bamf-3.install (+1/-1)
m4/gcov.m4 (+1/-1)
src/bamf-matcher.c (+10/-0)
src/bamf-matcher.h (+1/-0)
To merge this branch: bzr merge lp:~bregma/bamf/lp-1415052
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Unity Team Pending
Review via email: mp+247730@code.launchpad.net

Commit message

fixed Ubuntu packaging for multi-arch

Description of the change

Fix Ubuntu packaging for multi-arch.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~bregma/bamf/lp-1415052 updated
606. By Stephen M. Webb

merged lp:~larsu/bamf/lp1407711 to pick up an unrelated change for Ubuntu lcov version bump

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-04-07 21:31:21 +0000
3+++ debian/control 2015-01-27 17:12:48 +0000
4@@ -93,6 +93,7 @@
5 Package: gir1.2-bamf-3
6 Section: introspection
7 Architecture: any
8+Multi-Arch: same
9 Depends: ${gir:Depends},
10 ${misc:Depends},
11 Description: GObject introspection data for the Bamf library
12
13=== modified file 'debian/gir1.2-bamf-3.install'
14--- debian/gir1.2-bamf-3.install 2012-12-19 21:57:09 +0000
15+++ debian/gir1.2-bamf-3.install 2015-01-27 17:12:48 +0000
16@@ -1,1 +1,1 @@
17-usr/lib/girepository-1.0/Bamf-*.typelib
18+usr/lib/*/girepository-1.0/Bamf-*.typelib
19
20=== modified file 'm4/gcov.m4'
21--- m4/gcov.m4 2014-01-08 18:36:02 +0000
22+++ m4/gcov.m4 2015-01-27 17:12:48 +0000
23@@ -33,7 +33,7 @@
24 AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
25 fi
26
27- lcov_version_list="1.6 1.7 1.8 1.9 1.10"
28+ lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11 1.12"
29 AC_CHECK_PROG(LCOV, lcov, lcov)
30 AC_CHECK_PROG(GENHTML, genhtml, genhtml)
31
32
33=== modified file 'src/bamf-matcher.c'
34--- src/bamf-matcher.c 2014-04-09 16:59:37 +0000
35+++ src/bamf-matcher.c 2015-01-27 17:12:48 +0000
36@@ -1617,6 +1617,7 @@
37 BamfMatcherPrivate *priv;
38 BamfLegacyWindow *window;
39 GList *desktop_files = NULL, *l;
40+ gchar *app_id;
41 char *desktop_file = NULL;
42 const char *desktop_class = NULL;
43 const char *class_name = NULL;
44@@ -1629,6 +1630,7 @@
45
46 priv = self->priv;
47 window = bamf_window_get_window (bamf_window);
48+ app_id = bamf_legacy_window_get_hint (window, _GTK_APPLICATION_ID);
49 desktop_file = bamf_legacy_window_get_hint (window, _NET_WM_DESKTOP_FILE);
50 class_name = bamf_legacy_window_get_class_name (window);
51 instance_name = bamf_legacy_window_get_class_instance_name (window);
52@@ -1656,6 +1658,14 @@
53 }
54 }
55
56+ if (app_id)
57+ {
58+ if (g_hash_table_contains (priv->desktop_id_table, app_id))
59+ desktop_files = g_list_prepend (desktop_files, app_id);
60+ else
61+ g_free (app_id);
62+ }
63+
64 if (desktop_file)
65 {
66 desktop_class = bamf_matcher_get_desktop_file_class (self, desktop_file);
67
68=== modified file 'src/bamf-matcher.h'
69--- src/bamf-matcher.h 2013-08-07 15:50:56 +0000
70+++ src/bamf-matcher.h 2015-01-27 17:12:48 +0000
71@@ -46,6 +46,7 @@
72 #define BAMF_MATCHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BAMF_TYPE_MATCHER, BamfMatcherClass))
73
74 #define _NET_WM_DESKTOP_FILE "_NET_WM_DESKTOP_FILE"
75+#define _GTK_APPLICATION_ID "_GTK_APPLICATION_ID"
76
77 typedef struct _BamfMatcher BamfMatcher;
78 typedef struct _BamfMatcherClass BamfMatcherClass;

Subscribers

People subscribed via source and target branches

to all changes: