ports: Update and dont build static libpng, libjpeg, libtiff
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libjpeg'
|
||||
VERSION='9f'
|
||||
DOWNLOAD_URL="https://www.ijg.org/files/jpegsrc.v9f.tar.gz#04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b"
|
||||
VERSION='10'
|
||||
DOWNLOAD_URL="https://www.ijg.org/files/jpegsrc.v$VERSION.tar.gz#8b9eaa13242690ebd03e1728ab1edf97a81a78ed6e83624d493655f31ac95ab5"
|
||||
TAR_CONTENT="jpeg-$VERSION"
|
||||
CONFIG_SUB=('config.sub')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--disable-static'
|
||||
)
|
||||
|
||||
@@ -1,7 +1,18 @@
|
||||
diff -ruN jpeg-9f/configure jpeg-9f-banan_os/configure
|
||||
--- jpeg-9f/configure 2024-01-08 19:38:44.000000000 +0200
|
||||
+++ jpeg-9f-banan_os/configure 2025-06-11 11:03:15.719030091 +0300
|
||||
@@ -12944,6 +12944,16 @@
|
||||
diff -ruN libjpeg-10/configure libjpeg-10-banan_os/configure
|
||||
--- libjpeg-10/configure 2025-12-31 20:03:45.000000000 +0200
|
||||
+++ libjpeg-10-banan_os/configure 2026-07-05 13:28:25.721646060 +0300
|
||||
@@ -7457,6 +7457,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
|
||||
;;
|
||||
@@ -13234,6 +13238,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libpng'
|
||||
VERSION='1.6.48'
|
||||
DOWNLOAD_URL="https://download.sourceforge.net/libpng/libpng-$VERSION.tar.gz#68f3d83a79d81dfcb0a439d62b411aa257bb4973d7c67cd1ff8bdf8d011538cd"
|
||||
VERSION='1.6.58'
|
||||
DOWNLOAD_URL="https://download.sourceforge.net/libpng/libpng-$VERSION.tar.gz#8c9b05b675ca7301a458df2c2e46f26e1d41ff36b8863f8c33530bc58c2e6225"
|
||||
DEPENDENCIES=('zlib')
|
||||
CONFIG_SUB=('config.sub')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--disable-static'
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
diff -ruN libpng-1.6.48/configure libpng-1.6.48-banan_os/configure
|
||||
--- libpng-1.6.48/configure 2025-04-30 16:51:46.000000000 +0300
|
||||
+++ libpng-1.6.48-banan_os/configure 2025-06-10 15:01:05.944037763 +0300
|
||||
@@ -6523,6 +6523,10 @@
|
||||
diff -ruN libpng-1.6.58/configure libpng-1.6.58-banan_os/configure
|
||||
--- libpng-1.6.58/configure 2026-04-15 20:23:26.000000000 +0300
|
||||
+++ libpng-1.6.58-banan_os/configure 2026-07-05 13:24:13.820724843 +0300
|
||||
@@ -6834,6 +6834,10 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -12,7 +12,7 @@ diff -ruN libpng-1.6.48/configure libpng-1.6.48-banan_os/configure
|
||||
beos*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
@@ -12389,6 +12393,16 @@
|
||||
@@ -12700,6 +12704,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libtiff'
|
||||
VERSION='4.7.0'
|
||||
DOWNLOAD_URL="https://download.osgeo.org/libtiff/tiff-$VERSION.tar.gz#67160e3457365ab96c5b3286a0903aa6e78bdc44c4bc737d2e486bcecb6ba976"
|
||||
VERSION='4.7.2'
|
||||
DOWNLOAD_URL="https://download.osgeo.org/libtiff/tiff-$VERSION.tar.xz#4996f0c4f93094719b1ca5c6279b20e588773ba8a247533e486416fb662ddb88"
|
||||
TAR_CONTENT="tiff-$VERSION"
|
||||
DEPENDENCIES=('zlib' 'zstd' 'libjpeg')
|
||||
CONFIG_SUB=('config/config.sub')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--disable-static'
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
diff -ruN tiff-4.7.0/configure tiff-4.7.0-banan_os/configure
|
||||
--- tiff-4.7.0/configure 2024-09-11 10:42:32.000000000 +0300
|
||||
+++ tiff-4.7.0-banan_os/configure 2025-06-11 14:56:13.977026933 +0300
|
||||
@@ -6312,6 +6312,10 @@
|
||||
diff -ruN libtiff-4.7.2/configure libtiff-4.7.2-banan_os/configure
|
||||
--- libtiff-4.7.2/configure 2026-06-27 16:59:57.000000000 +0300
|
||||
+++ libtiff-4.7.2-banan_os/configure 2026-07-05 13:26:12.435676263 +0300
|
||||
@@ -7131,6 +7131,10 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@@ -12,19 +12,7 @@ diff -ruN tiff-4.7.0/configure tiff-4.7.0-banan_os/configure
|
||||
beos*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
@@ -10492,6 +10496,11 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
+ banan_os*)
|
||||
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
||||
+ link_all_deplibs=yes
|
||||
+ ;;
|
||||
+
|
||||
beos*)
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
allow_undefined_flag=unsupported
|
||||
@@ -12059,6 +12068,16 @@
|
||||
@@ -12821,6 +12825,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
@@ -41,19 +29,7 @@ diff -ruN tiff-4.7.0/configure tiff-4.7.0-banan_os/configure
|
||||
beos*)
|
||||
library_names_spec='$libname$shared_ext'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
@@ -14558,6 +14577,11 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
+ banan_os*)
|
||||
+ # FIXME: insert proper C++ library support
|
||||
+ ld_shlibs_CXX=no
|
||||
+ ;;
|
||||
+
|
||||
beos*)
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
allow_undefined_flag_CXX=unsupported
|
||||
@@ -16456,6 +16480,16 @@
|
||||
@@ -17364,6 +17378,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user