commit d80b128f465ce4b9d81ff8c9d6b99d0273f564e4 Author: MSVSphere Packaging Team Date: Fri Oct 25 14:51:10 2024 +0300 import gnome-connections-46.0-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..022f7f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gnome-connections-46.0.tar.xz diff --git a/.gnome-connections.metadata b/.gnome-connections.metadata new file mode 100644 index 0000000..9975597 --- /dev/null +++ b/.gnome-connections.metadata @@ -0,0 +1 @@ +6bbcb94ded274500558eb9b09480a7cb10ba48ae SOURCES/gnome-connections-46.0.tar.xz diff --git a/SOURCES/0001-clipboard-Do-not-crash-during-disconnection.patch b/SOURCES/0001-clipboard-Do-not-crash-during-disconnection.patch new file mode 100644 index 0000000..d42cf32 --- /dev/null +++ b/SOURCES/0001-clipboard-Do-not-crash-during-disconnection.patch @@ -0,0 +1,31 @@ +From cb992cb5b3099fdb4106d558f1aeba908267a075 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +Date: Tue, 9 Apr 2024 11:01:01 +0200 +Subject: [PATCH] clipboard: Do not crash during disconnection + +Disconnect handler of "owner-change" in finalize of +FrdpChannelClipboard so that the handler is not called +after the clipboard is finalized. + +Fixes #50 +--- + src/frdp-channel-clipboard.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/frdp-channel-clipboard.c b/src/frdp-channel-clipboard.c +index 2723c2d..ef82dbe 100644 +--- a/subprojects/gtk-frdp/src/frdp-channel-clipboard.c ++++ b/subprojects/gtk-frdp/src/frdp-channel-clipboard.c +@@ -203,6 +203,9 @@ frdp_channel_clipboard_finalize (GObject *object) + FrdpChannelClipboard *self = (FrdpChannelClipboard *) object; + FrdpChannelClipboardPrivate *priv = frdp_channel_clipboard_get_instance_private (self); + ++ g_signal_handler_disconnect (priv->gtk_clipboard, ++ priv->clipboard_owner_changed_id); ++ + g_hash_table_unref (priv->remote_files_requests); + fuse_session_unmount (priv->fuse_session); + fuse_session_exit (priv->fuse_session); +-- +2.44.0 + diff --git a/SPECS/gnome-connections.spec b/SPECS/gnome-connections.spec new file mode 100644 index 0000000..9b21a6a --- /dev/null +++ b/SPECS/gnome-connections.spec @@ -0,0 +1,223 @@ +# Exclude private libraries from autogenerated provides and requires +%global __provides_exclude_from ^%{_libdir}/gnome-connections/ +%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/gnome-connections/ -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -)) + +%global tarball_version %%(echo %{version} | tr '~' '.') +%global url_ver %%(echo %{version} | cut -d. -f1) + +Name: gnome-connections +Version: 46.0 +Release: 3%{?dist} +Summary: A remote desktop client for the GNOME desktop environment + +License: GPL-3.0-or-later +URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home +Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz +Patch0: 0001-clipboard-Do-not-crash-during-disconnection.patch + +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala +BuildRequires: yelp-tools +BuildRequires: pkgconfig(freerdp3) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk-vnc-2.0) +BuildRequires: pkgconfig(gvncpulse-1.0) +BuildRequires: pkgconfig(libhandy-1) +BuildRequires: pkgconfig(libsecret-1) +BuildRequires: pkgconfig(fuse3) + +Requires: hicolor-icon-theme + +# Renamed from connections to gnome-connections in F34 +Obsoletes: connections < 40.0-2 +Provides: connections = %{version}-%{release} + +# Remotely EOL and replaced by GNOME Connections. +# https://bugzilla.redhat.com/show_bug.cgi?id=1957981 +%if 0%{?fedora} >= 35 +Obsoletes: remotely < 1.0-6 +%endif + +Provides: bundled(gtk-frdp) + +%description +Connections is a remote desktop client for the GNOME desktop environment. + +%prep +%autosetup -p1 -n gnome-connections-%{tarball_version} + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang gnome-connections --with-gnome + +# Remove unneeded development files +rm -rf %{buildroot}%{_includedir}/gnome-connections/ +rm -rf %{buildroot}%{_libdir}/gnome-connections/girepository-1.0/ +rm -rf %{buildroot}%{_libdir}/gnome-connections/pkgconfig/ +rm -rf %{buildroot}%{_datadir}/gnome-connections/gir-1.0/ +rm -rf %{buildroot}%{_datadir}/gnome-connections/vapi/ + +%check +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Connections.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections.desktop + +%files -f gnome-connections.lang +%license COPYING +%doc README.md NEWS +%{_bindir}/gnome-connections +%{_libdir}/gnome-connections/ +%{_datadir}/applications/org.gnome.Connections.desktop +%{_datadir}/dbus-1/services/org.gnome.Connections.service +%{_datadir}/glib-2.0/schemas/org.gnome.Connections.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Connections.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Connections-symbolic.svg +%{_metainfodir}/org.gnome.Connections.appdata.xml +%{_datadir}/mime/packages/org.gnome.Connections.xml + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 46.0-3 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 46.0-3 +- Bump release for June 2024 mass rebuild + +* Wed May 15 2024 Marek Kasik - 46.0-2 +- Fix a crash during disconnection +- Resolves: RHEL-30212 + +* Thu Mar 21 2024 Marek Kasik - 46.0-1 +- Update to 46.0 +- Use FreeRDP 3 + +* Wed Jan 24 2024 Fedora Release Engineering - 45.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 45.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Sep 18 2023 Marek Kasik - 45.0-1 +- Update to 45.0 + +* Tue Sep 05 2023 Kalev Lember - 45~rc-1 +- Update to 45.rc + +* Sat Aug 05 2023 Kalev Lember - 45~beta-1 +- Update to 45.beta + +* Wed Jul 19 2023 Fedora Release Engineering - 44.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Apr 24 2023 Marek Kasik - 44.1-1 +- Update to 44.1 +- Resolves: #2169121 + +* Sun Mar 19 2023 David King - 44.0-1 +- Update to 44.0 + +* Sat Mar 04 2023 David King - 44~rc-1 +- Update to 44.rc + +* Fri Feb 17 2023 David King - 44~beta-1 +- Update to 44.beta + +* Thu Jan 19 2023 Fedora Release Engineering - 43.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Sep 16 2022 Marek Kasik - 43.0-1 +- Update to 43.0 +- Resolves: #2115889 + +* Mon Aug 15 2022 Simone Caronni - 43~beta-2 +- Rebuild for updated FreeRDP. + +* Mon Aug 08 2022 Kalev Lember - 43~beta-1 +- Update to 43.beta + +* Thu Jul 21 2022 Fedora Release Engineering - 42.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Apr 13 2022 Felipe Borges - 42.1.2-1 +- Update to 42.1.2 + +* Thu Apr 07 2022 Felipe Borges - 42.1.1-1 +- Update to 42.1.1 + rhbz#2069820 + rhbz#2072445 + rhbz#2072462 + rhbz#2072490 + rhbz#2072513 + +* Tue Apr 05 2022 Felipe Borges - 42.1-1 +- Update to 42.1 + rhbz#2068015 + +* Mon Mar 21 2022 David King - 42.0-1 +- Update to 42.0 + +* Thu Jan 20 2022 Fedora Release Engineering - 41.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Dec 07 2021 Kalev Lember - 41.2-1 +- Update to 41.2 + +* Wed Oct 27 2021 Kalev Lember - 41.1-1 +- Update to 41.1 + +* Fri Sep 17 2021 Kalev Lember - 41.0-1 +- Update to 41.0 + +* Wed Sep 08 2021 Kalev Lember - 41~rc-1 +- Update to 41.rc + +* Mon Aug 23 2021 Kalev Lember - 41~beta-1 +- Update to 41.beta + +* Thu Jul 22 2021 Fedora Release Engineering - 40.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu May 20 2021 Felipe Borges - 40.0.1-4 +- Add missing bundled provides + +* Mon May 10 2021 Artem Polishchuk - 40.0.1-3 +- build: Replace Remotely due EOL with GNOME Connections for f35 | rh#1957981 + +* Fri Apr 16 2021 Simone Caronni - 40.0.1-2 +- Rebuild for updated FreeRDP. + +* Thu Apr 15 2021 Felipe Borges - 40.0.1-1 +- Fix DBus activation + +* Mon Mar 22 2021 Kalev Lember - 40.0-2 +- Rename from connections to gnome-connections + +* Mon Mar 22 2021 Kalev Lember - 40.0-1 +- Update to 40.0 +- Require hicolor-icon-theme for icon directories rather than adwaita +- Use https source URL +- Validate appdata file +- Filter private libraries +- Don't install various development files + +* Tue Jan 26 2021 Fedora Release Engineering - 3.38.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Oct 20 2020 Kalev Lember - 3.38.1-1 +- Update to 3.38.1 + +* Mon Sep 14 2020 Kalev Lember - 3.38.0-1 +- Update to 3.38.0 + +* Thu Sep 10 2020 Felipe Borges - 3.37.91-1 +- Update to 3.37.91 + +* Mon Aug 10 2020 Felipe Borges - 3.37.90-1 +- Initial import