From 1a0b683a6a04e842bedc71044cda1b2c499942d34e920f983877004bd8f0c1ff Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 17 Aug 2012 13:33:23 +0000 Subject: [PATCH] Accepting request 131100 from home:michalsrb:branches:X11:XOrg - separate *.fallback displaymanager files from xdm.tar.bz2 into xdm-fallbacks.tar.bz2 and build only suse version < 1210. (bnc#714003) - /etc/init.d/xdm: add plymouth_quit function, use it in xdm displaymanager file (bnc#775548) OBS-URL: https://build.opensuse.org/request/show/131100 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=12 --- xdm-fallbacks.tar.bz2 | 3 +++ xdm.changes | 13 +++++++++++++ xdm.spec | 14 ++++++++++++++ xdm.tar.bz2 | 4 ++-- 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 xdm-fallbacks.tar.bz2 diff --git a/xdm-fallbacks.tar.bz2 b/xdm-fallbacks.tar.bz2 new file mode 100644 index 0000000..331593e --- /dev/null +++ b/xdm-fallbacks.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ee58cb0c7923f7390e6e77e8fafab1e5e0c77ce7013680617a74403dbe66e4 +size 1050 diff --git a/xdm.changes b/xdm.changes index 3567c24..60347c9 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Aug 16 17:41:12 CEST 2012 - msrb@suse.cz + +- separate *.fallback displaymanager files from xdm.tar.bz2 into + xdm-fallbacks.tar.bz2 and build only suse version < 1210. + (bnc#714003) + +------------------------------------------------------------------- +Thu Aug 16 15:15:12 CEST 2012 - msrb@suse.cz + +- /etc/init.d/xdm: add plymouth_quit function, use it in xdm + displaymanager file (bnc#775548) + ------------------------------------------------------------------- Tue Aug 7 09:11:51 UTC 2012 - sndirsch@suse.com diff --git a/xdm.spec b/xdm.spec index cd32f56..131659e 100644 --- a/xdm.spec +++ b/xdm.spec @@ -18,6 +18,12 @@ %define _dminitdir %{_libexecdir}/X11/displaymanagers +%if 0%{?suse_version} < 01210 +%define dm_fallbacks 1 +%else +%define dm_fallbacks 0 +%endif + Name: xdm Version: 1.1.10 Release: 0 @@ -28,6 +34,9 @@ Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 Source1: xdm.tar.bz2 Source2: HOWTO.xdm +%if %dm_fallbacks +Source3: xdm-fallbacks.tar.bz2 +%endif Patch0: xdm-consolekit.diff Patch1: xdm-tolerant-hostname-changes.diff Patch2: U_xdm_config-AC_LIBTOOL_DLOPEN-is-required-for-dynamic-lin.patch @@ -94,6 +103,9 @@ rm %{buildroot}%{_sysconfdir}/X11/xdm/{GiveConsole,TakeConsole,Xsetup_0} pushd %{buildroot} # SuSE default XDM configuration tar xf %{SOURCE1} +%if %dm_fallbacks +tar xf %{SOURCE3} +%endif %ifarch s390 s390x sed -i -e "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"yes\"+g" \ -e "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"no\"+g" \ @@ -131,12 +143,14 @@ ln -s ../man7/init.d.7%{?ext_man} %{buildroot}%{_mandir}/man8/rcxdm.8%{?ext_man} %doc HOWTO.xdm %dir %{_dminitdir} %{_dminitdir}/xdm +%if %dm_fallbacks %{_dminitdir}/entrance.fallback %{_dminitdir}/gdm.fallback %{_dminitdir}/kdm.fallback %{_dminitdir}/lxdm.fallback %{_dminitdir}/slim.fallback %{_dminitdir}/wdm.fallback +%endif %config %{_sysconfdir}/X11/xdm/ %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/xdmcp %{_sysconfdir}/init.d/xdm diff --git a/xdm.tar.bz2 b/xdm.tar.bz2 index a4837f5..8016bca 100644 --- a/xdm.tar.bz2 +++ b/xdm.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2aa84ab5aa3b9c2edc7252b789f0fdbec6072bd6764b97b8b5c62dea32bf7d44 -size 19069 +oid sha256:25b3f419e5790c65c5f06989bf7e48b918b68e3cbea8386f186065d8ced28a67 +size 18530