1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
12 url = http://www.x.org
14 summary = X.Org X11 X server.
17 X.org X11 is an open source implementation of the X Window System.
18 It provides the basic low level functionality which full fledged
19 graphical user interfaces (GUIs) such as GNOME and KDE are designed
23 thisapp = xorg-server-%{version}
25 source_dl = http://ftp.x.org/pub/individual/xserver/
55 xorg-x11-font-utils-devel
57 xorg-x11-proto-devel >= 7.7
61 CFLAGS += -Wstrict-overflow -rdynamic
63 configure_options += \
72 --enable-maintainer-mode \
75 --with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \
76 --with-module-dir=%{libdir}/xorg/modules \
77 --with-builderstring="Build ID: %{name} %{version}-%{release}" \
78 --with-os-name="$(hostname -s) $(uname -r)" \
79 --with-vendor-name="$(DISTRO_NAME) Project" \
80 --with-vendor-web="http://www.ipfire.org" \
81 --with-xkb-output=/var/lib/xkb \
82 --enable-install-libxf86config \
83 --localstatedir=/var \
84 --disable-screensaver \
85 --disable-config-dbus \
86 --disable-config-hal \
94 # Remove BIND_NOW flag from server modules to provide autoloading of them if needed
95 # by the server itself.
96 sed -i -e "s/^CFLAGS.*/& -Wl,-z,lazy/" \
97 -e "s/^CCASFLAGS.*/& -Wl,-z,lazy/" \
99 hw/xfree86/dixmods/Makefile \
100 hw/xfree86/dri/Makefile \
101 hw/xfree86/dri2/Makefile \
102 hw/xfree86/exa/Makefile \
103 hw/xfree86/fbdevhw/Makefile \
104 hw/xfree86/i2c/Makefile \
105 hw/xfree86/int10/Makefile \
106 hw/xfree86/shadowfb/Makefile \
107 hw/xfree86/vbe/Makefile \
108 hw/xfree86/vgahw/Makefile \
111 make_install_targets += \
112 moduledir=%{libdir}/xorg/modules
115 rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so
116 rm -vrf %{BUILDROOT}/var/log
118 mkdir -pv %{BUILDROOT}/etc/X11/xorg.conf.d %{BUILDROOT}/usr/share/xorg
119 install -m 0444 hw/xfree86/common/{vesa,extra}modes %{BUILDROOT}/usr/share/xorg/
120 install -m 644 %{DIR_SOURCE}/10-quirks.conf %{BUILDROOT}/usr/share/X11/xorg.conf.d
125 permit_not_full_relro = yes
140 xorg-x11-drv-keyboard
141 xorg-x11-drv-modesetting
152 package %{name}-devel
161 package %{name}-debuginfo