From 563d67727103d747b4851f97ea2a0ade313b254e Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 4 Aug 2024 15:36:30 +0800 Subject: [PATCH] fix: elementary-files (#1828) * fix: elementary-files Signed-off-by: madomado * Update elementary-files.spec Signed-off-by: madomado * disable some Werror Signed-off-by: madomado * Update elementary-files.spec Signed-off-by: madomado * files? Signed-off-by: madomado * Update elementary-files.spec Signed-off-by: madomado --------- Signed-off-by: madomado (cherry picked from commit 6658a74eb60961fcd300f8e7ba7d111555074f3b) --- .../elementary/elementary-files/elementary-files.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/anda/desktops/elementary/elementary-files/elementary-files.spec b/anda/desktops/elementary/elementary-files/elementary-files.spec index eeb1d03303..ac727d6695 100644 --- a/anda/desktops/elementary/elementary-files/elementary-files.spec +++ b/anda/desktops/elementary/elementary-files/elementary-files.spec @@ -42,6 +42,8 @@ BuildRequires: pkgconfig(pango) >= 1.1.2 BuildRequires: pkgconfig(plank) >= 0.10.9 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(systemd) >= 206 +BuildRequires: pkgconfig(libportal) +BuildRequires: pkgconfig(libportal-gtk3) Requires: contractor Requires: file-roller @@ -76,6 +78,7 @@ This package contains the development headers. %build +CFLAGS="$CFLAGS -Wno-implicit-function-declaration" %meson -Dwith-zeitgeist=disabled %meson_build @@ -85,11 +88,6 @@ This package contains the development headers. %find_lang %{appname} -%fdupes %buildroot%_datadir/icons/hicolor/ - -# remove unused pixmaps -rm -r %{buildroot}/%{_datadir}/pixmaps - # install file-roller contracts mkdir -p %{buildroot}/%{_datadir}/contractor cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/ @@ -120,7 +118,7 @@ appstream-util validate-relax --nonet \ %{_bindir}/%{appname}-pkexec %{_libdir}/%{appname}/ -%{_libdir}/libpantheon-files-core.so.6* +%{_libdir}/libpantheon-files-core.so.* %{_datadir}/applications/%{appname}.desktop %{_datadir}/contractor/*.contract