Fix gnome-shell search provider.

This commit is contained in:
ajacoutot 2017-04-22 09:38:17 +00:00
parent f2ef7d2442
commit e47e5fa8f3
3 changed files with 42 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.34 2017/04/13 07:38:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.35 2017/04/22 09:38:17 ajacoutot Exp $
TRACKER_API= 1.0
@ -6,7 +6,7 @@ COMMENT= simple note editor
GNOME_PROJECT= bijiben
GNOME_VERSION= 3.20.2
REVISION= 1
REVISION= 2
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
@ -17,17 +17,17 @@ WANTLIB += atk-bridge-2.0 atspi c cairo cairo-gobject camel-1.2
WANTLIB += db dbus-1 drm ebackend-1.2 ecal-1.2 edataserver-1.2
WANTLIB += edataserverui-1.2 enchant epoxy expat ffi fontconfig
WANTLIB += freetype gbm gck-1 gcr-base-3 gcr-ui-3 gcrypt gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glapi glib-2.0 gmodule-2.0 gmp
WANTLIB += goa-1.0 gobject-2.0 gpg-error graphite2 gstapp-1.0
WANTLIB += gstaudio-1.0 gstbase-1.0 gstfft-1.0 gstpbutils-1.0
WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3
WANTLIB += harfbuzz harfbuzz-icu hogweed ical icalss icalvcal
WANTLIB += iconv icudata icui18n icuuc idn2 intl javascriptcoregtk-3.0
WANTLIB += javascriptcoregtk-4.0 jpeg json-glib-1.0 kvm lzma m
WANTLIB += nettle nspr4 nss3 orc-0.4 p11-kit pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 plc4 plds4 png pthread pthread-stubs
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glapi glib-2.0 gmodule-2.0 goa-1.0
WANTLIB += gobject-2.0 gpg-error graphite2 gstapp-1.0 gstaudio-1.0
WANTLIB += gstbase-1.0 gstfft-1.0 gstpbutils-1.0 gstreamer-1.0
WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
WANTLIB += hyphen ical icalss icalvcal iconv icudata icui18n icuuc
WANTLIB += intl javascriptcoregtk-3.0 javascriptcoregtk-4.0 jpeg
WANTLIB += json-glib-1.0 kvm lzma m notify nspr4 nss3 nssutil3
WANTLIB += orc-0.4 p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 plc4 plds4 png pthread pthread-stubs
WANTLIB += secret-1 smime3 softokn3 soup-2.4 sqlite3 ssl3 ${LIBCXX}
WANTLIB += tasn1 uuid webkit2gtk-4.0 webkitgtk-3.0 webp xcb xcb-dri2
WANTLIB += uuid webkit2gtk-4.0 webkitgtk-3.0 webp xcb xcb-dri2
WANTLIB += xcb-glx xcb-render xcb-shm xcb-xfixes xml2 xslt z
WANTLIB += tracker-sparql-${TRACKER_API}
WANTLIB += lib/tracker-${TRACKER_API}/tracker-common

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-data_org_gnome_bijiben-search-provider_ini,v 1.1 2017/04/22 09:38:17 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=781106
--- data/org.gnome.bijiben-search-provider.ini.orig Mon May 9 22:44:19 2016
+++ data/org.gnome.bijiben-search-provider.ini Sat Apr 22 11:23:24 2017
@@ -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

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_bijiben-shell-search-provider_c,v 1.1 2017/04/22 09:38:17 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=781106
--- src/bijiben-shell-search-provider.c.orig Mon May 9 22:44:19 2016
+++ src/bijiben-shell-search-provider.c Sat Apr 22 11:23:24 2017
@@ -325,7 +325,7 @@ handle_activate_result (BijibenShellSearchProvider2 *
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);