ports: Add a lot of x library ports + xeyes/xclock

This commit is contained in:
2026-03-23 17:45:59 +02:00
parent 186fa4f1a1
commit f42c5c4a5b
54 changed files with 1127 additions and 0 deletions

12
ports/libXext/build.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash ../install.sh
NAME='libXext'
VERSION='1.3.6'
DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXext-$VERSION.tar.xz#edb59fa23994e405fdc5b400afdf5820ae6160b94f35e3dc3da4457a16e89753"
CONFIG_SUB=('config.sub')
DEPENDENCIES=('libX11')
CONFIGURE_OPTIONS=(
'--enable-shared=yes'
'--enable-static=no'
'--disable-malloc0returnsnull'
)

View File

@@ -0,0 +1,31 @@
diff -ruN libXext-1.3.6/configure libXext-1.3.6-banan_os/configure
--- libXext-1.3.6/configure 2024-02-04 23:42:50.000000000 +0200
+++ libXext-1.3.6-banan_os/configure 2025-11-16 23:30:16.532954111 +0200
@@ -6282,6 +6282,10 @@
lt_cv_deplibs_check_method=pass_all
;;
+banan_os*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
beos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -11663,6 +11667,16 @@
;;
esac
;;
+
+banan_os*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker="$host_os DynamicLoader.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
beos*)
library_names_spec='$libname$shared_ext'