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 sources_dl = http://ftp.x.org/pub/individual/xserver/
24 sources = xorg-server-%{version}.tar.bz2
54 xorg-x11-font-utils-devel
60 DIR_APP = %{DIR_SRC}/xorg-server-%{version}
62 CFLAGS += -Wstrict-overflow -rdynamic
64 configure_options += \
75 --enable-maintainer-mode \
78 --with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \
79 --with-module-dir=%{libdir}/xorg/modules \
80 --with-builderstring="Build ID: %{name} %{version}-%{release}" \
81 --with-os-name="$(hostname -s) $(uname -r)" \
82 --with-vendor-name="$(DISTRO_NAME) Project" \
83 --with-vendor-web="http://www.ipfire.org" \
84 --with-xkb-output=/var/lib/xkb \
85 --enable-install-libxf86config \
86 --localstatedir=/var \
87 --disable-screensaver \
88 --disable-config-dbus \
89 --disable-config-hal \
97 # Remove BIND_NOW flag from server modules to provide autoloading of them if needed
98 # by the server itself.
99 sed -i -e "s/^CFLAGS.*/& -Wl,-z,lazy/" \
100 -e "s/^CCASFLAGS.*/& -Wl,-z,lazy/" \
102 hw/xfree86/dixmods/Makefile \
103 hw/xfree86/dixmods/extmod/Makefile \
104 hw/xfree86/dri/Makefile \
105 hw/xfree86/dri2/Makefile \
106 hw/xfree86/exa/Makefile \
107 hw/xfree86/fbdevhw/Makefile \
108 hw/xfree86/i2c/Makefile \
109 hw/xfree86/int10/Makefile \
110 hw/xfree86/shadowfb/Makefile \
111 hw/xfree86/vbe/Makefile \
112 hw/xfree86/vgahw/Makefile \
113 hw/xfree86/xaa/Makefile
116 make_install_targets += \
117 moduledir=%{libdir}/xorg/modules
120 rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so
121 rm -vrf %{BUILDROOT}/var/log
123 mkdir -pv %{BUILDROOT}/etc/X11/xorg.conf.d %{BUILDROOT}/usr/share/xorg
124 install -m 0444 hw/xfree86/common/{vesa,extra}modes %{BUILDROOT}/usr/share/xorg/
125 install -m 644 %{DIR_SOURCE}/10-quirks.conf %{BUILDROOT}/usr/share/X11/xorg.conf.d
130 permit_not_full_relro = yes
146 package %{name}-devel
155 package %{name}-debuginfo