2 Summary: X.Org X11 X server
8 Source0: %{name}-%{version}.tar.gz
9 Requires: libdrm2 >= 2.4.0
10 BuildRequires: libgcrypt-devel
11 BuildRequires: pkgconfig(xorg-macros)
12 BuildRequires: pkgconfig(fontutil)
13 BuildRequires: pkgconfig(xtrans)
14 BuildRequires: pkgconfig(bigreqsproto)
15 BuildRequires: pkgconfig(compositeproto)
16 BuildRequires: pkgconfig(xproto)
17 BuildRequires: pkgconfig(damageproto)
18 BuildRequires: pkgconfig(fixesproto)
19 BuildRequires: pkgconfig(kbproto)
20 BuildRequires: pkgconfig(xineramaproto)
21 BuildRequires: pkgconfig(randrproto)
22 BuildRequires: pkgconfig(recordproto)
23 BuildRequires: pkgconfig(renderproto)
24 BuildRequires: pkgconfig(resourceproto)
25 BuildRequires: pkgconfig(scrnsaverproto)
26 BuildRequires: pkgconfig(videoproto)
27 BuildRequires: pkgconfig(xcmiscproto)
28 BuildRequires: pkgconfig(xextproto)
29 BuildRequires: pkgconfig(dri2proto)
30 BuildRequires: pkgconfig(inputproto)
31 BuildRequires: pkgconfig(fontsproto)
32 BuildRequires: pkgconfig(videoproto)
33 BuildRequires: pkgconfig(xf86vidmodeproto)
34 BuildRequires: pkgconfig(gestureproto)
35 BuildRequires: pkgconfig(xdmcp)
36 BuildRequires: pkgconfig(xfont)
37 BuildRequires: pkgconfig(xkbfile)
38 BuildRequires: pkgconfig(pixman-1)
39 BuildRequires: pkgconfig(xv)
40 BuildRequires: pkgconfig(libudev)
41 BuildRequires: pkgconfig(libdrm)
42 BuildRequires: pkgconfig(pciaccess)
43 BuildRequires: pkgconfig(hwcproto)
44 BuildRequires: pkgconfig(hwaproto)
45 BuildRequires: pkgconfig(libsystemd-daemon)
46 BuildRequires: pkgconfig(dri3proto)
47 BuildRequires: pkgconfig(presentproto)
48 BuildRequires: pkgconfig(xshmfence)
49 BuildRequires: pkgconfig(ttrace)
50 BuildRequires: pkgconfig(vasum)
51 BuildRequires: pkgconfig(dlog)
54 Description: %{summary}
58 Summary: Xorg server common files
60 Requires: pixman >= 0.21.8
61 Requires: xkeyboard-config xkbcomp
62 Provides: xserver-common
65 Common files shared among all X servers.
69 Summary: Xorg X server
71 Requires: xorg-x11-server-common = %{version}-%{release}
72 Requires(post): sys-assert
73 Provides: xserver-xorg-core
76 X.org X11 is an open source implementation of the X Window System. It
77 provides the basic low level functionality which full fledged
78 graphical user interfaces (GUIs) such as GNOME and KDE are designed
83 Summary: SDK for X server driver module development
85 Requires: %{name}-Xorg = %{version}-%{release}
86 Requires: pixman-devel
87 Requires: libpciaccess-devel
88 Provides: xserver-xorg-dev
91 The SDK package provides the developmental files which are necessary for
92 developing X server driver modules, and for compiling driver modules
93 outside of the standard X11 source code tree. Developers writing video
94 drivers, input drivers, or other X modules should install this package.
98 #Summary: Xserver source code required to build VNC server (Xvnc)
99 #Group: Development/Libraries
103 #Xserver source code needed to build VNC server (Xvnc)
112 %if "%{?tizen_profile_name}" == "mobile"
115 %if "%{?tizen_profile_name}" == "wearable"
118 %if "%{?tizen_profile_name}" == "tv"
119 export CFLAGS+=" -D_F_STEREOSCOPIC_SEND_FBSIZE_TO_WM_ -D_F_STEREOSCOPIC_LEFT_BUFFER_COODINATE_ "
125 --disable-strict-compilation \
128 --enable-unit-tests \
130 --disable-builddocs \
131 --disable-install-libxf86config \
143 --enable-screensaver \
145 --enable-xdm-auth-1 \
147 --disable-dri --enable-dri2 \
149 --enable-xf86vidmode \
153 --disable-xcsecurity \
154 --disable-xcalibrate \
157 --disable-xf86bigfont \
159 --disable-config-dbus \
160 --enable-config-udev \
161 --disable-config-hal \
162 --disable-xfree86-utils \
166 --with-int10=x86emu \
167 --disable-windowswm \
179 --disable-kdrive-kbd \
180 --disable-kdrive-mouse \
181 --disable-kdrive-evdev \
183 --disable-devel-doc \
186 --disable-container \
189 --with-extra-module-dir="/usr/lib/xorg/extra-modules" \
190 --with-os-vendor="Tizen Platform" \
191 --with-xkb-path=/etc/X11/xkb \
192 --with-xkb-output=/var/xkb \
193 --with-default-font-path="built-ins" \
194 --disable-install-setuid \
195 --with-sha1=libgcrypt \
200 --with-systemd-daemon \
201 --with-default-xkb-model="evdev" \
202 --enable-smack-util \
206 -D_F_NOT_TO_REMOVE_DEVICE_BY_UDEV_ADD_EVENT_ \
207 -D_F_NO_GRABTIME_UPDATE_ \
208 -D_F_NO_CATCH_SIGNAL_ \
209 -D_F_CHECK_NULL_CLIENT_ \
210 -D_F_PUT_ON_PIXMAP_ \
211 -D_F_GETSTILL_GET_STOP_REQUEST_ \
212 -D_F_IGNORE_MOVE_SPRITE_FOR_FLOATING_POINTER_ \
213 -D_F_GESTURE_EXTENSION_ \
214 -D_F_DO_NULL_CHECK_AT_XKBFAKEDEVICEBUTTON_ \
215 -D_F_NO_DAMAGE_DESCENDANT_FOR_HWC_ \
216 -D_F_NO_DAMAGE_DESCENDANT_FOR_HWA_ \
217 -D_F_NOT_USE_SW_CURSOR_ \
218 -D_F_DPMS_PHONE_CTRL_ \
219 -D_F_DRI2_NOT_ALWAYS_CREATE_FRONTBUFFER_ \
220 -D_F_DRI2_SWAP_REGION_ \
221 -D_F_DRI2_FIX_INVALIDATE \
222 -D_F_DRI2_COMMIT_FRAME_DONE_ \
223 -D_F_DRI2_SKIP_FRAME_NOT_VIEWABLE_ \
224 -D_F_DRI2_SKIP_FRAME_WINDOW_SIZE_CHANGED_ \
225 -D_F_RETURN_IF_INPUT_REMAINS_IN_WAITFORSTH_ \
226 -D_F_NO_INPUT_INIT_ \
227 -D_F_EXCLUDE_NON_MASK_SELECTED_FD_FROM_MAXCLIENTS_ \
228 -D_F_HWC_EXTENSION_ \
229 -D_F_HWA_EXTENSION_ \
230 -D_F_MIEQ_SPRITEINFO_NULL_CHECK_ \
231 -D_F_DO_NOT_COPY_IN_RESIZE_WINDOW \
232 -D_F_SET_XKB_DEFAULT_OPTIONS_FROM_CONFIGURE_ \
233 -D_F_INPUT_REDIRECTION_ \
235 -D_F_SET_PROPERTY_MT_ \
236 -D_F_GET_CURRENT_SCREEN_ \
237 -D_F_EXYNOS_DRV_LOAD_ \
238 -D_F_CONTAINER_EXTENSION_ \
239 -D_F_SUPPORT_XTEST_TOUCH_EVENT_ \
240 -D_F_PRESENT_PIXMAP_SWAP_ \
241 -D_F_PRESENT_SYNC_DRAW_DONE_ \
242 -D_F_PRESENT_SELECTIVE_COMPOSITE_ \
243 -D_F_PRESENT_HWC_FLIP_ \
244 -D_F_PRESENT_SCANOUT_NOTIFY_ \
245 -D_F_ADD_HOOK_PROC_COMP_REDIRECT_UNREDIRECT_ \
246 -D_F_PRESENT_NOT_USE_FAKE_VBLANK_ \
247 -D_ENABLE_PRIVILEGE_CHECK_ON_XTEST_DEVICE_API_ \
248 -D_F_XV_PUTSTILL_CHECK_PRIVILEGE_ \
249 -D_XV_REPUTORSTOP_CHECK_XV_OFF_ \
250 -D_F_XV_DO_NOT_CHECK_OBSCURED_ \
251 -D_ADD_HOOK_FOR_WARP_POINTER_ \
252 -D_F_DRI2_RUNTIME_DISABLE_EXT_ \
253 -D_F_RUN_TIME_DISABLE_EXTENSION_ \
254 -D_F_NO_IMPLICIT_REDIRECT_ \
255 %if "%{?TIZEN_PRODUCT_TV}" == "1"
256 -D_F_DRI2_CHECK_SERIALNUMBER_ \
257 -D_F_UDEV_MONITORING_WITH_KERNEL_UEVENT_ \
258 -D_F_PREVENT_CURSOR_FLICKER_ \
259 -D_F_XV_DRAW_CHECK_NULL_
261 -D_F_DRI2_CHECK_SERIALNUMBER_
264 CPPFLAGS="${CPPFLAGS} "
267 # -D_F_PRESENT_VBLANK_PENDING_ \
268 # -D_F_DYNAMIC_MIEQ_ \
269 # -D_F_NO_FLOATINGDEVICE_ERROR_ \
270 # -D_F_ENABLE_XI2_SENDEVENT_ \
271 # -D_F_BG_NONE_ROOT_ \
273 make %{?jobs:-j%jobs}
277 mkdir -p %{buildroot}/usr/share/license
278 cp -af COPYING %{buildroot}/usr/share/license/xorg-x11-server-common
279 cp -af COPYING %{buildroot}/usr/share/license/xorg-x11-server-Xorg
283 rm -f %{buildroot}/usr/lib/xorg/modules/multimedia/*
284 rm -f %{buildroot}/usr/lib/xorg/modules/libvbe.so
285 rm -f %{buildroot}/usr/lib/xorg/modules/libvgahw.so
286 rm -f %{buildroot}/usr/lib/xorg/modules/libwfb.so
287 rm -f %{buildroot}/usr/lib/xorg/modules/libxaa.so
288 rm -f %{buildroot}/usr/lib/xorg/modules/libwfb.so
289 rm -f %{buildroot}/usr/lib/xorg/modules/libxf8_16bpp.so
291 rm -f %{buildroot}/usr/lib/xorg/modules/libshadow.so
292 rm -f %{buildroot}/usr/lib/xorg/modules/libshadowfb.so
293 rm -f %{buildroot}/usr/lib/xorg/modules/libint10.so
295 rm -f %{buildroot}/var/xkb/README.compiled
296 rm -f %{buildroot}/usr/share/X11/xorg.conf.d/10-evdev.conf
297 rm -f %{buildroot}/usr/share/X11/xorg.conf.d/10-quirks.conf
298 rm -rf %{buildroot}/usr/share/man/*
300 #mkdir -p %{buildroot}/usr/share/X11/xorg.conf.d
301 #cp -a %{SOURCE100} %{buildroot}/usr/share/X11/xorg.conf.d
302 #cp -a %{SOURCE101} %{buildroot}/usr/share/X11/xorg.conf.d
304 #mkdir -p %{buildroot}/usr/share/xserver-xorg
305 #cp -a %{SOURCE200} %{SOURCE201} %{SOURCE202} %{buildroot}/usr/share/xserver-xorg
307 #mkdir -p %{buildroot}/usr/share/bug/xserver-xorg-core
308 #cp -a %{SOURCE203} %{buildroot}/usr/share/bug/xserver-xorg-core/script
310 #mkdir -p %{buildroot}/lib/udev/rules.d
311 #cp -a %{SOURCE102} %{buildroot}/lib/udev/rules.d
313 # Make the source package
314 #%define xserver_source_dir %{_datadir}/xorg-x11-server-source
315 #%define inst_srcdir %{buildroot}/%{xserver_source_dir}
316 #mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
317 #mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
318 #cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
319 #cp {,%{inst_srcdir}/}man/Xserver.man
320 #cp {,%{inst_srcdir}/}doc/smartsched
321 #cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
322 #cp {,%{inst_srcdir}/}xserver.ent.in
323 #cp xkb/README.compiled %{inst_srcdir}/xkb
324 #cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
327 rm -rf $RPM_BUILD_ROOT
333 %manifest xorg-x11-server-common.manifest
334 /usr/share/license/xorg-x11-server-common
335 %defattr(-,root,root,-)
336 %{_libdir}/xorg/protocol.txt
339 %manifest xorg-x11-server-Xorg.manifest
340 /usr/share/license/xorg-x11-server-Xorg
341 %defattr(-,root,root,-)
347 %dir %{_libdir}/xorg/modules
348 #%dir %{_libdir}/xorg/modules/extensions
349 #%{_libdir}/xorg/modules/extensions/libdri2.so
350 #%{_libdir}/xorg/modules/extensions/libextmod.so
351 #%{_libdir}/xorg/modules/extensions/librecord.so
352 #%dir %{_libdir}/xorg/modules/multimedia
353 %{_libdir}/xorg/modules/*.so
354 %{_libdir}/xorg/xserver-keymap-dir
358 %defattr(-,root,root,-)
359 %{_libdir}/pkgconfig/xorg-server.pc
360 %dir %{_includedir}/xorg
361 %{_includedir}/xorg/*.h
362 %{_datadir}/aclocal/xorg-server.m4
365 #%defattr(-, root, root, -)
366 #%{xserver_source_dir}