From 174ad135b458d8638e68f00c55a7f7edfc5b99d8 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Sun, 25 Jul 2021 20:31:17 +0200 Subject: [PATCH 1/2] bb patch --- busybox/build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/busybox/build b/busybox/build index 2a2aca2..31074e4 100755 --- a/busybox/build +++ b/busybox/build @@ -6,8 +6,9 @@ make defconfig LDFLAGS="--static" make make install DESTDIR="$1" +rsync -a ./busybox/ "$1"/bin/ cd "_install" install linuxrc "$1"/linuxrc -rsync -a ./bin/ "$1"/bin/ -rsync -a ./sbin/ "$1"/sbin/ -rsync -a ./usr "$1"/usr/ +rsync -a -v ./bin/ "$1"/bin/ +rsync -a -v ./sbin/ "$1"/sbin/ +rsync -a -v ./usr "$1"/usr/ From 3528d0d173490e7f9175ee44ece2e2de9f619768 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 27 Jul 2021 18:54:19 +0200 Subject: [PATCH 2/2] add xorg libs & xorg-server & patch alnux package --- libX11/build | 13 +++++++++++++ libX11/package | 5 +++++ libXcomposite/build | 9 +++++++++ libXcomposite/package | 5 +++++ libXcursor/build | 9 +++++++++ libXcursor/package | 5 +++++ libXdamage/build | 10 ++++++++++ libXdamage/package | 5 +++++ xorg-server/build | 24 ++++++++++++++++++++++++ xorg-server/package | 5 +++++ 10 files changed, 90 insertions(+) create mode 100755 libX11/build create mode 100755 libX11/package create mode 100755 libXcomposite/build create mode 100755 libXcomposite/package create mode 100755 libXcursor/build create mode 100755 libXcursor/package create mode 100755 libXdamage/build create mode 100755 libXdamage/package create mode 100755 xorg-server/build create mode 100755 xorg-server/package diff --git a/libX11/build b/libX11/build new file mode 100755 index 0000000..4c3b99f --- /dev/null +++ b/libX11/build @@ -0,0 +1,13 @@ +wget https://x.org/releases/individual/lib/libX11-1.7.2.tar.bz2 +tar -xf libX11-1.7.2.tar.bz2 +cd libX11-1.7.2 + +CFLAGS_FOR_BUILD=-fPIC \ +./configure \ + --prefix=/usr \ + --without-xmlto \ + --disable-specs \ + --enable-static + +make +make DESTDIR="$1" install diff --git a/libX11/package b/libX11/package new file mode 100755 index 0000000..adc3ec3 --- /dev/null +++ b/libX11/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="1.7.2 1" +pkg_config_name="libX11" +pkg_config_makedepends="" +pkg_config_depends="xorg-libXau xorg-xorgproto pkg-config-fd make xtrans" diff --git a/libXcomposite/build b/libXcomposite/build new file mode 100755 index 0000000..62fd008 --- /dev/null +++ b/libXcomposite/build @@ -0,0 +1,9 @@ +wget https://x.org/releases/individual/lib/libXcomposite-0.4.5.tar.bz2 +tar -xf libXcomposite-0.4.5.tar.bz2 +cd libXcomposite-0.4.5 + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/libXcomposite/package b/libXcomposite/package new file mode 100755 index 0000000..0408f4e --- /dev/null +++ b/libXcomposite/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="1.2.0" +pkg_config_name="libXcursor" +pkg_config_makedepends="xorg-xorgproto pkg-config-fd" +pkg_config_depends="libXfixes" diff --git a/libXcursor/build b/libXcursor/build new file mode 100755 index 0000000..139b064 --- /dev/null +++ b/libXcursor/build @@ -0,0 +1,9 @@ +wget https://x.org/releases/individual/lib/libXcursor-1.2.0.tar.bz2 +tar -xf libXcursor-1.2.0.tar.bz2 +cd libXcursor-1.2.0 + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/libXcursor/package b/libXcursor/package new file mode 100755 index 0000000..65a24a1 --- /dev/null +++ b/libXcursor/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="1.2.0" +pkg_config_name="libXcursor" +pkg_config_makedepends="xorg-xorgproto pkg-config-fd" +pkg_config_depends="libXrender libXfixes" diff --git a/libXdamage/build b/libXdamage/build new file mode 100755 index 0000000..2367626 --- /dev/null +++ b/libXdamage/build @@ -0,0 +1,10 @@ +wget https://x.org/releases/individual/lib/libXdamage-1.1.5.tar.bz2 +tar -xf libXdamage-1.1.5.tar.bz2 +cd libXdamage-1.1.5 + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install + diff --git a/libXdamage/package b/libXdamage/package new file mode 100755 index 0000000..e13cce4 --- /dev/null +++ b/libXdamage/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="1.1.5 2" +pkg_config_name="libXcursor" +pkg_config_makedepends="xorg-xorgproto pkg-config-fd" +pkg_config_depends="libXrender libXfixes" diff --git a/xorg-server/build b/xorg-server/build new file mode 100755 index 0000000..05be835 --- /dev/null +++ b/xorg-server/build @@ -0,0 +1,24 @@ +wget https://x.org/releases/individual/xserver/xorg-server-1.20.11.tar.bz2 +tar -xf xorg-server-1.20.11.tar.bz2 +cd xorg-server-1.20.11 + +wget https://github.com/kiss-community/repo/blob/master/xorg/xorg-server/patches/rootless_modesetting.patch +patch -p1 < rootless_modesetting.patch + +./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --disable-systemd-logind \ + --disable-unit-tests \ + --enable-glx \ + --enable-dri \ + --enable-dri2 \ + --enable-dri3 \ + --enable-glamor \ + --enable-xorg \ + --with-sha1=libcrypto \ + --with-systemd-daemon=off + +make +make DESTDIR="$1" install + diff --git a/xorg-server/package b/xorg-server/package new file mode 100755 index 0000000..b9ff8cb --- /dev/null +++ b/xorg-server/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="11R7.7" +pkg_config_name="xorg" +pkg_config_makedepends="python perl gettext glibc gperf bison flex" +pkg_config_depends="xorg-xorgproto xorg-libXau xorg-libXdmcp xorg-libxcb perl python pkg-config-fd mtdev gperf glibc gettext freetype2 fontconfig libdrm libpng libtool libudev binutils bison flex pixman mesa zlib libX11 libXext libXfixes libXxf86vm libepox libfontec libpciaccess openssl make xtrans"