Sync from SUSE:SLFO:Main gnome-remote-desktop revision 767c458dcc6e0e1d6eca9795d5dd48b2

This commit is contained in:
Adrian Schröter 2024-11-12 12:10:48 +01:00
commit 76a24ff901
6 changed files with 1220 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

16
_service Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/GNOME/gnome-remote-desktop.git</param>
<param name="scm">git</param>
<param name="revision">47.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="manual" name="set_version" />
</services>

BIN
gnome-remote-desktop-47.1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

1020
gnome-remote-desktop.changes Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
name: gnome-remote-desktop
version: 47.1
mtime: 1729521174
commit: c82ebcaf1efad929e3a052c30490d348b785e1b7

154
gnome-remote-desktop.spec Normal file
View File

@ -0,0 +1,154 @@
#
# spec file for package gnome-remote-desktop
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global systemd_unit gnome-remote-desktop.service
%define freerdp_version 3.1.0
%define glib_version 2.75.0
%define gstreamer_version 1.10.0
%define polkit_req >= 122
Name: gnome-remote-desktop
Version: 47.1
Release: 0
Summary: GNOME Remote Desktop screen sharing service
License: GPL-2.0-or-later
Group: System/Management
URL: https://gitlab.gnome.org/GNOME/gnome-remote-desktop
Source0: %{name}-%{version}.tar.zst
BuildRequires: /usr/bin/dbus-run-session
BuildRequires: asciidoc
BuildRequires: meson >= 0.58.0
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(epoxy) >= 1.4
BuildRequires: pkgconfig(fdk-aac)
BuildRequires: pkgconfig(ffnvcodec) >= 11.1.5.0
BuildRequires: pkgconfig(freerdp-client3) >= %{freerdp_version}
BuildRequires: pkgconfig(freerdp-server3) >= %{freerdp_version}
BuildRequires: pkgconfig(freerdp3) >= %{freerdp_version}
BuildRequires: pkgconfig(fuse3) >= 3.9.1
%if 0%{?sle_version} && 0%{?sle_version} < 160000
BuildRequires: gcc13
BuildRequires: gcc13-c++
%endif
BuildRequires: sysuser-tools
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gstreamer-1.0) >= %{gstreamer_version}
BuildRequires: pkgconfig(gstreamer-video-1.0) >= %{gstreamer_version}
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libei-1.0) >= 1.2.0
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.0
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libvncclient)
BuildRequires: pkgconfig(libvncserver)
BuildRequires: pkgconfig(libvncserver) >= 0.9.10
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(polkit-gobject-1) %polkit_req
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(tss2-esys)
BuildRequires: pkgconfig(tss2-mu)
BuildRequires: pkgconfig(tss2-rc)
BuildRequires: pkgconfig(tss2-tctildr)
BuildRequires: pkgconfig(winpr3) >= %{freerdp_version}
BuildRequires: pkgconfig(xkbcommon) >= 1.0.0
%{?systemd_ordering}
%sysusers_requires
Requires: pipewire >= 0.3.0
%description
GNOME Remote Desktop is a remote desktop and screen sharing service for the
GNOME desktop environment.
%lang_package
%prep
%autosetup -p1
%build
%if 0%{?sle_version} && 0%{?sle_version} < 160000
export CC=gcc-13
%endif
%meson \
-D vnc=true \
-D tests=false \
%{nil}
%meson_build
%sysusers_generate_pre %{_vpath_builddir}/data/gnome-remote-desktop-sysusers.conf gnome-remote-desktop gnome-remote-desktop-sysusers.conf
%install
%meson_install
%find_lang %{name}
%check
%meson_test
%pre -f gnome-remote-desktop.pre
%service_add_pre %{systemd_unit}
%post
%tmpfiles_create %{_tmpfilesdir}/gnome-remote-desktop-tmpfiles.conf
%service_add_post %{systemd_unit}
%systemd_user_post %{systemd_unit}
%preun
%service_del_preun %{systemd_unit}
%systemd_user_preun %{systemd_unit}
%postun
%service_del_postun %{systemd_unit}
%files
%license COPYING
%doc README.md
%{_bindir}/grdctl
%{_datadir}/%{name}/
%{_datadir}/applications/org.gnome.RemoteDesktop.Handover.desktop
%{_datadir}/dbus-1/system-services/org.gnome.RemoteDesktop.Configuration.service
%{_libexecdir}/gnome-remote-desktop-configuration-daemon
%{_datadir}/dbus-1/system.d/org.gnome.RemoteDesktop.conf
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.gschema.xml
%{_datadir}/polkit-1/actions/org.gnome.remotedesktop.configure-system-daemon.policy
%{_datadir}/polkit-1/actions/org.gnome.remotedesktop.enable-system-daemon.policy
%{_datadir}/polkit-1/rules.d/20-gnome-remote-desktop.rules
%{_libexecdir}/gnome-remote-desktop-daemon
%{_libexecdir}/gnome-remote-desktop-enable-service
%{_mandir}/man1/grdctl.1%{ext_man}
%{_sysusersdir}/gnome-remote-desktop-sysusers.conf
%{_tmpfilesdir}/gnome-remote-desktop-tmpfiles.conf
%ghost %attr(0700,gnome-remote-desktop,gnome-remote-desktop) %dir %{_localstatedir}/lib/gnome-remote-desktop
%ghost %attr(0755,gnome-remote-desktop,gnome-remote-desktop) %dir %{_sysconfdir}/gnome-remote-desktop
%ghost %attr(0644,gnome-remote-desktop,gnome-remote-desktop) %{_sysconfdir}/gnome-remote-desktop/grd.conf
%{_unitdir}/gnome-remote-desktop.service
%{_unitdir}/gnome-remote-desktop-configuration.service
%{_userunitdir}/gnome-remote-desktop-handover.service
%{_userunitdir}/gnome-remote-desktop-headless.service
%{_userunitdir}/gnome-remote-desktop.service
%files lang -f %{name}.lang
%changelog