1
0
xdg-desktop-portal/xdg-desktop-portal.spec

122 lines
4.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xdg-desktop-portal
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 660142 from GNOME:Next - Update to version 1.0.3: + Fix an option name in the remote desktop portal + document-portal: Validate permissions and report errors + Fix life-cycle issues with inodes in the document portal + Improve the test coverage of the documents portal + Add a 'coverage' make target - Changes from version 1.0.2: + networkmonitor: Fix several issues + inhibit: Add session state monitoring - Changes from version 1.0.1: + networkmonitor: Add GetStatus and CanReach methods + Unset GTK_USE_PORTAL + Add a portal for moving files to the trash + Fix an inode leak in the document portal - Changes from version 1.0: + screenshot: Add a color picker api + screencast: Bump the pipewire dependency to 0.2.1 + Improve --help output + Small documentation improvements - Changes from version 0.99: + The NetworkMonitor portal API has been changed to allow access control + The Proxy and NetworkMonitor portals only respond to requests from sandboxes with network access + The flatpak portal is now documented - Switch to tarball releases, upstream now releases stable tarballs. - Following the above, drop libtool BuildRequires and autogen.sh macro call. - Add pkgconfig(libpipewire-0.2) and pass --enable-pipewire to configure, build screencast and screenshot support. - Update to version 0.11: + OpenURI: - Fix misleading warning when accessing the permission store - Don't skip the dialog based on content type if a threshold is set + document-portal: - Support non-O_PATH fds for adding existing files - Only give DELETE right if you also get WRITE rights - Make fd validation stricter wrt /proc/pid/fd symlink - Rewrite paths in data - Verify access right on fds - Add some debug spew + XdpAppInfo: Nicer handling of kind + Add support for snap packages + XdpAppInfo: Centralize handling of xdp_app_info_new_host () + Broaden what are valid app ids to allow snap.$PKGNAME + README: Fix docs link + Don't register http: uris + remote-desktop: Correct device type values + utils: - Generalize XdpAppInfo with a tagged union - Clarify content of app_infos hash table - Use more constants for interactions with the dbus-daemon - Don't leak names whose ownership changed + file-chooser: Handle save-file backend failure + screen-cast: add missing sync request + documents xml: Correct flag value for as-needed-by-app + build: Run install-test-data-hook as intended + Updated translations. - Remove BuildRequires(flatpak), it is not needed. - Own /usr/share/dbus-1, /usr/share/dbus-1/{interfaces,services} which were owned by flatpak package before. - Use SPDX3.0 license tags and package COPYING as %license. - Update to version 0.10: + xdg-document-portal moved here from flatpak. + Add a new screencast and remote desktop portal based on PipeWire. - Pass --disable-pipewire to configure: pipewire has not yet been packaged for openSUSE. - Add pgkconfig(fuse) BuildRequires: new dependency. - Update to version 0.9: + Install pkg-config files into datadir. + Avoid a race in the portal APIs. + Change the email portal to take fds. + Updated translations. - Update to version 0.8: + Update po files. - Changes from version 0.7: + notification: Fix copy+paste error. + notification: Subscribe to the right interface for signals. + If the random request ID creates a collision, pick a new random ID. + Add some rationale. + Fix a typo. + Update README.md. + OpenURI: Refuse to handle file: uris. + Add an OpenFile method. + OpenFile: Fix URI. + Cache entire flatpak info file for peer, not just app id. + Store the cached flatpak-info keyfile with the request. + OpenFile: Rewrite app paths in /usr and /app (and /newroot). + OpenFile: Ensure that passed O_PATH fd is correct. + Send more data to the appchooser. + Updated translations. - Changes from version 0.6: + Remove what appears to be printing lines from a debugging session. + open-uri: Fix segfault crash when no content-type can be resolved. + account: Remove debug spew. + Update README.md. + Add an email portal. + Include the email portal in the docs. + build: No need to clean org.freedesktop.portal.Desktop.service twice. + Add a systemd user unit corresponding to the session service. + notifications: Add better debug and error messages. + device: Add more detail to error messages. + Handle g_variant_lookup failure. + Encode po/Makevars in UTF-8. + Initialize autofree string variable to NULL. + open-uri: Implement a more permissive policy for the OpenURI portal. + data: Fix typo in NetworkMonitor XML definition. + Updated translations. - Update to version 0.5: + notification: Support 'non-exported actions. + Fix issues found in testing. + Avoid a crash when removing notifications. + Add an Account portal. + Change the Account portal API. + Update README.md. + Add a version property to all portal interfaces. + Fix a refcounting snafu. + file chooser: - Always grant write permissions for save dialogs. - Fix reading the writable property. + Simplify version support. + Updated translations. - Update to version 0.4: + No longer rely on cgroups to find the app id. + Fix handling of mime type filters in the file chooser portal. + Updated translations. - Initial package, version 0.3. OBS-URL: https://build.opensuse.org/request/show/660142 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=11
2018-12-21 09:46:45 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xdg-desktop-portal
Version: 1.14.1
Release: 0
Summary: A portal frontend service for Flatpak
License: LGPL-2.1-or-later
Group: System/Libraries
URL: https://github.com/flatpak/xdg-desktop-portal
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: xmlto
BuildRequires: pkgconfig(flatpak)
Accepting request 962648 from home:alarrosa:branches:GNOME:Factory - Update to version 1.14.0: * Add a new "dynamic launcher" portal, which can install .desktop files and accompanying icons after user confirmation. * Rework handling of empty app IDs: In case an empty string app ID is stored in the permission store, this permission is now shared only by apps whose app ID couldn't be determined, rather than all unsandboxed apps. * Use libsystemd (when available) to try to determine the app ID of unsandboxed processes. This is useful since some portals otherwise can't be used by host apps. * Make x-d-p start on session start, which is needed for the dynamic launcher portal to handle rewriting launchers for apps that have been renamed. * Bring back the copy of Flatpak's icon-validator, which was dropped many releases ago. * Icon validation is now required for the notification and dynamic launcher portals (previously it was only done if the "flatpak-validate-icon" binary could be found). * document-portal: Move to the libfuse3 API * document-portal: Use renameat2 sys call * document-portal: Use mutex to fix concurrency bug * realtime: Fix error code paths * realtime: Fix MakeThreadHighPriorityWithPID method * screencast: Fix an error when restoring streams * ci: Various improvements * Documentation improvements * New translations: pt, ro - Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3) since document-portal moved to use it. - Add BuildRequires: pkgconfig(libsystemd) and OBS-URL: https://build.opensuse.org/request/show/962648 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=47
2022-03-18 11:59:46 +01:00
BuildRequires: pkgconfig(fuse3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.5.2
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.2.90
BuildRequires: pkgconfig(libportal)
Accepting request 962648 from home:alarrosa:branches:GNOME:Factory - Update to version 1.14.0: * Add a new "dynamic launcher" portal, which can install .desktop files and accompanying icons after user confirmation. * Rework handling of empty app IDs: In case an empty string app ID is stored in the permission store, this permission is now shared only by apps whose app ID couldn't be determined, rather than all unsandboxed apps. * Use libsystemd (when available) to try to determine the app ID of unsandboxed processes. This is useful since some portals otherwise can't be used by host apps. * Make x-d-p start on session start, which is needed for the dynamic launcher portal to handle rewriting launchers for apps that have been renamed. * Bring back the copy of Flatpak's icon-validator, which was dropped many releases ago. * Icon validation is now required for the notification and dynamic launcher portals (previously it was only done if the "flatpak-validate-icon" binary could be found). * document-portal: Move to the libfuse3 API * document-portal: Use renameat2 sys call * document-portal: Use mutex to fix concurrency bug * realtime: Fix error code paths * realtime: Fix MakeThreadHighPriorityWithPID method * screencast: Fix an error when restoring streams * ci: Various improvements * Documentation improvements * New translations: pt, ro - Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3) since document-portal moved to use it. - Add BuildRequires: pkgconfig(libsystemd) and OBS-URL: https://build.opensuse.org/request/show/962648 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=47
2022-03-18 11:59:46 +01:00
BuildRequires: pkgconfig(libsystemd)
# Break cycle: we buildrequire flatpak, and flatpak has a requires on xdg-desktop-portal
#!BuildIgnore: xdg-desktop-portal
# xdg-dfesktop-portal calls out to fusermount (in $PATH) (boo#1175899)
# document-portal/document-portal-fuse.c: char *umount_argv[] = { "fusermount", "-u", "-z", (char *) path, NULL };
Requires: %{_bindir}/fusermount
%description
A portal frontend service for Flatpak and possibly other desktop containment frameworks.
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as portals under
a well-known name (org.freedesktop.portal.Desktop) and object path (/org/freedesktop/portal/desktop).
The portal interfaces include APIs for file access, opening URIs, printing and others.
%package devel
Summary: A portal frontend service for Flatpak -- Development files
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
%description devel
A portal frontend service for Flatpak and possibly other desktop containment frameworks.
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as portals under
a well-known name (org.freedesktop.portal.Desktop) and object path (/org/freedesktop/portal/desktop).
This package contains convenience files for developers.
%lang_package
%prep
Accepting request 660142 from GNOME:Next - Update to version 1.0.3: + Fix an option name in the remote desktop portal + document-portal: Validate permissions and report errors + Fix life-cycle issues with inodes in the document portal + Improve the test coverage of the documents portal + Add a 'coverage' make target - Changes from version 1.0.2: + networkmonitor: Fix several issues + inhibit: Add session state monitoring - Changes from version 1.0.1: + networkmonitor: Add GetStatus and CanReach methods + Unset GTK_USE_PORTAL + Add a portal for moving files to the trash + Fix an inode leak in the document portal - Changes from version 1.0: + screenshot: Add a color picker api + screencast: Bump the pipewire dependency to 0.2.1 + Improve --help output + Small documentation improvements - Changes from version 0.99: + The NetworkMonitor portal API has been changed to allow access control + The Proxy and NetworkMonitor portals only respond to requests from sandboxes with network access + The flatpak portal is now documented - Switch to tarball releases, upstream now releases stable tarballs. - Following the above, drop libtool BuildRequires and autogen.sh macro call. - Add pkgconfig(libpipewire-0.2) and pass --enable-pipewire to configure, build screencast and screenshot support. - Update to version 0.11: + OpenURI: - Fix misleading warning when accessing the permission store - Don't skip the dialog based on content type if a threshold is set + document-portal: - Support non-O_PATH fds for adding existing files - Only give DELETE right if you also get WRITE rights - Make fd validation stricter wrt /proc/pid/fd symlink - Rewrite paths in data - Verify access right on fds - Add some debug spew + XdpAppInfo: Nicer handling of kind + Add support for snap packages + XdpAppInfo: Centralize handling of xdp_app_info_new_host () + Broaden what are valid app ids to allow snap.$PKGNAME + README: Fix docs link + Don't register http: uris + remote-desktop: Correct device type values + utils: - Generalize XdpAppInfo with a tagged union - Clarify content of app_infos hash table - Use more constants for interactions with the dbus-daemon - Don't leak names whose ownership changed + file-chooser: Handle save-file backend failure + screen-cast: add missing sync request + documents xml: Correct flag value for as-needed-by-app + build: Run install-test-data-hook as intended + Updated translations. - Remove BuildRequires(flatpak), it is not needed. - Own /usr/share/dbus-1, /usr/share/dbus-1/{interfaces,services} which were owned by flatpak package before. - Use SPDX3.0 license tags and package COPYING as %license. - Update to version 0.10: + xdg-document-portal moved here from flatpak. + Add a new screencast and remote desktop portal based on PipeWire. - Pass --disable-pipewire to configure: pipewire has not yet been packaged for openSUSE. - Add pgkconfig(fuse) BuildRequires: new dependency. - Update to version 0.9: + Install pkg-config files into datadir. + Avoid a race in the portal APIs. + Change the email portal to take fds. + Updated translations. - Update to version 0.8: + Update po files. - Changes from version 0.7: + notification: Fix copy+paste error. + notification: Subscribe to the right interface for signals. + If the random request ID creates a collision, pick a new random ID. + Add some rationale. + Fix a typo. + Update README.md. + OpenURI: Refuse to handle file: uris. + Add an OpenFile method. + OpenFile: Fix URI. + Cache entire flatpak info file for peer, not just app id. + Store the cached flatpak-info keyfile with the request. + OpenFile: Rewrite app paths in /usr and /app (and /newroot). + OpenFile: Ensure that passed O_PATH fd is correct. + Send more data to the appchooser. + Updated translations. - Changes from version 0.6: + Remove what appears to be printing lines from a debugging session. + open-uri: Fix segfault crash when no content-type can be resolved. + account: Remove debug spew. + Update README.md. + Add an email portal. + Include the email portal in the docs. + build: No need to clean org.freedesktop.portal.Desktop.service twice. + Add a systemd user unit corresponding to the session service. + notifications: Add better debug and error messages. + device: Add more detail to error messages. + Handle g_variant_lookup failure. + Encode po/Makevars in UTF-8. + Initialize autofree string variable to NULL. + open-uri: Implement a more permissive policy for the OpenURI portal. + data: Fix typo in NetworkMonitor XML definition. + Updated translations. - Update to version 0.5: + notification: Support 'non-exported actions. + Fix issues found in testing. + Avoid a crash when removing notifications. + Add an Account portal. + Change the Account portal API. + Update README.md. + Add a version property to all portal interfaces. + Fix a refcounting snafu. + file chooser: - Always grant write permissions for save dialogs. - Fix reading the writable property. + Simplify version support. + Updated translations. - Update to version 0.4: + No longer rely on cgroups to find the app id. + Fix handling of mime type filters in the file chooser portal. + Updated translations. - Initial package, version 0.3. OBS-URL: https://build.opensuse.org/request/show/660142 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=11
2018-12-21 09:46:45 +01:00
%autosetup -p1
%build
export LANG=C.UTF-8
autoreconf -fiv
%configure \
--enable-geoclue \
Accepting request 660142 from GNOME:Next - Update to version 1.0.3: + Fix an option name in the remote desktop portal + document-portal: Validate permissions and report errors + Fix life-cycle issues with inodes in the document portal + Improve the test coverage of the documents portal + Add a 'coverage' make target - Changes from version 1.0.2: + networkmonitor: Fix several issues + inhibit: Add session state monitoring - Changes from version 1.0.1: + networkmonitor: Add GetStatus and CanReach methods + Unset GTK_USE_PORTAL + Add a portal for moving files to the trash + Fix an inode leak in the document portal - Changes from version 1.0: + screenshot: Add a color picker api + screencast: Bump the pipewire dependency to 0.2.1 + Improve --help output + Small documentation improvements - Changes from version 0.99: + The NetworkMonitor portal API has been changed to allow access control + The Proxy and NetworkMonitor portals only respond to requests from sandboxes with network access + The flatpak portal is now documented - Switch to tarball releases, upstream now releases stable tarballs. - Following the above, drop libtool BuildRequires and autogen.sh macro call. - Add pkgconfig(libpipewire-0.2) and pass --enable-pipewire to configure, build screencast and screenshot support. - Update to version 0.11: + OpenURI: - Fix misleading warning when accessing the permission store - Don't skip the dialog based on content type if a threshold is set + document-portal: - Support non-O_PATH fds for adding existing files - Only give DELETE right if you also get WRITE rights - Make fd validation stricter wrt /proc/pid/fd symlink - Rewrite paths in data - Verify access right on fds - Add some debug spew + XdpAppInfo: Nicer handling of kind + Add support for snap packages + XdpAppInfo: Centralize handling of xdp_app_info_new_host () + Broaden what are valid app ids to allow snap.$PKGNAME + README: Fix docs link + Don't register http: uris + remote-desktop: Correct device type values + utils: - Generalize XdpAppInfo with a tagged union - Clarify content of app_infos hash table - Use more constants for interactions with the dbus-daemon - Don't leak names whose ownership changed + file-chooser: Handle save-file backend failure + screen-cast: add missing sync request + documents xml: Correct flag value for as-needed-by-app + build: Run install-test-data-hook as intended + Updated translations. - Remove BuildRequires(flatpak), it is not needed. - Own /usr/share/dbus-1, /usr/share/dbus-1/{interfaces,services} which were owned by flatpak package before. - Use SPDX3.0 license tags and package COPYING as %license. - Update to version 0.10: + xdg-document-portal moved here from flatpak. + Add a new screencast and remote desktop portal based on PipeWire. - Pass --disable-pipewire to configure: pipewire has not yet been packaged for openSUSE. - Add pgkconfig(fuse) BuildRequires: new dependency. - Update to version 0.9: + Install pkg-config files into datadir. + Avoid a race in the portal APIs. + Change the email portal to take fds. + Updated translations. - Update to version 0.8: + Update po files. - Changes from version 0.7: + notification: Fix copy+paste error. + notification: Subscribe to the right interface for signals. + If the random request ID creates a collision, pick a new random ID. + Add some rationale. + Fix a typo. + Update README.md. + OpenURI: Refuse to handle file: uris. + Add an OpenFile method. + OpenFile: Fix URI. + Cache entire flatpak info file for peer, not just app id. + Store the cached flatpak-info keyfile with the request. + OpenFile: Rewrite app paths in /usr and /app (and /newroot). + OpenFile: Ensure that passed O_PATH fd is correct. + Send more data to the appchooser. + Updated translations. - Changes from version 0.6: + Remove what appears to be printing lines from a debugging session. + open-uri: Fix segfault crash when no content-type can be resolved. + account: Remove debug spew. + Update README.md. + Add an email portal. + Include the email portal in the docs. + build: No need to clean org.freedesktop.portal.Desktop.service twice. + Add a systemd user unit corresponding to the session service. + notifications: Add better debug and error messages. + device: Add more detail to error messages. + Handle g_variant_lookup failure. + Encode po/Makevars in UTF-8. + Initialize autofree string variable to NULL. + open-uri: Implement a more permissive policy for the OpenURI portal. + data: Fix typo in NetworkMonitor XML definition. + Updated translations. - Update to version 0.5: + notification: Support 'non-exported actions. + Fix issues found in testing. + Avoid a crash when removing notifications. + Add an Account portal. + Change the Account portal API. + Update README.md. + Add a version property to all portal interfaces. + Fix a refcounting snafu. + file chooser: - Always grant write permissions for save dialogs. - Fix reading the writable property. + Simplify version support. + Updated translations. - Update to version 0.4: + No longer rely on cgroups to find the app id. + Fix handling of mime type filters in the file chooser portal. + Updated translations. - Initial package, version 0.3. OBS-URL: https://build.opensuse.org/request/show/660142 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=11
2018-12-21 09:46:45 +01:00
--enable-pipewire \
--docdir=%{_defaultdocdir}/%{name} \
Accepting request 660142 from GNOME:Next - Update to version 1.0.3: + Fix an option name in the remote desktop portal + document-portal: Validate permissions and report errors + Fix life-cycle issues with inodes in the document portal + Improve the test coverage of the documents portal + Add a 'coverage' make target - Changes from version 1.0.2: + networkmonitor: Fix several issues + inhibit: Add session state monitoring - Changes from version 1.0.1: + networkmonitor: Add GetStatus and CanReach methods + Unset GTK_USE_PORTAL + Add a portal for moving files to the trash + Fix an inode leak in the document portal - Changes from version 1.0: + screenshot: Add a color picker api + screencast: Bump the pipewire dependency to 0.2.1 + Improve --help output + Small documentation improvements - Changes from version 0.99: + The NetworkMonitor portal API has been changed to allow access control + The Proxy and NetworkMonitor portals only respond to requests from sandboxes with network access + The flatpak portal is now documented - Switch to tarball releases, upstream now releases stable tarballs. - Following the above, drop libtool BuildRequires and autogen.sh macro call. - Add pkgconfig(libpipewire-0.2) and pass --enable-pipewire to configure, build screencast and screenshot support. - Update to version 0.11: + OpenURI: - Fix misleading warning when accessing the permission store - Don't skip the dialog based on content type if a threshold is set + document-portal: - Support non-O_PATH fds for adding existing files - Only give DELETE right if you also get WRITE rights - Make fd validation stricter wrt /proc/pid/fd symlink - Rewrite paths in data - Verify access right on fds - Add some debug spew + XdpAppInfo: Nicer handling of kind + Add support for snap packages + XdpAppInfo: Centralize handling of xdp_app_info_new_host () + Broaden what are valid app ids to allow snap.$PKGNAME + README: Fix docs link + Don't register http: uris + remote-desktop: Correct device type values + utils: - Generalize XdpAppInfo with a tagged union - Clarify content of app_infos hash table - Use more constants for interactions with the dbus-daemon - Don't leak names whose ownership changed + file-chooser: Handle save-file backend failure + screen-cast: add missing sync request + documents xml: Correct flag value for as-needed-by-app + build: Run install-test-data-hook as intended + Updated translations. - Remove BuildRequires(flatpak), it is not needed. - Own /usr/share/dbus-1, /usr/share/dbus-1/{interfaces,services} which were owned by flatpak package before. - Use SPDX3.0 license tags and package COPYING as %license. - Update to version 0.10: + xdg-document-portal moved here from flatpak. + Add a new screencast and remote desktop portal based on PipeWire. - Pass --disable-pipewire to configure: pipewire has not yet been packaged for openSUSE. - Add pgkconfig(fuse) BuildRequires: new dependency. - Update to version 0.9: + Install pkg-config files into datadir. + Avoid a race in the portal APIs. + Change the email portal to take fds. + Updated translations. - Update to version 0.8: + Update po files. - Changes from version 0.7: + notification: Fix copy+paste error. + notification: Subscribe to the right interface for signals. + If the random request ID creates a collision, pick a new random ID. + Add some rationale. + Fix a typo. + Update README.md. + OpenURI: Refuse to handle file: uris. + Add an OpenFile method. + OpenFile: Fix URI. + Cache entire flatpak info file for peer, not just app id. + Store the cached flatpak-info keyfile with the request. + OpenFile: Rewrite app paths in /usr and /app (and /newroot). + OpenFile: Ensure that passed O_PATH fd is correct. + Send more data to the appchooser. + Updated translations. - Changes from version 0.6: + Remove what appears to be printing lines from a debugging session. + open-uri: Fix segfault crash when no content-type can be resolved. + account: Remove debug spew. + Update README.md. + Add an email portal. + Include the email portal in the docs. + build: No need to clean org.freedesktop.portal.Desktop.service twice. + Add a systemd user unit corresponding to the session service. + notifications: Add better debug and error messages. + device: Add more detail to error messages. + Handle g_variant_lookup failure. + Encode po/Makevars in UTF-8. + Initialize autofree string variable to NULL. + open-uri: Implement a more permissive policy for the OpenURI portal. + data: Fix typo in NetworkMonitor XML definition. + Updated translations. - Update to version 0.5: + notification: Support 'non-exported actions. + Fix issues found in testing. + Avoid a crash when removing notifications. + Add an Account portal. + Change the Account portal API. + Update README.md. + Add a version property to all portal interfaces. + Fix a refcounting snafu. + file chooser: - Always grant write permissions for save dialogs. - Fix reading the writable property. + Simplify version support. + Updated translations. - Update to version 0.4: + No longer rely on cgroups to find the app id. + Fix handling of mime type filters in the file chooser portal. + Updated translations. - Initial package, version 0.3. OBS-URL: https://build.opensuse.org/request/show/660142 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=11
2018-12-21 09:46:45 +01:00
%{nil}
%make_build
%install
export LANG=C.UTF-8
%make_install
%find_lang %{name}
%post
%systemd_user_post %{name}.service xdg-document-portal.service xdg-permission-store.service
%preun
%systemd_user_preun %{name}.service xdg-document-portal.service xdg-permission-store.service
%files
%license COPYING
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/interfaces
%dir %{_datadir}/dbus-1/services
Accepting request 660142 from GNOME:Next - Update to version 1.0.3: + Fix an option name in the remote desktop portal + document-portal: Validate permissions and report errors + Fix life-cycle issues with inodes in the document portal + Improve the test coverage of the documents portal + Add a 'coverage' make target - Changes from version 1.0.2: + networkmonitor: Fix several issues + inhibit: Add session state monitoring - Changes from version 1.0.1: + networkmonitor: Add GetStatus and CanReach methods + Unset GTK_USE_PORTAL + Add a portal for moving files to the trash + Fix an inode leak in the document portal - Changes from version 1.0: + screenshot: Add a color picker api + screencast: Bump the pipewire dependency to 0.2.1 + Improve --help output + Small documentation improvements - Changes from version 0.99: + The NetworkMonitor portal API has been changed to allow access control + The Proxy and NetworkMonitor portals only respond to requests from sandboxes with network access + The flatpak portal is now documented - Switch to tarball releases, upstream now releases stable tarballs. - Following the above, drop libtool BuildRequires and autogen.sh macro call. - Add pkgconfig(libpipewire-0.2) and pass --enable-pipewire to configure, build screencast and screenshot support. - Update to version 0.11: + OpenURI: - Fix misleading warning when accessing the permission store - Don't skip the dialog based on content type if a threshold is set + document-portal: - Support non-O_PATH fds for adding existing files - Only give DELETE right if you also get WRITE rights - Make fd validation stricter wrt /proc/pid/fd symlink - Rewrite paths in data - Verify access right on fds - Add some debug spew + XdpAppInfo: Nicer handling of kind + Add support for snap packages + XdpAppInfo: Centralize handling of xdp_app_info_new_host () + Broaden what are valid app ids to allow snap.$PKGNAME + README: Fix docs link + Don't register http: uris + remote-desktop: Correct device type values + utils: - Generalize XdpAppInfo with a tagged union - Clarify content of app_infos hash table - Use more constants for interactions with the dbus-daemon - Don't leak names whose ownership changed + file-chooser: Handle save-file backend failure + screen-cast: add missing sync request + documents xml: Correct flag value for as-needed-by-app + build: Run install-test-data-hook as intended + Updated translations. - Remove BuildRequires(flatpak), it is not needed. - Own /usr/share/dbus-1, /usr/share/dbus-1/{interfaces,services} which were owned by flatpak package before. - Use SPDX3.0 license tags and package COPYING as %license. - Update to version 0.10: + xdg-document-portal moved here from flatpak. + Add a new screencast and remote desktop portal based on PipeWire. - Pass --disable-pipewire to configure: pipewire has not yet been packaged for openSUSE. - Add pgkconfig(fuse) BuildRequires: new dependency. - Update to version 0.9: + Install pkg-config files into datadir. + Avoid a race in the portal APIs. + Change the email portal to take fds. + Updated translations. - Update to version 0.8: + Update po files. - Changes from version 0.7: + notification: Fix copy+paste error. + notification: Subscribe to the right interface for signals. + If the random request ID creates a collision, pick a new random ID. + Add some rationale. + Fix a typo. + Update README.md. + OpenURI: Refuse to handle file: uris. + Add an OpenFile method. + OpenFile: Fix URI. + Cache entire flatpak info file for peer, not just app id. + Store the cached flatpak-info keyfile with the request. + OpenFile: Rewrite app paths in /usr and /app (and /newroot). + OpenFile: Ensure that passed O_PATH fd is correct. + Send more data to the appchooser. + Updated translations. - Changes from version 0.6: + Remove what appears to be printing lines from a debugging session. + open-uri: Fix segfault crash when no content-type can be resolved. + account: Remove debug spew. + Update README.md. + Add an email portal. + Include the email portal in the docs. + build: No need to clean org.freedesktop.portal.Desktop.service twice. + Add a systemd user unit corresponding to the session service. + notifications: Add better debug and error messages. + device: Add more detail to error messages. + Handle g_variant_lookup failure. + Encode po/Makevars in UTF-8. + Initialize autofree string variable to NULL. + open-uri: Implement a more permissive policy for the OpenURI portal. + data: Fix typo in NetworkMonitor XML definition. + Updated translations. - Update to version 0.5: + notification: Support 'non-exported actions. + Fix issues found in testing. + Avoid a crash when removing notifications. + Add an Account portal. + Change the Account portal API. + Update README.md. + Add a version property to all portal interfaces. + Fix a refcounting snafu. + file chooser: - Always grant write permissions for save dialogs. - Fix reading the writable property. + Simplify version support. + Updated translations. - Update to version 0.4: + No longer rely on cgroups to find the app id. + Fix handling of mime type filters in the file chooser portal. + Updated translations. - Initial package, version 0.3. OBS-URL: https://build.opensuse.org/request/show/660142 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=11
2018-12-21 09:46:45 +01:00
%{_datadir}/dbus-1/interfaces/*.xml
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
%{_libexecdir}/%{name}
Accepting request 962648 from home:alarrosa:branches:GNOME:Factory - Update to version 1.14.0: * Add a new "dynamic launcher" portal, which can install .desktop files and accompanying icons after user confirmation. * Rework handling of empty app IDs: In case an empty string app ID is stored in the permission store, this permission is now shared only by apps whose app ID couldn't be determined, rather than all unsandboxed apps. * Use libsystemd (when available) to try to determine the app ID of unsandboxed processes. This is useful since some portals otherwise can't be used by host apps. * Make x-d-p start on session start, which is needed for the dynamic launcher portal to handle rewriting launchers for apps that have been renamed. * Bring back the copy of Flatpak's icon-validator, which was dropped many releases ago. * Icon validation is now required for the notification and dynamic launcher portals (previously it was only done if the "flatpak-validate-icon" binary could be found). * document-portal: Move to the libfuse3 API * document-portal: Use renameat2 sys call * document-portal: Use mutex to fix concurrency bug * realtime: Fix error code paths * realtime: Fix MakeThreadHighPriorityWithPID method * screencast: Fix an error when restoring streams * ci: Various improvements * Documentation improvements * New translations: pt, ro - Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3) since document-portal moved to use it. - Add BuildRequires: pkgconfig(libsystemd) and OBS-URL: https://build.opensuse.org/request/show/962648 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=47
2022-03-18 11:59:46 +01:00
%{_libexecdir}/xdg-desktop-portal-validate-icon
%{_libexecdir}/xdg-document-portal
%{_libexecdir}/xdg-permission-store
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
%{_userunitdir}/%{name}.service
%{_userunitdir}/xdg-document-portal.service
%{_userunitdir}/xdg-permission-store.service
%{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service
%files devel
%doc %{_defaultdocdir}/%{name}/
%{_datadir}/pkgconfig/%{name}.pc
%files lang -f %{name}.lang
%changelog