From c1856d77dd8f970e0b533f779789e236f13c2111 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 18 Feb 2022 00:39:19 +0000 Subject: added packages needed for xorg --- auto/generate-xorg-apps.sh | 73 +++++++++++++++++++++++++++ auto/generate-xorg-libs.sh | 67 +++++++++++++++++++++++++ auto/xibuild | 120 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 260 insertions(+) create mode 100755 auto/generate-xorg-apps.sh create mode 100755 auto/generate-xorg-libs.sh create mode 100644 auto/xibuild (limited to 'auto') diff --git a/auto/generate-xorg-apps.sh b/auto/generate-xorg-apps.sh new file mode 100755 index 0000000..61f15a9 --- /dev/null +++ b/auto/generate-xorg-apps.sh @@ -0,0 +1,73 @@ +#!/bin/sh + +make_xibuild () { + local lib=$1 + local ver=$2 + local xibuild="repo/x11/${lib,,}.xibuild" + + cat > $xibuild << "EOF" +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto) +DEPS=(libpng mesa xbitmaps xcb-util pam) + +EOF + echo "PKG_VER=$ver" >> $xibuild + printf 'SOURCE=https://www.x.org/pub/individual/app/%s-$PKG_VER.tar.bz2\n' $lib >> $xibuild + + + + echo "" >> $xibuild + echo "build () {" >> $xibuild + printf ' ./configure $XORG_CONFIG\n' >> $xibuild + echo " make" >> $xibuild + echo "}" >> $xibuild + echo "" >> $xibuild + + echo "package () {" >> $xibuild + printf ' make DESTDIR=$PKG_DEST install\n}\n' >> $xibuild + printf "${lib,,} " +} + +cat > /tmp/xapps.versions << "EOF" +iceauth 1.0.8 +luit 1.1.1 +mkfontscale 1.2.1 +sessreg 1.1.2 +setxkbmap 1.3.2 +smproxy 1.0.6 +x11perf 1.6.1 +xauth 1.1.1 +xbacklight 1.2.3 +xcmsdb 1.0.5 +xcursorgen 1.0.7 +xdpyinfo 1.3.2 +xdriinfo 1.0.6 +xev 1.2.4 +xgamma 1.0.6 +xhost 1.0.8 +xinput 1.6.3 +xkbcomp 1.4.5 +xkbevd 1.1.4 +xkbutils 1.0.4 +xkill 1.0.5 +xlsatoms 1.1.3 +xlsclients 1.1.4 +xmessage 1.0.5 +xmodmap 1.0.10 +xpr 1.0.5 +xprop 1.2.5 +xrandr 1.5.1 +xrdb 1.2.1 +xrefresh 1.0.6 +xset 1.2.4 +xsetroot 1.1.2 +xvinfo 1.1.4 +xwd 1.0.8 +xwininfo 1.1.5 +xwud 1.0.5 +EOF + +while IFS= read -r line; do + make_xibuild $line +done < /tmp/xapps.versions diff --git a/auto/generate-xorg-libs.sh b/auto/generate-xorg-libs.sh new file mode 100755 index 0000000..36084b8 --- /dev/null +++ b/auto/generate-xorg-libs.sh @@ -0,0 +1,67 @@ +#!/bin/sh + +make_xibuild () { + local lib=$1 + local ver=$2 + local xibuild="repo/x11/${lib,,}.xibuild" + + cat > $xibuild << "EOF" +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +EOF + echo "PKG_VER=$ver" >> $xibuild + printf 'SOURCE=https://www.x.org/pub/individual/lib/%s-$PKG_VER.tar.bz2\n' $lib >> $xibuild + + echo "" >> $xibuild + echo "build () {" >> $xibuild + printf ' ./configure $XORG_CONFIG --docdir=$XORG_PREFIX/share/doc/%s-$PKG_VER\n' $lib >> $xibuild + echo " make" >> $xibuild + echo "}" >> $xibuild + echo "" >> $xibuild + + echo "package () {" >> $xibuild + printf ' make DESTDIR=$PKG_DEST install\n}\n' >> $xibuild + printf "${lib,,} " +} + +cat > /tmp/xlibs.versions << "EOF" +xtrans 1.4.0 +libX11 1.7.3.1 +libXext 1.3.4 +libFS 1.0.8 +libICE 1.0.10 +libSM 1.2.3 +libXScrnSaver 1.2.3 +libXt 1.2.1 +libXmu 1.1.3 +libXpm 3.5.13 +libXaw 1.0.14 +libXfixes 6.0.0 +libXcomposite 0.4.5 +libXrender 0.9.10 +libXcursor 1.2.0 +libXdamage 1.1.5 +libfontenc 1.1.4 +libXfont2 2.0.5 +libXft 2.3.4 +libXi 1.8 +libXinerama 1.1.4 +libXrandr 1.5.2 +libXres 1.2.1 +libXtst 1.2.3 +libXv 1.0.11 +libXvMC 1.0.12 +libXxf86dga 1.1.5 +libXxf86vm 1.1.4 +libdmx 1.1.4 +libpciaccess 0.16 +libxkbfile 1.1.0 +libxshmfence 1.3 +EOF + +while IFS= read -r line; do + make_xibuild $line +done < /tmp/xlibs.versions diff --git a/auto/xibuild b/auto/xibuild new file mode 100644 index 0000000..bb706ed --- /dev/null +++ b/auto/xibuild @@ -0,0 +1,120 @@ + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1