Revert "Revert "Drop ConsoleKit integration, being removed in F17""

This reverts commit e6d5236130.
This commit is contained in:
Adam Jackson 2012-03-08 10:54:26 -05:00
parent e6d5236130
commit dc578d5b5c

View File

@ -3,7 +3,7 @@
Summary: X.Org X11 X Window System xinit startup scripts Summary: X.Org X11 X Window System xinit startup scripts
Name: xorg-x11-%{pkgname} Name: xorg-x11-%{pkgname}
Version: 1.3.1 Version: 1.3.1
Release: 4%{?dist} Release: 5%{?dist}
License: MIT License: MIT
Group: User Interface/X Group: User Interface/X
URL: http://www.x.org URL: http://www.x.org
@ -20,7 +20,6 @@ Source16: Xsession
Source17: localuser.sh Source17: localuser.sh
Source18: xinit-compat.desktop Source18: xinit-compat.desktop
Source19: xinit-compat Source19: xinit-compat
Source100: ck-xinit-session.c
# Fedora specific patches # Fedora specific patches
@ -29,7 +28,6 @@ Patch3: xinit-1.0.9-unset.patch
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: ConsoleKit-devel
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: dbus-devel BuildRequires: dbus-devel
@ -41,7 +39,6 @@ Requires: xorg-x11-xauth
# next two are for localuser.sh # next two are for localuser.sh
Requires: coreutils Requires: coreutils
Requires: xorg-x11-server-utils Requires: xorg-x11-server-utils
Requires: ConsoleKit-x11
%package session %package session
Summary: Display manager support for ~/.xsession and ~/.Xclients Summary: Display manager support for ~/.xsession and ~/.Xclients
@ -64,16 +61,11 @@ autoreconf
# FIXME: Upstream should default to XINITDIR being this. Make a patch to # FIXME: Upstream should default to XINITDIR being this. Make a patch to
# Makefile.am and submit it in a bug report or check into CVS. # Makefile.am and submit it in a bug report or check into CVS.
make XINITDIR=%{_sysconfdir}/X11/xinit make XINITDIR=%{_sysconfdir}/X11/xinit
%{__cc} -o ck-xinit-session \
`pkg-config --cflags ck-connector dbus-1` $RPM_OPT_FLAGS \
%{SOURCE100} \
`pkg-config --libs ck-connector dbus-1`
%install %install
# FIXME: Upstream should default to XINITDIR being this. Make a patch to # FIXME: Upstream should default to XINITDIR being this. Make a patch to
# Makefile.am and submit it in a bug report or check into CVS. # Makefile.am and submit it in a bug report or check into CVS.
make install DESTDIR=$RPM_BUILD_ROOT XINITDIR=%{_sysconfdir}/X11/xinit make install DESTDIR=$RPM_BUILD_ROOT XINITDIR=%{_sysconfdir}/X11/xinit
install -p -m755 ck-xinit-session $RPM_BUILD_ROOT/%{_bindir}
install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compat.desktop install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compat.desktop
# Install Red Hat custom xinitrc, etc. # Install Red Hat custom xinitrc, etc.
@ -103,7 +95,6 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa
%doc COPYING README ChangeLog %doc COPYING README ChangeLog
%{_bindir}/startx %{_bindir}/startx
%{_bindir}/xinit %{_bindir}/xinit
%{_bindir}/ck-xinit-session
%dir %{_sysconfdir}/X11/xinit %dir %{_sysconfdir}/X11/xinit
%{_sysconfdir}/X11/xinit/xinitrc %{_sysconfdir}/X11/xinit/xinitrc
%{_sysconfdir}/X11/xinit/xinitrc-common %{_sysconfdir}/X11/xinit/xinitrc-common
@ -123,8 +114,8 @@ install -p -m644 -D %{SOURCE18} $RPM_BUILD_ROOT%{_datadir}/xsessions/xinit-compa
%{_datadir}/xsessions/xinit-compat.desktop %{_datadir}/xsessions/xinit-compat.desktop
%changelog %changelog
* Mon Mar 05 2012 Adam Jackson <ajax@redhat.com> 1.3.1-4 * Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.3.1-5
- Revert "Drop ConsoleKit integration" (#798686) - Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild