File xdg-desktop-portal.changes of Package xdg-desktop-portal

-------------------------------------------------------------------
Fri Jun  6 15:27:54 UTC 2025 - Michael Gorse <mgorse@suse.com>

- Rebase remove-furo-dep.patch.

-------------------------------------------------------------------
Wed May 21 08:17:55 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.20.3:
  + Bug Fixes:
    - Add a fallback code path for GLib older than 2.76
    - Don't require a .desktop file for Flatpak and Snap apps

-------------------------------------------------------------------
Mon May 19 19:22:10 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.20.2:
  + Bug Fixes:
    - Fix a crash when loading information from Flatpak apps.
    - Fix fd handling to prevent EBADF errors.

-------------------------------------------------------------------
Thu May 15 14:45:14 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.20.1:
  + Enhancements:
    - Code cleanups and improvements to app info tracking
    - Include PID/TID in realtime portal error messages
    - Search for portal backends in $XDG_DATA_DIRS
    - Prioritize user portal configs over system ones
  + Bug Fixes:
    - Fix race condition in the host registry portal
    - Avoid spurious warnings when dbus.service stops
    - Documentation fixes
    - Fix running tests from /tmp
    - Fix installing dynamic launcher
    - Improve error reporting in the document portal
    - Fix incorrect state tracking in input capture portal

-------------------------------------------------------------------
Fri Mar 28 01:48:38 UTC 2025 - Yifan Jiang <yfjiang@suse.com>

- Optimize docs dependency concern by using default sphinx
  theme. So the python-furo and its dependencies will not be pulled
  on Leap 16.0, and we can still build the doc. Added Patch
  authored by Daniel Garcia <daniel.garcia@suse.com>:
  * remove-furo-dep.patch

-------------------------------------------------------------------
Mon Mar 17 16:08:47 UTC 2025 - Michael Gorse <mgorse@suse.com>

- Do not build docs on SLE/Leap <= 16. They pull in a lot of
  additional dependencies.

-------------------------------------------------------------------
Wed Feb 19 16:53:28 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.20.0:
  + Document how the test suite works.
  + Improve the test runner script.

-------------------------------------------------------------------
Sat Feb 15 16:29:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.19.4:
  + New Features: Introduce the host app registry. This interface
    allows host system apps (i.e. apps not running under a
    sandboxing mechanism like Flatpak) register themselves with XDG
    Desktop Portal. This allows XDG Desktop Portal to use a proper
    app id, and desktop file, improving the interaction with portal
    backends.
  + Enhancements: Use a new internal script to simply running
    tests.
  + Bug Fixes:
    - Properly escape notification body in the Notification portal.
    - Fix various documentation links in the USB portal
      documentation page.

-------------------------------------------------------------------
Thu Feb 13 08:10:26 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.19.3:
  + Bug Fixes:
    - Fix documentation links in the USB portal page.
    - Make the Document portal track open files, and release them
      when shutting down. This should fix some harmless leak
      reports,
    - Fix a memory leak, a crash, and improve robustness against
      non-existing folders in the Dynamic Launcher portal.
    - Fix build with PipeWire 1.3.82
  + Enhancements:
    - Make the host path xattr more useful by removing the trailing
      end character, and also reporting the xattr of files inside
      folders added to the document store.
    - Remove libportal-based integrated tests. This should remove
      the cyclic dependency between libportal, and
      xdg-desktop-portal. All tests are now based on the Python
      testing framework.
- Drop 0001-Fix-build-with-pipewire-1.3.82.patch: Fixed upstream.
- Stop passing pytest=disabled to meson setup, replace with
  tests=disabled.

-------------------------------------------------------------------
Wed Feb 12 14:18:49 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>

- Update patch with the version finally merged upstream in
  gh#flatpak/xdg-desktop-portal#1624 .
- Removed patch:
  * fix-pipewire-pw_registry-cast.patch
- Added patch:
  * 0001-Fix-build-with-pipewire-1.3.82.patch

-------------------------------------------------------------------
Tue Feb 11 11:29:37 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>

- Add patch to fix building with pipewire 1.3.82. Submitted to
  upstream in gh#flatpak/xdg-desktop-portal#1624 .
  * fix-pipewire-pw_registry-cast.patch

-------------------------------------------------------------------
Tue Jan 21 11:56:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.19.2:
  + Bug Fixes:
    - Fix permission check for host system apps in the Camera
      portal.
    - Do not expose the Settings portal if there are no backends
      available.
    - Disable sounds-related notification tests if the project is
      built without wavparse.
  + Enhancements:
    - Start porting the test suite to Python tests. Once finished,
      this should break the cyclic dependency between
      xdg-desktop-portal and libportal.
    - Install Python-based tests. This is mostly useful for
      distributions to run tests as part of their packaging
      process.
- Drop fix-test-dependencies.patch: Fixed upstream.

-------------------------------------------------------------------
Thu Jan  9 14:28:44 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.19.1 (boo#1235025):
  + New Features:
    - Introduce the Notification v2 portal. This updated version of
      the Notification portal supports a plethora of new fields for
      notifications, such as sounds, categories, purpose, and more.
    - Introduce the USB portal. This portal allows apps with
      relevant permissions to enumerate and acquire access to
      specific USB devices.
    - Introduce a new SchemeSupported method to the OpenURI portal.
      This new method allows apps to know ahead of time if the host
      system is able to deal with a particular scheme.
  + Enhancements:
    - Continued the move towards Python-based tests. This should
      simplify the test setup in the project quite significantly,
      and also will allow removing the cyclic dependency between
      libportal and XDG Desktop Portal.
    - Introduce umockdev-based tests.
    - Improve the icon validator so it can deal with memfd-based
      icons.
    - Clarify behavior of the Settings portal for non-standardized
      keys.
    - In the Global Shortcuts portal, clarify that the result the
      BindShortcuts of may be a subset of all requested shortcuts.
    - Add a documentation page about icon validation requirements.
  + Bug Fixes:
    - Fix memory leaks in the Background, Email, and Global
      Shortcuts portals.
    - Fix a general file descriptor & memory leak.
    - Fix a regression in the Settings portal.
    - Updated translations.
- Add pkgconfig(gstreamer-pbutils-1.0), gstreamer-plugins-good and
  gstreamer-utils BuildRequires: New dependencies.
- Add fix-test-dependencies.patch: build/tests: Check for python
  found and version in single require call.

-------------------------------------------------------------------
Tue Dec 31 09:03:21 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

- Delete unreproducible Sphinx doctrees (boo#1234334)

-------------------------------------------------------------------
Thu Dec 19 16:43:17 UTC 2024 - Frederic Crozat <fcrozat@suse.com>

- Create a doc flavor for building developer documentation.

-------------------------------------------------------------------
Wed Dec 11 13:06:00 UTC 2024 - Frederic Crozat <fcrozat@suse.com>

- Update to 1.19.0:
  + The portals.conf parser is now able to handle fallback backends
    better, and respects the order of backends in the config file.
  + Try to use the xdg-desktop-portal-gtk backend as a last resort
    backend, if everything else fails.
  + Implement getlk and setlk, and honour O_NOFOLLOW, in the
    Document portal's FUSE filesystem.
  + Neutralize the Devices portal. Originally the Devices portal
    was introduced so that services like PulseAudio or PipeWire
    could request access to microphones and cameras on the behalf
    of apps. It was not meant to be used by sandboxed apps
    directly, which is unusual for a portal. Practically, however,
    it didn't take off.
  + Implement PID/TID mapping for host system apps.
  + Add a new "supported_output_file_formats" option to the Print
    portal. This can be used by apps like browsers to limit the
    output file formats presented by the Print portal backend. For
    example, an app can limit file printing to PDF files.
  + Add a new "GetHostPaths" method to the Document portal, which
    allows mapping file descriptors to paths on the host system.
    This can be used by apps to show more meaningful file paths in
    the user interface.
  + Like the new method above, the Document portal sets the
    "user.document-portal.host-path" xattr on files, pointing to
    the host system file path. The use case is similar to
    "GetHostPaths".
  + Make the Background portal more robust when validating
    autostart files.
  + Clarify behavior of the File Chooser portal in the
    documentation pages.
  + Improve robustness against deleted o_path fds in the Document
    portal.
  + Fix a warning in some systems while trying to load Request
    D-Bus object properties.
  + Fix a physical inode leak in the Document portal.
  + Various improvements to the test suite. Python-based tests now
    run in parallel and are more careful when setting up the mock
    D-Bus server. Tests also start dbus-monitor if necessary now.
    FUSE tests of the Document portal have been made more
    TAP-alike now.
  + Memory leak fixes in a variety of portals and services,
    including the permissions database, the Document portal, the
    File Transfer portal, the Location portal, the Background
    portal, tests, and the icon validator. And more. There's a lot
    of memory leak fixes everywhere, really.
  + Major refactorings of the icon validator. Icons are now
    limited to 4MB files.
  + Update XML specification specifying session handle type to
    match current actual ABI in GlobalShortcuts, Inhibit,
    RemoteDesktop, and ScreenCast portals.
  + New and updated translations.
- Adapt BuildRequires for new documentation build process:
  + Add python3-Sphinx
  + Add python3-furo
  + Add python3-sphinxcontrib-copybutton
  + Add python3-sphinxext-opengraph

-------------------------------------------------------------------
Sat May 18 15:53:53 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

- update to 1.18.4:
  + Don't allow commandline arrays when the first commandline item
    starts with whitespace or hyphen. (CVE-2024-32462, boo#1223110)
  + Do not store device access permission if it returned an error
  + Fix crash with config files without a default backend set
- includes changes from 1.18.3:
  + Don't try to read D-Bus object properties of Request objects on
    construction
  + Fix various memory and file descriptor leaks.
  + Minuscule optimization to the ScreenCast portal so that it
    stores restoration data with a single D-Bus call, instead of two.
  + Fix a crash in the OpenURI file when trying to open a non-
    existing file
  + Fix a bug in PipeWire that prevented cameras from being
    reported reliably.
  + Various smaller bug fixes.

-------------------------------------------------------------------
Fri Jan 12 12:48:49 UTC 2024 - Callum Farmer <gmbr3@opensuse.org>

- Also own the packaging directory used by portals themselves

-------------------------------------------------------------------
Fri Dec  1 12:15:24 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>

- Own the directory which packages will use for portals.conf
  configuration files

-------------------------------------------------------------------
Thu Nov 23 17:09:58 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.18.2:
  + Pass the token to the OpenURI portal and, when missing, an
    empty string.
  + Fix various memory and file descriptor leaks in the Document
    portal.
  + Make files and folders openend with the Document portal close
    properly. This should fix cases where the Document portal
    prevented external devices from unmounting, due to files inside
    them not getting closed after applications stop using them.
  + Implement FUSE getlk and setlk callbacks.This should enable
    using sqlite3 through the Document portal.
  + Properly resolve fd symlinks before opening them with
    O_NOFOLLOW.
  + Fix cases where the portal id is assumed to match the .desktop
    file name.
  + Allow sending directories in the file transfer portal. This
    should make it possible to, among other things, drag and drop
    folders and files simultaneously from and to sandboxed
    applications.
  + Fallback to a hardcoded check to xdg-desktop-portal-gtk in the
    absence of any other portal or configuration file, as a last
    resort mechanism.
  + Various smaller fixes to the build system.

-------------------------------------------------------------------
Thu Oct 26 18:10:50 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.18.1:
  + Communicate better when the Background portal kills an app.
  + Properly quote Flatpak command in the Background portal.
  + Improve documentation of the "cursor_mode" propery of the
    ScreenCast backend D-Bus interface.
  + Fix ScreenCast portal removing transient restore permissions
    too early. This fixes screen sharing dialogs on Chromium asking
    for the screen multiple times.
  + Only send the Closed session signal to the sender.
  + Add Meson options to disable building with Bubblewrap, and
    without the Flatpak portal documentation. Disabling Bubblewrap
    is highly discouraged, and only meant to be used on platforms
    that do not currently support it. By disabling Bubblewrap,
    bitmap validation happens without a sandbox, which is highly
    insecure since image parsing is a common source of exploits.
    Really, just do not disable Bubblewrap please.
  + Improve the manpage of portals.conf.
  + Various spelling fixes to the Document portal.
  + Add a new website! We don't have a fancy domain yet, but the
    website can be accessed at
    https://flatpak.github.io/xdg-desktop-portal/
  + Improve pid mapping for host system apps. This should get rid
    of some rare, unnecessary warnings.
  + Adjust documentation of Global Shortcuts portal's timestamps to
    millisecond granularity.
  + Bump minimum Meson version to 0.58.

-------------------------------------------------------------------
Tue Oct  3 12:20:53 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

- Support building with meson 0.61.x used by SLE, where .pc files
  in dataonly packages are installed to %_libdir unlike in
  meson >= 0.62.0 where the default was changed to %_datadir.

-------------------------------------------------------------------
Mon Sep 18 19:45:54 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.18.0:
  + Highlights:
    - A new config-based portal matching mechanism that gives
      preciser control over which portal backends are picked for
      each portal.
    - New portals: Clipboard and Input Capture.
    - The settings portal now documents an 'accent-color' key.
  + New portal APIs:
    - Introduce a new Clipboard portal. This portal extends the
      Remote Desktop portal by adding support for sharing clipboard
      between remote machines.
    - Introduce a new Input Capture portal. This portal adds
      mechanisms for taking control of input devices. The primary
      usage model is centered around the InputLeap and Synergy use
      cases, where local devices are used to control remote
      displays.
    - Add an "accept-label" option the the Print portal. This lets
      apps suggest a proper label to the print operation.
    - Document a new 'accent-color' key in the Settings portal.
      This key represents an arbitrary color in sRGB colorspace.
      How implementations of the portal provide this key is
      entirely dependent on their internal policies and design.
    - Support restoring remote desktop sessions.
    - Introduce the ReadOne() method in the Settings portal. This
      method is now preferred over the Read() method, as Read()
      mistakenly returned a variant inside a variant. The Read()
      method will continue to exist for compatibility with existing
      apps, but its usage is deprecated. We recommend apps to port
      to the ReadOne() method. Apps can decide whether to use
      ReadOne() or Read() by looking at the version of the Settings
      portal.
  + Changes that might be relevant for distributors:
    - Rework how portal implementations are loaded. This new, more
      robust system allows selecting specific backends for specific
      portals, and layering them when necessary. Platforms that
      provide portals implementation are encouraged to provide a
      suitable configuration file.
    - Drop the Autotools build. Meson is now the only supported
      build system.
    - The PipeWire dependency is now mandatory.
    - Bump GLib dependency to 2.66.
  + Misc changes:
    - Improve robustness of the OpenURI portal by validating more
      URIs.
    - Various small visual tweaks to the generated documentation.
    - Various fixes to the Global Shortcuts portal.
    - Stop using the deprecated GTimeVal struct.
    - Document xdg-desktop-portal versioning scheme.
    - Fix various issues in the OpenURI portal.
    - Bump interface version of the Printer portal to 2.
    - Validate addresses following the HTML specs in the Email
      portal.
    - Document minimum version of the new ReadOne() method of the
      Settings portal.
    - Add a mapping id property to the ScreenCast portal.
    - Add activation token parameter to the Email portal.
    - Test tarball generation in CI.
    - Updated translations.
- Add docutils BuildRequires: New dependency.

-------------------------------------------------------------------
Wed Aug  9 10:53:54 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.17.0:
  + Drop the Autotools build. Meson is now the only supported build
    system.
  + Rework how portal implementations are loaded. This new, more
    robust system allows selecting specific backends for specific
    portals, and layering them when necessary. Platforms that
    provide portals implementation are encouraged to provide a
    suitable configuration file.
  + Introduce a new Clipboard portal. This portal extends the
    Remote Desktop portal by adding support for sharing clipboard
    between remote machines.
  + Introduce a new Input Capture portal. This portal adds
    mechanisms for taking control of input devices. The primary
    usage model is centered around the InputLeap and Synergy use
    cases, where local devices are used to control remote displays.
  + Stop using the deprecated GTimeVal struct
  + Bump GLib dependency to 2.66
  + Add an "accept-label" option the the Print portal. This lets
    apps suggest a proper label to the print operation.
  + Various fixes to the Global Shortcuts portal.
  + Support restoring remote desktop sessions.
  + Improve robustness of the OpenURI portal by validating more
    URIs.
  + The PipeWire dependency is now mandatory.
  + Various improvements for the test suite.
  + Updated translations.
- Drop 0001-portal-impl-Only-return-found-implementation-if-it-launched.patch
  fixed upstream.
- Switch to meson buildsystem following upstream changes. Add meson
  BuildRequires and macros.

-------------------------------------------------------------------
Fri Jun 23 09:54:14 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

- Add patch from upstream to avoid creating portals with
  non-functional backends . This was mentioned in bsc#1212037 and
  since I included this fix in the SP4 update that fixed the issue,
  I'm fixing this in Factory/SP5 too for consistentcy.
  * 0001-portal-impl-Only-return-found-implementation-if-it-launched.patch

-------------------------------------------------------------------
Tue Dec 13 08:23:42 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.16.0:
  + Introduce a new background monitoring service. This allows
    desktop environments to list applications that are running in
    background, that is, sandboxed applications running without a
    visible window. Desktop environments can display these
    background running applications in their interfaces, and allow
    users to control their execution.
  + Introduce the Global Shortcuts portal. This portal allows
    applications to register and receive keyboard shortcuts even
    when they're not focused. This was a highly requested feature,
    especially on Wayland desktops. There are improvements to come,
    but portal backends can now implement this new portal.
  + Various CI improvements.
  + Updated translations.

-------------------------------------------------------------------
Fri Aug 12 06:46:03 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

- Update to version 1.15.0:
  + Add Meson build files. For now, both Autotools and Meson are
    available in the source tree.
  + Make the Screenshot portal request permission to take
    screenshots. Frontends that implement the version 2 of
    org.freedesktop.portal.impl.Screenshot portal can now be aware
    that the screenshot permission was granted through the new
    'permission_store_checked' option, and skip any kind of dialog
    when that is the case.
  + Stop sending the app id quoted in the Background portal.
  + Fix a bug in cgroup name parsing.
  + Various fixes to the Realtime portal.
  + Updated translations.

-------------------------------------------------------------------
Thu Aug  4 17:07:11 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.14.6:
  + realtime:
    - Remap thread ids.
    - Use correct types.

-------------------------------------------------------------------
Thu Jul 21 13:19:00 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.14.5:
  + realtime: Fix realtime: fix priority type in
    MakeThreadHighPriority.

-------------------------------------------------------------------
Thu May  5 17:34:21 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

- update to 1.14.4:
  + fix regression introduced in 1.14.0 which caused invalid
    autostart files to be generated

-------------------------------------------------------------------
Sat Apr 16 18:16:20 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

- update to 1.14.3:
  + remote-desktop: Fix a memory corruption that was causing
    segfaults

-------------------------------------------------------------------
Thu Mar 31 01:27:19 UTC 2022 - Luciano Santos <luc14n0@opensuse.org>

- Update to version 1.14.2:
  + Fix a frequent crash with WebKit processes.
  + Fix a bug in parsing the app ID from the cgroup on KDE.
  + Documentation improvements.
  + Updated translations.

-------------------------------------------------------------------
Wed Mar 30 10:25:00 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

- Update /usr/bin/fusermount requires to /usr/bin/fusermount3: the
  code has been changed to call fusermount3 as  part of version
  1.14.0: document-portal: Move to the libfuse3 API (boo#1197567).

-------------------------------------------------------------------
Sat Mar 19 09:41:29 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.14.1:
  + Fix an issue in 1.14.0 where xdg-desktop-portal.service
    starting before graphical-session-pre.target would cause the
    GNOME session to deadlock by moving code to a new libexec
    binary which handles deleting or migrating .desktop files (and
    icons) from the dynamic launcher portal for apps which have
    been uninstalled or renamed.
  + Fix some bugs in the aforementioned launcher migration
    implementation, "xdg-desktop-portal-rewrite-launchers".
  + Fix build without libsystemd.

-------------------------------------------------------------------
Fri Mar 18 06:50:05 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>

- 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
  + Updated translations.
- Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3)
  since document-portal moved to use it.
- Add BuildRequires: pkgconfig(libsystemd) and
  pkgconfig(gdk-pixbuf-2.0) which are now used.

-------------------------------------------------------------------
Sat Mar  5 00:21:38 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

- Pass --docdir=%%{_defaultdocdir}/%%{name}/ to configure, install
  docs in standard distro docs dir, and move to devel sub-package,
  as it is developer documentation.

-------------------------------------------------------------------
Mon Jan 17 20:58:13 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

- update to version 1.12.1:
  + Fix a crash in the device portal
- includes changes from 1.12.0:
  + Place portals in the systemd session.slice
  + settings: Add color-scheme key
  + open-uri: Avoid a sync call to org.freedesktop.FileManager
  + screncast: Allow restoring previous sessions
  + Add a portal for requesting realtime permissions
  + ci: Many improvements
  + Publish the docs from a ci job
  + Translation updates

-------------------------------------------------------------------
Fri Oct  8 14:50:27 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.10.1:
  + Revert a breaking change to the screencast and inhibit portal.

-------------------------------------------------------------------
Sat Sep 18 08:53:02 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.10.0:
  + Remap /run/flatpak/app, for Flatpak 1.11.x
  + Remap /var/config and /var/data
  + permission-store: Avoid a crash
  + permissions-store: Add GetPermission
  + screencast: Add 'virtual' source type
  + openuri: Use real path for OpenDirectory
  + location: Fix accuracy levels
  + Add power profile monitor implementation
  + Updated translations.

-------------------------------------------------------------------
Thu May  6 13:47:00 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

- Update to version 1.8.1:
  * openuri: Fix an fd leak
  * filechooser: Fix directory support
  * documents: Add snap support
  * wallpaper: Fix a crash
  * Translation updates
- Drop unneeded fontconfig BuildRequires

-------------------------------------------------------------------
Thu Jan 14 10:49:29 UTC 2021 - Frederic Crozat <fcrozat@suse.com>

- Ensure systemd rpm macros are called at install/uninstall times
  for systemd user services.
- Add BuildRequires on systemd-rpm-macros.

-------------------------------------------------------------------
Thu Jan  7 20:11:15 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.8.0:
  + openuri:
    - Allow skipping the chooser for more URL tyles
    - Robustness fixes
  + filechooser: Return the current filter
  + camera:
    - Make the client node visible
    - Don't leak pipewire proxy
  + Fix file descriptor leaks
  + Testsuite improvements
  + Updated translations.
- Changes from version 1.7.2:
  + document:
    - Reduce the use of open fds
    - Add more tests and fix issues they found
  + Fix the build with musl.
- Changes from version 1.7.1:
  + filechooser:
    - Add a "directory" option
    - Document the "writable" option
  + document: Expose directories with their proper name
- Changes from version 1.7.0:
  + testsuite improvements
  + background: Avoid a segfault
  + screencast: Require pipewire 0.3
  + document:
    - Support exporting directories
    - New fuse implementation
  + Better support for snap and toolbox
  + Updated translations.
- Drop patches fixed upstream:
  + xdg-dp-port-pipewire-3-api.patch
  + 0001-Fix-use-after-free-in-xdg_get_app_info_from_pid.patch
  + 0002-add-AssumedAppArmorLabel-key-to-D-Bus-service-files.patch
  + 0003-Fix-criticals-if-no-default-handler-for-desired-type.patch

-------------------------------------------------------------------
Fri Aug 28 16:27:32 UTC 2020 - Dario Faggioli <dfaggioli@suse.com>

- Require /usr/bin/fusermount: xdg-document-portal calls out to the
  binary. Without it, files or dirs can be selected, but
  whatever is done with or in them, will not have any effect
  (boo#1175899).

-------------------------------------------------------------------
Tue Jul  7 10:33:27 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>

- Fixes for %_libexecdir changing to /usr/libexec

-------------------------------------------------------------------
Mon Apr  6 11:49:59 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>

- Add patch from upstream to fix a use-after-free case:
  * 0001-Fix-use-after-free-in-xdg_get_app_info_from_pid.patch

- Add patch from upstream to add AssumedAppArmorLabel key to D-Bus
  service files to allow sandboxed processes to activate the portal
  services if the sandbox makes use of AppArmor D-Bus mediation
  rules that depend on the service's security label:
  * 0002-add-AssumedAppArmorLabel-key-to-D-Bus-service-files.patch

- Add patch from upstream to fix a null pointer usage when no
  default handler is set for desired type:
  * 0003-Fix-criticals-if-no-default-handler-for-desired-type.patch

-------------------------------------------------------------------
Fri Feb 21 13:17:51 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

- Add xdg-dp-port-pipewire-3-api.patch: Port to use new
  pipewire-3.0 api. Following this, replace
  pkgconfig(libpipewire-2.0) with pkgconfig(libpipewire-3.0)
  BuildRequires. Also add libtool BuildRequires and pass autoreconf
  as the patch touches the buildsystem.

-------------------------------------------------------------------
Fri Jan 31 11:57:16 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>

- Set encoding before building to fix a build error in SLE.

-------------------------------------------------------------------
Sat Jan 25 14:21:07 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

- No longer recommend -lang: supplements are in use

-------------------------------------------------------------------
Fri Dec 20 23:44:36 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.6.0:
  + tests: Adapt to libportal api changes.
- Changes from version 1.5.4:
  + background:
    - Add a signal to the impl api.
    - Rewrite the monitoring to better track when apps disappear.
  + permissions: Fix SetValue handling of GVariant wrapping. This
    is an api change.
  + openuri:
    - Add a per-type always-ask option.
    - Show the app chooser dialog less often.
  + memorymonitor: A new portal to let apps receive low memory
    warnings.
  + filetransfer: A new portal to rewrite file paths between
    sandboxes.
- Changes from version 1.5.3:
  + Add more tests.
  + location: Various fixes.
  + document portal: Monitor fuse mount.
  + openuri:
    - Only ask 3 times to use the same app.
    - Add an 'ask' option.
  + Fix build from git.
  + email: Allow multiple addresses, cc and bcc.
  + filechooser: Allow saving multiple files.
  + Update translations.
- Changes from version 1.5.2:
  + Add many more tests, using libportal.
  + gamemode: Add a pidfd-based api.
  + inhibit: Send a Response signal.
  + openuri: Add an OpenDirectory api.
  + Updated translations.
- Changes from version 1.5.1:
  + Add a portal for setting desktop backgrounds
  + Add tests.
  + Optionally use libportal (for tests).
- Changes from version 1.5.0:
  + Add a secret portal that is meant be used via libsecret inside
    the sandbox. One backend for this will live in gnome-keyring,
    others are possible.
  + Fix a file descriptor leak.
  + Reduce log spam.
  + Updated translations.
- Add pkgconfig(libportal) BuildRequires: New dependency.

-------------------------------------------------------------------
Thu Jun 13 23:39:21 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

- Update to version 1.4.2:
  + Build fixes.
- Changes from version 1.4.1:
  + Build fixes.
- Changes from version 1.4.0:
  + Add a background & autostart portal.
  + Add a gamemode portal.
  + Add a camera portal.
  + Require pipewire 0.2.6.
  + inhibit: Track session state.
  + documents: Fix a ref-counting bug.
  + screencast:
    - Add cursor modes.
    - Memory leak fixes.
  + Updated translations.
- Add pkgconfig(json-glib-1.0) BuildRequires: New dependency.

-------------------------------------------------------------------
Wed Apr 10 12:29:04 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

- BuildIgnore xdg-desktop-portal: self-requires is not needed here
  to build. Flatkpak has a (correct) dependency on
  xdg-desktop-portal, but since we don't run flatpak during build,
  but merely require its -devel package, we can break up this
  chain.

-------------------------------------------------------------------
Wed Jan 30 17:06:04 UTC 2019 - bjorn.lie@gmail.com

- Update to version 1.2.0:
  + notification:
    - Use icon validator from flatpak.
    - Don't leave temp files around.
  + email: Validate options better.
  + inhibit: Validate options better.
  + file chooser: Add support for setting the current filter.
  + Updated translations.
- Changes from version 1.1.1:
  + Validate icons in notifications.
  + Respect lockdown settings.
  + Write back permissions for notifications to indicate portal
    use.
  + Set st_nlink in the documents portal.
  + Add infrastructure for validating options.
  + Validate email addresses.
  + Updated translations.
- Changes from version 1.1.0:
  + Add a location portal, this requires geoclue 2.5.2.
  + Add a settings portal, for desktop-wide settings like XSettings
    or kdeglobals.
  + Allow locking down printing, save-to-disk and opening uris.
  + Monitor application changes in the open uri portal.
  + Add more tests.
  + Fix a crash when xdg-desktop-portal-gtk times out (boo#1118121,
    gh#flatpak/xdg-desktop-portal#236).
- Add pkgconfig(fontconfig) and pkgconfig(flatpak) BuildRequires:
  New dependencies.
- Add pkgconfig(libgeoclue-2.0) BuildRequires and pass
  enable-geoclue to configure, build new optional location portal.

-------------------------------------------------------------------
Wed Dec 19 21:50:14 UTC 2018 - bjorn.lie@gmail.com

- 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.

-------------------------------------------------------------------
Tue Jun 26 10:08:20 UTC 2018 - bjorn.lie@gmail.com

- 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.

-------------------------------------------------------------------
Mon Mar  5 15:15:29 UTC 2018 - fcrozat@suse.com

- 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.

-------------------------------------------------------------------
Mon Feb 26 11:45:21 UTC 2018 - dimstar@opensuse.org

- Use SPDX3.0 license tags and package COPYING as %license.

-------------------------------------------------------------------
Mon Feb 26 11:42:58 UTC 2018 - dimstar@opensuse.org

- 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.

-------------------------------------------------------------------
Tue Feb 06 18:55:25 UTC 2018 - dimstar@opensuse.org

- 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.

-------------------------------------------------------------------
Mon Jun 26 12:26:40 UTC 2017 - zaitor@opensuse.org

- 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.

-------------------------------------------------------------------
Sun Jan 22 09:50:48 UTC 2017 - zaitor@opensuse.org

- 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.

-------------------------------------------------------------------
Wed Jan 11 01:51:56 UTC 2017 - zaitor@opensuse.org

- 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.

-------------------------------------------------------------------
Thu Nov  3 16:54:10 UTC 2016 - dimstar@opensuse.org

- Initial package, version 0.3.

openSUSE Build Service is sponsored by