wok-next view xorg-server/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 0a5086f5c5dd |
children | c0521c689857 |
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 mesa17-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 fix ld
36 ./configure \
37 --sysconfdir=/etc \
38 --localstatedir=/var \
39 --disable-static \
40 --enable-glamor \
41 --enable-install-setuid \
42 --enable-suid-wrapper \
43 --disable-systemd-logind \
44 --disable-xwayland \
45 --disable-docs --disable-devel-docs \
46 --with-xkb-output=/var/lib/xkb \
47 --enable-tslib \
48 --enable-dmx \
49 --enable-kdrive \
50 --enable-kdrive-kbd \
51 --enable-kdrive-mouse \
52 --enable-kdrive-evdev \
53 --enable-xfbdev \
54 --enable-xephyr \
55 --enable-config-udev \
56 --with-fontrootdir=/usr/share/fonts/X11 \
57 --with-os-name="SliTaz GNU/Linux" \
58 --with-vendor-web="http://www.slitaz.org/" \
59 --with-builder-addr="devel@slitaz.org" \
60 $CONFIGURE_ARGS &&
61 fix libtool &&
62 make && make DESTDIR=$install install &&
64 mkdir -pv $install/etc/X11/xorg.conf.d
65 }
67 genpkg_rules() {
68 case $PACKAGE in
69 *-Xdmx)
70 copy Xdmx
71 # chmod 4711 $fs/usr/bin/Xdmx
72 CAT="x-window|DMX X server"
73 DEPENDS="libgcrypt xorg-libX11 xorg-libXau xorg-libXdmcp \
74 xorg-libXext xorg-libXfixes xorg-libXfont2 xorg-libXi xorg-libXmu \
75 xorg-libXrender xorg-pixman"
76 ;;
77 *-Xephyr)
78 copy Xephyr
79 # chmod 4711 $fs/usr/bin/Xephyr
80 CAT="x-window|Xephyr X server"
81 DEPENDS="eudev libepoxy libgcrypt mesa17 xorg-libX11 xorg-libXau \
82 xorg-libXdmcp xorg-libXfont2 xorg-libxcb xorg-libxshmfence \
83 xorg-pixman xorg-xcb-util xorg-xcb-util-image \
84 xorg-xcb-util-keysyms xorg-xcb-util-renderutil xorg-xcb-util-wm"
85 ;;
86 *-Xfbdev)
87 copy Xfbdev
88 # chmod 4711 $fs/usr/bin/Xfbdev
89 CAT="x-window|Xfbdev framebuffer X server"
90 DEPENDS="eudev libgcrypt tslib xorg-libXau xorg-libXdmcp \
91 xorg-libXfont2 xorg-pixman"
92 ;;
93 *-Xnest)
94 copy Xnest
95 # chmod 4711 $fs/usr/bin/Xnest
96 CAT="x-window|Xnest X server"
97 DEPENDS="libgcrypt xorg-libX11 xorg-libXau xorg-libXdmcp \
98 xorg-libXext xorg-libXfont2 xorg-pixman"
99 ;;
100 *-Xvfb)
101 copy Xvfb
102 # chmod 4711 $fs/usr/bin/Xvfb
103 CAT="x-window|Xvfb X server"
104 DEPENDS="libgcrypt mesa17 xorg-libXau xorg-libXdmcp xorg-libXfont2 \
105 xorg-pixman"
106 ;;
107 *-module-glamor)
108 copy libglamoregl.so libglx.so
109 CAT="x-window|Glamor DIX (Device Independent X) module"
110 DEPENDS="libdrm libepoxy mesa17 mesa17-libgbm"
111 ;;
112 *-dev)
113 copy @dev protocol.txt
114 DEPENDS="xorg-server xorg-server-Xdmx xorg-server-Xephyr \
115 xorg-server-Xfbdev xorg-server-Xnest xorg-server-Xvfb \
116 xorg-server-module-glamor \
117 mesa17-dev xorg-dri2proto xorg-dri3proto xorg-fontsproto \
118 xorg-glproto xorg-inputproto xorg-kbproto xorg-libpciaccess-dev \
119 xorg-pixman-dev xorg-presentproto xorg-randrproto xorg-renderproto \
120 xorg-resourceproto xorg-scrnsaverproto xorg-videoproto \
121 xorg-xextproto xorg-xf86driproto xorg-xineramaproto xorg-xproto"
122 ;;
123 *-server)
124 copy @std var/log/ xorg.conf.d/ @rm
125 CAT="x-window|core X server"
126 DEPENDS="eudev libdrm libgcrypt xorg-libX11 xorg-libXau \
127 xorg-libXaw xorg-libXdmcp xorg-libXfont2 xorg-libXt xorg-libdmx \
128 xorg-libpciaccess xorg-libxshmfence xorg-pixman \
129 xorg-xkeyboard-config xorg-xkbcomp"
130 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
131 ;;
132 esac
133 }
135 post_install_xorg_server() {
136 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
137 }
138 post_install_xorg_server_Xdmx() {
139 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
140 }
141 post_install_xorg_server_Xephyr() {
142 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
143 }
144 post_install_xorg_server_Xfbdev() {
145 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
146 }
147 post_install_xorg_server_Xnest() {
148 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
149 }
150 post_install_xorg_server_Xvfb() {
151 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix"
152 }