Skip to content

Commit ece8474

Browse files
committed
Update for 8.12.2
1 parent aa02547 commit ece8474

File tree

7 files changed

+20
-13
lines changed

7 files changed

+20
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
3737
| [librsvg] | 2.53.0 | LGPLv3 |
3838
| [libspng] | 0.7.1 | BSD 2-Clause |
3939
| [libtiff] | 4.3.0 | [libtiff License] (BSD-like) |
40-
| [libvips] | 8.12.1 | LGPLv3 |
40+
| [libvips] | 8.12.2 | LGPLv3 |
4141
| [libwebp] | 1.2.2 | New BSD License |
4242
| [libxml2] | 2.9.12 | MIT Licence |
4343
| [mozjpeg] | 4.0.3 | [zlib License, IJG License, BSD-3-Clause] |

build/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ make pe-util \
132132
if [ "$NIGHTLY" = "true" ]; then
133133
nightly_version=$(wget -q -O- 'https://api.github.com/repos/libvips/libvips/git/refs/heads/master' | sed -n 's#.*"sha": "\([^"]\{7\}\).*#\1#p' | head -1)
134134

135-
# Invalidate build cache
136-
rm $mxe_dir/usr/$target.$deps/installed/vips-$deps
135+
# Invalidate build cache, if exits
136+
rm -f $mxe_dir/usr/$target.$deps/installed/vips-$deps
137137
fi
138138

139139
# Build MXE's meson-wrapper (needed by pango, GDK-PixBuf, GLib and Orc),

build/package-vipsdev.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ strip=$target.$deps-strip
9292
# Directories
9393
install_dir=$mxe_prefix/$target.$deps
9494
bin_dir=$install_dir/bin
95-
module_dir=$(printf '%s\n' $install_dir/lib/vips-modules-* | sort -n | tail -1)
95+
96+
# Ensure module_dir is set correctly when building nightly versions
97+
if [ "$NIGHTLY" = "true" ]; then
98+
module_dir=$(printf '%s\n' $install_dir/lib/vips-modules-* | sort -n | tail -1)
99+
else
100+
module_dir=$install_dir/lib/vips-modules-$vips_version
101+
fi
102+
module_dir_base=${module_dir##*/}
96103

97104
echo "Copying libvips and dependencies"
98105

@@ -120,8 +127,8 @@ if [ -d "$module_dir" ]; then
120127
cp -n $dll $repackage_dir/bin
121128
done
122129
done
123-
mkdir -p $repackage_dir/bin/${module_dir##*/}
124-
cp $module_dir/*.dll $repackage_dir/bin/${module_dir##*/}
130+
mkdir -p $repackage_dir/bin/$module_dir_base
131+
cp $module_dir/*.dll $repackage_dir/bin/$module_dir_base
125132
fi
126133

127134
echo "Copying install area $install_dir/"
@@ -161,7 +168,7 @@ echo "Strip unneeded symbols"
161168
# Remove all symbols that are not needed
162169
if [ "$DEBUG" = "false" ]; then
163170
$strip --strip-unneeded $repackage_dir/bin/*.{exe,dll}
164-
[ -d "$module_dir" ] && $strip --strip-unneeded $repackage_dir/bin/${module_dir##*/}/*.dll
171+
[ -d "$module_dir" ] && $strip --strip-unneeded $repackage_dir/bin/$module_dir_base/*.dll
165172
fi
166173

167174
echo "Copying packaging files"

build/patches/vips-8-dlldir-as-libdir.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ diff --git a/libvips/iofuncs/util.c b/libvips/iofuncs/util.c
4646
index 1111111..2222222 100644
4747
--- a/libvips/iofuncs/util.c
4848
+++ b/libvips/iofuncs/util.c
49-
@@ -1975,6 +1975,54 @@ DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
49+
@@ -1983,6 +1983,54 @@ DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
5050
return( TRUE );
5151
}
5252
#endif

build/variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
vips_package=vips
44
vips_version=8.12
5-
vips_patch_version=1
5+
vips_patch_version=2
66
#vips_pre_version=rc1
77

88
if [ "$NIGHTLY" = "true" ]; then

build/vips-all.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PKG := vips-all
22
$(PKG)_WEBSITE := https://libvips.github.io/libvips/
33
$(PKG)_DESCR := A fast image processing library with low memory needs.
44
$(PKG)_IGNORE :=
5-
$(PKG)_VERSION := 8.12.1
6-
$(PKG)_CHECKSUM := 474d8439244cd26c504812fd623259f806c32553b38d2a54798c9766135f5a5c
5+
$(PKG)_VERSION := 8.12.2
6+
$(PKG)_CHECKSUM := 565252992aff2c7cd10c866c7a58cd57bc536e03924bde29ae0f0cb9e074010b
77
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/vips-[0-9]*.patch)))
88
$(PKG)_GH_CONF := libvips/libvips/releases,v
99
$(PKG)_SUBDIR := vips-$($(PKG)_VERSION)

build/vips-web.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PKG := vips-web
22
$(PKG)_WEBSITE := https://libvips.github.io/libvips/
33
$(PKG)_DESCR := A fast image processing library with low memory needs.
44
$(PKG)_IGNORE :=
5-
$(PKG)_VERSION := 8.12.1
6-
$(PKG)_CHECKSUM := 474d8439244cd26c504812fd623259f806c32553b38d2a54798c9766135f5a5c
5+
$(PKG)_VERSION := 8.12.2
6+
$(PKG)_CHECKSUM := 565252992aff2c7cd10c866c7a58cd57bc536e03924bde29ae0f0cb9e074010b
77
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/vips-[0-9]*.patch)))
88
$(PKG)_GH_CONF := libvips/libvips/releases,v
99
$(PKG)_SUBDIR := vips-$($(PKG)_VERSION)

0 commit comments

Comments
 (0)