Skip to content

Commit 7367141

Browse files
committed
Update for 8.13.0-rc2
- Update Pango to 1.50.8. - Update ImageMagick to 6.9.12-58. MXE Updates: - Update HarfBuzz to 4.4.1. - Update Poppler to 22.07.0.
1 parent 39e9e1e commit 7367141

File tree

11 files changed

+241
-42
lines changed

11 files changed

+241
-42
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
2626
| [fribidi] | 1.0.12 | LGPLv3 |
2727
| [gdk-pixbuf] | 2.42.8 | LGPLv3 |
2828
| [glib] | 2.73.1 | LGPLv3 |
29-
| [harfbuzz] | 4.3.0 | MIT Licence |
29+
| [harfbuzz] | 4.4.1 | MIT Licence |
3030
| [lcms] | 2.13.1 | MIT Licence |
3131
| [libexif] | 0.6.24 | LGPLv3 |
3232
| [libffi] | 3.4.2 | MIT Licence |
@@ -42,14 +42,14 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
4242
| [libxml2] | 2.9.14 | MIT Licence |
4343
| [mozjpeg] | 4.0.3 | [zlib License, IJG License, BSD-3-Clause] |
4444
| [orc] | 0.4.32 | [orc License] (BSD-like) |
45-
| [pango] | 1.50.7 | LGPLv3 |
45+
| [pango] | 1.50.8 | LGPLv3 |
4646
| [pixman] | 0.40.0 | MIT Licence |
4747
| [proxy-libintl] | 0.4 | LGPLv3 |
4848
| [zlib-ng] | 2.0.6 | [zlib-ng Licence] |
4949

5050
¹ [A fork](https://github.com/lovell/libimagequant) of the BSD 2-Clause licensed libimagequant v2.4.1 is used.
51-
² libvips is built from the [`v8.13.0-rc1`](https://github.com/libvips/libvips/tree/v8.13.0-rc1) tag, see:
52-
https://github.com/libvips/libvips/releases/tag/v8.13.0-rc1
51+
² libvips is built from the [`v8.13.0-rc2`](https://github.com/libvips/libvips/tree/v8.13.0-rc2) tag, see:
52+
https://github.com/libvips/libvips/releases/tag/v8.13.0-rc2
5353

5454
[aom]: https://aomedia.googlesource.com/aom/
5555
[Alliance for Open Media Patent License 1.0]: https://aomedia.org/license/patent-license/
@@ -99,15 +99,15 @@ Same as libvips-web + these extra dependencies:
9999
| [cfitsio] | 4.1.0 | BSD-like |
100100
| [fftw] | 3.3.10 | GPLv2 |
101101
| [highway] | 0.17.0 | Apache-2.0 License |
102-
| [imagemagick] | 6.9.12-54 | [ImageMagick License] (Apache-2.0-like) |
102+
| [imagemagick] | 6.9.12-58 | [ImageMagick License] (Apache-2.0-like) |
103103
| [imath] | 3.1.5 | BSD 3-Clause |
104104
| [libjxl] | 0.6.1 | BSD 3-Clause |
105105
| [matio] | 1.5.23 | BSD 2-Clause |
106106
| [nifticlib] | 3.0.1 | Public domain |
107107
| [openexr] | 3.1.5 | BSD 3-Clause |
108108
| [openjpeg] | 2.5.0 | BSD 2-Clause |
109109
| [openslide] | 3.4.1 | LGPLv3 |
110-
| [poppler] | 22.06.0 | GPLv2 |
110+
| [poppler] | 22.07.0 | GPLv2 |
111111
| [sqlite] | 3.39.0 | Public domain |
112112

113113
[brotli]: https://github.com/google/brotli

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
# Always checkout a particular revision which will successfully build.
5252
# This ensures that it will not suddenly break a build.
5353
# Note: Must be regularly updated.
54-
revision="3e8d0071d384f5b76e2ccdaf26b4f1fa89b85aa7"
54+
revision="95649828bc29334d5f9abef2718d49a55d9a5407"
5555
initialize=false
5656

5757
if [ -f "$mxe_dir/Makefile" ]; then

build/nifticlib.mk

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,4 @@ define $(PKG)_BUILD
1919
'$(SOURCE_DIR)'
2020
$(MAKE) -C '$(BUILD_DIR)' -j $(JOBS)
2121
$(MAKE) -C '$(BUILD_DIR)' -j 1 $(subst -,/,$(INSTALL_STRIP_LIB))
22-
23-
# create pkg-config file
24-
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig'
25-
(echo 'prefix=$(PREFIX)/$(TARGET)'; \
26-
echo 'exec_prefix=$${prefix}'; \
27-
echo 'libdir=$${exec_prefix}/lib'; \
28-
echo 'includedir=$${prefix}/include/nifti'; \
29-
echo ''; \
30-
echo 'Name: niftiio'; \
31-
echo 'Version: $($(PKG)_VERSION)'; \
32-
echo 'Description: Core i/o routines for reading and writing nifti-1 format files'; \
33-
echo 'Requires.private: zlib'; \
34-
echo 'Libs: -L$${libdir} -lniftiio -lznz'; \
35-
echo 'Cflags: -I$${includedir}';) \
36-
> '$(PREFIX)/$(TARGET)/lib/pkgconfig/niftiio.pc'
3722
endef

build/overrides.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ matio_FILE := matio-$(matio_VERSION).tar.gz
3939
matio_URL := https://github.com/tbeu/matio/releases/download/v$(matio_VERSION)/$(matio_FILE)
4040

4141
# upstream version is 7, we want ImageMagick 6
42-
imagemagick_VERSION := 6.9.12-54
43-
imagemagick_CHECKSUM := af0d88cdbfd814cea231e950367c4d1251e11371b84aeabda5ddf63dc5be760a
42+
imagemagick_VERSION := 6.9.12-58
43+
imagemagick_CHECKSUM := 6f7774b5a1bd06a6d67da00252ad88da2197d0d88959c599fff6c4fc81628973
4444
imagemagick_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/imagemagick-[0-9]*.patch)))
4545
imagemagick_GH_CONF := ImageMagick/ImageMagick6/tags
4646

