Accepting request 1227063 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1227063 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-session?expand=0&rev=212
This commit is contained in:
commit
563e07a6ae
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 16:55:31 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Build gnome-session-wayland also on s390x: It was originally
|
||||||
|
excluded because xwayland did not exist. That has been solved in
|
||||||
|
2021 though.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 13 08:00:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Wed Nov 13 08:00:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -123,19 +123,13 @@ install -d -m755 %{buildroot}%{_datadir}/xsessions
|
|||||||
install -m644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/gnome.desktop
|
install -m644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/gnome.desktop
|
||||||
%find_lang %{name}-%{basever} %{?no_lang_C}
|
%find_lang %{name}-%{basever} %{?no_lang_C}
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
# remove wayland files on s390/s390x
|
|
||||||
%ifarch s390 s390x
|
|
||||||
rm -fr %{buildroot}%{_datadir}/wayland-sessions
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Prepare for 'default.desktop' being update-alternative handled, boo#1039756
|
# Prepare for 'default.desktop' being update-alternative handled, boo#1039756
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
|
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
|
||||||
ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop
|
ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop
|
||||||
%ifnarch s390 s390x
|
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/default-waylandsession.desktop
|
touch %{buildroot}%{_sysconfdir}/alternatives/default-waylandsession.desktop
|
||||||
ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_datadir}/wayland-sessions/default.desktop
|
ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_datadir}/wayland-sessions/default.desktop
|
||||||
%endif
|
|
||||||
|
|
||||||
%post xsession
|
%post xsession
|
||||||
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
|
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
|
||||||
@ -156,7 +150,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
%{_datadir}/xsessions/gnome-xorg.desktop
|
%{_datadir}/xsessions/gnome-xorg.desktop
|
||||||
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
||||||
|
|
||||||
%ifnarch s390 s390x
|
|
||||||
%post wayland
|
%post wayland
|
||||||
%{_sbindir}/update-alternatives --install %{_datadir}/wayland-sessions/default.desktop \
|
%{_sbindir}/update-alternatives --install %{_datadir}/wayland-sessions/default.desktop \
|
||||||
default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop 25
|
default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop 25
|
||||||
@ -173,7 +166,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
|
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
|
||||||
# Disabled as wayland is now the default session again.
|
# Disabled as wayland is now the default session again.
|
||||||
#{_datadir}/wayland-sessions/gnome-wayland.desktop
|
#{_datadir}/wayland-sessions/gnome-wayland.desktop
|
||||||
%endif
|
|
||||||
|
|
||||||
%files core
|
%files core
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user