diff --git a/SOURCES/gnome-documents-meson.build-allow-libgdprivate-1.0.so-to-find-libgd.patch b/SOURCES/gnome-documents-meson.build-allow-libgdprivate-1.0.so-to-find-libgd.patch new file mode 100644 index 0000000..3339573 --- /dev/null +++ b/SOURCES/gnome-documents-meson.build-allow-libgdprivate-1.0.so-to-find-libgd.patch @@ -0,0 +1,31 @@ +From 9fc9ac1cbd811a907f623a4b31858a3b8072222d Mon Sep 17 00:00:00 2001 +From: Christopher Davis +Date: Fri, 18 Jan 2019 06:57:25 -0500 +Subject: [PATCH] src/meson.build: allow libgdprivate-1.0.so to find libgd + +This is thanks to a tip from Jan Tojnar in +https://gitlab.gnome.org/GNOME/gnome-documents/issues/5. +Previously libgdprivate could not find libgd, which caused the issue in https://gitlab.gnome.org/GNOME/gnome-documents/issues/12 + +Closes https://gitlab.gnome.org/GNOME/gnome-documents/issues/12 and closes https://gitlab.gnome.org/GNOME/gnome-documents/issues/5 +--- + src/meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/meson.build b/src/meson.build +index 27380c7c0174..2ffbb0ecc5f2 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -151,7 +151,8 @@ libgdprivate = shared_library( + dependencies: documents_deps, + c_args: cflags, + install: true, +- install_dir: documents_pkglibdir ++ install_dir: documents_pkglibdir, ++ install_rpath: documents_pkglibdir + ) + + gir_sources = sources + headers +-- +2.20.1 + diff --git a/SPECS/gnome-documents.spec b/SPECS/gnome-documents.spec index 984c9d4..b758d57 100644 --- a/SPECS/gnome-documents.spec +++ b/SPECS/gnome-documents.spec @@ -7,7 +7,7 @@ Name: gnome-documents Version: 3.28.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A document manager application for GNOME License: GPLv2+ @@ -27,6 +27,9 @@ Patch3: gnome-documents-tracker.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1611565 Patch4: gnome-documents-dont-attempt-to-load-collections.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1690935 +Patch5: gnome-documents-meson.build-allow-libgdprivate-1.0.so-to-find-libgd.patch + BuildRequires: pkgconfig(evince-document-3.0) >= %{evince_version} BuildRequires: pkgconfig(evince-view-3.0) >= %{evince_version} BuildRequires: pkgconfig(webkit2gtk-4.0) @@ -74,6 +77,7 @@ Summary: Common libraries and data files for %{name} %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build %meson -Dgetting_started=true @@ -135,6 +139,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_libdir}/gnome-documents/ %changelog +* Wed Mar 20 2019 Debarshi Ray - 3.28.2-2 +- Make documents show up when started through search provider + Resolves: #1690935 + * Fri Aug 24 2018 Debarshi Ray - 3.28.2-1 - Update to 3.28.2 - Rebased downstream patches