Merge pull request 'add xorg libs & xorg-server & patch busybox package' (#36) from Ohio2/repo:master into master

Reviewed-on: #36
This commit is contained in:
hippoz 2021-07-30 16:58:16 +01:00
commit 9cd85a6aab
11 changed files with 94 additions and 3 deletions

View file

@ -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/

13
libX11/build Executable file
View file

@ -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

5
libX11/package Executable file
View file

@ -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"

9
libXcomposite/build Executable file
View file

@ -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

5
libXcomposite/package Executable file
View file

@ -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"

9
libXcursor/build Executable file
View file

@ -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

5
libXcursor/package Executable file
View file

@ -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"

10
libXdamage/build Executable file
View file

@ -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

5
libXdamage/package Executable file
View file

@ -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"

24
xorg-server/build Executable file
View file

@ -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

5
xorg-server/package Executable file
View file

@ -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"