wok-next annotate xorg-server/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
parents | ea3c4b76ea5d |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
al@19805 | 4 VERSION="1.19.3" |
pankso@89 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="X server" |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15023 | 8 LICENSE="MIT" |
al@19653 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19653 | 10 |
pankso@89 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19653 | 12 WGET_URL="$XORG_MIRROR/xserver/$TARBALL" |
pankso@89 | 13 |
al@19805 | 14 BUILD_DEPENDS="patch xorg-util-macros xorg-pixman-dev eudev-dev dbus-dev \ |
al@19805 | 15 xorg-dri2proto xorg-dri3proto xorg-libxshmfence-dev libdrm-dev xorg-libX11-dev \ |
al@19805 | 16 xorg-glproto mesa-dev xorg-libXdmcp-dev libgcrypt-dev xorg-xcmiscproto \ |
al@19653 | 17 xorg-bigreqsproto xorg-randrproto xorg-renderproto xorg-fontsproto \ |
al@19653 | 18 xorg-videoproto xorg-compositeproto xorg-recordproto xorg-scrnsaverproto \ |
al@19653 | 19 xorg-resourceproto xorg-xf86driproto xorg-presentproto xorg-xineramaproto \ |
al@19805 | 20 xorg-libxkbfile-dev xorg-libXfont2-dev xorg-libpciaccess-dev \ |
al@19805 | 21 xorg-libXxf86dga-dev xorg-libdmx-dev xorg-libXaw-dev xorg-libXpm-dev \ |
al@19805 | 22 xorg-libXtst-dev xorg-libXres-dev \ |
al@19805 | 23 xorg-libXmu-dev xorg-libXext-dev xorg-libXrender-dev \ |
al@19805 | 24 xorg-libXfixes-dev xorg-libXi-dev xorg-dmxproto xorg-libXau-dev \ |
al@19805 | 25 xorg-libXdmcp-dev libepoxy-dev tslib-dev xorg-xcb-util-renderutil-dev \ |
al@19805 | 26 xorg-xcb-util-dev xorg-xcb-util-image-dev xorg-xcb-util-wm-dev \ |
al@19805 | 27 xorg-xcb-util-keysyms-dev expat-dev" |
al@19805 | 28 SPLIT="xorg-server-Xdmx xorg-server-Xephyr xorg-server-Xfbdev \ |
al@19805 | 29 xorg-server-Xnest xorg-server-Xvfb xorg-server-module-glamor xorg-server-dev \ |
al@19805 | 30 xorg-server" |
pankso@10808 | 31 |
pankso@89 | 32 # Rules to configure and make the package. |
pankso@89 | 33 compile_rules() |
pankso@89 | 34 { |
pankso@89 | 35 ./configure \ |
pankso@89 | 36 --sysconfdir=/etc \ |
pankso@92 | 37 --localstatedir=/var \ |
al@19653 | 38 --disable-static \ |
al@19653 | 39 --enable-glamor \ |
al@19653 | 40 --enable-install-setuid \ |
al@19653 | 41 --enable-suid-wrapper \ |
al@19653 | 42 --disable-systemd-logind \ |
al@19653 | 43 --disable-xwayland \ |
al@19653 | 44 --disable-docs --disable-devel-docs \ |
pankso@92 | 45 --with-xkb-output=/var/lib/xkb \ |
al@19805 | 46 --enable-tslib \ |
al@19805 | 47 --enable-dmx \ |
pankso@10808 | 48 --enable-kdrive \ |
pankso@10808 | 49 --enable-kdrive-kbd \ |
pankso@10808 | 50 --enable-kdrive-mouse \ |
pankso@10808 | 51 --enable-kdrive-evdev \ |
pankso@10808 | 52 --enable-xfbdev \ |
pankso@12522 | 53 --enable-xephyr \ |
gokhlayeh@6993 | 54 --enable-config-udev \ |
pankso@12692 | 55 --with-fontrootdir=/usr/share/fonts/X11 \ |
pankso@92 | 56 --with-os-name="SliTaz GNU/Linux" \ |
pankso@12692 | 57 --with-vendor-web="http://www.slitaz.org/" \ |
al@19657 | 58 --with-builder-addr="devel@slitaz.org" \ |
pascal@1480 | 59 $CONFIGURE_ARGS && |
al@19805 | 60 make && make DESTDIR=$install install && |
al@19805 | 61 |
al@19805 | 62 mkdir -pv $install/etc/X11/xorg.conf.d |
pankso@89 | 63 } |
pankso@89 | 64 |
pankso@89 | 65 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 66 genpkg_rules() |
pankso@89 | 67 { |
al@19805 | 68 case $PACKAGE in |
al@19805 | 69 *-Xdmx) |
al@19805 | 70 copy Xdmx |
al@19805 | 71 # chmod 4711 $fs/usr/bin/Xdmx |
al@19805 | 72 CAT="x-window|DMX X server" |
al@19805 | 73 DEPENDS="bzlib freetype glib libgcrypt libgpg-error libharfbuzz \ |
al@19805 | 74 libpng16 pcre xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ |
al@19805 | 75 xorg-libXfixes xorg-libXfont2 xorg-libXi xorg-libXmu \ |
al@19805 | 76 xorg-libXrender xorg-libfontenc xorg-libxcb xorg-libxshmfence \ |
al@19805 | 77 xorg-pixman zlib" |
al@19805 | 78 ;; |
al@19805 | 79 *-Xephyr) |
al@19805 | 80 copy Xephyr |
al@19805 | 81 # chmod 4711 $fs/usr/bin/Xephyr |
al@19805 | 82 CAT="x-window|Xephyr X server" |
al@19805 | 83 DEPENDS="bzlib eudev expat freetype glib libdrm libepoxy libgcrypt \ |
al@19805 | 84 libgpg-error libharfbuzz libpng16 mesa pcre tslib xorg-libX11 \ |
al@19805 | 85 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
al@19805 | 86 xorg-libXfixes xorg-libXfont2 xorg-libXxf86vm xorg-libfontenc \ |
al@19805 | 87 xorg-libxcb xorg-libxshmfence xorg-pixman xorg-xcb-util \ |
al@19805 | 88 xorg-xcb-util-image xorg-xcb-util-keysyms xorg-xcb-util-renderutil \ |
al@19805 | 89 xorg-xcb-util-wm zlib" |
al@19805 | 90 ;; |
al@19805 | 91 *-Xfbdev) |
al@19805 | 92 copy Xfbdev |
al@19805 | 93 # chmod 4711 $fs/usr/bin/Xfbdev |
al@19805 | 94 CAT="x-window|Xfbdev framebuffer X server" |
al@19805 | 95 DEPENDS="bzlib eudev expat freetype glib libdrm libgcrypt \ |
al@19805 | 96 libgpg-error libharfbuzz libpng16 mesa pcre tslib xorg-libX11 \ |
al@19805 | 97 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
al@19805 | 98 xorg-libXfixes xorg-libXfont2 xorg-libXxf86vm xorg-libfontenc \ |
al@19805 | 99 xorg-libxcb xorg-libxshmfence xorg-pixman zlib" |
al@19805 | 100 ;; |
al@19805 | 101 *-Xnest) |
al@19805 | 102 copy Xnest |
al@19805 | 103 # chmod 4711 $fs/usr/bin/Xnest |
al@19805 | 104 CAT="x-window|Xnest X server" |
al@19805 | 105 DEPENDS="bzlib expat freetype glib libdrm libgcrypt libgpg-error \ |
al@19805 | 106 libharfbuzz libpng16 mesa pcre xorg-libX11 xorg-libXau \ |
al@19805 | 107 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@19805 | 108 xorg-libXfont2 xorg-libXxf86vm xorg-libfontenc xorg-libxcb \ |
al@19805 | 109 xorg-libxshmfence xorg-pixman zlib" |
al@19805 | 110 ;; |
al@19805 | 111 *-Xvfb) |
al@19805 | 112 copy Xvfb |
al@19805 | 113 # chmod 4711 $fs/usr/bin/Xvfb |
al@19805 | 114 CAT="x-window|Xvfb X server" |
al@19805 | 115 DEPENDS="bzlib expat freetype glib libdrm libgcrypt libgpg-error \ |
al@19805 | 116 libharfbuzz libpng16 mesa pcre xorg-libX11 xorg-libXau \ |
al@19805 | 117 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@19805 | 118 xorg-libXfont2 xorg-libXxf86vm xorg-libfontenc xorg-libxcb \ |
al@19805 | 119 xorg-libxshmfence xorg-pixman zlib" |
al@19805 | 120 ;; |
al@19805 | 121 *-module-glamor) |
al@19805 | 122 copy libglamoregl.so libglx.so |
al@19805 | 123 CAT="x-window|Glamor DIX (Device Independent X) module" |
al@19805 | 124 DEPENDS="expat libdrm libepoxy mesa xorg-libX11 xorg-libXau \ |
al@19805 | 125 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@19805 | 126 xorg-libXxf86vm xorg-libxcb xorg-libxshmfence" |
al@19805 | 127 ;; |
al@19805 | 128 *-dev) |
al@19805 | 129 copy @dev protocol.txt |
al@19805 | 130 DEPENDS="xorg-server xorg-server-Xdmx xorg-server-Xephyr \ |
al@19805 | 131 xorg-server-Xfbdev xorg-server-Xnest xorg-server-Xvfb \ |
al@19805 | 132 xorg-server-module-glamor \ |
al@19805 | 133 eudev-dev expat-dev libdrm-dev libepoxy-dev mesa-dev \ |
al@19805 | 134 xorg-dri2proto xorg-dri3proto xorg-fontsproto xorg-glproto \ |
al@19805 | 135 xorg-inputproto xorg-kbproto xorg-libX11-dev xorg-libXau-dev \ |
al@19805 | 136 xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@19805 | 137 xorg-libXfixes-dev xorg-libXxf86vm-dev xorg-libpciaccess-dev \ |
al@19805 | 138 xorg-libxcb-dev xorg-libxshmfence-dev xorg-pixman-dev \ |
al@19805 | 139 xorg-presentproto xorg-randrproto xorg-renderproto \ |
al@19805 | 140 xorg-resourceproto xorg-scrnsaverproto xorg-videoproto \ |
al@19805 | 141 xorg-xextproto xorg-xf86driproto xorg-xineramaproto xorg-xproto" |
al@19805 | 142 ;; |
al@19805 | 143 *-server) |
al@19805 | 144 copy @std var/log/ xorg.conf.d/ |
al@19805 | 145 remove_already_packed |
al@19805 | 146 CAT="x-window|core X server" |
al@19805 | 147 DEPENDS="bzlib eudev freetype glib libdrm libgcrypt libgpg-error \ |
al@19805 | 148 libharfbuzz libpng16 pcre util-linux-uuid xorg-libICE xorg-libSM \ |
al@19805 | 149 xorg-libX11 xorg-libXau xorg-libXaw xorg-libXdmcp xorg-libXext \ |
al@19805 | 150 xorg-libXfont2 xorg-libXmu xorg-libXpm xorg-libXt xorg-libdmx \ |
al@19805 | 151 xorg-libfontenc xorg-libpciaccess xorg-libxcb xorg-libxshmfence \ |
al@19846 | 152 xorg-pixman zlib xorg-xkeyboard-config xorg-xkbcomp" |
al@19805 | 153 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
al@19805 | 154 ;; |
al@19805 | 155 esac |
pankso@89 | 156 } |
pankso@451 | 157 |
al@19805 | 158 post_install_xorg_server() { |
al@19805 | 159 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
pankso@451 | 160 } |
al@19805 | 161 post_install_xorg_server_Xdmx() { |
al@19805 | 162 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
al@19805 | 163 } |
al@19805 | 164 post_install_xorg_server_Xephyr() { |
al@19805 | 165 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
al@19805 | 166 } |
al@19805 | 167 post_install_xorg_server_Xfbdev() { |
al@19805 | 168 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
al@19805 | 169 } |
al@19805 | 170 post_install_xorg_server_Xnest() { |
al@19805 | 171 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
al@19805 | 172 } |
al@19805 | 173 post_install_xorg_server_Xvfb() { |
al@19805 | 174 install -dm1777 -oroot -groot "$1/tmp/.ICE-unix" "$1/tmp/.X11-unix" |
al@19805 | 175 } |