2024-01-23 17:13:42 +00:00
|
|
|
%define po_package gnome-session-46
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2013-05-15 15:14:55 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%else
|
|
|
|
%global with_session_selector 1
|
|
|
|
%endif
|
|
|
|
|
2021-02-23 20:07:17 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
2023-09-19 08:41:20 +00:00
|
|
|
Name: gnome-session
|
2024-03-21 09:35:33 +00:00
|
|
|
Version: 46.0
|
2023-09-19 08:41:20 +00:00
|
|
|
Release: %autorelease
|
|
|
|
Summary: GNOME session manager
|
2016-09-19 19:45:47 +00:00
|
|
|
|
2023-09-19 08:41:20 +00:00
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-session
|
2024-01-23 17:13:42 +00:00
|
|
|
Source: https://download.gnome.org/sources/gnome-session/46/%{name}-%{tarball_version}.tar.xz
|
2009-03-06 17:14:35 +00:00
|
|
|
|
2012-03-23 06:44:12 +00:00
|
|
|
# Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202
|
2023-09-19 08:41:20 +00:00
|
|
|
Patch: gnome-session-3.3.92-nv30.patch
|
|
|
|
Patch: gnome-session-3.6.2-swrast.patch
|
2016-10-11 18:46:47 +00:00
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=772421
|
2023-09-19 08:41:20 +00:00
|
|
|
Patch: 0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch
|
2020-09-03 15:52:20 +00:00
|
|
|
# For https://fedoraproject.org/w/index.php?title=Changes/HiddenGrubMenu
|
2018-09-27 07:25:30 +00:00
|
|
|
# This should go upstream once systemd has a generic interface for this
|
2023-09-19 08:41:20 +00:00
|
|
|
Patch: 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch
|
|
|
|
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: pkgconfig(egl)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
|
|
|
BuildRequires: pkgconfig(ice)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(sm)
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xau)
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(xtrans)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
# this is so the configure checks find /usr/bin/halt etc.
|
2023-09-19 08:41:20 +00:00
|
|
|
BuildRequires: usermode
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2023-09-19 08:41:20 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
2004-09-09 05:36:42 +00:00
|
|
|
|
2010-07-08 16:27:09 +00:00
|
|
|
# an artificial requires to make sure we get dconf, for now
|
|
|
|
Requires: dconf
|
|
|
|
|
2016-09-19 19:45:47 +00:00
|
|
|
Requires: system-logos
|
|
|
|
# Needed for gnome-settings-daemon
|
|
|
|
Requires: control-center-filesystem
|
|
|
|
|
|
|
|
Requires: gsettings-desktop-schemas >= 0.1.7
|
|
|
|
|
2018-10-11 13:03:09 +00:00
|
|
|
Requires: dbus
|
2016-09-19 19:45:47 +00:00
|
|
|
|
2024-01-18 14:28:56 +00:00
|
|
|
# https://github.com/containers/composefs/pull/229#issuecomment-1838735764
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
%endif
|
|
|
|
|
2021-10-12 18:06:21 +00:00
|
|
|
|
2004-09-09 05:32:59 +00:00
|
|
|
%description
|
2009-03-03 17:35:53 +00:00
|
|
|
gnome-session manages a GNOME desktop or GDM login session. It starts up
|
2008-11-25 06:59:08 +00:00
|
|
|
the other core GNOME components and handles logout and saving the session.
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2014-04-08 14:16:34 +00:00
|
|
|
%package wayland-session
|
|
|
|
Summary: Desktop file for wayland based gnome session
|
2015-03-18 13:54:43 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2021-02-01 14:39:02 +00:00
|
|
|
Requires: xorg-x11-server-Xwayland%{?_isa} >= 1.20.99.1
|
2018-05-21 20:42:35 +00:00
|
|
|
Requires: gnome-shell
|
2014-04-08 14:16:34 +00:00
|
|
|
|
|
|
|
%description wayland-session
|
|
|
|
Desktop file to add GNOME on wayland to display manager session menu.
|
|
|
|
|
2004-09-09 05:32:59 +00:00
|
|
|
%prep
|
2021-02-23 20:07:17 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2011-01-14 12:37:28 +00:00
|
|
|
|
2008-12-04 15:12:25 +00:00
|
|
|
%build
|
2024-01-23 17:13:42 +00:00
|
|
|
%meson \
|
2018-02-09 14:19:30 +00:00
|
|
|
%if 0%{?with_session_selector}
|
2024-01-23 17:13:42 +00:00
|
|
|
-Dsession_selector=true \
|
2013-05-15 15:14:55 +00:00
|
|
|
%endif
|
2024-01-23 17:13:42 +00:00
|
|
|
%{nil}
|
2018-02-09 14:18:28 +00:00
|
|
|
%meson_build
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
%install
|
2018-02-09 14:55:52 +00:00
|
|
|
%meson_install
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2024-07-11 10:33:22 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/xsessions
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
%find_lang %{po_package}
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2018-02-02 09:33:32 +00:00
|
|
|
%ldconfig_scriptlets
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2014-04-08 14:16:34 +00:00
|
|
|
%files wayland-session
|
|
|
|
%{_datadir}/wayland-sessions/*
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
%files -f %{po_package}.lang
|
2015-01-29 21:33:18 +00:00
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%license COPYING
|
2022-03-22 08:06:44 +00:00
|
|
|
%{_bindir}/gnome-session*
|
2015-10-14 19:25:54 +00:00
|
|
|
%{_libexecdir}/gnome-session-binary
|
2011-03-08 04:54:33 +00:00
|
|
|
%{_libexecdir}/gnome-session-check-accelerated
|
2016-07-26 14:05:48 +00:00
|
|
|
%{_libexecdir}/gnome-session-check-accelerated-gl-helper
|
|
|
|
%{_libexecdir}/gnome-session-check-accelerated-gles-helper
|
2019-08-26 21:13:48 +00:00
|
|
|
%{_libexecdir}/gnome-session-ctl
|
2012-12-21 00:01:13 +00:00
|
|
|
%{_libexecdir}/gnome-session-failed
|
2022-03-22 08:06:44 +00:00
|
|
|
%{_mandir}/man1/gnome-session*1.*
|
2013-08-22 18:46:57 +00:00
|
|
|
%{_datadir}/gnome-session/
|
2023-09-19 08:44:47 +00:00
|
|
|
%dir %{_datadir}/xdg-desktop-portal
|
2023-09-17 09:00:05 +00:00
|
|
|
%{_datadir}/xdg-desktop-portal/gnome-portals.conf
|
2023-09-19 08:44:47 +00:00
|
|
|
%{_datadir}/doc/gnome-session/
|
2011-02-02 19:05:09 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
|
2019-08-26 21:13:48 +00:00
|
|
|
%{_userunitdir}/gnome-session*
|
2020-02-20 16:01:49 +00:00
|
|
|
%{_userunitdir}/gnome-launched-.scope.d/
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-09-06 19:08:51 +00:00
|
|
|
%autochangelog
|