Accepting request 400372 from X11:XOrg
1 OBS-URL: https://build.opensuse.org/request/show/400372 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=54
This commit is contained in:
commit
af692f4712
22
xdm.changes
22
xdm.changes
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 03 13:49:07 UTC 2016 - pjanouch@suse.de
|
||||||
|
|
||||||
|
- spec-cleaner cleanups
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 03 13:48:56 UTC 2016 - eich@suse.com
|
||||||
|
|
||||||
|
- xdm.tar.bz2:
|
||||||
|
sys.xsession - factor out scriptlets to add services
|
||||||
|
to start in the context of a desktop session. These
|
||||||
|
scriptlets sould be shipped with their respective
|
||||||
|
services, not with xdm.
|
||||||
|
Check etc/X11/sdm/scripts/xsession-sriptlets.HOWTO for
|
||||||
|
further details (boo#972787).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 25 10:44:56 UTC 2016 - werner@suse.de
|
||||||
|
|
||||||
|
- Simplify dbus detection to support all kind of (boo#980521)
|
||||||
|
- Avoid option --write-env-file for newer gpg (boo#972787)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 6 21:14:31 UTC 2016 - eich@suse.com
|
Fri May 6 21:14:31 UTC 2016 - eich@suse.com
|
||||||
|
|
||||||
|
53
xdm.spec
53
xdm.spec
@ -16,20 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _dminitdir %{_libexecdir}/X11/displaymanagers
|
||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
%define with_systemd 1
|
%define with_systemd 1
|
||||||
%else
|
%else
|
||||||
%define with_systemd 0
|
%define with_systemd 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define _dminitdir %{_libexecdir}/X11/displaymanagers
|
|
||||||
|
|
||||||
%if 0%{?suse_version} < 01210
|
%if 0%{?suse_version} < 01210
|
||||||
%define dm_fallbacks 1
|
%define dm_fallbacks 1
|
||||||
%else
|
%else
|
||||||
%define dm_fallbacks 0
|
%define dm_fallbacks 0
|
||||||
%endif
|
%endif
|
||||||
|
%if !%with_systemd
|
||||||
|
%define _unitdir %{_prefix}/lib/systemd/system
|
||||||
|
%endif
|
||||||
Name: xdm
|
Name: xdm
|
||||||
Version: 1.1.11
|
Version: 1.1.11
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -43,14 +43,7 @@ Source2: HOWTO.xdm
|
|||||||
Source3: xdm-fallbacks.tar.bz2
|
Source3: xdm-fallbacks.tar.bz2
|
||||||
Source4: display-manager.service
|
Source4: display-manager.service
|
||||||
Source5: xsession.desktop
|
Source5: xsession.desktop
|
||||||
%if !%with_systemd
|
|
||||||
Patch0: xdm-consolekit.diff
|
|
||||||
%endif
|
|
||||||
Patch1: xdm-tolerant-hostname-changes.diff
|
Patch1: xdm-tolerant-hostname-changes.diff
|
||||||
%if 0%{?suse_version} >= 01140 && 0%{?suse_version} < 1320
|
|
||||||
# Needed to create the man page symlink to init.d
|
|
||||||
BuildRequires: aaa_base-extras
|
|
||||||
%endif
|
|
||||||
# needed for patch0, patch2, patch3, patch4
|
# needed for patch0, patch2, patch3, patch4
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
@ -67,13 +60,6 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.4
|
|||||||
BuildRequires: pkgconfig(xpm)
|
BuildRequires: pkgconfig(xpm)
|
||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(xtrans)
|
BuildRequires: pkgconfig(xtrans)
|
||||||
%if !%with_systemd
|
|
||||||
BuildRequires: ConsoleKit-devel
|
|
||||||
Requires: ConsoleKit
|
|
||||||
%else
|
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
%{?systemd_requires}
|
|
||||||
%endif
|
|
||||||
Requires: /sbin/pidof
|
Requires: /sbin/pidof
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
Requires: sessreg
|
Requires: sessreg
|
||||||
@ -83,18 +69,28 @@ Requires: xmessage
|
|||||||
Requires: xrdb
|
Requires: xrdb
|
||||||
Requires: xset
|
Requires: xset
|
||||||
Requires: xsetroot
|
Requires: xsetroot
|
||||||
%if 0%{?suse_version} > 1320
|
|
||||||
Requires: xterm-bin
|
|
||||||
%else
|
|
||||||
Requires: xterm
|
|
||||||
%endif
|
|
||||||
Recommends: dbus-1-x11
|
Recommends: dbus-1-x11
|
||||||
# This was part of the xorg-x11 package up to version 7.6
|
# This was part of the xorg-x11 package up to version 7.6
|
||||||
Conflicts: xorg-x11 <= 7.6
|
Conflicts: xorg-x11 <= 7.6
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%if !%with_systemd
|
%if !%with_systemd
|
||||||
%define _unitdir /usr/lib/systemd/system
|
Patch0: xdm-consolekit.diff
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 01140 && 0%{?suse_version} < 1320
|
||||||
|
# Needed to create the man page symlink to init.d
|
||||||
|
BuildRequires: aaa_base-extras
|
||||||
|
%endif
|
||||||
|
%if !%with_systemd
|
||||||
|
BuildRequires: ConsoleKit-devel
|
||||||
|
Requires: ConsoleKit
|
||||||
|
%else
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
%{?systemd_requires}
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
Requires: xterm-bin
|
||||||
|
%else
|
||||||
|
Requires: xterm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -110,7 +106,7 @@ Supplements: xdm
|
|||||||
%description xsession
|
%description xsession
|
||||||
This package contains the System desktop file which will cause
|
This package contains the System desktop file which will cause
|
||||||
the execution of a user provided $HOME/.xsession script or pick
|
the execution of a user provided $HOME/.xsession script or pick
|
||||||
the system wide DM default set in /etc/sysconfig/displaymanager.
|
the system wide DM default set in %{_sysconfdir}/sysconfig/displaymanager.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -159,7 +155,7 @@ rm %{buildroot}%{_libdir}/X11/xdm/libXdmGreet.la
|
|||||||
mv %{buildroot}%{_libdir}/X11/xdm/chooser %{buildroot}%{_bindir}
|
mv %{buildroot}%{_libdir}/X11/xdm/chooser %{buildroot}%{_bindir}
|
||||||
# fdo#35868 (closed INVALID, but because of above fix, we want it)
|
# fdo#35868 (closed INVALID, but because of above fix, we want it)
|
||||||
ln -s xdm.1%{?ext_man} %{buildroot}%{_mandir}/man1/chooser.1%{?ext_man}
|
ln -s xdm.1%{?ext_man} %{buildroot}%{_mandir}/man1/chooser.1%{?ext_man}
|
||||||
%__install -D %{S:5} -m 0644 %{buildroot}%{_datadir}/xsessions/xsession.desktop
|
install -D %{SOURCE5} -m 0644 %{buildroot}%{_datadir}/xsessions/xsession.desktop
|
||||||
%if 0%{?suse_version} < 1315
|
%if 0%{?suse_version} < 1315
|
||||||
# missing manual page
|
# missing manual page
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8
|
mkdir -p %{buildroot}%{_mandir}/man8
|
||||||
@ -167,7 +163,7 @@ ln -s ../man7/init.d.7%{?ext_man} %{buildroot}%{_mandir}/man8/rcxdm.8%{?ext_man}
|
|||||||
ln -sf %{_sysconfdir}/init.d/xdm %{buildroot}%{_sbindir}/rcxdm
|
ln -sf %{_sysconfdir}/init.d/xdm %{buildroot}%{_sbindir}/rcxdm
|
||||||
%else
|
%else
|
||||||
rm -f %{buildroot}%{_sbindir}/rcxdm
|
rm -f %{buildroot}%{_sbindir}/rcxdm
|
||||||
%__install -D %{S:4} -m 0444 %{buildroot}%{_unitdir}/display-manager.service
|
install -D %{SOURCE4} -m 0444 %{buildroot}%{_unitdir}/display-manager.service
|
||||||
ln -sf service %{buildroot}%{_sbindir}/rcdisplay-manager
|
ln -sf service %{buildroot}%{_sbindir}/rcdisplay-manager
|
||||||
cat > %{buildroot}%{_sbindir}/rcxdm <<-'EOF'
|
cat > %{buildroot}%{_sbindir}/rcxdm <<-'EOF'
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
@ -217,6 +213,7 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
|
|||||||
%{_dminitdir}/wdm.fallback
|
%{_dminitdir}/wdm.fallback
|
||||||
%endif
|
%endif
|
||||||
%config %{_sysconfdir}/X11/xdm/
|
%config %{_sysconfdir}/X11/xdm/
|
||||||
|
%dir %{_sysconfdir}/X11/xdm/scripts
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/xdmcp
|
%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/xdmcp
|
||||||
%if 0%{?suse_version} < 1315
|
%if 0%{?suse_version} < 1315
|
||||||
%{_sysconfdir}/init.d/xdm
|
%{_sysconfdir}/init.d/xdm
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:38777b09a28f19fd77012bd68d83e398ab64457581a7baf9d38f42e89784d285
|
oid sha256:446bc5f779347d8867e8d8e2012063d7d302631fac6de71424d9e05fb399b818
|
||||||
size 22583
|
size 22422
|
||||||
|
Loading…
Reference in New Issue
Block a user