diff --git a/gnome-software-add-missing-headers.patch b/gnome-software-add-missing-headers.patch new file mode 100644 index 0000000..4cd5a68 --- /dev/null +++ b/gnome-software-add-missing-headers.patch @@ -0,0 +1,23 @@ +Index: gnome-software-3.36.1/lib/meson.build +=================================================================== +--- gnome-software-3.36.1.orig/lib/meson.build ++++ gnome-software-3.36.1/lib/meson.build +@@ -38,12 +38,18 @@ configure_file( + install_headers([ + 'gnome-software.h', + 'gs-app.h', ++ 'gs-app-collation.h', + 'gs-app-list.h', ++ 'gs-autocleanups.h', + 'gs-category.h', ++ 'gs-ioprio.h', + 'gs-metered.h', + 'gs-os-release.h', + 'gs-plugin.h', + 'gs-plugin-event.h', ++ 'gs-plugin-job.h', ++ 'gs-plugin-loader.h', ++ 'gs-plugin-loader-sync.h', + 'gs-plugin-types.h', + 'gs-plugin-vfuncs.h', + 'gs-utils.h' diff --git a/gnome-software.changes b/gnome-software.changes index a857a8a..45f01ab 100644 --- a/gnome-software.changes +++ b/gnome-software.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Aug 5 06:28:46 UTC 2020 - Yifan Jiang + +- Update gnome-software-add-missing-headers.patch: add more devel + headers in lib/meson.build (glgo#GNOME/gnome-software!446). + +------------------------------------------------------------------- +Thu Jul 30 19:58:49 UTC 2020 - Erico Mendonca + +- Add gnome-software-add-missing-headers.patch: add missing devel + headers referenced by gnome-software.h (bsc#1174849). + ------------------------------------------------------------------- Mon Jun 8 02:55:54 UTC 2020 - Jonathan Kang diff --git a/gnome-software.spec b/gnome-software.spec index 395eef0..368779d 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -31,6 +31,8 @@ Patch0: gnome-software-launch-gpk-update-viewer-for-updates.patch %endif # PATCH-FIX-UPSTREAM gnome-software-failed-offline-update-notification.patch bsc#1161095 glgo#GNOME/gnome-software!471 sckang@suse.com -- plugin-loader: handle offline update errors properly. Patch1: gnome-software-failed-offline-update-notification.patch +# PATCH-FIX-UPSTREAM gnome-software-add-missing-headers.patch bsc#1174849 erico.mendonca@suse.com -- Add missing devel header files. +Patch2: gnome-software-add-missing-headers.patch BuildRequires: gtk-doc BuildRequires: meson >= 0.47.0 @@ -129,17 +131,7 @@ rm %{buildroot}%{_datadir}/doc/%{name}/README.md %dir %{_includedir}/%{name} %{_datadir}/gtk-doc/html/%{name}/ %dir %{_datadir}/doc/gnome-software -%{_includedir}/%{name}/gnome-software.h -%{_includedir}/%{name}/gs-app-list.h -%{_includedir}/%{name}/gs-app.h -%{_includedir}/%{name}/gs-category.h -%{_includedir}/%{name}/gs-metered.h -%{_includedir}/%{name}/gs-os-release.h -%{_includedir}/%{name}/gs-plugin-vfuncs.h -%{_includedir}/%{name}/gs-plugin.h -%{_includedir}/%{name}/gs-plugin-event.h -%{_includedir}/%{name}/gs-plugin-types.h -%{_includedir}/%{name}/gs-utils.h +%{_includedir}/%{name}/*.h %{_libdir}/pkgconfig/gnome-software.pc %files lang -f %{name}.lang