wok-next view xorg-server/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c0521c689857 |
children | f99935f1778a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-server"
4 VERSION="1.19.3"
5 CATEGORY="x-window"
6 SHORT_DESC="X server"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/xorg-server.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/xserver/$TARBALL"
15 BUILD_DEPENDS="patch xorg-util-macros xorg-pixman-dev eudev-dev dbus-dev \
16 xorg-dri2proto xorg-dri3proto xorg-libxshmfence-dev libdrm-dev xorg-libX11-dev \
17 xorg-glproto mesa-dev xorg-libXdmcp-dev libgcrypt-dev xorg-xcmiscproto \
18 xorg-bigreqsproto xorg-randrproto xorg-renderproto xorg-fontsproto \
19 xorg-videoproto xorg-compositeproto xorg-recordproto xorg-scrnsaverproto \
20 xorg-resourceproto xorg-xf86driproto xorg-presentproto xorg-xineramaproto \
21 xorg-libxkbfile-dev xorg-libXfont2-dev xorg-libpciaccess-dev \
22 xorg-libXxf86dga-dev xorg-libdmx-dev xorg-libXaw-dev xorg-libXpm-dev \
23 xorg-libXtst-dev xorg-libXres-dev \
24 xorg-libXmu-dev xorg-libXext-dev xorg-libXrender-dev \
25 xorg-libXfixes-dev xorg-libXi-dev xorg-dmxproto xorg-libXau-dev \
26 xorg-libXdmcp-dev libepoxy-dev tslib-dev xorg-xcb-util-renderutil-dev \
27 xorg-xcb-util-dev xorg-xcb-util-image-dev xorg-xcb-util-wm-dev \
28 xorg-xcb-util-keysyms-dev expat-dev xorg-xtrans"
29 SPLIT="xorg-server-Xdmx xorg-server-Xephyr xorg-server-Xfbdev \
30 xorg-server-Xnest xorg-server-Xvfb xorg-server-module-glamor xorg-server-dev \
31 xorg-server"
32 COOKOPTS="skip-log-errors"
34 compile_rules() {
35 ./configure \
36 --disable-static \
37 --enable-glamor \
38 --enable-install-setuid \
39 --enable-suid-wrapper \
40 --disable-systemd-logind \
41 --disable-xwayland \
42 --disable-docs --disable-devel-docs \
43 --with-xkb-output=/var/lib/xkb \
44 --enable-tslib \
45 --enable-dmx \
46 --enable-kdrive \
47 --enable-kdrive-kbd \
48 --enable-kdrive-mouse \
49 --enable-kdrive-evdev \
50 --enable-xfbdev \
51 --enable-xephyr \
52 --enable-config-udev \
53 --with-fontrootdir=/usr/share/fonts/X11 \
54 --with-os-name="SliTaz GNU/Linux" \
55 --with-vendor-web="http://www.slitaz.org/" \
56 --with-builder-addr="devel@slitaz.org" \
57 $CONFIGURE_ARGS &&
58 fix libtool &&
59 make &&
60 make DESTDIR=$install install &&
62 mkdir -pv $install/etc/X11/xorg.conf.d
63 }
65 genpkg_rules() {
66 case $PACKAGE in
67 *-Xdmx)
68 copy Xdmx
69 # chmod 4711 $fs/usr/bin/Xdmx
70 CAT="x-window|DMX X server"
71 DEPENDS="libgcrypt xorg-libX11 xorg-libXau xorg-libXdmcp \
72 xorg-libXext xorg-libXfixes xorg-libXfont2 xorg-libXi xorg-libXmu \
73 xorg-libXrender xorg-pixman"
74 ;;
75 *-Xephyr)
76 copy Xephyr
77 # chmod 4711 $fs/usr/bin/Xephyr
78 CAT="x-window|Xephyr X server"
79 DEPENDS="eudev libepoxy libgcrypt mesa xorg-libX11 xorg-libXau \
80 xorg-libXdmcp xorg-libXfont2 xorg-libxcb xorg-libxshmfence \
81 xorg-pixman xorg-xcb-util xorg-xcb-util-image \
82 xorg-xcb-util-keysyms xorg-xcb-util-renderutil xorg-xcb-util-wm"
83 ;;
84 *-Xfbdev)
85 copy Xfbdev
86 # chmod 4711 $fs/usr/bin/Xfbdev
87 CAT="x-window|Xfbdev framebuffer X server"
88 DEPENDS="eudev libgcrypt tslib xorg-libXau xorg-libXdmcp \
89 xorg-libXfont2 xorg-pixman"
90 ;;
91 *-Xnest)
92 copy Xnest
93 # chmod 4711 $fs/usr/bin/Xnest
94 CAT="x-window|Xnest X server"
95 DEPENDS="libgcrypt xorg-libX11 xorg-libXau xorg-libXdmcp \
96 xorg-libXext xorg-libXfont2 xorg-pixman"
97 ;;
98 *-Xvfb)
99 copy Xvfb
100 # chmod 4711 $fs/usr/bin/Xvfb
101 CAT="x-window|Xvfb X server"
102 DEPENDS="libgcrypt mesa xorg-libXau xorg-libXdmcp xorg-libXfont2 \
103 xorg-pixman"
104 ;;
105 *-module-glamor)
106 copy libglamoregl.so libglx.so
107 CAT="x-window|Glamor DIX (Device Independent X) module"
108 DEPENDS="libdrm libepoxy mesa mesa-libgbm"
109 ;;
110 *-dev)
111 copy @dev protocol.txt
112 DEPENDS="xorg-server xorg-server-Xdmx xorg-server-Xephyr \
113 xorg-server-Xfbdev xorg-server-Xnest xorg-server-Xvfb \
114 xorg-server-module-glamor \
115 mesa-dev xorg-dri2proto xorg-dri3proto xorg-fontsproto \
116 xorg-glproto xorg-inputproto xorg-kbproto xorg-libpciaccess-dev \
117 xorg-pixman-dev xorg-presentproto xorg-randrproto xorg-renderproto \
118 xorg-resourceproto xorg-scrnsaverproto xorg-videoproto \
119 xorg-xextproto xorg-xf86driproto xorg-xineramaproto xorg-xproto"
120 ;;
121 *-server)
122 copy @std var/log/ xorg.conf.d/ @rm
123 CAT="x-window|core X server"
124 DEPENDS="eudev libdrm libgcrypt xorg-libX11 xorg-libXau \
125 xorg-libXaw xorg-libXdmcp xorg-libXfont2 xorg-libXt xorg-libdmx \
126 xorg-libpciaccess xorg-libxshmfence xorg-pixman \
127 xorg-xkeyboard-config xorg-xkbcomp"
128 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
129 ;;
130 esac
131 }
133 post_install_xorg_server() {
134 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
135 }
136 post_install_xorg_server_Xdmx() {
137 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
138 }
139 post_install_xorg_server_Xephyr() {
140 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
141 }
142 post_install_xorg_server_Xfbdev() {
143 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
144 }
145 post_install_xorg_server_Xnest() {
146 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
147 }
148 post_install_xorg_server_Xvfb() {
149 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
150 }