]>
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 MT |
6 | name = xorg-x11-server |
7 | version = 1.8.2 | |
4e61ca3b | 8 | release = 5.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 | ||
23 | sources_dl = http://ftp.x.org/pub/individual/xserver/ | |
24 | sources = xorg-server-%{version}.tar.bz2 | |
25 | ||
26 | build | |
27 | requires | |
28 | audit-devel | |
29 | autoconf | |
30 | automake | |
31 | libcap | |
32 | libX11-devel | |
33 | libXau-devel | |
34 | libXdmcp-devel | |
35 | libXext-devel | |
36 | libXfixes-devel | |
37 | libXfont-devel | |
38 | libXmu-devel | |
39 | libXrender-devel | |
40 | libXres-devel | |
41 | libXt-devel | |
42 | libdrm-devel | |
43 | libfontenc-devel | |
44 | libpciaccess-devel | |
45 | libselinux-devel | |
46 | libtool | |
47 | libudev-devel | |
48 | libxcb-devel | |
49 | libxkbfile-devel | |
50 | mesa-devel | |
51 | openssl-devel | |
52 | pixman-devel | |
53 | pkg-config | |
54 | xorg-x11-font-utils-devel | |
55 | xorg-x11-util-macros | |
56 | xorg-x11-proto-devel | |
57 | xorg-x11-xtrans-devel | |
58 | end | |
59 | ||
60 | DIR_APP = %{DIR_SRC}/xorg-server-%{version} | |
61 | ||
62 | CFLAGS += -Wstrict-overflow -rdynamic | |
63 | ||
64 | configure_options += \ | |
65 | --enable-xvfb \ | |
66 | --enable-xsdl \ | |
67 | --enable-xfake \ | |
68 | --enable-xfbdev \ | |
69 | --enable-xorg \ | |
70 | --disable-static \ | |
71 | --disable-xnest \ | |
72 | --disable-xdmx \ | |
73 | --disable-xephyr \ | |
74 | --with-pic \ | |
75 | --enable-maintainer-mode \ | |
76 | --enable-xselinux \ | |
77 | --with-int10=x86emu \ | |
78 | --with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \ | |
6287a808 MT |
79 | --with-module-dir=%{libdir}/xorg/modules \ |
80 | --with-builderstring="Build ID: %{name} %{version}-%{release}" \ | |
802ea3af MT |
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 \ | |
90 | --enable-config-udev | |
91 | ||
92 | prepare_cmds | |
93 | autoreconf -vfi | |
94 | end | |
95 | ||
96 | configure_cmds | |
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/" \ | |
d38b9a20 | 100 | -e "s/^CCASFLAGS.*/& -Wl,-z,lazy/" \ |
802ea3af MT |
101 | \ |
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 | |
114 | end | |
115 | ||
116 | make_install_targets += \ | |
6287a808 | 117 | moduledir=%{libdir}/xorg/modules |
313ed234 | 118 | |
802ea3af | 119 | install_cmds |
6287a808 MT |
120 | rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so |
121 | rm -vrf %{BUILDROOT}/var/log | |
802ea3af MT |
122 | |
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 | |
126 | end | |
127 | end | |
128 | ||
129 | quality-agent | |
130 | permit_not_full_relro = yes | |
131 | end | |
132 | ||
133 | packages | |
134 | package %{name} | |
135 | requires | |
136 | mesa | |
137 | pixman | |
138 | udev | |
139 | xkeyboard-config | |
140 | xorg-x11-fonts | |
141 | xorg-x11-font-utils | |
142 | xorg-x11-xkb-utils | |
143 | end | |
144 | end | |
1f9bc2f0 | 145 | |
802ea3af MT |
146 | package %{name}-devel |
147 | template DEVEL | |
1f9bc2f0 | 148 | |
802ea3af MT |
149 | requires |
150 | libpciaccess-devel | |
151 | pixman-devel | |
152 | end | |
153 | end | |
1f9bc2f0 MT |
154 | |
155 | package %{name}-debuginfo | |
156 | template DEBUGINFO | |
157 | end | |
802ea3af | 158 | end |