* Fri Jun 16 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-16
- Enable spec support for s390, s390x, alpha, sparc, and sparc64 architectures. - Add with_hw_servers conditional to disable hardware servers on s390/s390x. - Add with_dmx_server to disable DMX on s390/s390x. - Added "release" number to "BuildRequires: freetype-devel >= 2.1.9-1" for dependency futureproofing.
This commit is contained in:
parent
e5a76e5e49
commit
a30689e9bb
@ -4,7 +4,7 @@
|
|||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 15
|
Release: 16
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -41,17 +41,21 @@ Patch3004: xorg-x11-server-1.1.0-no-autoconfig-targetrefresh.patch
|
|||||||
Patch3005: xorg-x11-server-1.1.0-pci-driver-detection.patch
|
Patch3005: xorg-x11-server-1.1.0-pci-driver-detection.patch
|
||||||
Patch3006: xorg-x11-server-1.1.0-fix-default-mouse-device.patch
|
Patch3006: xorg-x11-server-1.1.0-fix-default-mouse-device.patch
|
||||||
|
|
||||||
# INFO: We don't ship the X server on s390/s390x
|
|
||||||
ExcludeArch: s390 s390x
|
|
||||||
|
|
||||||
%define moduledir %{_libdir}/xorg/modules
|
%define moduledir %{_libdir}/xorg/modules
|
||||||
%define drimoduledir %{_libdir}/dri
|
%define drimoduledir %{_libdir}/dri
|
||||||
%define sdkdir %{_includedir}/xorg
|
%define sdkdir %{_includedir}/xorg
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc ia64 ppc64
|
%ifarch %{ix86} x86_64 ppc ppc64 ia64 alpha sparc sparc64
|
||||||
%define xservers --enable-xorg --enable-dmx --enable-xvfb --enable-xnest
|
%define xservers --enable-xorg --enable-dmx --enable-xvfb --enable-xnest --enable-kdrive --enable-xephyr
|
||||||
%else
|
# --enable-xephyr
|
||||||
%define xservers --disable-xorg --disable-dmx --enable-xvfb --enable-xnest
|
%define with_hw_servers 1
|
||||||
|
%define with_dmx_server 1
|
||||||
|
%endif
|
||||||
|
%ifarch s390 s390x
|
||||||
|
%define xservers --disable-xorg --disable-dmx --enable-xvfb --enable-xnest --enable-kdrive --enable-xephyr
|
||||||
|
# --enable-xephyr
|
||||||
|
%define with_hw_servers 0
|
||||||
|
%define with_dmx_server 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# NOTE: The developer utils are intended for low level video driver hackers,
|
# NOTE: The developer utils are intended for low level video driver hackers,
|
||||||
@ -61,19 +65,23 @@ ExcludeArch: s390 s390x
|
|||||||
# I can build one build with them enabled, install them, then disable it again.
|
# I can build one build with them enabled, install them, then disable it again.
|
||||||
%define with_developer_utils 0
|
%define with_developer_utils 0
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc ia64 ppc64
|
%ifarch %{ix86} x86_64 ppc ia64 ppc64 alpha sparc sparc64
|
||||||
%define with_dri 1
|
%define with_dri 1
|
||||||
%else
|
%else
|
||||||
%define with_dri 0
|
%define with_dri 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# FIXME: Temporary Build deps on autotools, as needed...
|
||||||
#BuildRequires: automake17
|
#BuildRequires: automake17
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-util-macros >= 0.99.1
|
BuildRequires: xorg-x11-util-macros >= 0.99.1
|
||||||
BuildRequires: xorg-x11-proto-devel >= 7.0-13
|
BuildRequires: xorg-x11-proto-devel >= 7.1-1
|
||||||
BuildRequires: xorg-x11-xtrans-devel
|
BuildRequires: xorg-x11-xtrans-devel
|
||||||
# FIXME: The version specification can be removed from here in the future,
|
# FIXME: The version specification can be removed from here in the future,
|
||||||
# as it is not really mandatory, but forces a bugfix workaround on people who
|
# as it is not really mandatory, but forces a bugfix workaround on people who
|
||||||
@ -81,6 +89,16 @@ BuildRequires: xorg-x11-xtrans-devel
|
|||||||
BuildRequires: libXfont-devel >= 0.99.2-3
|
BuildRequires: libXfont-devel >= 0.99.2-3
|
||||||
BuildRequires: libXau-devel
|
BuildRequires: libXau-devel
|
||||||
BuildRequires: libxkbfile-devel
|
BuildRequires: libxkbfile-devel
|
||||||
|
# libXres-devel needed for something that links to libXres that I never bothered to figure out yet
|
||||||
|
BuildRequires: libXres-devel
|
||||||
|
# libfontenc-devel needed for Xorg, but not specified by
|
||||||
|
# upstream deps. Build fails without it.
|
||||||
|
BuildRequires: libfontenc-devel
|
||||||
|
# Required for Xtst examples
|
||||||
|
BuildRequires: libXtst-devel
|
||||||
|
# For Xdmxconfig
|
||||||
|
BuildRequires: libXt-devel libXpm-devel libXaw-devel
|
||||||
|
%if %{with_dmx_server}
|
||||||
# libdmx-devel needed for Xdmx
|
# libdmx-devel needed for Xdmx
|
||||||
BuildRequires: libdmx-devel
|
BuildRequires: libdmx-devel
|
||||||
# libXdmcp-devel needed for Xdmx
|
# libXdmcp-devel needed for Xdmx
|
||||||
@ -95,17 +113,9 @@ BuildRequires: libX11-devel
|
|||||||
BuildRequires: libXrender-devel
|
BuildRequires: libXrender-devel
|
||||||
# libXi-devel needed for Xdmx
|
# libXi-devel needed for Xdmx
|
||||||
BuildRequires: libXi-devel
|
BuildRequires: libXi-devel
|
||||||
# libXres-devel needed for something that links to libXres that I never bothered to figure out yet
|
%endif
|
||||||
BuildRequires: libXres-devel
|
|
||||||
# libfontenc-devel needed for Xorg, but not specified by
|
|
||||||
# upstream deps. Build fails without it.
|
|
||||||
BuildRequires: libfontenc-devel
|
|
||||||
# Required for Xtst examples
|
|
||||||
BuildRequires: libXtst-devel
|
|
||||||
# For Xdmxconfig
|
|
||||||
BuildRequires: libXt-devel libXpm-devel libXaw-devel
|
|
||||||
|
|
||||||
BuildRequires: freetype-devel >= 2.1.9
|
BuildRequires: freetype-devel >= 2.1.9-1
|
||||||
|
|
||||||
# To query fontdir from fontutil.pc
|
# To query fontdir from fontutil.pc
|
||||||
BuildRequires: xorg-x11-font-utils >= 1.0.0-1
|
BuildRequires: xorg-x11-font-utils >= 1.0.0-1
|
||||||
@ -119,7 +129,7 @@ BuildRequires: libdrm-devel >= 2.0-1
|
|||||||
X.Org X11 X server
|
X.Org X11 X server
|
||||||
|
|
||||||
# ----- Xorg --------------------------------------------------------
|
# ----- Xorg --------------------------------------------------------
|
||||||
|
%if %{with_hw_servers}
|
||||||
%package Xorg
|
%package Xorg
|
||||||
Summary: Xorg X server
|
Summary: Xorg X server
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -160,7 +170,7 @@ X.org X11 is an open source implementation of the X Window System. It
|
|||||||
provides the basic low level functionality which full fledged
|
provides the basic low level functionality which full fledged
|
||||||
graphical user interfaces (GUIs) such as GNOME and KDE are designed
|
graphical user interfaces (GUIs) such as GNOME and KDE are designed
|
||||||
upon.
|
upon.
|
||||||
|
%endif
|
||||||
# ----- Xnest -------------------------------------------------------
|
# ----- Xnest -------------------------------------------------------
|
||||||
|
|
||||||
%package Xnest
|
%package Xnest
|
||||||
@ -181,7 +191,7 @@ is a very useful tool for developers who wish to test their
|
|||||||
applications without running them on their real X server.
|
applications without running them on their real X server.
|
||||||
|
|
||||||
# ----- Xdmx --------------------------------------------------------
|
# ----- Xdmx --------------------------------------------------------
|
||||||
|
%if %{with_dmx_server}
|
||||||
%package Xdmx
|
%package Xdmx
|
||||||
Summary: Distributed Multihead X Server and utilities
|
Summary: Distributed Multihead X Server and utilities
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -201,7 +211,7 @@ for Xdmx would be to provide multi-head support using two desktop machines,
|
|||||||
each of which has a single display device attached to it. A complex
|
each of which has a single display device attached to it. A complex
|
||||||
application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
|
application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
|
||||||
(each attached to one of 16 computers) into a unified 5120x4096 display.
|
(each attached to one of 16 computers) into a unified 5120x4096 display.
|
||||||
|
%endif
|
||||||
# ----- Xvfb --------------------------------------------------------
|
# ----- Xvfb --------------------------------------------------------
|
||||||
|
|
||||||
%package Xvfb
|
%package Xvfb
|
||||||
@ -242,7 +252,7 @@ X protocol, and therefore supports the newer X extensions like
|
|||||||
Render and Composite.
|
Render and Composite.
|
||||||
|
|
||||||
# ----- sdk ---------------------------------------------------------
|
# ----- sdk ---------------------------------------------------------
|
||||||
|
%if %{with_hw_servers}
|
||||||
%package sdk
|
%package sdk
|
||||||
Summary: SDK for X server driver module development
|
Summary: SDK for X server driver module development
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -259,7 +269,7 @@ The SDK package provides the developmental files which are necessary for
|
|||||||
developing X server driver modules, and for compiling driver modules
|
developing X server driver modules, and for compiling driver modules
|
||||||
outside of the standard X11 source code tree. Developers writing video
|
outside of the standard X11 source code tree. Developers writing video
|
||||||
drivers, input drivers, or other X modules should install this package.
|
drivers, input drivers, or other X modules should install this package.
|
||||||
|
%endif
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -302,8 +312,6 @@ aclocal ; automake ; autoconf
|
|||||||
--enable-xtrap \
|
--enable-xtrap \
|
||||||
--enable-xcsecurity \
|
--enable-xcsecurity \
|
||||||
--enable-xevie \
|
--enable-xevie \
|
||||||
--enable-kdrive \
|
|
||||||
--enable-xephyr \
|
|
||||||
--with-module-dir=%{moduledir} \
|
--with-module-dir=%{moduledir} \
|
||||||
--with-os-name="Fedora Core 5" \
|
--with-os-name="Fedora Core 5" \
|
||||||
--with-os-vendor="Red Hat, Inc." \
|
--with-os-vendor="Red Hat, Inc." \
|
||||||
@ -324,9 +332,8 @@ make %{?_smp_mflags}
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT moduledir=%{moduledir}
|
make install DESTDIR=$RPM_BUILD_ROOT moduledir=%{moduledir}
|
||||||
|
|
||||||
# Remove all libtool archives (*.la)
|
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
|
|
||||||
|
|
||||||
|
%if %{with_hw_servers}
|
||||||
# FIXME: This should be done upstream, so it's one less thing to hack.
|
# FIXME: This should be done upstream, so it's one less thing to hack.
|
||||||
# Make these directories now so the Xorg package can own them.
|
# Make these directories now so the Xorg package can own them.
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
|
||||||
@ -341,6 +348,7 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
|
|||||||
chmod 0444 $RPM_BUILD_ROOT%{_datadir}/xorg/$each
|
chmod 0444 $RPM_BUILD_ROOT%{_datadir}/xorg/$each
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
# FIXME: Remove unwanted files/dirs
|
# FIXME: Remove unwanted files/dirs
|
||||||
{
|
{
|
||||||
@ -360,11 +368,14 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
|
|||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/outw
|
rm -f $RPM_BUILD_ROOT%{_bindir}/outw
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/pcitweak
|
rm -f $RPM_BUILD_ROOT%{_bindir}/pcitweak
|
||||||
%endif
|
%endif
|
||||||
|
# Remove all libtool archives (*.la)
|
||||||
|
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
|
||||||
}
|
}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%if %{with_hw_servers}
|
||||||
%pre Xorg
|
%pre Xorg
|
||||||
{
|
{
|
||||||
# Install/Upgrade section
|
# Install/Upgrade section
|
||||||
@ -412,9 +423,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# done
|
# done
|
||||||
popd
|
popd
|
||||||
} &> /dev/null || :
|
} &> /dev/null || :
|
||||||
|
%endif
|
||||||
|
|
||||||
# ----- Xorg --------------------------------------------------------
|
# ----- Xorg --------------------------------------------------------
|
||||||
|
|
||||||
|
%if %{with_hw_servers}
|
||||||
%files Xorg
|
%files Xorg
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
# FIXME: The build fails to find the Changelog for some reason.
|
# FIXME: The build fails to find the Changelog for some reason.
|
||||||
@ -507,6 +520,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man5/xorg.conf.5x*
|
%{_mandir}/man5/xorg.conf.5x*
|
||||||
%dir %{_localstatedir}/lib/xkb
|
%dir %{_localstatedir}/lib/xkb
|
||||||
%{_localstatedir}/lib/xkb/README.compiled
|
%{_localstatedir}/lib/xkb/README.compiled
|
||||||
|
%endif
|
||||||
|
|
||||||
# ----- Xnest -------------------------------------------------------
|
# ----- Xnest -------------------------------------------------------
|
||||||
|
|
||||||
@ -518,6 +532,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
# ----- Xdmx --------------------------------------------------------
|
# ----- Xdmx --------------------------------------------------------
|
||||||
|
|
||||||
|
%if %{with_dmx_server}
|
||||||
%files Xdmx
|
%files Xdmx
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/Xdmx
|
%{_bindir}/Xdmx
|
||||||
@ -537,6 +552,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/dmxtodmx.1x*
|
%{_mandir}/man1/dmxtodmx.1x*
|
||||||
%{_mandir}/man1/vdltodmx.1x*
|
%{_mandir}/man1/vdltodmx.1x*
|
||||||
%{_mandir}/man1/xdmxconfig.1x*
|
%{_mandir}/man1/xdmxconfig.1x*
|
||||||
|
%endif
|
||||||
|
|
||||||
# ----- Xvfb --------------------------------------------------------
|
# ----- Xvfb --------------------------------------------------------
|
||||||
|
|
||||||
@ -556,7 +572,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
#%{_mandir}/man1/Xephyr.1x*
|
#%{_mandir}/man1/Xephyr.1x*
|
||||||
|
|
||||||
# ----- sdk ---------------------------------------------------------
|
# ----- sdk ---------------------------------------------------------
|
||||||
|
%if %{with_hw_servers}
|
||||||
%files sdk
|
%files sdk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libxf86config.a
|
%{_libdir}/libxf86config.a
|
||||||
@ -566,10 +582,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
#%dir %{_includedir}/xorg/sdk
|
#%dir %{_includedir}/xorg/sdk
|
||||||
%{sdkdir}/*.h
|
%{sdkdir}/*.h
|
||||||
%{_datadir}/aclocal/xorg-server.m4
|
%{_datadir}/aclocal/xorg-server.m4
|
||||||
|
%endif
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 16 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-16
|
||||||
|
- Enable spec support for s390, s390x, alpha, sparc, and sparc64 architectures.
|
||||||
|
- Add with_hw_servers conditional to disable hardware servers on s390/s390x.
|
||||||
|
- Add with_dmx_server to disable DMX on s390/s390x.
|
||||||
|
- Added "release" number to "BuildRequires: freetype-devel >= 2.1.9-1" for
|
||||||
|
dependency futureproofing.
|
||||||
|
|
||||||
* Thu Jun 15 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-15
|
* Thu Jun 15 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-15
|
||||||
- Add loader infrastructure for publishing PCI ID lists in the drivers, and
|
- Add loader infrastructure for publishing PCI ID lists in the drivers, and
|
||||||
autodetecting drivers based on that. Currently unused since no drivers
|
autodetecting drivers based on that. Currently unused since no drivers
|
||||||
|
Loading…
Reference in New Issue
Block a user