@@ -61,8 +61,8 @@ librsvg_FILE := librsvg-$(librsvg_VERSION).tar.xz
6161
librsvg_URL := https://download.gnome.org/sources/librsvg/$(call SHORT_PKG_VERSION,librsvg)/$(librsvg_FILE)
6262

6363
# upstream version is 1.50.0
64-
pango_VERSION := 1.50.7
65-
pango_CHECKSUM := 0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33
64+
pango_VERSION := 1.50.8
65+
pango_CHECKSUM := cf626f59dd146c023174c4034920e9667f1d25ac2c1569516d63136c311255fa
6666
pango_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/pango-[0-9]*.patch)))
6767
pango_SUBDIR := pango-$(pango_VERSION)
6868
pango_FILE := pango-$(pango_VERSION).tar.xz

build/patches/meson-0.62-fixes.patch renamed to build/patches/meson-0.63-fixes.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/
88
index 1111111..2222222 100644
99
--- a/mesonbuild/compilers/mixins/clike.py
1010
+++ b/mesonbuild/compilers/mixins/clike.py
11-
@@ -1191,7 +1191,7 @@ class CLikeCompiler:
11+
@@ -1258,7 +1258,7 @@ class CLikeCompiler:
1212
def thread_flags(self, env: 'Environment') -> T.List[str]:
1313
# TODO: does this belong here or in GnuLike or maybe PosixLike?
1414
host_m = env.machines[self.for_machine]

