diff --git a/packages/libxcursor/build.sh b/packages/libxcursor/build.sh new file mode 100644 index 000000000..0fa0dfe4d --- /dev/null +++ b/packages/libxcursor/build.sh @@ -0,0 +1,11 @@ +# X11 package +TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ +TERMUX_PKG_DESCRIPTION="X cursor management library" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Pliushch " +TERMUX_PKG_VERSION=1.2.0 +TERMUX_PKG_REVISION=18 +TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXcursor-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782 +TERMUX_PKG_DEPENDS="libx11, libxfixes, libxrender" +TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros" diff --git a/packages/libxcursor/src-library.c.patch b/packages/libxcursor/src-library.c.patch new file mode 100644 index 000000000..379e15f81 --- /dev/null +++ b/packages/libxcursor/src-library.c.patch @@ -0,0 +1,17 @@ +diff -uNr libXcursor-1.2.0/src/library.c libXcursor-1.2.0.mod/src/library.c +--- libXcursor-1.2.0/src/library.c 2019-03-11 02:37:56.000000000 +0200 ++++ libXcursor-1.2.0.mod/src/library.c 2019-05-19 00:58:12.270343791 +0300 +@@ -25,11 +25,11 @@ + #include + + #ifndef ICONDIR +-#define ICONDIR "/usr/X11R6/lib/X11/icons" ++#define ICONDIR "@TERMUX_PREFIX@/X11R6/lib/X11/icons" + #endif + + #ifndef XCURSORPATH +-#define XCURSORPATH "~/.local/share/icons:~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR ++#define XCURSORPATH "~/.local/share/icons:~/.icons:@TERMUX_PREFIX@/share/icons:@TERMUX_PREFIX@/share/pixmaps:"ICONDIR + #endif + + const char * diff --git a/packages/libxfixes/build.sh b/packages/libxfixes/build.sh new file mode 100644 index 000000000..2458a294f --- /dev/null +++ b/packages/libxfixes/build.sh @@ -0,0 +1,11 @@ +# X11 package +TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ +TERMUX_PKG_DESCRIPTION="X11 miscellaneous 'fixes' extension library" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Pliushch " +TERMUX_PKG_VERSION=5.0.3 +TERMUX_PKG_REVISION=23 +TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXfixes-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6 +TERMUX_PKG_DEPENDS="libx11" +TERMUX_PKG_BUILD_DEPENDS="xorgproto, xorg-util-macros" diff --git a/packages/libxi/build.sh b/packages/libxi/build.sh new file mode 100644 index 000000000..0f3ef9b25 --- /dev/null +++ b/packages/libxi/build.sh @@ -0,0 +1,12 @@ +# X11 package +TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ +TERMUX_PKG_DESCRIPTION="X11 Input extension library" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Pliushch " +TERMUX_PKG_VERSION=1.7.10 +TERMUX_PKG_REVISION=21 +TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXi-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061 +TERMUX_PKG_DEPENDS="libx11, libxau, libxcb, libxdmcp, libxext" +TERMUX_PKG_BUILD_DEPENDS="libxfixes, xorgproto, xorg-util-macros" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-malloc0returnsnull" diff --git a/packages/libxrandr/build.sh b/packages/libxrandr/build.sh new file mode 100644 index 000000000..c5319d8be --- /dev/null +++ b/packages/libxrandr/build.sh @@ -0,0 +1,12 @@ +# X11 package +TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ +TERMUX_PKG_DESCRIPTION="X11 RandR extension library" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Pliushch " +TERMUX_PKG_VERSION=1.5.2 +TERMUX_PKG_REVISION=22 +TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXrandr-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023 +TERMUX_PKG_DEPENDS="libx11, libxext, libxrender" +TERMUX_PKG_BUILD_DEPENDS="xorgproto, xorg-util-macros" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-malloc0returnsnull" diff --git a/packages/libxtst/build.sh b/packages/libxtst/build.sh new file mode 100644 index 000000000..e66962c55 --- /dev/null +++ b/packages/libxtst/build.sh @@ -0,0 +1,11 @@ +# X11 package +TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ +TERMUX_PKG_DESCRIPTION="X11 Testing -- Resource extension library" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_MAINTAINER="Leonid Pliushch " +TERMUX_PKG_VERSION=1.2.3 +TERMUX_PKG_REVISION=24 +TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXtst-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204 +TERMUX_PKG_DEPENDS="libx11, libxext, libxi" +TERMUX_PKG_BUILD_DEPENDS="libxfixes, xorg-util-macros"