]>
Commit | Line | Data |
---|---|---|
d908a7f4 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
d908a7f4 SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = xorg-x11-server |
36c2933d SS |
7 | version = 1.13.2 |
8 | release = 1 | |
d908a7f4 | 9 | |
802ea3af MT |
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. | |
89cb01d5 | 15 | |
802ea3af MT |
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 | |
d908a7f4 | 20 | upon. |
802ea3af MT |
21 | end |
22 | ||
36c2933d SS |
23 | thisapp = xorg-server-%{version} |
24 | ||
25 | source_dl = http://ftp.x.org/pub/individual/xserver/ | |
802ea3af MT |
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 | |
36c2933d | 51 | mesa-devel >= 9.0.2 |
802ea3af MT |
52 | openssl-devel |
53 | pixman-devel | |
54 | pkg-config | |
55 | xorg-x11-font-utils-devel | |
56 | xorg-x11-util-macros | |
36c2933d | 57 | xorg-x11-proto-devel >= 7.7 |
802ea3af MT |
58 | xorg-x11-xtrans-devel |
59 | end | |
60 | ||
802ea3af MT |
61 | CFLAGS += -Wstrict-overflow -rdynamic |
62 | ||
63 | configure_options += \ | |
64 | --enable-xvfb \ | |
802ea3af MT |
65 | --enable-xfake \ |
66 | --enable-xfbdev \ | |
67 | --enable-xorg \ | |
68 | --disable-static \ | |
69 | --disable-xnest \ | |
802ea3af MT |
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" \ | |
6287a808 MT |
76 | --with-module-dir=%{libdir}/xorg/modules \ |
77 | --with-builderstring="Build ID: %{name} %{version}-%{release}" \ | |
802ea3af MT |
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/" \ | |
d38b9a20 | 97 | -e "s/^CCASFLAGS.*/& -Wl,-z,lazy/" \ |
802ea3af MT |
98 | \ |
99 | hw/xfree86/dixmods/Makefile \ | |
802ea3af MT |
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 \ | |
802ea3af MT |
109 | end |
110 | ||
111 | make_install_targets += \ | |
6287a808 | 112 | moduledir=%{libdir}/xorg/modules |
313ed234 | 113 | |
802ea3af | 114 | install_cmds |
6287a808 MT |
115 | rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so |
116 | rm -vrf %{BUILDROOT}/var/log | |
802ea3af MT |
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 | |
802ea3af MT |
131 | pixman |
132 | udev | |
133 | xkeyboard-config | |
36c2933d SS |
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 | |
802ea3af MT |
146 | xorg-x11-fonts |
147 | xorg-x11-font-utils | |
148 | xorg-x11-xkb-utils | |
149 | end | |
150 | end | |
1f9bc2f0 | 151 | |
802ea3af MT |
152 | package %{name}-devel |
153 | template DEVEL | |
1f9bc2f0 | 154 | |
802ea3af MT |
155 | requires |
156 | libpciaccess-devel | |
157 | pixman-devel | |
158 | end | |
159 | end | |
1f9bc2f0 MT |
160 | |
161 | package %{name}-debuginfo | |
162 | template DEBUGINFO | |
163 | end | |
802ea3af | 164 | end |