]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - xorg-x11-server/xorg-x11-server.nm
Merge remote-tracking branch 'maniacikarus/ids'
[people/ms/ipfire-3.x.git] / xorg-x11-server / xorg-x11-server.nm
CommitLineData
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
6name = xorg-x11-server
7version = 1.8.2
f6740237 8release = 4
d908a7f4 9
802ea3af
MT
10maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
11groups = X/Server
12url = http://www.x.org
13license = MIT
14summary = X.Org X11 X server.
89cb01d5 15
802ea3af
MT
16description
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
21end
22
23sources_dl = http://ftp.x.org/pub/individual/xserver/
24sources = xorg-server-%{version}.tar.bz2
25
26build
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" \
79 --with-module-dir=/usr/lib/xorg/modules \
80 --with-builderstring="Build ID: $(PKG_NAME) $(PKG_VER)-$(PKG_REL)" \
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 += \
313ed234
SS
117 moduledir=/usr/lib/xorg/modules
118
802ea3af
MT
119 install_cmds
120 rm -vf $(BUILDROOT)/usr/lib/xorg/modules/libxf8_16bpp.so
121 rm -vrf $(BUILDROOT)/var/log
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
127end
128
129quality-agent
130 permit_not_full_relro = yes
131end
132
133packages
134 package %{name}
135 requires
136 mesa
137 pixman
138 udev
139 xkeyboard-config
f6740237
SS
140 xorg-x11-drv-evdev
141 xorg-x11-drv-keyboard
142 xorg-x11-drv-mouse
143 xorg-x11-drv-vesa
802ea3af
MT
144 xorg-x11-fonts
145 xorg-x11-font-utils
146 xorg-x11-xkb-utils
147 end
148 end
1f9bc2f0 149
802ea3af
MT
150 package %{name}-devel
151 template DEVEL
1f9bc2f0 152
802ea3af
MT
153 requires
154 libpciaccess-devel
155 pixman-devel
156 end
157 end
1f9bc2f0
MT
158
159 package %{name}-debuginfo
160 template DEBUGINFO
161 end
802ea3af 162end