added upstream patch to install missing Notice header required to build discover [release 1.65-2mamba;Sat Jun 22 2024]
This commit is contained in:
parent
8277a3ccf9
commit
5e2dc85b5d
@ -0,0 +1,30 @@
|
|||||||
|
From 3b46e014bd513346836458a3a4e9d388f311463d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||||
|
Date: Fri, 26 Apr 2024 21:41:26 +0200
|
||||||
|
Subject: [PATCH] snapd-qt/meson.build: Install Notice header
|
||||||
|
|
||||||
|
Otherwise compilation of Discover with snap back-end fails with:
|
||||||
|
|
||||||
|
In file included from /usr/include/snapd-qt-2/Snapd/Client:1,
|
||||||
|
from /tmp/portage/kde-plasma/discover-6.0.4-r1/work/discover-6.0.4/libdiscover/backends/SnapBackend/libsnapclient/SnapAuthHelper.cpp:14:
|
||||||
|
/usr/include/snapd-qt-2/Snapd/client.h:24:10: fatal error: Snapd/Notice: No such file or directory
|
||||||
|
24 | #include <Snapd/Notice>
|
||||||
|
| ^~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||||
|
---
|
||||||
|
snapd-qt/meson.build | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/snapd-qt/meson.build b/snapd-qt/meson.build
|
||||||
|
index a767c6d1..db2f5bf2 100644
|
||||||
|
--- a/snapd-qt/meson.build
|
||||||
|
+++ b/snapd-qt/meson.build
|
||||||
|
@@ -131,6 +131,7 @@ source_alias_h = [
|
||||||
|
'Snapd/MarkdownNode',
|
||||||
|
'Snapd/MarkdownParser',
|
||||||
|
'Snapd/Media',
|
||||||
|
+ 'Snapd/Notice',
|
||||||
|
'Snapd/Plug',
|
||||||
|
'Snapd/PlugRef',
|
||||||
|
'Snapd/Price',
|
@ -1,6 +1,6 @@
|
|||||||
Name: snapd-glib
|
Name: snapd-glib
|
||||||
Version: 1.65
|
Version: 1.65
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A library to allow GLib and Qt based applications access to snapd
|
Summary: A library to allow GLib and Qt based applications access to snapd
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -8,6 +8,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://snapcraft.io/
|
URL: https://snapcraft.io/
|
||||||
Source: https://github.com/snapcore/snapd-glib.git/%{version}/snapd-glib-%{version}.tar.bz2
|
Source: https://github.com/snapcore/snapd-glib.git/%{version}/snapd-glib-%{version}.tar.bz2
|
||||||
|
Patch0: snapd-glib-1.65-upstream-install-missing-Notice-header-discover-6.1.0.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -60,6 +61,7 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch 0 -p1 -b .upstream-install-missing-Notice-header-discover-6.1.0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@ -121,6 +123,9 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%{_libdir}/pkgconfig/snapd-qt-2.pc
|
%{_libdir}/pkgconfig/snapd-qt-2.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.65-2mamba
|
||||||
|
- added upstream patch to install missing Notice header required to build discover
|
||||||
|
|
||||||
* Sun Jun 16 2024 Automatic Build System <autodist@openmamba.org> 1.65-1mamba
|
* Sun Jun 16 2024 Automatic Build System <autodist@openmamba.org> 1.65-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user