build/patches/nifticlib-3-fixes.patch

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
3+
Date: Tue, 28 Jun 2022 15:45:17 +0200
4+
Subject: [PATCH 1/2] Set PROJECT_VERSION manually
5+
6+
Upstream-Status: Pending
7+
8+
diff --git a/CMakeLists.txt b/CMakeLists.txt
9+
index 1111111..2222222 100644
10+
--- a/CMakeLists.txt
11+
+++ b/CMakeLists.txt
12+
@@ -11,24 +11,8 @@ endif()
13+
cmake_policy(VERSION ${NIFTI_CMAKE_POLICY_VERSION})
14+
15+
set(NIFTI_HOMEPAGE_URL "https://nifti-imaging.github.io")
16+
-execute_process(COMMAND git "describe" "--tags"
17+
- OUTPUT_VARIABLE GIT_REPO_VERSION_UNCLEANED
18+
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
19+
-
20+
-#Extract the GIT_REPO_VERSION as composed of non-negative integer components,
21+
-# i.e. <major>[.<minor>[.<patch>[.<tweak>]]]
22+
-string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+((beta.*)?(alpha.*)?\\.[0-9]+(\\.g[0-9a-f]+)?)?"
23+
- GIT_REPO_VERSION "${GIT_REPO_VERSION_UNCLEANED}")
24+
-
25+
-if( NOT GIT_REPO_VERSION )
26+
- message(NOTE "Invalid git tag does not match required regular expression, "
27+
- "can not extract version information from '${GIT_REPO_VERSION_UNCLEANED}'")
28+
- # NOTE: cmake -DGIT_REPO_VERSION:STRING=<major>[.<minor>[.<patch>[.<tweak>]]] can be used
29+
- # to set the repo string for non-git repos.
30+
- set(GIT_REPO_VERSION "0.0.0.0") #Manually set the version string for testing purposes
31+
-endif()
32+
project(NIFTI
33+
- VERSION ${GIT_REPO_VERSION}
34+
+ VERSION 3.0.1
35+
DESCRIPTION "Niftilib is a set of i/o libraries for reading and writing files in the nifti-1 data format. nifti-1 is a binary file format for storing medical image data, e.g. magnetic resonance image (MRI) and functional MRI (fMRI) brain images."
36+
LANGUAGES C)
37+
38+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
39+
From: =?UTF-8?q?Corentin=20No=C3=ABl?= <corentin.noel@collabora.com>
40+
Date: Wed, 2 Feb 2022 18:00:39 +0100
41+
Subject: [PATCH 2/2] Generate pkgconfig files
42+
43+
This allow to easily include the libraries in other projects.
44+
45+
See https://www.freedesktop.org/wiki/Software/pkg-config/ for more information
46+
about what pkg-config is.
47+
48+
Upstream-Status: Submitted [https://github.com/NIFTI-Imaging/nifti_clib/pull/140]
49+
50+
diff --git a/CMakeLists.txt b/CMakeLists.txt
51+
index 1111111..2222222 100644
52+
--- a/CMakeLists.txt
53+
+++ b/CMakeLists.txt
54+
@@ -56,6 +56,7 @@ set_if_not_defined(NIFTI_INSTALL_RUNTIME_DIR bin)
55+
set_if_not_defined(NIFTI_INSTALL_LIBRARY_DIR lib)
56+
set_if_not_defined(NIFTI_INSTALL_ARCHIVE_DIR ${NIFTI_INSTALL_LIBRARY_DIR})
57+
set_if_not_defined(NIFTI_INSTALL_INCLUDE_DIR include/nifti)
58+
+set_if_not_defined(NIFTI_INSTALL_PKGCONFIG_DIR ${NIFTI_INSTALL_LIBRARY_DIR}/pkgconfig)
59+
set_if_not_defined(NIFTI_INSTALL_MAN_DIR share/man/man1)
60+
set_if_not_defined(NIFTI_INSTALL_DOC_DIR share/doc/${PROJECT_NAME})
61+
set_if_not_defined(NIFTI_ZLIB_LIBRARIES "")
62+
diff --git a/cmake/nifti_macros.cmake b/cmake/nifti_macros.cmake
63+
index 1111111..2222222 100644
64+
--- a/cmake/nifti_macros.cmake
65+
+++ b/cmake/nifti_macros.cmake
66+
@@ -135,6 +135,10 @@ function(install_nifti_target target_name)
67+
COMPONENT Development
68+
INCLUDES DESTINATION ${NIFTI_INSTALL_INCLUDE_DIR}
69+
)
70+
+
71+
+ install(FILES $<TARGET_PROPERTY:${target_name},PKG_CONFIG>
72+
+ COMPONENT Development
73+
+ DESTINATION ${NIFTI_INSTALL_PKGCONFIG_DIR})
74+
endfunction()
75+
76+
function(get_lib_version_var ver_header_text ver_type version_out)
77+
diff --git a/nifti2/CMakeLists.txt b/nifti2/CMakeLists.txt
78+
index 1111111..2222222 100644
79+
--- a/nifti2/CMakeLists.txt
80+
+++ b/nifti2/CMakeLists.txt
81+
@@ -2,11 +2,13 @@ set(NIFTI_NIFTILIB2_NAME ${NIFTI_PACKAGE_PREFIX}nifti2)
82+
83+
add_nifti_library(${NIFTI_NIFTILIB2_NAME} nifti2_io.c )
84+
target_link_libraries( ${NIFTI_NIFTILIB2_NAME} PUBLIC ${NIFTI_PACKAGE_PREFIX}znz ${NIFTI_SYSTEM_MATH_LIB})
85+
+configure_file(nifti2.pc.in nifti2.pc @ONLY)
86+
set_target_properties(
87+
${NIFTI_NIFTILIB2_NAME}
88+
PROPERTIES
89+
PUBLIC_HEADER
90+
"${CMAKE_CURRENT_LIST_DIR}/nifti1.h;${CMAKE_CURRENT_LIST_DIR}/nifti2.h;${CMAKE_CURRENT_LIST_DIR}/nifti2_io.h"
91+
+ PKG_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/nifti2.pc
92+
)
93+
# Set library version when building shared libs.
94+
if(BUILD_SHARED_LIBS)
95+
diff --git a/nifti2/nifti2.pc.in b/nifti2/nifti2.pc.in
96+
new file mode 100644
97+
index 0000000..1111111
98+
--- /dev/null
99+
+++ b/nifti2/nifti2.pc.in
100+
@@ -0,0 +1,11 @@
101+
+prefix=@CMAKE_INSTALL_PREFIX@
102+
+exec_prefix=${prefix}
103+
+libdir=${prefix}/@NIFTI_INSTALL_LIBRARY_DIR@
104+
+includedir=${prefix}/@NIFTI_INSTALL_INCLUDE_DIR@
105+
+
106+
+Name: nifti2
107+
+Description: Core i/o routines for reading and writing nifti-2 format files
108+
+Version: @PROJECT_VERSION@
109+
+Requires: znzlib
110+
+Libs: -L${libdir} -lnifti2
111+
+Cflags: -I${includedir}
112+
diff --git a/nifticdf/CMakeLists.txt b/nifticdf/CMakeLists.txt
113+
index 1111111..2222222 100644
114+
--- a/nifticdf/CMakeLists.txt
115+
+++ b/nifticdf/CMakeLists.txt
116+
@@ -1,11 +1,13 @@
117+
set(NIFTI_CDFLIB_NAME ${NIFTI_PACKAGE_PREFIX}nifticdf)
118+
119+
add_nifti_library(${NIFTI_CDFLIB_NAME} nifticdf.c )
120+
+configure_file(nifticdf.pc.in nifticdf.pc @ONLY)
121+
set_target_properties(
122+
${NIFTI_CDFLIB_NAME}
123+
PROPERTIES
124+
PUBLIC_HEADER
125+
"${CMAKE_CURRENT_LIST_DIR}/nifticdf.h"
126+
+ PKG_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/nifticdf.pc
127+
)
128+
target_compile_options(${NIFTI_CDFLIB_NAME} PRIVATE "-D__COMPILE_UNUSED_FUNCTIONS__")
129+
target_link_libraries(${NIFTI_CDFLIB_NAME} PUBLIC ${NIFTI_PACKAGE_PREFIX}niftiio)
130+
diff --git a/nifticdf/nifticdf.pc.in b/nifticdf/nifticdf.pc.in
131+
new file mode 100644
132+
index 0000000..1111111
133+
--- /dev/null
134+
+++ b/nifticdf/nifticdf.pc.in
135+
@@ -0,0 +1,10 @@
136+
+prefix=@CMAKE_INSTALL_PREFIX@
137+
+exec_prefix=${prefix}
138+
+libdir=${prefix}/@NIFTI_INSTALL_LIBRARY_DIR@
139+
+includedir=${prefix}/@NIFTI_INSTALL_INCLUDE_DIR@
140+
+
141+
+Name: nifticdf
142+
+Description: Functions to compute cumulative distributions and their inverses
143+
+Version: @PROJECT_VERSION@
144+
+Libs: -L${libdir} -lnifticdf
145+
+Cflags: -I${includedir}
146+
diff --git a/niftilib/CMakeLists.txt b/niftilib/CMakeLists.txt
147+
index 1111111..2222222 100644
148+
--- a/niftilib/CMakeLists.txt
149+
+++ b/niftilib/CMakeLists.txt
150+
@@ -2,11 +2,13 @@ set(NIFTI_NIFTILIB_NAME ${NIFTI_PACKAGE_PREFIX}niftiio)
151+
152+
add_nifti_library(${NIFTI_NIFTILIB_NAME} nifti1_io.c )
153+
target_link_libraries( ${NIFTI_NIFTILIB_NAME} PUBLIC ${NIFTI_PACKAGE_PREFIX}znz ${NIFTI_SYSTEM_MATH_LIB})
154+
+configure_file(niftiio.pc.in niftiio.pc @ONLY)
155+
set_target_properties(
156+
${NIFTI_NIFTILIB_NAME}
157+
PROPERTIES
158+
PUBLIC_HEADER
159+
"${CMAKE_CURRENT_LIST_DIR}/nifti1_io.h;${CMAKE_CURRENT_LIST_DIR}/nifti1.h"
160+
+ PKG_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/niftiio.pc
161+
)
162+
# Set library version when building shared libs.
163+
if(BUILD_SHARED_LIBS)
164+
diff --git a/niftilib/niftiio.pc.in b/niftilib/niftiio.pc.in
165+
new file mode 100644
166+
index 0000000..1111111
167+
--- /dev/null
168+
+++ b/niftilib/niftiio.pc.in
169+
@@ -0,0 +1,11 @@
170+
+prefix=@CMAKE_INSTALL_PREFIX@
171+
+exec_prefix=${prefix}
172+
+libdir=${prefix}/@NIFTI_INSTALL_LIBRARY_DIR@
173+
+includedir=${prefix}/@NIFTI_INSTALL_INCLUDE_DIR@
174+
+
175+
+Name: niftiio
176+
+Description: Core i/o routines for reading and writing nifti-1 format files
177+
+Version: @PROJECT_VERSION@
178+
+Requires: znzlib
179+
+Libs: -L${libdir} -lniftiio
180+
+Cflags: -I${includedir}
181+
diff --git a/znzlib/CMakeLists.txt b/znzlib/CMakeLists.txt
182+
index 1111111..2222222 100644
183+
--- a/znzlib/CMakeLists.txt
184+
+++ b/znzlib/CMakeLists.txt
185+
@@ -2,10 +2,12 @@ set(NIFTI_ZNZLIB_NAME ${NIFTI_PACKAGE_PREFIX}znz)
186+
187+
add_nifti_library(${NIFTI_ZNZLIB_NAME} znzlib.c )
188+
target_link_libraries( ${NIFTI_ZNZLIB_NAME} PUBLIC ${NIFTI_ZLIB_LIBRARIES} )
189+
+configure_file(znzlib.pc.in znzlib.pc @ONLY)
190+
set_target_properties(
191+
${NIFTI_ZNZLIB_NAME}
192+
PROPERTIES
193+
PUBLIC_HEADER ${CMAKE_CURRENT_LIST_DIR}/znzlib.h
194+
+ PKG_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/znzlib.pc
195+
)
196+
target_compile_definitions(${NIFTI_ZNZLIB_NAME} PUBLIC ${ZNZ_COMPILE_DEF})
197+
# Set library version if building shared libs.
198+
diff --git a/znzlib/znzlib.pc.in b/znzlib/znzlib.pc.in
199+
new file mode 100644
200+
index 0000000..1111111
201+
--- /dev/null
202+
+++ b/znzlib/znzlib.pc.in
203+
@@ -0,0 +1,12 @@
204+
+prefix=@CMAKE_INSTALL_PREFIX@
205+
+exec_prefix=${prefix}
206+
+libdir=${prefix}/@NIFTI_INSTALL_LIBRARY_DIR@
207+
+includedir=${prefix}/@NIFTI_INSTALL_INCLUDE_DIR@
208+
+zlib_support=true
209+
+
210+
+Name: znzlib
211+
+Description: Low level library for handling read/write of compressed files
212+
+Version: @PROJECT_VERSION@
213+
+Requires: zlib
214+
+Libs: -L${libdir} -lznz
215+
+Cflags: -I${includedir}

