diff --git a/libportal-0.7.1.tar.xz b/libportal-0.7.1.tar.xz deleted file mode 100644 index c984f42..0000000 --- a/libportal-0.7.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:297b90b263fad22190a26b8c7e8ea938fe6b18fb936265e588927179920d3805 -size 74268 diff --git a/libportal-0.9.0.tar.xz b/libportal-0.9.0.tar.xz new file mode 100644 index 0000000..9d00c9d --- /dev/null +++ b/libportal-0.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:113910f06f39387328805397053d20c7acafb7388d8e6cd5e06e05efb9690735 +size 107488 diff --git a/libportal.changes b/libportal.changes index 989c1d7..92fd582 100644 --- a/libportal.changes +++ b/libportal.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Sat Dec 21 09:33:12 UTC 2024 - Bjørn Lie + +- Update to version 0.9.0: + + Features: Introduce support for the Notification v2 portal + version. + + Bug fixes: + - Fix a file descriptor leak in the Mail portal code + - Fix some minor memory leaks + +------------------------------------------------------------------- +Wed Sep 4 15:31:43 UTC 2024 - Bjørn Lie + +- Update to version 0.8.1: + + Fix a regression in the Remote Desktop where it wouldn't work + with the ScreenCast portal correctly. + + Use non-deprecated functions in the GTK4 code. + + Run tests in CI so we catch regressions earlier. + + Make Qt tests use QTEST_GUILESS_MAIN. + + Fix an Input Capture test. +- Changes from version 0.8.0: + + Add API to allow for persistence on RemoteDesktop sessions. + + Implement support for the Input Capture portal. + + Add support for Qt 6. + + Support xdg-foreign with Qt 6. + + Fix screencasting on wlroots-based compositors. +- Build the new Qt 6 support: + + Add qt6-gui-private-devel, pkgconfig(Qt6Core), pkgconfig(Qt6Gui), + pkgconfig(Qt6Test) and pkgconfig(Qt6Widgets) BuildRequires. + + Add new sub-packages: libportal-qt6-1 and libportal-qt6-devel. + + Use ldconfig_scriptlets macro for post(un) handling of the new + shared library. + +------------------------------------------------------------------- +Wed Nov 22 00:17:28 UTC 2023 - Jan Engelhardt + +- Replace copypasted summaries by something more concrete + +------------------------------------------------------------------- +Wed Nov 15 06:43:09 UTC 2023 - Yifan Jiang + +- Rename package name from libportal-1 to libportal1, this is + necessary to conform to the shared library policy: + https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_naming + ------------------------------------------------------------------- Sun Sep 10 08:53:43 UTC 2023 - Bjørn Lie diff --git a/libportal.spec b/libportal.spec index 454a1fe..ca7d6b9 100644 --- a/libportal.spec +++ b/libportal.spec @@ -1,7 +1,7 @@ # # spec file for package libportal # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,9 +19,9 @@ %define sover 1 Name: libportal -Version: 0.7.1 +Version: 0.9.0 Release: 0 -Summary: A GIO-style async APIs for most Flatpak portals +Summary: A GIO-style async API for most Flatpak portals License: LGPL-3.0-or-later URL: https://github.com/flatpak/libportal Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz @@ -30,11 +30,16 @@ BuildRequires: c++_compiler BuildRequires: c_compiler BuildRequires: meson >= 0.46.0 BuildRequires: pkgconfig +BuildRequires: qt6-gui-private-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Gui) +BuildRequires: pkgconfig(Qt6Test) +BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(gi-docgen) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) @@ -44,60 +49,69 @@ BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(vapigen) %description -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. -%package -n %{name}-%{sover} -Summary: Shared library for %{name} +%package -n %{name}%{sover} +Summary: A GIO-style async API for most Flatpak portals +Obsoletes: libportal-1 +Provides: libportal-1 -%description -n %{name}-%{sover} -A GIO-style async APIs for most Flatpak portals. +%description -n %{name}%{sover} +A GIO-style async API for most Flatpak portals. This package contains the shared library of %{name}. %package -n %{name}-gtk3-%{sover} -Summary: Shared library for %{name} +Summary: GTK3 integration for libportal %description -n %{name}-gtk3-%{sover} -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. This package contains the shared library of %{name}. %package -n %{name}-gtk4-%{sover} -Summary: Shared library for %{name} +Summary: GTK4 integration for libportal %description -n %{name}-gtk4-%{sover} -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. This package contains the shared library of %{name}. %package -n %{name}-qt5-%{sover} -Summary: Shared library for %{name} +Summary: Qt5 integration for libportal %description -n %{name}-qt5-%{sover} -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. +This package contains the shared library of %{name}. + +%package -n %{name}-qt6-%{sover} +Summary: Qt6 integration for libportal + +%description -n %{name}-qt6-%{sover} +A GIO-style async API for most Flatpak portals. This package contains the shared library of %{name}. %package -n typelib-1_0-Xdp-1_0 Summary: Introspections files for libportal %description -n typelib-1_0-Xdp-1_0 -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. This package contains the introspection files of %{name}. %package -n typelib-1_0-XdpGtk3-1_0 Summary: Introspections files for libportal %description -n typelib-1_0-XdpGtk3-1_0 -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. This package contains the introspection files of %{name}. %package -n typelib-1_0-XdpGtk4-1_0 Summary: Introspections files for libportal %description -n typelib-1_0-XdpGtk4-1_0 -A GIO-style async APIs for most Flatpak portals. +A GIO-style async API for most Flatpak portals. This package contains the introspection files of %{name}. %package devel -Summary: A GIO-style async APIs for most Flatpak portals -- Development files -Requires: %{name}-%{sover} = %{version} +Summary: Headers for libportal, a GIO async API for Flatpak portals +Requires: %{name}%{sover} = %{version} Requires: typelib-1_0-Xdp-1_0 = %{version} %description devel @@ -105,7 +119,7 @@ The %{name}-devel package contains libraries, build data, and header files for developing applications that use %{name}. %package gtk3-devel -Summary: A GIO-style async APIs for most Flatpak portals -- Development files +Summary: Headers for the libportal GTK3 integration library Requires: %{name}-gtk3-%{sover} = %{version} Requires: typelib-1_0-XdpGtk3-1_0 = %{version} @@ -114,7 +128,7 @@ The %{name}-gtk3-devel package contains libraries, build data, and header files for developing applications that use %{name}. %package gtk4-devel -Summary: A GIO-style async APIs for most Flatpak portals -- Development files +Summary: Headers for the libportal GTK4 integration library Requires: %{name}-gtk4-%{sover} = %{version} Requires: typelib-1_0-XdpGtk4-1_0 = %{version} @@ -123,13 +137,21 @@ The %{name}-gtk4-devel package contains libraries, build data, and header files for developing applications that use %{name}. %package qt5-devel -Summary: A GIO-style async APIs for most Flatpak portals -- Development files +Summary: Headers for libportal Qt5 integration library Requires: %{name}-qt5-%{sover} = %{version} %description qt5-devel The %{name}-qt5-devel package contains libraries, build data, and header files for developing applications that use %{name}. +%package qt6-devel +Summary: Headers for libportal Qt6 integration library +Requires: %{name}-qt6-%{sover} = %{version} + +%description qt6-devel +The %{name}-qt6-devel package contains libraries, build data, and +header files for developing applications that use %{name}. + %prep %autosetup -p1 @@ -141,12 +163,13 @@ header files for developing applications that use %{name}. %install %meson_install -%ldconfig_scriptlets -n %{name}-%{sover} +%ldconfig_scriptlets -n %{name}%{sover} %ldconfig_scriptlets -n %{name}-gtk3-%{sover} %ldconfig_scriptlets -n %{name}-gtk4-%{sover} %ldconfig_scriptlets -n %{name}-qt5-%{sover} +%ldconfig_scriptlets -n %{name}-qt6-%{sover} -%files -n %{name}-%{sover} +%files -n %{name}%{sover} %license COPYING %{_libdir}/libportal.so.%{sover}* @@ -159,6 +182,9 @@ header files for developing applications that use %{name}. %files -n %{name}-qt5-%{sover} %{_libdir}/libportal-qt5.so.%{sover}* +%files -n %{name}-qt6-%{sover} +%{_libdir}/libportal-qt6.so.%{sover}* + %files -n typelib-1_0-Xdp-1_0 %{_libdir}/girepository-1.0/Xdp-1.0.typelib @@ -202,4 +228,9 @@ header files for developing applications that use %{name}. %{_libdir}/libportal-qt5.so %{_libdir}/pkgconfig/libportal-qt5.pc +%files qt6-devel +%{_includedir}/libportal-qt6 +%{_libdir}/libportal-qt6.so +%{_libdir}/pkgconfig/libportal-qt6.pc + %changelog