From 7cb7a79eaff869ac359a5af7cf33e63ba08fb7d7 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 8 Jun 2024 14:19:20 +0800 Subject: [PATCH 1/4] fix: pantheon-agent-polkit Signed-off-by: madomado --- .../pantheon-agent-polkit/pantheon-agent-polkit.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec index 437b9173f7..8399e4e803 100644 --- a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec +++ b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec @@ -18,10 +18,12 @@ BuildRequires: vala >= 0.34.1 BuildRequires: fdupes BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 -BuildRequires: pkgconfig(granite) >= 6.0.0 -BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(granite-7) +BuildRequires: pkgconfig(gtk4) %description An agent for Polkit authorization designed for Pantheon. From b6981c4ca2b3d2c4815d0e1f6b91c445059c6ad5 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 8 Jun 2024 14:24:46 +0800 Subject: [PATCH 2/4] dnl appstream validation Signed-off-by: madomado --- .../pantheon-agent-polkit/pantheon-agent-polkit.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec index 8399e4e803..8b7058e56e 100644 --- a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec +++ b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec @@ -51,8 +51,8 @@ desktop-file-validate \ desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop -appstream-util validate-relax --nonet \ - %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml +%dnl appstream-util validate-relax --nonet \ +%dnl %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml %files -f %{appname}.lang From 81131bbff6e761dd3739094901ed16737322c6f7 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 8 Jun 2024 14:49:23 +0800 Subject: [PATCH 3/4] dnl fieles Signed-off-by: madomado --- .../elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec index 8b7058e56e..904d12f8d6 100644 --- a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec +++ b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec @@ -64,7 +64,7 @@ desktop-file-validate \ %{_libexecdir}/policykit-1-pantheon/ %{_datadir}/applications/%{appname}.desktop -%{_datadir}/metainfo/%{appname}.appdata.xml +%dnl %{_datadir}/metainfo/%{appname}.appdata.xml %changelog From 5ca3c3cd9aae0a8bba97d49bb732a3507cc69b90 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 8 Jun 2024 15:19:10 +0800 Subject: [PATCH 4/4] fix metainfo Signed-off-by: madomado --- .../pantheon-agent-polkit/pantheon-agent-polkit.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec index 904d12f8d6..82359f738f 100644 --- a/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec +++ b/anda/desktops/elementary/pantheon-agent-polkit/pantheon-agent-polkit.spec @@ -51,8 +51,8 @@ desktop-file-validate \ desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop -%dnl appstream-util validate-relax --nonet \ -%dnl %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml %files -f %{appname}.lang @@ -64,7 +64,7 @@ desktop-file-validate \ %{_libexecdir}/policykit-1-pantheon/ %{_datadir}/applications/%{appname}.desktop -%dnl %{_datadir}/metainfo/%{appname}.appdata.xml +%{_datadir}/metainfo/%{appname}.metainfo.xml %changelog