Package: bijiben
Version: 3.20.2-1+b3
Severity: important
Tags: patch
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=781106
Hello,
When gnome-shell is starting I can see the following line in the logs:
JS LOG: Failed to add search provider
/usr/share/gnome-shell/search-providers/org.gnome.bijiben-search-provider.ini:
TypeError: appInfo is null
Looking in the source I can see several places that reference the old
.desktop file name (bijiben.desktop vs org.gnome.bijiben.desktop)
The attached patch is fixing the error message in gnome-shell and the
"Notes" search provider is now listed in gnome-control-center.
This should be fixed for stetch IMHO.
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages bijiben depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1
ii evolution-data-server 3.22.7-1
ii libc6 2.24-9
ii libcairo-gobject2 1.14.8-1
ii libcairo2 1.14.8-1
ii libecal-1.2-19 3.22.7-1
ii libedataserver-1.2-22 3.22.7-1
ii libgdk-pixbuf2.0-0 2.36.5-2
ii libglib2.0-0 2.50.3-2
ii libgoa-1.0-0b 3.22.5-1
ii libgtk-3-0 3.22.11-1
ii libical2 2.0.0-0.5+b1
ii libpango-1.0-0 1.40.5-1
ii libpangocairo-1.0-0 1.40.5-1
ii libtracker-sparql-1.0-0 1.10.5-1
ii libuuid1 2.29.2-1
ii libwebkitgtk-3.0-0 2.4.11-3
ii libxml2 2.9.4+dfsg1-2.2
ii libzeitgeist-2.0-0 0.9.16-0.2+b1
ii tracker 1.10.5-1
bijiben recommends no packages.
bijiben suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file
/usr/share/gnome-shell/search-providers/org.gnome.bijiben-search-provider.ini
(from bijiben package)
diff -Nru bijiben-3.20.2/debian/patches/fix_search_provider.diff
bijiben-3.20.2/debian/patches/fix_search_provider.diff
--- bijiben-3.20.2/debian/patches/fix_search_provider.diff 1970-01-01
01:00:00.000000000 +0100
+++ bijiben-3.20.2/debian/patches/fix_search_provider.diff 2017-04-10
00:52:52.000000000 +0200
@@ -0,0 +1,51 @@
+--- a/data/org.gnome.bijiben-search-provider.ini
++++ b/data/org.gnome.bijiben-search-provider.ini
+@@ -1,5 +1,5 @@
+ [Shell Search Provider]
+-DesktopId=bijiben.desktop
++DesktopId=org.gnome.bijiben.desktop
+ BusName=org.gnome.bijiben.SearchProvider
+ ObjectPath=/org/gnome/bijiben/SearchProvider
+-Version=2
+\ No newline at end of file
++Version=2
+--- a/src/bijiben-shell-search-provider.c
++++ b/src/bijiben-shell-search-provider.c
+@@ -325,7 +325,7 @@ handle_activate_result (BijibenShellSear
+
+ g_application_hold (user_data);
+
+- app = G_APP_INFO (g_desktop_app_info_new ("bijiben.desktop"));
++ app = G_APP_INFO (g_desktop_app_info_new ("org.gnome.bijiben.desktop"));
+
+ context = gdk_display_get_app_launch_context (gdk_display_get_default ());
+ gdk_app_launch_context_set_timestamp (context, timestamp);
+--- a/src/libbiji/biji-zeitgeist.c
++++ b/src/libbiji/biji-zeitgeist.c
+@@ -34,7 +34,7 @@ biji_zeitgeist_init (void)
+
+ log = zeitgeist_log_new ();
+ event = zeitgeist_event_new_full (
+- NULL, NULL, "application://bijiben.desktop", NULL, NULL);
++ NULL, NULL, "application://org.gnome.bijiben.desktop", NULL, NULL);
+
+ ptr_arr = g_ptr_array_new ();
+ g_ptr_array_add (ptr_arr, event);
+@@ -95,7 +95,7 @@ check_insert_create_zeitgeist (BijiNoteO
+ templates = g_ptr_array_new ();
+ event = zeitgeist_event_new_full (ZEITGEIST_ZG_CREATE_EVENT,
+ NULL,
+- "application://bijiben.desktop",
++ "application://org.gnome.bijiben.desktop",
+ NULL, NULL);
+ subject = zeitgeist_subject_new ();
+ zeitgeist_subject_set_uri (subject, uri);
+@@ -149,7 +149,7 @@ insert_zeitgeist (BijiNoteObj *note,
+
+ event = zeitgeist_event_new_full (zg_interpretation,
+ ZEITGEIST_ZG_USER_ACTIVITY,
+- "application://bijiben.desktop",
++ "application://org.gnome.bijiben.desktop",
+ "",
+ subject,
+ NULL);
diff -Nru bijiben-3.20.2/debian/patches/series
bijiben-3.20.2/debian/patches/series
--- bijiben-3.20.2/debian/patches/series 1970-01-01 01:00:00.000000000
+0100
+++ bijiben-3.20.2/debian/patches/series 2017-04-10 00:50:14.000000000
+0200
@@ -0,0 +1 @@
+fix_search_provider.diff