build/plugins/llvm-mingw/patches/rust-1-fixes.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ new file mode 100644
3737
index 0000000..1111111
3838
--- /dev/null
3939
+++ b/compiler/rustc_target/src/spec/i686_pc_windows_gnullvm.rs
40-
@@ -0,0 +1,21 @@
40+
@@ -0,0 +1,20 @@
4141
+use crate::spec::{FramePointer, LinkerFlavor, Target};
4242
+
4343
+pub fn target() -> Target {
4444
+ let mut base = super::windows_gnullvm_base::opts();
4545
+ base.cpu = "pentium4".into();
46-
+ let gcc_pre_link_args = base.pre_link_args.entry(LinkerFlavor::Gcc).or_default();
47-
+ gcc_pre_link_args.push("-mi386pe".into());
46+
+ base.add_pre_link_args(LinkerFlavor::Gcc, &["-mi386pe"]);
4847
+ base.max_atomic_width = Some(64);
4948
+ base.frame_pointer = FramePointer::Always; // Required for backtraces
5049
+ base.linker = Some("i686-w64-mingw32-clang".into());

build/plugins/llvm-mingw/rust.mk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ PKG := rust
22
$(PKG)_WEBSITE := https://www.rust-lang.org/
33
$(PKG)_DESCR := A systems programming language focused on safety, speed and concurrency.
44
$(PKG)_IGNORE :=
5-
# https://static.rust-lang.org/dist/2022-06-26/rustc-nightly-src.tar.xz.sha256
5+
# https://static.rust-lang.org/dist/2022-07-12/rustc-nightly-src.tar.xz.sha256
66
$(PKG)_VERSION := nightly
7-
$(PKG)_CHECKSUM := a600c43ab32bd4bc3c8069926fe2b8344e304a9e90e0bd8e1cd68f9ce22037cd
7+
$(PKG)_CHECKSUM := ebe29c7ce66ad25ce7a94f6ab388248e599b8beea374b3b22ab9fe9d14a160c2
88
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/$(PKG)-[0-9]*.patch)))
99
$(PKG)_SUBDIR := $(PKG)c-$($(PKG)_VERSION)-src
1010
$(PKG)_FILE := $(PKG)c-$($(PKG)_VERSION)-src.tar.xz
11-
$(PKG)_URL := https://static.rust-lang.org/dist/2022-06-26/$($(PKG)_FILE)
11+
$(PKG)_URL := https://static.rust-lang.org/dist/2022-07-12/$($(PKG)_FILE)
1212
$(PKG)_DEPS := $(BUILD)~$(PKG)
1313
$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
1414

