-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update libraries #6699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update libraries #6699
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a07fa79
library update: prepare cairo for update
hgy59 f4938e3
library update: cairo, pixman
hgy59 e56f368
library update: openjpeg
hgy59 367f301
ffmpeg7: fix build for x64-6.2.4
hgy59 0d9ac51
library update: libwebp, fribidi
hgy59 0288ca3
library update: lcms2, zlib-ng
hgy59 3afd315
ffmpeg7: adjust include to fix TC_GCC evaluation
hgy59 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
PKG_NAME = cairo | ||
PKG_VERS = 1.16.0 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://www.cairographics.org/releases/ | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/libpng cross/freetype cross/pixman cross/fontconfig cross/glib | ||
|
||
# v1.16.0 is the latest version that builds for OLD_PPC and ARMv5 archs | ||
|
||
HOMEPAGE = https://www.cairographics.org | ||
COMMENT = Cairo is a 2D graphics library with support for multiple output devices. | ||
LICENSE = GPLv2 | ||
|
||
GNU_CONFIGURE = 1 | ||
CONFIGURE_ARGS = --disable-static --disable-trace --enable-gobject | ||
ADDITIONAL_CPPFLAGS = -O | ||
|
||
# Use custom build and install targets, since configure does not support | ||
# to disable the build of code in the sub folders: test, perf, boilderplate. | ||
# But this needs a lot of build resources, and it will never run as we are | ||
# cross compiling. | ||
# This (old) blog shows, that it is not intended to enable test code skipping: | ||
# https://lists.cairographics.org/archives/cairo/2014-July/025373.html | ||
COMPILE_TARGET = cairo_compile | ||
INSTALL_TARGET = cairo_install | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
.PHONY: cairo_compile | ||
cairo_compile: | ||
@$(MSG) Build without tests | ||
@$(RUN) $(MAKE) -C src $(COMPILE_MAKE_OPTIONS) | ||
@$(RUN) $(MAKE) -C util $(COMPILE_MAKE_OPTIONS) | ||
|
||
.PHONY: cairo_install | ||
cairo_install: | ||
@$(MSG) Install without building tests | ||
@$(RUN) $(MAKE) -C src install DESTDIR=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX) | ||
@$(RUN) $(MAKE) -C util install DESTDIR=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX) |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
PKG_NAME = cairo | ||
PKG_VERS = 1.18.4 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://www.cairographics.org/releases/ | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/libpng cross/freetype cross/pixman cross/fontconfig cross/glib | ||
|
||
# ERROR: Could not get define '__FLOAT_WORD_ORDER__' | ||
UNSUPPORTED_ARCHS = $(OLD_PPC_ARCHS) $(ARMv5_ARCHS) | ||
|
||
HOMEPAGE = https://www.cairographics.org | ||
COMMENT = Cairo is a 2D graphics library with support for multiple output devices. | ||
LICENSE = GPLv2 | ||
|
||
GNU_CONFIGURE = 1 | ||
CONFIGURE_ARGS = -Dtests=disabled | ||
ADDITIONAL_CPPFLAGS = -O | ||
|
||
include ../../mk/spksrc.cross-meson.mk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
lnk:lib/libcairo-gobject.so | ||
lnk:lib/libcairo-gobject.so.2 | ||
lib:lib/libcairo-gobject.so.2.11804.4 | ||
lnk:lib/libcairo-script-interpreter.so | ||
lnk:lib/libcairo-script-interpreter.so.2 | ||
lib:lib/libcairo-script-interpreter.so.2.11804.4 | ||
lnk:lib/libcairo.so | ||
lnk:lib/libcairo.so.2 | ||
lib:lib/libcairo.so.2.11804.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cairo-1.18.4.tar.xz SHA1 0331eaa0ec3b0dfe859b6d966e572dfaac7d1d90 | ||
cairo-1.18.4.tar.xz SHA256 445ed8208a6e4823de1226a74ca319d3600e83f6369f99b14265006599c32ccb | ||
cairo-1.18.4.tar.xz MD5 db575fb41bbda127e0147e401f36f8ac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,12 @@ | ||
PKG_NAME = cairo | ||
PKG_VERS = 1.16.0 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://www.cairographics.org/releases/ | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
PKG_NAME = cairo-main | ||
|
||
DEPENDS = cross/libpng cross/freetype cross/pixman cross/fontconfig cross/glib | ||
OPTIONAL_DEPENDS = cross/cairo-latest | ||
OPTIONAL_DEPENDS += cross/cairo-1.16 | ||
|
||
HOMEPAGE = https://www.cairographics.org | ||
COMMENT = Cairo is a 2D graphics library with support for multiple output devices. | ||
LICENSE = GPLv2 | ||
include ../../mk/spksrc.main-depends.mk | ||
|
||
GNU_CONFIGURE = 1 | ||
CONFIGURE_ARGS = --disable-static --disable-trace --enable-gobject | ||
ADDITIONAL_CPPFLAGS = -O | ||
|
||
# Use custom build and install targets, since configure does not support | ||
# to disable the build of code in the sub folders: test, perf, boilderplate. | ||
# But this needs a lot of build resources, and it will never run as we are | ||
# cross compiling. | ||
# This (old) blog shows, that it is not intended to enable test code skipping: | ||
# https://lists.cairographics.org/archives/cairo/2014-July/025373.html | ||
COMPILE_TARGET = cairo_compile | ||
INSTALL_TARGET = cairo_install | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
.PHONY: cairo_compile | ||
cairo_compile: | ||
@$(MSG) Build without tests | ||
@$(RUN) $(MAKE) -C src $(COMPILE_MAKE_OPTIONS) | ||
@$(RUN) $(MAKE) -C util $(COMPILE_MAKE_OPTIONS) | ||
|
||
.PHONY: cairo_install | ||
cairo_install: | ||
@$(MSG) Install without building tests | ||
@$(RUN) $(MAKE) -C src install DESTDIR=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX) | ||
@$(RUN) $(MAKE) -C util install DESTDIR=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX) | ||
ifeq ($(findstring $(ARCH),$(OLD_PPC_ARCHS) $(ARMv5-ARCHS)),$(ARCH)) | ||
DEPENDS = cross/cairo-1.16 | ||
else | ||
DEPENDS = cross/cairo-latest | ||
endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fribidi-1.0.15.tar.xz SHA1 b602ab591d05dd4f96dd6ff664fbe2f153cfd2a2 | ||
fribidi-1.0.15.tar.xz SHA256 0bbc7ff633bfa208ae32d7e369cf5a7d20d5d2557a0b067c9aa98bcbf9967587 | ||
fribidi-1.0.15.tar.xz MD5 ccf2b019162b4e5e6569875d0641bc5f | ||
fribidi-1.0.16.tar.xz SHA1 5ba608506055bd0df5f856cef155f0550f9ff47e | ||
fribidi-1.0.16.tar.xz SHA256 1b1cde5b235d40479e91be2f0e88a309e3214c8ab470ec8a2744d82a5a9ea05c | ||
fribidi-1.0.16.tar.xz MD5 333ad150991097a627755b752b87f9ff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
lnk:lib/liblcms2.so | ||
lnk:lib/liblcms2.so.2 | ||
lib:lib/liblcms2.so.2.0.14 | ||
lib:lib/liblcms2.so.2.0.17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
lcms2-2.14.tar.gz SHA1 94350a2638fe58da736e8726048c859b46a69e6f | ||
lcms2-2.14.tar.gz SHA256 28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740 | ||
lcms2-2.14.tar.gz MD5 7f7baa3e605c961b9301135105ee9a34 | ||
lcms2-2.17.tar.gz SHA1 213382ca260cf761f264f185407f75bb1c6e2ce8 | ||
lcms2-2.17.tar.gz SHA256 d11af569e42a1baa1650d20ad61d12e41af4fead4aa7964a01f93b08b53ab074 | ||
lcms2-2.17.tar.gz MD5 9f44275ee8ac122817e94fdc50ecce13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
libwebp-1.4.0.tar.gz SHA1 2baf78f0e23748632bf949a564660f07ea9e0a44 | ||
libwebp-1.4.0.tar.gz SHA256 12af50c45530f0a292d39a88d952637e43fb2d4ab1883c44ae729840f7273381 | ||
libwebp-1.4.0.tar.gz MD5 9778f9be63f04f16f9ca3a4f36503399 | ||
libwebp-1.6.0.tar.gz SHA1 6a5da51c23c8340e44a70421a5ef8bb1ae805ad2 | ||
libwebp-1.6.0.tar.gz SHA256 93a852c2b3efafee3723efd4636de855b46f9fe1efddd607e1f42f60fc8f2136 | ||
libwebp-1.6.0.tar.gz MD5 d498caf9323a24ce3ed40b84c22a32cd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Use cpu.h from libwebp 1.5.0 to fix definition of AVX2 related stuff. | ||
# | ||
# Without this fix, all intel archs (x86, x64, evansport) fail to build | ||
# due lacking definition of _mm256_cvtsi256_si32 and _mm256_storeu2_m128i | ||
# | ||
--- src/dsp/cpu.h.orig 2025-07-08 02:20:00.000000000 +0200 | ||
+++ src/dsp/cpu.h 2024-12-20 02:17:50.000000000 +0100 | ||
@@ -56,11 +56,6 @@ | ||
(defined(_M_X64) || defined(_M_IX86)) | ||
#define WEBP_MSC_SSE41 // Visual C++ SSE4.1 targets | ||
#endif | ||
- | ||
-#if defined(_MSC_VER) && _MSC_VER >= 1700 && \ | ||
- (defined(_M_X64) || defined(_M_IX86)) | ||
-#define WEBP_MSC_AVX2 // Visual C++ AVX2 targets | ||
-#endif | ||
#endif | ||
|
||
// WEBP_HAVE_* are used to indicate the presence of the instruction set in dsp | ||
@@ -85,16 +80,6 @@ | ||
#define WEBP_HAVE_SSE41 | ||
#endif | ||
|
||
-#if (defined(__AVX2__) || defined(WEBP_MSC_AVX2)) && \ | ||
- (!defined(HAVE_CONFIG_H) || defined(WEBP_HAVE_AVX2)) | ||
-#define WEBP_USE_AVX2 | ||
-#endif | ||
- | ||
-#if defined(WEBP_USE_AVX2) && !defined(WEBP_HAVE_AVX2) | ||
-#define WEBP_HAVE_AVX2 | ||
-#endif | ||
- | ||
-#undef WEBP_MSC_AVX2 | ||
#undef WEBP_MSC_SSE41 | ||
#undef WEBP_MSC_SSE2 | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.