2005-08-29 06:52:37 +00:00
|
|
|
%define pkgname xinit
|
2006-09-25 18:01:27 +00:00
|
|
|
|
|
|
|
Summary: X.Org X11 X Window System xinit startup scripts
|
|
|
|
Name: xorg-x11-%{pkgname}
|
2007-09-24 18:10:45 +00:00
|
|
|
Version: 1.0.7
|
2007-10-12 18:27:29 +00:00
|
|
|
Release: 2%{?dist}
|
2006-09-25 18:01:27 +00:00
|
|
|
License: MIT/X11
|
|
|
|
Group: User Interface/X
|
|
|
|
URL: http://www.x.org
|
2005-11-23 02:25:56 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2006-09-25 18:01:27 +00:00
|
|
|
Source0: ftp://ftp.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
|
2005-11-01 01:49:40 +00:00
|
|
|
Source10: xinitrc-common
|
|
|
|
Source11: xinitrc
|
|
|
|
Source12: Xclients
|
|
|
|
Source13: Xmodmap
|
|
|
|
Source14: Xresources
|
2005-11-23 02:25:56 +00:00
|
|
|
# NOTE: Xsession is used by xdm/kdm/gdm and possibly others, so we keep it
|
|
|
|
# here instead of the xdm package.
|
2005-11-13 06:22:11 +00:00
|
|
|
Source16: Xsession
|
2006-07-22 20:59:00 +00:00
|
|
|
Source17: localuser.sh
|
2007-10-12 18:27:29 +00:00
|
|
|
Source100: ck-xinit-session.c
|
2005-08-29 06:52:37 +00:00
|
|
|
|
2006-11-10 15:31:06 +00:00
|
|
|
Patch1: xinit-1.0.2-client-session.patch
|
2007-09-24 18:10:45 +00:00
|
|
|
Patch2: xinit-1.0.7-poke-ck.patch
|
2006-06-21 09:27:26 +00:00
|
|
|
|
2006-06-06 16:22:37 +00:00
|
|
|
BuildRequires: pkgconfig
|
2005-10-06 03:49:49 +00:00
|
|
|
BuildRequires: libX11-devel
|
2007-04-02 21:45:28 +00:00
|
|
|
BuildRequires: ConsoleKit-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2007-04-02 22:00:18 +00:00
|
|
|
BuildRequires: xorg-x11-util-macros
|
2005-11-23 02:25:56 +00:00
|
|
|
# NOTE: startx needs xauth in order to run, but that is not picked up
|
|
|
|
# automatically by rpm. (Bug #173684)
|
|
|
|
Requires: xauth
|
2006-07-21 16:48:16 +00:00
|
|
|
# next two are for localuser.sh
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: xorg-x11-server-utils
|
2007-04-02 21:45:28 +00:00
|
|
|
Requires: ConsoleKit-x11
|
|
|
|
Requires: ConsoleKit-libs
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
# NOTE: xinit, startx moved to xorg-x11-xinit during the X.Org X11R7
|
2006-02-16 14:48:14 +00:00
|
|
|
# modularization. These Obsoletes lines ensure upgrades work smoothly.
|
|
|
|
Obsoletes: XFree86, xorg-x11
|
2005-08-29 06:52:37 +00:00
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
# NOTE: Most of the xinitrc scripts/config files are now in xorg-x11-xinit,
|
2005-11-23 02:25:56 +00:00
|
|
|
# so the xinitrc package became unnecessary. The xdm configs/scripts move
|
|
|
|
# to the xdm package.
|
2005-11-01 01:49:40 +00:00
|
|
|
Obsoletes: xinitrc
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
%description
|
|
|
|
X.Org X11 X Window System xinit startup scripts
|
|
|
|
|
|
|
|
%prep
|
2005-11-12 00:28:09 +00:00
|
|
|
%setup -q -n %{pkgname}-%{version}
|
2006-11-10 15:31:06 +00:00
|
|
|
%patch1 -p1 -b .client-session
|
2007-10-12 18:27:29 +00:00
|
|
|
#%patch2 -p1 -b .poke-ck
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
%build
|
2007-04-02 21:45:28 +00:00
|
|
|
autoreconf
|
2005-08-29 06:52:37 +00:00
|
|
|
%configure
|
|
|
|
# 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.
|
|
|
|
make XINITDIR=/etc/X11/xinit
|
2007-10-12 18:27:29 +00:00
|
|
|
%{__cc} -o ck-xinit-session \
|
|
|
|
`pkg-config --cflags ck-connector` $RPM_OPT_FLAGS \
|
|
|
|
$RPM_SOURCE_DIR/ck-xinit-session.c \
|
|
|
|
`pkg-config --libs ck-connector`
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
# 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.
|
|
|
|
%makeinstall XINITDIR=$RPM_BUILD_ROOT/etc/X11/xinit
|
2007-10-12 18:27:29 +00:00
|
|
|
install -m755 ck-xinit-session $RPM_BUILD_ROOT/%{_bindir}
|
2005-08-29 06:52:37 +00:00
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
# Install Red Hat custom xinitrc, etc.
|
|
|
|
{
|
2005-11-13 06:22:11 +00:00
|
|
|
for script in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE16} ; do
|
2005-11-01 01:49:40 +00:00
|
|
|
install -m 755 $script $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/${script##*/}
|
|
|
|
done
|
|
|
|
|
|
|
|
install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xmodmap
|
|
|
|
install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xresources
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
|
2006-07-22 20:59:00 +00:00
|
|
|
install -m 755 %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/localuser.sh
|
2005-11-01 01:49:40 +00:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/Xclients.d
|
|
|
|
}
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-04-22 01:39:08 +00:00
|
|
|
%doc AUTHORS COPYING README NEWS ChangeLog
|
2005-08-29 06:52:37 +00:00
|
|
|
%{_bindir}/startx
|
|
|
|
%{_bindir}/xinit
|
2007-10-12 18:27:29 +00:00
|
|
|
%{_bindir}/ck-xinit-session
|
2005-08-29 06:52:37 +00:00
|
|
|
%dir %{_sysconfdir}/X11
|
|
|
|
%dir %{_sysconfdir}/X11/xinit
|
2005-11-01 01:49:40 +00:00
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc
|
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc-common
|
|
|
|
%config(noreplace) %{_sysconfdir}/X11/Xmodmap
|
|
|
|
%config(noreplace) %{_sysconfdir}/X11/Xresources
|
|
|
|
%dir %{_sysconfdir}/X11/xinit/Xclients.d
|
|
|
|
%{_sysconfdir}/X11/xinit/Xclients
|
2005-11-13 06:24:22 +00:00
|
|
|
%{_sysconfdir}/X11/xinit/Xsession
|
2005-11-01 01:49:40 +00:00
|
|
|
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
|
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
2007-04-02 22:07:31 +00:00
|
|
|
#%dir %{_mandir}/man1
|
|
|
|
%{_mandir}/man1/startx.1*
|
|
|
|
%{_mandir}/man1/xinit.1*
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-10-12 18:27:29 +00:00
|
|
|
* Fri Oct 12 2007 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-2
|
|
|
|
- Try opening the console-kit session after the user's UID has already
|
|
|
|
been granted access to the server by localuser.sh, so that console-kit-daemon
|
|
|
|
can connect and ask the server for information just by having switch to the
|
|
|
|
user's UID (#287941).
|
|
|
|
|
2007-09-24 18:10:45 +00:00
|
|
|
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.7-1
|
|
|
|
- xinit 1.0.7
|
|
|
|
|
2007-08-21 19:30:34 +00:00
|
|
|
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-27
|
|
|
|
- Rebuild for build id
|
|
|
|
|
2007-08-06 17:42:31 +00:00
|
|
|
* Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-26
|
|
|
|
- Bump release
|
|
|
|
|
2007-08-06 17:39:58 +00:00
|
|
|
* Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-25
|
|
|
|
- Fix typo: s/unask/umask/ - Bug 250882, Jan ONDREJ (ondrejj@salstar.sk)
|
|
|
|
|
2007-08-02 17:25:28 +00:00
|
|
|
* Thu Aug 2 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-24
|
|
|
|
- Fix bug 212167, CVE-2006-5214
|
|
|
|
|
2007-07-29 23:09:50 +00:00
|
|
|
* Sun Jul 29 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-23
|
|
|
|
- Fix Xsession to run the login shell inside the setgid ssh-agent, rather
|
|
|
|
than the other way around. This preserves LD_LIBRARY_PRELOAD.
|
|
|
|
Patch from Stefan Becker, bug 164869.
|
|
|
|
|
2007-07-27 16:24:19 +00:00
|
|
|
* Fri Jul 27 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-22
|
|
|
|
- Remove xinput.sh. Bug 244963.
|
|
|
|
|
2007-05-21 18:35:24 +00:00
|
|
|
* Mon May 21 2007 Adam Jackson <ajax@redhat.com> 1.0.2-21
|
|
|
|
- localuser.sh: Run silently.
|
|
|
|
|
2007-05-11 14:12:51 +00:00
|
|
|
* Sat Apr 22 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-20
|
2007-04-22 01:39:08 +00:00
|
|
|
- Don't install INSTALL
|
|
|
|
|
2007-04-19 16:38:38 +00:00
|
|
|
* Thu Apr 19 2007 Warren Togami <wtogami@redhat.com> 1.0.2-19
|
|
|
|
- disable SCIM by default in non-Asian languages #237054
|
|
|
|
If you want to use SCIM, use im-chooser to enable it.
|
|
|
|
|
2007-04-02 22:07:31 +00:00
|
|
|
* Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-18
|
|
|
|
- Man pages are now in section 1, not in section 1x
|
|
|
|
|
2007-04-02 22:00:18 +00:00
|
|
|
* Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-17
|
|
|
|
- Also BR xorg-x11-util-macros since we autoreconf
|
|
|
|
|
2007-04-02 21:45:28 +00:00
|
|
|
* Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-16
|
|
|
|
- Add ConsoleKit support (#233183)
|
|
|
|
|
2006-11-27 15:34:01 +00:00
|
|
|
* Mon Nov 27 2006 Adam Jackson <ajax@redhat.com> 1.0.2-15
|
|
|
|
- Bump EVR to fix 6 to 7 updates.
|
|
|
|
|
2006-11-10 15:31:06 +00:00
|
|
|
* Fri Nov 10 2006 Ray Strode <rstrode@redhat.com> - 1.0.2-14
|
|
|
|
- start client in its own session with no controlling tty
|
|
|
|
(bug 214649)
|
|
|
|
|
2006-10-23 18:04:35 +00:00
|
|
|
* Mon Oct 23 2006 Kristian Høgsberg <krh@redhat.com> - 1.0.2-13
|
|
|
|
- Update Xsession to not use switchdesk for the hard coded kde and twm
|
|
|
|
cases.
|
|
|
|
|
2006-10-01 21:19:29 +00:00
|
|
|
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-12
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-25 18:01:27 +00:00
|
|
|
* Mon Sep 25 2006 Kristian Høgsberg <krh@redhat.com> - 1.0.2-11.fc6
|
|
|
|
- Bump and rebuild.
|
|
|
|
|
2006-09-25 17:30:37 +00:00
|
|
|
* Mon Sep 25 2006 Kristian Høgsberg <krh@redhat.com> - 1.0.2-10.fc6
|
|
|
|
- Move hardcoded xsetroot background color to fallback cases (#205901).
|
|
|
|
|
2006-08-18 02:03:23 +00:00
|
|
|
* Thu Aug 17 2006 Kristian Høgsberg <krh@redhat.com> - 1.0.2-9.fc6
|
|
|
|
- Start ssh-agent for startx also (#169259).
|
|
|
|
|
2006-07-22 20:59:00 +00:00
|
|
|
* Sat Jul 22 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-8.fc6
|
|
|
|
- Fix SourceN line for localuser.sh to not collide.
|
|
|
|
|
2006-07-21 16:48:16 +00:00
|
|
|
* Fri Jul 21 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-7.fc6
|
|
|
|
- Added localuser.sh.
|
|
|
|
|
2006-07-19 10:31:02 +00:00
|
|
|
* Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-6.fc6
|
|
|
|
- Added fix to Xclients script, based on patch from bug (#190799)
|
|
|
|
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-5.1.fc6
|
2006-07-12 09:22:30 +00:00
|
|
|
- rebuild
|
|
|
|
|
2006-07-05 06:46:08 +00:00
|
|
|
* Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-5.fc6
|
|
|
|
- Implemented changes to xinput.sh based on suggestions from (#194458)
|
|
|
|
|
2006-06-22 04:45:06 +00:00
|
|
|
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-4
|
|
|
|
- Added documentation to doc macro.
|
|
|
|
|
2006-06-21 09:27:26 +00:00
|
|
|
* Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
|
|
|
|
- Added xinit-1.0.2-setuid.diff to fix potential security issue (#196094)
|
|
|
|
|
2006-06-06 16:22:37 +00:00
|
|
|
* Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
|
|
|
|
- Added "BuildRequires: pkgconfig" for bug (#194187)
|
|
|
|
|
2006-04-27 22:49:30 +00:00
|
|
|
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
|
|
|
|
- Update xinit to 1.0.2
|
|
|
|
|
2006-02-16 14:48:14 +00:00
|
|
|
* Thu Feb 16 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
|
|
|
|
- Change Conflicts to Obsoletes for xorg-x11 and XFree86 (#181414)
|
|
|
|
|
2006-03-01 07:09:45 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
|
2006-02-11 06:27:51 +00:00
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-03-01 07:09:45 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
|
2006-02-07 14:40:59 +00:00
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-31 15:31:51 +00:00
|
|
|
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
|
|
|
|
- Updated to xinit 1.0.1 from X11R7.0
|
|
|
|
|
2005-12-16 18:55:15 +00:00
|
|
|
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
|
|
|
|
- Updated to xinit 1.0.0 from X11R7 RC4.
|
|
|
|
- Changed manpage dir from man1x to man1 to match upstream default.
|
|
|
|
|
2005-11-23 02:25:56 +00:00
|
|
|
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-6
|
|
|
|
- Add "Requires: xauth" for startx, to fix bug (#173684)
|
|
|
|
|
|
|
|
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.3-5
|
|
|
|
- Do not provide xinit anymore, gdm has been fixed and that breaks things
|
|
|
|
with the obsoletes
|
2005-11-14 22:42:10 +00:00
|
|
|
|
2005-11-13 06:22:11 +00:00
|
|
|
* Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-4
|
|
|
|
- Added Xsession script from xinitrc, as it is very similar codebase, which
|
|
|
|
shares "xinitrc-common" anyway, and all of the display managers use it.
|
|
|
|
|
|
|
|
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-3
|
2005-11-12 00:28:09 +00:00
|
|
|
- Updated to xinit 0.99.3 from X11R7 RC2.
|
|
|
|
|
2006-06-21 09:27:26 +00:00
|
|
|
* Mon Nov 07 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
|
2005-11-07 21:41:52 +00:00
|
|
|
- Added "Provides: xinitrc = 5.0.0-1" for temporary compatibility between
|
|
|
|
monolithic and modular X. This will be removed however for FC5.
|
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
|
2005-11-01 01:57:24 +00:00
|
|
|
- Import custom Red Hat xinit scripts from xinitrc package.
|
|
|
|
- Obsolete xinitrc package, as we include the scripts/configs here now.
|
|
|
|
- Fix all scripts/configs to avoid the now obsolete /usr/X11R6 prefix.
|
2005-11-01 01:49:40 +00:00
|
|
|
|
2005-11-01 00:09:33 +00:00
|
|
|
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
|
|
|
|
- Updated to xinit 0.99.2 from X11R7 RC1.
|
|
|
|
- Change manpage location to 'man1x' in file manifest.
|
|
|
|
|
2006-06-21 09:27:26 +00:00
|
|
|
* Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
|
2005-10-06 03:49:49 +00:00
|
|
|
- Use Fedora-Extras style BuildRoot tag.
|
|
|
|
- Update BuildRequires to use new library package names.
|
|
|
|
- Tidy up spec file a bit.
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
|
|
|
|
- Initial build.
|