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
This commit is contained in:
Bjørn Lie 2018-12-21 08:46:45 +00:00 committed by Git OBS Bridge
parent 2389aa7300
commit 4278883bfd
6 changed files with 49 additions and 62 deletions

View File

@ -1,15 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/flatpak/xdg-desktop-portal.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/0.11</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/flatpak/xdg-desktop-portal.git</param>
<param name="changesrevision">753cc5f41103fd2e5feb87249d9b465f173aff8a</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06774a6d766c2bdd1cc0f2732053c825986e8968f48975d0aa98f77144164e34
size 114996

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6d7c19ebe7d14bd42f49ce4b05e6bed5be42806625b3be3be8f23b385da02b6
size 390604

View File

@ -1,5 +1,40 @@
-------------------------------------------------------------------
Tue Jun 26 10:08:20 UTC 2018 - opensuse-packaging@opensuse.org
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:

View File

@ -12,26 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xdg-desktop-portal
Version: 0.11
Version: 1.0.3
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
# Source is _service generated, git checkout
Source: %{name}-%{version}.tar.xz
BuildRequires: libtool
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: xmlto
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libpipewire-0.2) >= 0.2.2
Recommends: %{name}-lang
%description
@ -58,13 +58,13 @@ This package contains convenience files for developers.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-pipewire
make %{?_smp_mflags}
--enable-pipewire \
%{nil}
%make_build
%install
%make_install
@ -75,36 +75,7 @@ make %{?_smp_mflags}
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/interfaces
%dir %{_datadir}/dbus-1/services
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Access.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Account.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.AppChooser.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Email.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Inhibit.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.PermissionStore.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Print.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.RemoteDesktop.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.ScreenCast.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Screenshot.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Account.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Device.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Documents.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Email.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.FileChooser.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.NetworkMonitor.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Notification.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.OpenURI.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Print.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.ProxyResolver.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.RemoteDesktop.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Request.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.ScreenCast.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Screenshot.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Session.xml
%{_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