2 Summary: X.Org X11 X server
8 Source0: %{name}-%{version}.tar.gz
9 Requires: libdrm2 >= 2.4.0
10 BuildRequires: pkgconfig(xorg-macros)
11 BuildRequires: pkgconfig(fontutil)
12 BuildRequires: pkgconfig(xtrans)
13 BuildRequires: pkgconfig(bigreqsproto)
14 BuildRequires: pkgconfig(compositeproto)
15 BuildRequires: pkgconfig(xproto)
16 BuildRequires: pkgconfig(damageproto)
17 BuildRequires: pkgconfig(fixesproto)
18 BuildRequires: pkgconfig(kbproto)
19 BuildRequires: pkgconfig(xineramaproto)
20 BuildRequires: pkgconfig(randrproto)
21 BuildRequires: pkgconfig(recordproto)
22 BuildRequires: pkgconfig(renderproto)
23 BuildRequires: pkgconfig(resourceproto)
24 BuildRequires: pkgconfig(scrnsaverproto)
25 BuildRequires: pkgconfig(videoproto)
26 BuildRequires: pkgconfig(xcmiscproto)
27 BuildRequires: pkgconfig(xextproto)
28 BuildRequires: pkgconfig(dri2proto)
29 BuildRequires: pkgconfig(inputproto)
30 BuildRequires: pkgconfig(fontsproto)
31 BuildRequires: pkgconfig(videoproto)
32 BuildRequires: pkgconfig(xf86vidmodeproto)
33 BuildRequires: xorg-x11-proto-gesture
34 BuildRequires: pkgconfig(xdmcp)
35 BuildRequires: pkgconfig(xfont)
36 BuildRequires: pkgconfig(xkbfile)
37 BuildRequires: pkgconfig(pixman-1)
38 BuildRequires: pkgconfig(xv)
39 BuildRequires: pkgconfig(libudev)
40 BuildRequires: pkgconfig(libdrm)
41 BuildRequires: libpciaccess-devel
42 BuildRequires: libgcrypt-devel
43 BuildRequires: xorg-x11-proto-hwc
44 BuildRequires: pkgconfig(libsystemd-daemon)
48 Description: %{summary}
52 Summary: Xorg server common files
54 Requires: pixman >= 0.21.8
55 Requires: xkeyboard-config xkbcomp
56 Provides: xserver-common
59 Common files shared among all X servers.
63 Summary: Xorg X server
65 Requires: xorg-x11-server-common = %{version}-%{release}
66 Requires(post): sys-assert
67 Provides: xserver-xorg-core
70 X.org X11 is an open source implementation of the X Window System. It
71 provides the basic low level functionality which full fledged
72 graphical user interfaces (GUIs) such as GNOME and KDE are designed
77 Summary: SDK for X server driver module development
79 Requires: %{name}-Xorg = %{version}-%{release}
80 Requires: pixman-devel
81 Requires: libpciaccess-devel
82 Provides: xserver-xorg-dev
85 The SDK package provides the developmental files which are necessary for
86 developing X server driver modules, and for compiling driver modules
87 outside of the standard X11 source code tree. Developers writing video
88 drivers, input drivers, or other X modules should install this package.
92 #Summary: Xserver source code required to build VNC server (Xvnc)
93 #Group: Development/Libraries
97 #Xserver source code needed to build VNC server (Xvnc)
108 --disable-strict-compilation \
111 --disable-unit-tests \
113 --disable-builddocs \
114 --disable-install-libxf86config \
126 --disable-screensaver \
128 --enable-xdm-auth-1 \
130 --disable-dri --enable-dri2 \
132 --enable-xf86vidmode \
136 --disable-xcsecurity \
137 --disable-xcalibrate \
140 --disable-xf86bigfont \
142 --disable-config-dbus \
143 --enable-config-udev \
144 --disable-config-hal \
145 --disable-xfree86-utils \
149 --with-int10=x86emu \
150 --disable-windowswm \
162 --disable-kdrive-kbd \
163 --disable-kdrive-mouse \
164 --disable-kdrive-evdev \
166 --disable-devel-doc \
168 --with-extra-module-dir="/usr/lib/xorg/extra-modules" \
169 --with-os-vendor="SLP(Samsung Linux Platform)" \
170 --with-xkb-path=/etc/X11/xkb \
171 --with-xkb-output=/var/xkb \
172 --with-default-font-path="built-ins" \
173 --disable-install-setuid \
174 --with-sha1=libgcrypt \
178 --with-systemd-daemon \
182 -D_F_NOT_TO_REMOVE_DEVICE_BY_UDEV_ADD_EVENT_ \
183 -D_F_NO_GRABTIME_UPDATE_ \
184 -D_F_NO_CATCH_SIGNAL_ \
185 -D_F_CHECK_NULL_CLIENT_ \
186 -D_F_COMP_OVL_PATCH \
187 -D_F_PUT_ON_PIXMAP_ \
188 -D_F_GETSTILL_GET_STOP_REQUEST_ \
189 -D_F_IGNORE_MOVE_SPRITE_FOR_FLOATING_POINTER_ \
190 -D_F_NOT_ALWAYS_CREATE_FRONTBUFFER_ \
191 -D_F_DISABLE_SCALE_TO_DESKTOP_FOR_DIRECT_TOUCH_ \
192 -D_F_GESTURE_EXTENSION_ \
193 -D_F_DO_NULL_CHECK_AT_XKBFAKEDEVICEBUTTON_ \
194 -D_F_DRI2_SWAP_REGION_ \
195 -D_F_NO_DAMAGE_DESCENDANT_FOR_HWC_ \
196 -D_F_NOT_USE_SW_CURSOR_ \
197 -D_F_DPMS_PHONE_CTRL_ \
198 -D_F_DRI2_FIX_INVALIDATE \
199 -D_F_RETURN_IF_INPUT_REMAINS_IN_WAITFORSTH_ \
200 -D_F_NO_INPUT_INIT_ \
201 -D_F_EXCLUDE_NON_MASK_SELECTED_FD_FROM_MAXCLIENTS_ \
202 -D_F_HWC_EXTENSION_ \
203 -D_F_MIEQ_SPRITEINFO_NULL_CHECK_ \
204 -D_F_DO_NOT_COPY_IN_RESIZE_WINDOW \
205 -D_F_SET_XKB_DEFAULT_OPTIONS_FROM_CONFIGURE_ \
206 -D_F_INPUT_REDIRECTION_ \
208 CPPFLAGS="${CPPFLAGS} "
211 # -D_F_DYNAMIC_MIEQ_ \
212 # -D_F_NO_FLOATINGDEVICE_ERROR_ \
213 # -D_F_ENABLE_XI2_SENDEVENT_ \
214 # -D_F_BG_NONE_ROOT_ \
216 make %{?jobs:-j%jobs}
220 mkdir -p %{buildroot}/usr/share/license
221 cp -af COPYING %{buildroot}/usr/share/license/xorg-x11-server-common
222 cp -af COPYING %{buildroot}/usr/share/license/xorg-x11-server-Xorg
226 rm -f %{buildroot}/usr/lib/xorg/modules/multimedia/*
227 rm -f %{buildroot}/usr/lib/xorg/modules/libvbe.so
228 rm -f %{buildroot}/usr/lib/xorg/modules/libvgahw.so
229 rm -f %{buildroot}/usr/lib/xorg/modules/libwfb.so
230 rm -f %{buildroot}/usr/lib/xorg/modules/libxaa.so
231 rm -f %{buildroot}/usr/lib/xorg/modules/libwfb.so
232 rm -f %{buildroot}/usr/lib/xorg/modules/libxf8_16bpp.so
234 rm -f %{buildroot}/var/xkb/README.compiled
235 rm -f %{buildroot}/usr/share/X11/xorg.conf.d/10-evdev.conf
236 rm -rf %{buildroot}/usr/share/man/*
238 #mkdir -p %{buildroot}/usr/share/X11/xorg.conf.d
239 #cp -a %{SOURCE100} %{buildroot}/usr/share/X11/xorg.conf.d
240 #cp -a %{SOURCE101} %{buildroot}/usr/share/X11/xorg.conf.d
242 #mkdir -p %{buildroot}/usr/share/xserver-xorg
243 #cp -a %{SOURCE200} %{SOURCE201} %{SOURCE202} %{buildroot}/usr/share/xserver-xorg
245 #mkdir -p %{buildroot}/usr/share/bug/xserver-xorg-core
246 #cp -a %{SOURCE203} %{buildroot}/usr/share/bug/xserver-xorg-core/script
248 #mkdir -p %{buildroot}/lib/udev/rules.d
249 #cp -a %{SOURCE102} %{buildroot}/lib/udev/rules.d
251 # Make the source package
252 #%define xserver_source_dir %{_datadir}/xorg-x11-server-source
253 #%define inst_srcdir %{buildroot}/%{xserver_source_dir}
254 #mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
255 #mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
256 #cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
257 #cp {,%{inst_srcdir}/}man/Xserver.man
258 #cp {,%{inst_srcdir}/}doc/smartsched
259 #cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
260 #cp {,%{inst_srcdir}/}xserver.ent.in
261 #cp xkb/README.compiled %{inst_srcdir}/xkb
262 #cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
266 rm -rf $RPM_BUILD_ROOT
272 %manifest xorg-x11-server-common.manifest
273 /usr/share/license/xorg-x11-server-common
274 %defattr(-,root,root,-)
275 %{_libdir}/xorg/protocol.txt
278 %manifest xorg-x11-server-Xorg.manifest
279 /usr/share/license/xorg-x11-server-Xorg
280 %defattr(-,root,root,-)
286 %dir %{_libdir}/xorg/modules
287 #%dir %{_libdir}/xorg/modules/extensions
288 #%{_libdir}/xorg/modules/extensions/libdri2.so
289 #%{_libdir}/xorg/modules/extensions/libextmod.so
290 #%{_libdir}/xorg/modules/extensions/librecord.so
291 #%dir %{_libdir}/xorg/modules/multimedia
292 %{_libdir}/xorg/modules/*.so
293 %{_libdir}/xorg/xserver-keymap-dir
297 %defattr(-,root,root,-)
298 %{_libdir}/pkgconfig/xorg-server.pc
299 %dir %{_includedir}/xorg
300 %{_includedir}/xorg/*.h
301 %{_datadir}/aclocal/xorg-server.m4
304 #%defattr(-, root, root, -)
305 #%{xserver_source_dir}