wok-next view xorg-server/receipt @ rev 21553
updated clonezilla (3.27.16 -> 3.35.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 13:31:23 2020 +0100 (2020-06-22) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-server"
4 VERSION="1.20.3"
5 CATEGORY="x-window"
6 SHORT_DESC="X server"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-server.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/xserver/$TARBALL"
14 TARBALL_SHA1="a522cd543606b4d0509d821b8061904951171c50"
16 BUILD_DEPENDS="patch util-macros pixman-dev eudev-dev dbus-dev \
17 libxshmfence-dev libdrm-dev libx11-dev mesa-dev libxdmcp-dev libgcrypt-dev \
18 xorgproto libxkbfile-dev libxfont2-dev libpciaccess-dev libxxf86dga-dev \
19 libdmx-dev libxaw-dev libxpm-dev libxtst-dev libxres-dev libxmu-dev \
20 libxext-dev libxrender-dev libxfixes-dev libxi-dev libxau-dev libxdmcp-dev \
21 libepoxy-dev tslib-dev xcb-util-renderutil-dev xcb-util-dev xcb-util-image-dev \
22 xcb-util-wm-dev xcb-util-keysyms-dev expat-dev xtrans xkbcomp-dev openssl-dev"
23 SPLIT="\
24 $PACKAGE-xdmx $PACKAGE-xephyr $PACKAGE-xnest $PACKAGE-xvfb \
25 $PACKAGE-module-glamor $PACKAGE-dev $PACKAGE $PACKAGE-light:light"
26 COOKOPTS="skip-log-errors"
28 COPY_xdmx="Xdmx"
29 COPY_xephyr="Xephyr"
30 COPY_xnest="Xnest"
31 COPY_xvfb="Xvfb"
32 COPY_module_glamor="libglamoregl.so libglx.so"
33 COPY_dev="@dev protocol.txt"
34 COPY_std="@std var/log/ xorg.conf.d/ @rm"
35 COPY_light="@std"
37 CAT_xdmx="x-window|DMX X server"
38 CAT_xephyr="x-window|Xephyr X server"
39 CAT_xnest="x-window|Xnest X server"
40 CAT_xvfb="x-window|Xvfb X server"
41 CAT_module_glamor="x-window|Glamor DIX (Device Independent X) module"
42 CAT_std="x-window|core X server"
43 CAT_light="x-window|light version without DRI, GL, and friends"
45 DEPENDS_xdmx="libgcrypt libx11 libxau libxdmcp libxext libxfixes libxfont2 \
46 libxi libxmu libxrender pixman"
47 DEPENDS_xephyr="eudev libepoxy libgcrypt mesa libx11 libxau libxdmcp libxfont2 \
48 libxcb libxshmfence pixman xcb-util xcb-util-image xcb-util-keysyms \
49 xcb-util-renderutil xcb-util-wm"
50 DEPENDS_xnest="libgcrypt libx11 libxau libxdmcp libxext libxfont2 pixman"
51 DEPENDS_xvfb="libgcrypt mesa libxau libxdmcp libxfont2 pixman"
52 DEPENDS_module_glamor="libepoxy mesa mesa-libgbm"
53 DEPENDS_dev="$PACKAGE $PACKAGE-xdmx $PACKAGE-xephyr $PACKAGE-xnest \
54 $PACKAGE-xvfb $PACKAGE-module-glamor \
55 mesa-dev xorgproto libpciaccess-dev pixman-dev"
56 DEPENDS_std="eudev libdrm libgcrypt libx11 libxau libxaw libxdmcp libxfont2 \
57 libxt libdmx libpciaccess libxshmfence pixman xkeyboard-config xkbcomp"
58 DEPENDS_light="libgcrypt libxau libxdmcp libxfont2 libpciaccess libxshmfence \
59 pixman"
61 SUGGESTED_std="xf86-input-evdev xf86-video-vesa"
62 SUGGESTED_light="xf86-video-vesa xf86-video-fbdev"
63 PROVIDE_light="xorg-server"
65 compile_rules() {
66 case $SET in
67 '')
68 SET_ARGS="
69 --disable-static \
70 --enable-glamor \
71 --enable-install-setuid \
72 --enable-suid-wrapper \
73 --disable-xwayland \
74 --enable-dmx \
75 --enable-kdrive \
76 --enable-xephyr \
77 --enable-config-udev \
78 "
79 ;;
80 light)
81 SET_ARGS="
82 --disable-screensaver \
83 --disable-glx \
84 --disable-dri \
85 --disable-dri2 \
86 --disable-dri3 \
87 --disable-xinerama \
88 --disable-config-udev \
89 --disable-libdrm \
90 --enable-xorg \
91 --disable-xvfb \
92 --disable-xnest \
93 --disable-glamor \
94 --disable-xephyr \
95 --disable-ipv6 \
96 --with-serverconfig-path=/etc/X11 \
97 "
98 ;;
99 esac
101 ./configure \
102 --enable-install-setuid \
103 --disable-systemd-logind \
104 --disable-docs \
105 --disable-devel-docs \
106 --with-xkb-output=/var/lib/xkb \
107 --with-fontrootdir=/usr/share/fonts/X11 \
108 --with-os-name="SliTaz GNU/Linux" \
109 --with-vendor-web="http://www.slitaz.org/" \
110 --with-builder-addr="devel@slitaz.org" \
111 $SET_ARGS \
112 $CONFIGURE_ARGS &&
113 fix libtool &&
114 make &&
115 make DESTDIR=$install install || return 1
117 mkdir -pv $install/etc/X11/xorg.conf.d
119 # chmod 4711 $install/usr/bin/Xdmx
120 # chmod 4711 $install/usr/bin/Xephyr
121 # chmod 4711 $install/usr/bin/Xnest
122 # chmod 4711 $install/usr/bin/Xvfb
123 }
125 testsuite() {
126 readelf -h $install/usr/bin/Xorg
127 }
129 post_install_xorg_server() {
130 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
131 }
132 post_install_xorg_server_Xdmx() {
133 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
134 }
135 post_install_xorg_server_Xephyr() {
136 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
137 }
138 post_install_xorg_server_Xfbdev() {
139 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
140 }
141 post_install_xorg_server_Xnest() {
142 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
143 }
144 post_install_xorg_server_Xvfb() {
145 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
146 }
147 # We need /var/tmp rw to let xkbcomp build XKB definition.
148 post_install_xorg_server_light() {
149 chmod 1777 "$1/var/tmp"
150 }
153 TAGS="Xorg"
155 PROVIDE_xdmx="xorg-server-Xdmx"
156 PROVIDE_xephyr="xorg-server-Xephyr"
157 PROVIDE_xnest="xorg-server-Xnest"
158 PROVIDE_xvfb="xorg-server-Xvfb"