add xorg-server-0.99.3-rgb.txt-dix-config-fix.patch
This commit is contained in:
parent
83c9ed811f
commit
1651c5452a
@ -1,11 +1,10 @@
|
|||||||
#!/bin/bash
|
|
||||||
%define pkgname xorg-server
|
%define pkgname xorg-server
|
||||||
%define cvsdate xxxxxxxxxxx
|
%define cvsdate xxxxxxxxxxx
|
||||||
|
|
||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 0.99.3
|
Version: 0.99.3
|
||||||
Release: 7
|
Release: 8
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -16,16 +15,16 @@ Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC2/everything/%{pkgname
|
|||||||
Patch0: xorg-x11-server-0.99.3-init-origins-fix.patch
|
Patch0: xorg-x11-server-0.99.3-init-origins-fix.patch
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=5093
|
# https://bugs.freedesktop.org/show_bug.cgi?id=5093
|
||||||
Patch1: xorg-server-0.99.3-fbmmx-fix-for-non-SSE-cpu.patch
|
Patch1: xorg-server-0.99.3-fbmmx-fix-for-non-SSE-cpu.patch
|
||||||
|
# xorg-server-0.99.3-rgb.txt-dix-config-fix.patch is from post-RC2 CVS
|
||||||
|
Patch2: xorg-server-0.99.3-rgb.txt-dix-config-fix.patch
|
||||||
Patch100: xorg-redhat-die-ugly-pattern-die-die-die.patch
|
Patch100: xorg-redhat-die-ugly-pattern-die-die-die.patch
|
||||||
|
|
||||||
# INFO: We don't ship the X server on s390/s390x/ppc64
|
# INFO: We don't ship the X server on s390/s390x/ppc64
|
||||||
ExcludeArch: s390 s390x ppc64
|
ExcludeArch: s390 s390x ppc64
|
||||||
|
|
||||||
%define moduledir %{_libdir}/xorg/modules
|
%define moduledir %{_libdir}/xorg/modules
|
||||||
# FIXME: This stuff should probably be in /usr/share or /usr/lib/X11
|
%define xorgdatadir %{_datadir}/xorg
|
||||||
# somewhere instead of in includedir, as it is C source, not include files.
|
%define sdkdir %{_datadir}/xorg/sdk
|
||||||
%define sdkdir %{_includedir}/xorg
|
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc ia64
|
%ifarch %{ix86} x86_64 ppc ia64
|
||||||
%define xservers --enable-xorg --enable-dmx --enable-xvfb --enable-xnest
|
%define xservers --enable-xorg --enable-dmx --enable-xvfb --enable-xnest
|
||||||
@ -80,7 +79,7 @@ BuildRequires: libXtst-devel
|
|||||||
# Needed at least for DRI enabled builds
|
# Needed at least for DRI enabled builds
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
BuildRequires: mesa-source >= 6.4-4
|
BuildRequires: mesa-source >= 6.4-4
|
||||||
BuildRequires: libdrm-devel
|
BuildRequires: libdrm-devel >= 1.0.5-1
|
||||||
%endif
|
%endif
|
||||||
%description
|
%description
|
||||||
X.Org X11 X server
|
X.Org X11 X server
|
||||||
@ -203,19 +202,26 @@ drivers, input drivers, or other X modules should install this package.
|
|||||||
%setup -q -n %{pkgname}-%{version}
|
%setup -q -n %{pkgname}-%{version}
|
||||||
%patch0 -p0 -b .init-origins-fix
|
%patch0 -p0 -b .init-origins-fix
|
||||||
%patch1 -p0 -b .fbmmx-fix-for-non-SSE-cpu
|
%patch1 -p0 -b .fbmmx-fix-for-non-SSE-cpu
|
||||||
|
%patch2 -p0 -b .rgb.txt-dix-config-fix
|
||||||
|
|
||||||
%patch100 -p0 -b .redhat-die-ugly-pattern-die-die-die
|
%patch100 -p0 -b .redhat-die-ugly-pattern-die-die-die
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#FONTDIR="${datadir}/X11/fonts"
|
||||||
|
#DEFAULT_FONT_PATH="${FONTDIR}/misc:unscaled,${FONTDIR}/TTF/,${FONTDIR}/OTF,${FONTDIR}/Type1/,${FONTDIR}/CID/,${FONTDIR}/100dpi:unscaled,${FONTDIR}/75dpi:unscaled"
|
||||||
|
|
||||||
|
aclocal --force ; automake ; autoconf
|
||||||
%configure %{xservers} \
|
%configure %{xservers} \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--disable-xprint \
|
--disable-xprint \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-composite \
|
--enable-composite \
|
||||||
|
%if %{with_dri}
|
||||||
--enable-xtrap \
|
--enable-xtrap \
|
||||||
--enable-xcsecurity \
|
--enable-xcsecurity \
|
||||||
--enable-xevie \
|
--enable-xevie \
|
||||||
--enable-lbx \
|
--enable-lbx \
|
||||||
|
%endif
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
--with-mesa-source=%{_datadir}/mesa/source \
|
--with-mesa-source=%{_datadir}/mesa/source \
|
||||||
@ -482,14 +488,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_libdir}/pkgconfig
|
%dir %{_libdir}/pkgconfig
|
||||||
%{_libdir}/pkgconfig/xorg-server.pc
|
%{_libdir}/pkgconfig/xorg-server.pc
|
||||||
%dir %{_includedir}
|
%dir %{xorgdatadir}
|
||||||
%dir %{_includedir}/xorg
|
%dir %{sdkdir}
|
||||||
%{_includedir}/xorg/*.h
|
%{sdkdir}/*.h
|
||||||
%{_datadir}/aclocal/xorg-server.m4
|
%{_datadir}/aclocal/xorg-server.m4
|
||||||
|
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-8
|
||||||
|
- Added xorg-server-0.99.3-rgb.txt-dix-config-fix.patch which fixes the
|
||||||
|
--with-rgb-path option to actually *work*.
|
||||||
|
- Updated libdrm dep to 1.0.5
|
||||||
|
|
||||||
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-7
|
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-7
|
||||||
- Update xorg-x11-server-utils dep to 0.99.2-5 to ensure rgb.txt is installed
|
- Update xorg-x11-server-utils dep to 0.99.2-5 to ensure rgb.txt is installed
|
||||||
in correct location - _datadir/X11/rgb
|
in correct location - _datadir/X11/rgb
|
||||||
|
Loading…
Reference in New Issue
Block a user