diff --git a/ports/libXcomposite/build.sh b/ports/libXcomposite/build.sh new file mode 100755 index 00000000..40e5333f --- /dev/null +++ b/ports/libXcomposite/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash ../install.sh + +NAME='libXcomposite' +VERSION='0.4.7' +DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXcomposite-$VERSION.tar.xz#8bdf310967f484503fa51714cf97bff0723d9b673e0eecbf92b3f97c060c8ccb" +CONFIG_SUB=('config.sub') +DEPENDENCIES=('libX11' 'libXfixes') +CONFIGURE_OPTIONS=( + '--enable-shared=yes' + '--enable-static=no' +) diff --git a/ports/libXcomposite/patches/0001-add-shared-library-support.patch b/ports/libXcomposite/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..0cd62a25 --- /dev/null +++ b/ports/libXcomposite/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libXcomposite-0.4.7/configure libXcomposite-0.4.7-banan_os/configure +--- libXcomposite-0.4.7/configure 2026-01-26 00:32:39.000000000 +0200 ++++ libXcomposite-0.4.7-banan_os/configure 2026-05-23 02:11:49.423679807 +0300 +@@ -6236,6 +6236,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 + ;; +@@ -11771,6 +11775,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' + dynamic_linker="$host_os ld.so" diff --git a/ports/libXcursor/build.sh b/ports/libXcursor/build.sh new file mode 100755 index 00000000..60dc5a44 --- /dev/null +++ b/ports/libXcursor/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash ../install.sh + +NAME='libXcursor' +VERSION='1.2.3' +DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXcursor-$VERSION.tar.xz#fde9402dd4cfe79da71e2d96bb980afc5e6ff4f8a7d74c159e1966afb2b2c2c0" +CONFIG_SUB=('config.sub') +DEPENDENCIES=('libX11' 'libXrender' 'libXfixes') +CONFIGURE_OPTIONS=( + '--enable-shared=yes' + '--enable-static=no' +) diff --git a/ports/libXcursor/patches/0001-add-shared-library-support.patch b/ports/libXcursor/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..49fe856d --- /dev/null +++ b/ports/libXcursor/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libXcursor-1.2.3/configure libXcursor-1.2.3-banan_os/configure +--- libXcursor-1.2.3/configure 2024-11-06 01:15:13.000000000 +0200 ++++ libXcursor-1.2.3-banan_os/configure 2026-03-25 16:39:14.759269796 +0200 +@@ -6052,6 +6052,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 + ;; +@@ -11388,6 +11392,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' + dynamic_linker="$host_os ld.so" diff --git a/ports/libXdamage/build.sh b/ports/libXdamage/build.sh new file mode 100755 index 00000000..b877996b --- /dev/null +++ b/ports/libXdamage/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash ../install.sh + +NAME='libXdamage' +VERSION='1.1.7' +DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXdamage-$VERSION.tar.xz#127067f521d3ee467b97bcb145aeba1078e2454d448e8748eb984d5b397bde24" +CONFIG_SUB=('config.sub') +DEPENDENCIES=('libX11') # FIXME: check deps +CONFIGURE_OPTIONS=( + '--enable-shared=yes' + '--enable-static=no' +) diff --git a/ports/libXdamage/patches/0001-add-shared-library-support.patch b/ports/libXdamage/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..8fc2a4cb --- /dev/null +++ b/ports/libXdamage/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libXdamage-1.1.7/configure libXdamage-1.1.7-banan_os/configure +--- libXdamage-1.1.7/configure 2026-01-26 01:03:29.000000000 +0200 ++++ libXdamage-1.1.7-banan_os/configure 2026-05-23 02:22:11.429490232 +0300 +@@ -6157,6 +6157,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 + ;; +@@ -11692,6 +11696,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' + dynamic_linker="$host_os ld.so" diff --git a/ports/libXinerama/build.sh b/ports/libXinerama/build.sh new file mode 100755 index 00000000..793db1e1 --- /dev/null +++ b/ports/libXinerama/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash ../install.sh + +NAME='libXinerama' +VERSION='1.1.6' +DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXinerama-$VERSION.tar.xz#d00fc1599c303dc5cbc122b8068bdc7405d6fcb19060f4597fc51bd3a8be51d7" +CONFIG_SUB=('config.sub') +DEPENDENCIES=('libX11' 'libXext') +CONFIGURE_OPTIONS=( + '--enable-shared=yes' + '--enable-static=no' +) diff --git a/ports/libXinerama/patches/0001-add-shared-library-support.patch b/ports/libXinerama/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..7fb604ac --- /dev/null +++ b/ports/libXinerama/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libXinerama-1.1.6/configure libXinerama-1.1.6-banan_os/configure +--- libXinerama-1.1.6/configure 2026-01-26 01:40:12.000000000 +0200 ++++ libXinerama-1.1.6-banan_os/configure 2026-03-25 16:26:39.166177404 +0200 +@@ -6173,6 +6173,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 + ;; +@@ -11707,6 +11711,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'