automatic version update by autodist [release 6.2.5-1mamba;Thu Jan 02 2025]
This commit is contained in:
parent
25a3760a5f
commit
dd8798e76c
@ -1,29 +0,0 @@
|
||||
From 331105fa44a0b03c7f7f5a543b92aab3ec659385 Mon Sep 17 00:00:00 2001
|
||||
From: ivan tkachenko <me@ratijas.tk>
|
||||
Date: Wed, 15 Mar 2023 21:43:15 +0600
|
||||
Subject: [PATCH] FlatpakPermission: Add back no-args default constructor
|
||||
|
||||
Older toolchain such as Kubuntu requires default constructor to use this
|
||||
class with QVector. Do not use this constructor manually.
|
||||
|
||||
BUG: 467399
|
||||
(cherry picked from commit 7e644d8f39e38f5713938424fef6064261270023)
|
||||
---
|
||||
flatpakpermission.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/flatpakpermission.h b/flatpakpermission.h
|
||||
index 8f24354..7b9a5c7 100644
|
||||
--- a/flatpakpermission.h
|
||||
+++ b/flatpakpermission.h
|
||||
@@ -99,6 +99,10 @@ class FlatpakPermission
|
||||
Advanced
|
||||
};
|
||||
|
||||
+ // Default constructor is required for meta-type registration.
|
||||
+ /** Default constructor. Creates an invalid entry. */
|
||||
+ FlatpakPermission() = default;
|
||||
+
|
||||
/**
|
||||
* Create a Dummy entry for the Advanced and user-editable sections, just so
|
||||
* that ListView shows a section header even if there are no permission row
|
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
|
||||
Name: flatpak-kcm
|
||||
Version: 6.2.4
|
||||
Version: 6.2.5
|
||||
Release: 1mamba
|
||||
Summary: KDE Plasma Flatpak Permissions Management KCM
|
||||
Group: Graphical Desktop/Applications/Configuration
|
||||
@ -10,7 +10,6 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://kde.org/it/plasma-desktop/
|
||||
Source: https://download.kde.org/%{stable_kf6}/plasma/%{version}/flatpak-kcm-%{version}.tar.xz
|
||||
Patch0: flatpak-kcm-5.27.3-gcc-12.2.0.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -34,11 +33,8 @@ BuildRequires: extra-cmake-modules
|
||||
%description
|
||||
Flatpak Permissions Management KCM. The KCM allows changing what permissions have been granted to installed Flatpak applications.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch 0 -p1 -b .gcc-12.2.0
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
@ -48,17 +44,20 @@ Flatpak Permissions Management KCM. The KCM allows changing what permissions hav
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%cmake_install
|
||||
|
||||
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
||||
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}5_qt.lang
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/applications/kcm_flatpak.desktop
|
||||
%{_qt6_plugindir}/plasma/kcms/systemsettings/kcm_flatpak.so
|
||||
|
||||
%changelog
|
||||
* Thu Jan 02 2025 Automatic Build System <autodist@openmamba.org> 6.2.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 26 2024 Automatic Build System <autodist@openmamba.org> 6.2.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user