From ab57f9a346d74ccd149f8b0e65643829602bd15ded1aaad28a3d21e0f26c6d1b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 19 Apr 2024 15:11:53 +0000 Subject: [PATCH 1/2] Accepting request 1169225 from GNOME:Next - Update to version 0.92.1: + Fix compilation in Fedora Koji - Changes from version 0.92.0: + Migrate to gtk4. + Use libportal to acquire screencast portal. + Upstream Flatpak appdata updated and CI added. + Dedupe sinks based on IP and P2P MAC instead of name. + Fix various issues. - Changes from version 0.91.0 + Add support for Miracast over Infrastructure (MICE) protocol. + Add support for Chromecast protocol. + Add support for casting a virtual screen. + Fix various issues. + Updated translations. - Replace pkgconfig(gtk+-3.0) BuildRequires with pkgconfig(gtk4): Follow upstreams port to gtk4. - Align BuildRequires with what meson checks for: + Add pkgconfig(avahi-client), pkgconfig(avahi-gobject), pkgconfig(gio-2.0), pkgconfig(gstreamer-1.0), pkgconfig(gstreamer-pbutils-1.0), pkgconfig(json-glib-1.0), pkgconfig(libadwaita-1), pkgconfig(libnm), pkgconfig(libportal-gtk4), pkgconfig(libprotobuf-c), and pkgconfig(libsoup-3.0). + Drop pkgconfig(libnm). - Run test suite: add meson_test to check section. - Initial package OBS-URL: https://build.opensuse.org/request/show/1169225 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnome-network-displays?expand=0&rev=7 --- _service | 19 +++++++++++ gnome-network-displays-0.90.5.tar.xz | 3 -- gnome-network-displays-0.92.1.obscpio | 3 ++ gnome-network-displays.changes | 32 ++++++++++++++++++- gnome-network-displays.obsinfo | 4 +++ gnome-network-displays.spec | 46 +++++++++++++++++---------- 6 files changed, 86 insertions(+), 21 deletions(-) create mode 100644 _service delete mode 100644 gnome-network-displays-0.90.5.tar.xz create mode 100644 gnome-network-displays-0.92.1.obscpio create mode 100644 gnome-network-displays.obsinfo diff --git a/_service b/_service new file mode 100644 index 0000000..84dbf87 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/gnome-network-displays.git + 0.92.1 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/gnome-network-displays-0.90.5.tar.xz b/gnome-network-displays-0.90.5.tar.xz deleted file mode 100644 index 46c2dfb..0000000 --- a/gnome-network-displays-0.90.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9205540ae1f25e2bc63652bacbd20e6f4087ab0dd184d6784573a91ee282292 -size 594196 diff --git a/gnome-network-displays-0.92.1.obscpio b/gnome-network-displays-0.92.1.obscpio new file mode 100644 index 0000000..1bbb3d7 --- /dev/null +++ b/gnome-network-displays-0.92.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33d1c60d1bafe22bc551a56fa8f42c07429937216e1c1d51335b4f5da447d3a0 +size 1292812 diff --git a/gnome-network-displays.changes b/gnome-network-displays.changes index d9bc2c0..3753543 100644 --- a/gnome-network-displays.changes +++ b/gnome-network-displays.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon Jan 29 13:24:52 UTC 2024 - Dominique Leuenberger + +- Update to version 0.92.1: + + Fix compilation in Fedora Koji +- Changes from version 0.92.0: + + Migrate to gtk4. + + Use libportal to acquire screencast portal. + + Upstream Flatpak appdata updated and CI added. + + Dedupe sinks based on IP and P2P MAC instead of name. + + Fix various issues. +- Changes from version 0.91.0 + + Add support for Miracast over Infrastructure (MICE) protocol. + + Add support for Chromecast protocol. + + Add support for casting a virtual screen. + + Fix various issues. + + Updated translations. +- Replace pkgconfig(gtk+-3.0) BuildRequires with pkgconfig(gtk4): + Follow upstreams port to gtk4. +- Align BuildRequires with what meson checks for: + + Add pkgconfig(avahi-client), pkgconfig(avahi-gobject), + pkgconfig(gio-2.0), pkgconfig(gstreamer-1.0), + pkgconfig(gstreamer-pbutils-1.0), pkgconfig(json-glib-1.0), + pkgconfig(libadwaita-1), pkgconfig(libnm), + pkgconfig(libportal-gtk4), pkgconfig(libprotobuf-c), and + pkgconfig(libsoup-3.0). + + Drop pkgconfig(libnm). +- Run test suite: add meson_test to check section. + ------------------------------------------------------------------- Sat Apr 2 12:19:31 UTC 2022 - Bjørn Lie @@ -32,4 +61,5 @@ Thu Aug 13 08:38:31 UTC 2020 - Dead Mozay ------------------------------------------------------------------- Thu Aug 13 06:00:39 UTC 2020 - Dead Mozay -- Initial package +- Initial package + diff --git a/gnome-network-displays.obsinfo b/gnome-network-displays.obsinfo new file mode 100644 index 0000000..bf20cf2 --- /dev/null +++ b/gnome-network-displays.obsinfo @@ -0,0 +1,4 @@ +name: gnome-network-displays +version: 0.92.1 +mtime: 1706463658 +commit: e8a7b34706ae40f9143545e06259a1daa588aeb4 diff --git a/gnome-network-displays.spec b/gnome-network-displays.spec index f9d0290..61d3480 100644 --- a/gnome-network-displays.spec +++ b/gnome-network-displays.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-network-displays # -# Copyright (c) 2022 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 @@ -17,31 +17,41 @@ Name: gnome-network-displays -Version: 0.90.5 +Version: 0.92.1 Release: 0 Summary: Miracast implementation for GNOME -License: GPL-3.0-only -Group: Productivity/Networking/Other -URL: https://gitlab.gnome.org/GNOME/%{name} -Source: https://download.gnome.org/sources/%{name}/0.90/%{name}-%{version}.tar.xz - +License: GPL-3.0-or-later +URL: https://gitlab.gnome.org/GNOME/gnome-network-displays +Source: %{name}-%{version}.tar.zst BuildRequires: desktop-file-utils -BuildRequires: meson +BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig BuildRequires: pkgconfig(appstream-glib) +BuildRequires: pkgconfig(avahi-client) +BuildRequires: pkgconfig(avahi-gobject) +BuildRequires: pkgconfig(gio-2.0) >= 2.50 +BuildRequires: pkgconfig(gstreamer-1.0) >= 1.14 +BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= 1.14 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gstreamer-rtsp-server-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(libnm) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(json-glib-1.0) >= 1.0 +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(libnm) >= 1.15 +BuildRequires: pkgconfig(libportal-gtk4) >= 0.7 +BuildRequires: pkgconfig(libprotobuf-c) >= 1.0.0 BuildRequires: pkgconfig(libpulse-mainloop-glib) +BuildRequires: pkgconfig(libsoup-3.0) >= 3.0 Requires: gstreamer-plugin-pipewire %description This is an experimental implementation of Wi-Fi Display (aka Miracast). + The application will stream the selected monitor if the mutter screencast portal is available. If it is unavailable, a fallback to X11 based frame grabbing will happen. As such, it should work fine in almost all setups. + To get audio streaming, you need to change the audio output in pulseaudio to use the created "Network-Displays" sink. @@ -56,21 +66,23 @@ to use the created "Network-Displays" sink. %install %meson_install +%find_lang %{name} + +%check desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml -%find_lang %{name} +%meson_test %files %license COPYING -%doc README.md -%{_bindir}/%{name} -%{_datadir}/applications/*.desktop -%{_datadir}/glib-2.0/schemas/*.gschema.xml -%{_datadir}/icons/*/*/*/*.svg -%{_datadir}/metainfo/*.appdata.xml +%{_bindir}/gnome-network-displays %dir %{_prefix}/lib/firewalld %dir %{_prefix}/lib/firewalld/zones %{_prefix}/lib/firewalld/zones/P2P-WiFi-Display.xml +%{_datadir}/applications/org.gnome.NetworkDisplays.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.NetworkDisplays.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.NetworkDisplays-symbolic.svg +%{_datadir}/metainfo/org.gnome.NetworkDisplays.appdata.xml %files lang -f %{name}.lang From 69239ed72790036dd37dfda04d0c2edcae7eee4ed5bebd97c4f196c883fb84c9 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 19 Apr 2024 15:14:19 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnome-network-displays?expand=0&rev=8 --- gnome-network-displays.changes | 1 - 1 file changed, 1 deletion(-) diff --git a/gnome-network-displays.changes b/gnome-network-displays.changes index 3753543..d72a8ed 100644 --- a/gnome-network-displays.changes +++ b/gnome-network-displays.changes @@ -24,7 +24,6 @@ Mon Jan 29 13:24:52 UTC 2024 - Dominique Leuenberger pkgconfig(libadwaita-1), pkgconfig(libnm), pkgconfig(libportal-gtk4), pkgconfig(libprotobuf-c), and pkgconfig(libsoup-3.0). - + Drop pkgconfig(libnm). - Run test suite: add meson_test to check section. -------------------------------------------------------------------