@@ -92,7 +92,6 @@ define $(PKG)_BUILD
9292
'$(PREFIX)/$(BUILD)/lib/rustlib/$(TARGET_RUST)/lib/self-contained';)
9393

9494
# Install Cargo config
95-
# FIXME(kleisauke): Remove -Zshare-generics=no, see: https://github.com/rust-lang/rust/issues/96486
9695
$(INSTALL) -d '$(PREFIX)/$(TARGET)/.cargo'
9796
(echo '[unstable]'; \
9897
echo 'build-std = ["std", "panic_abort"]'; \
@@ -104,7 +103,6 @@ define $(PKG)_BUILD
104103
echo 'RUST_COMPILER_RT_ROOT = "$(PREFIX)/$(BUILD)/lib/rustlib/src/rust/src/llvm-project/compiler-rt"'; \
105104
echo '[target.$(TARGET_RUST)]'; \
106105
echo 'rustflags = ['; \
107-
echo ' "-Zshare-generics=no",'; \
108106
echo ' "-Clink-self-contained=yes"'; \
109107
echo ']'; \
110108
echo 'linker = "$(TARGET)-clang"'; \

build/variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
vips_package=vips
44
vips_version=8.13
55
vips_patch_version=0
6-
vips_pre_version=rc1
6+
vips_pre_version=rc2
77

88
if [ -n "$GIT_COMMIT" ]; then
99
vips_version=$GIT_COMMIT

build/vips-all.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ $(PKG)_WEBSITE := https://libvips.github.io/libvips/
33
$(PKG)_DESCR := A fast image processing library with low memory needs.
44
$(PKG)_IGNORE :=
55
$(PKG)_VERSION := 8.13.0
6-
$(PKG)_CHECKSUM := 3bce6ada3c18a38f59a8f51297ed59b19ab8ca1076770c715f0d33de19842d2a
6+
$(PKG)_CHECKSUM := e52625465f07c68119bd1dcb123558720594439d45cddeb2a24d8464197879b0
77
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/vips-[0-9]*.patch)))
8-
$(PKG)_SUBDIR := libvips-$($(PKG)_VERSION)-rc1
9-
$(PKG)_GH_CONF := libvips/libvips/tags,v,-rc1
8+
$(PKG)_SUBDIR := vips-$($(PKG)_VERSION)
9+
$(PKG)_FILE := vips-$($(PKG)_VERSION)-rc2.tar.gz
10+
$(PKG)_GH_CONF := libvips/libvips/releases,v,-rc2,,,-rc2.tar.gz
1011
$(PKG)_DEPS := cc meson-wrapper libwebp librsvg glib pango libgsf \
1112
libjpeg-turbo tiff lcms libexif libheif libpng \
1213
libspng libimagequant orc imagemagick matio openexr \

0 commit comments

Comments
 (0)