diff --git a/.cvsignore b/.cvsignore index e69de29..ff952bd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xorg-server-0.99.1-cvs20050825.tar.bz2 diff --git a/sources b/sources index e69de29..002d9bc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +328868f8a8c19e6002a329a0f2f5c9c3 xorg-server-0.99.1-cvs20050825.tar.bz2 diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec new file mode 100644 index 0000000..4e50af3 --- /dev/null +++ b/xorg-x11-server.spec @@ -0,0 +1,210 @@ +%define tarball xorg-server +Summary: Xorg X11 Server +Name: xorg-x11-server +Version: 0.99.1 +Release: 2.cvs20050825.0 +URL: http://www.x.org +Source0: http://xorg.freedesktop.org/X11R7.0-RC0/xserver/%{tarball}-%{version}-cvs20050825.tar.bz2 +License: MIT/MIT +Group: User Interface/X +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# INFO: We don't ship the X server on s390/s390x/ppc64 +Excludearch: s390 s390x ppc64 + +%define xservers --enable-xorg --enable-dmx --enable-xvfb --enable-xnest + + +BuildRequires: xorg-x11-proto-devel +BuildRequires: xorg-x11-xtrans-devel +BuildRequires: xorg-x11-libXfont-devel +BuildRequires: xorg-x11-libXau-devel +BuildRequires: xorg-x11-libxkbfile-devel +# xorg-x11-libXdmcp-devel needed for Xdmx +BuildRequires: xorg-x11-libXdmcp-devel +# xorg-x11-libXmu-devel needed for Xdmx +BuildRequires: xorg-x11-libXmu-devel +# xorg-x11-libXext-devel needed for Xdmx +BuildRequires: xorg-x11-libXext-devel +# xorg-x11-libX11-devel needed for Xdmx +BuildRequires: xorg-x11-libX11-devel +# xorg-x11-libXrender-devel needed for Xdmx +BuildRequires: xorg-x11-libXrender-devel +# xorg-x11-libXi-devel needed for Xdmx +BuildRequires: xorg-x11-libXi-devel +# xorg-x11-libfontenc-devel needed for Xorg, but not specified by +# upstream deps. Build fails without it. +BuildRequires: xorg-x11-libfontenc-devel +BuildRequires: pkgconfig + +%description +Xserver RPM + +# ----- Xorg -------------------------------------------------------- + +%package Xorg +Summary: The primary Xorg server +Group: User Interface/X +Obsoletes: XFree86 xorg-x11 +Provides: Xorg + +%description Xorg +X.org X11 is an open source implementation of the X Window System. It +provides the basic low level functionality which full fledged +graphical user interfaces (GUIs) such as GNOME and KDE are designed +upon. + +# ----- Xnest ------------------------------------------------------- + +%package Xnest +Summary: A nested server. +Group: User Interface/X +Requires: %{name} = %{version}-%{release} +Obsoletes: XFree86-Xnest xorg-x11-Xnest +Provides: Xnest + +%description Xnest +Xnest is an X server, which has been implemented as an ordinary +X application. It runs in a window just like other X applications, +but it is an X server itself in which you can run other software. It +is a very useful tool for developers who wish to test their +applications without running them on their real X server. + +# ----- Xdmx -------------------------------------------------------- + +%package Xdmx +Summary: Distributed Multihead X Server and utilities +Group: User Interface/X +Requires: %{name}-Xorg = %{version}-%{release} +Obsoletes: xorg-x11-Xnest +Provides: Xdmx + +%description Xdmx +Xdmx is proxy X server that provides multi-head support for multiple displays +attached to different machines (each of which is running a typical X server). +When Xinerama is used with Xdmx, the multiple displays on multiple machines +are presented to the user as a single unified screen. A simple application +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 +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. + +# ----- Xvfb -------------------------------------------------------- + +%package Xvfb +Summary: A X Windows System virtual framebuffer X server. +Group: User Interface/X +Requires: %{name} = %{version}-%{release} +Obsoletes: XFree86-Xvfb xorg-x11-Xvfb +Provides: Xvfb + +%description Xvfb +Xvfb (X Virtual Frame Buffer) is an X server that is able to run on +machines with no display hardware and no physical input devices. +Xvfb simulates a dumb framebuffer using virtual memory. Xvfb does +not open any devices, but behaves otherwise as an X display. Xvfb +is normally used for testing servers. + +# ----- sdk --------------------------------------------------------- + +%package sdk +Summary: SDK for X server driver module development +Group: User Interface/X +Obsoletes: XFree86-sdk xorg-x11-sdk +Provides: xorg-x11-server-sdk = 7.0.0 + +%description sdk +The SDK package provides the developmental files which are necessary for +developing X server driver modules, and for compiling driver modules +outside of the standard X11 source code tree. Developers writing video +drivers, input drivers, or other X modules should install this package. + +# ------------------------------------------------------------------- + +%prep +%setup -q -c %{name}-%{version} + +%build +{ + pushd %{tarball}-%{version} + %configure %{xservers} --enable-composite --disable-xprint --disable-static + make +} +%install +rm -rf $RPM_BUILD_ROOT +{ + pushd %{tarball}-%{version} + make install DESTDIR=$RPM_BUILD_ROOT + popd +} +# Remove all libtool archives (*.la) from modules directory, as we do not +# ship these. +find $RPM_BUILD_ROOT%{_libdir}/xorg/modules -name '*.la'| xargs rm + +# Make these directories now so the Xorg package can own them. +mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input} + +%clean +rm -rf $RPM_BUILD_ROOT + +# FIXME: where did the man pages go? + +# ----- Xorg -------------------------------------------------------- + +%files Xorg +%defattr(-,root,root,-) +# FIXME: The build fails to find the Changelog for some reason. +#%doc ChangeLog +%dir %{_bindir} +%{_bindir}/Xorg +%dir %{_libdir}/xorg +%dir %{_libdir}/xorg/modules +%dir %{_libdir}/xorg/modules/multimedia +%dir %{_libdir}/xorg/modules/drivers +%dir %{_libdir}/xorg/modules/input +%{_libdir}/xorg/modules/*.so +%{_libdir}/xorg/modules/multimedia/*.so + +# ----- Xnest ------------------------------------------------------- + +%files Xnest +%defattr(-,root,root,-) +%dir %{_bindir} +%{_bindir}/Xnest + +# ----- Xdmx -------------------------------------------------------- + +# FIXME: dmx tools? (dmxtodmx, vdltodmx, xdmxconfig) + +%files Xdmx +%defattr(-,root,root,-) +%dir %{_bindir} +%{_bindir}/Xdmx + +# ----- Xvfb -------------------------------------------------------- + +%files Xvfb +%defattr(-,root,root,-) +%dir %{_bindir} +%{_bindir}/Xvfb + +# ----- sdk --------------------------------------------------------- + +%files sdk +%defattr(-,root,root,-) +%dir %{_libdir}/pkgconfig +%{_libdir}/pkgconfig/xorg-server.pc +%dir %{_includedir} +%dir %{_includedir}/xorg +%{_includedir}/xorg/*.h + +# ------------------------------------------------------------------- + +%changelog +* Fri Aug 26 2005 Mike A. Harris 0.99.1-2.cvs20050825.0 +- Added build dependency on xorg-x11-libfontenc-devel, as the build fails + half way through without it, even though upstream dependencies do not + specify it as required. + +* Tue Aug 23 2005 0.99.1-1 +- Initial spec file for the modular X server.