From 9c2240141d0ec0ccd66591790b57984918aaa23e Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 18 Feb 2022 01:30:56 +0000 Subject: Successful build of xorg-server --- repo/font/font-util.xibuild | 16 ++++++++++++++++ repo/system/libtirpc.xibuild | 19 +++++++++++++++++++ repo/util/e2fsprogs.xibuild | 3 ++- repo/x11/libepoxy.xibuild | 21 +++++++++++++++++++++ repo/x11/xcursor-themes.xibuild | 2 +- repo/x11/xkeyboardconfig.xibuild | 2 +- repo/x11/xorg-server.xibuild | 1 + 7 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 repo/font/font-util.xibuild create mode 100644 repo/system/libtirpc.xibuild create mode 100644 repo/x11/libepoxy.xibuild diff --git a/repo/font/font-util.xibuild b/repo/font/font-util.xibuild new file mode 100644 index 0000000..816dc9f --- /dev/null +++ b/repo/font/font-util.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=() + +PKG_VER=1.3.2 +SOURCE=https://www.x.org/pub/individual/font/font-util-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libtirpc.xibuild b/repo/system/libtirpc.xibuild new file mode 100644 index 0000000..1a178de --- /dev/null +++ b/repo/system/libtirpc.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +MAKEDEPS=(make ) +DEPS=(krb5) + +PKG_VER=1.3.2 +SOURCE=https://downloads.sourceforge.net/libtirpc/libtirpc-$PKG_VER.tar.bz2 +DESC="Transport Independent RPC library (SunRPC replacement)" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/e2fsprogs.xibuild b/repo/util/e2fsprogs.xibuild index 94ddc2b..e717cf8 100644 --- a/repo/util/e2fsprogs.xibuild +++ b/repo/util/e2fsprogs.xibuild @@ -1,7 +1,8 @@ #!/bin/bash MAKEDEPS=(make ) -DEPS=(sh util-linux) +# TODO requires util-linux-libs +DEPS=(sh ) PKG_VER=1.46.4 SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$PKG_VER/e2fsprogs-$PKG_VER.tar.xz diff --git a/repo/x11/libepoxy.xibuild b/repo/x11/libepoxy.xibuild new file mode 100644 index 0000000..ca0510f --- /dev/null +++ b/repo/x11/libepoxy.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(meson ninja doxygen) +DEPS=(mesa) + +PKG_VER=1.5.9 +SOURCE=https://github.com/anholt/libepoxy/releases/download/$PKG_VER/libepoxy-$PKG_VER.tar.xz + +DESC="Library handling OpenGL function pointer management" + +build () { + mkdir build && + cd build && + + meson --prefix=/usr --buildtype=release .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/xcursor-themes.xibuild b/repo/x11/xcursor-themes.xibuild index 76f7a4e..dfcc86c 100644 --- a/repo/x11/xcursor-themes.xibuild +++ b/repo/x11/xcursor-themes.xibuild @@ -1,7 +1,7 @@ #!/bin/bash MAKEDEPS=(make) -DEPS=(util-macros xcb-util) +DEPS=(util-macros xcb-util xcursorgen) PKG_VER=1.0.6 SOURCE=https://www.x.org/pub/individual/data/xcursor-themes-$PKG_VER.tar.bz2 diff --git a/repo/x11/xkeyboardconfig.xibuild b/repo/x11/xkeyboardconfig.xibuild index 32a0572..71a8b9b 100644 --- a/repo/x11/xkeyboardconfig.xibuild +++ b/repo/x11/xkeyboardconfig.xibuild @@ -9,7 +9,7 @@ SOURCE=https://www.x.org/pub/individual/data/xkeyboard-config/xkeyboard-config-$ DESC="X keyboard configuration files" prepare () { - sed -i -E 's/(ln -s)/\1f/' rules/meson.build && + sed -i -E 's/(ln -s)/\1f/' rules/meson.build } build () { diff --git a/repo/x11/xorg-server.xibuild b/repo/x11/xorg-server.xibuild index 8bf178f..8a08aca 100644 --- a/repo/x11/xorg-server.xibuild +++ b/repo/x11/xorg-server.xibuild @@ -20,6 +20,7 @@ package () { DESTDIR=$PKG_DEST ninja install mkdir -pv $PKG_DEST/etc/X11/xorg.conf.d && + mkdir -pv $PKG_DEST/etc/sysconfig && cat >> $PKG_DEST/etc/sysconfig/createfiles << "EOF" /tmp/.ICE-unix dir 1777 root root /tmp/.X11-unix dir 1777 root root -- cgit v1.2.1