]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - xorg-x11-server/xorg-x11-server.nm
systemd: Remove udev rules for "predictable" network device names
[people/ms/ipfire-3.x.git] / xorg-x11-server / xorg-x11-server.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xorg-x11-server
7 version = 1.13.2
8 release = 1
9
10 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
11 groups = X/Server
12 url = http://www.x.org
13 license = MIT
14 summary = X.Org X11 X server.
15
16 description
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
20 upon.
21 end
22
23 thisapp = xorg-server-%{version}
24
25 source_dl = http://ftp.x.org/pub/individual/xserver/
26
27 build
28 requires
29 audit-devel
30 autoconf
31 automake
32 libcap
33 libX11-devel
34 libXau-devel
35 libXdmcp-devel
36 libXext-devel
37 libXfixes-devel
38 libXfont-devel
39 libXmu-devel
40 libXrender-devel
41 libXres-devel
42 libXt-devel
43 libdrm-devel
44 libfontenc-devel
45 libpciaccess-devel
46 libselinux-devel
47 libtool
48 libudev-devel
49 libxcb-devel
50 libxkbfile-devel
51 mesa-devel >= 9.0.2
52 openssl-devel
53 pixman-devel
54 pkg-config
55 xorg-x11-font-utils-devel
56 xorg-x11-util-macros
57 xorg-x11-proto-devel >= 7.7
58 xorg-x11-xtrans-devel
59 end
60
61 CFLAGS += -Wstrict-overflow -rdynamic
62
63 configure_options += \
64 --enable-xvfb \
65 --enable-xfake \
66 --enable-xfbdev \
67 --enable-xorg \
68 --disable-static \
69 --disable-xnest \
70 --disable-xephyr \
71 --with-pic \
72 --enable-maintainer-mode \
73 --enable-xselinux \
74 --with-int10=x86emu \
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 \
87 --enable-config-udev
88
89 prepare_cmds
90 autoreconf -vfi
91 end
92
93 configure_cmds
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/" \
98 \
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 \
109 end
110
111 make_install_targets += \
112 moduledir=%{libdir}/xorg/modules
113
114 install_cmds
115 rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so
116 rm -vrf %{BUILDROOT}/var/log
117
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
121 end
122 end
123
124 quality-agent
125 permit_not_full_relro = yes
126 end
127
128 packages
129 package %{name}
130 requires
131 pixman
132 udev
133 xkeyboard-config
134 end
135
136 recommends
137 xorg-x11-drv-ati
138 xorg-x11-drv-evdev
139 xorg-x11-drv-intel
140 xorg-x11-drv-keyboard
141 xorg-x11-drv-modesetting
142 xorg-x11-drv-mouse
143 xorg-x11-drv-nouveau
144 xorg-x11-drv-vesa
145 xorg-x11-drv-vmware
146 xorg-x11-fonts
147 xorg-x11-font-utils
148 xorg-x11-xkb-utils
149 end
150 end
151
152 package %{name}-devel
153 template DEVEL
154
155 requires
156 libpciaccess-devel
157 pixman-devel
158 end
159 end
160
161 package %{name}-debuginfo
162 template DEBUGINFO
163 end
164 end