mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Replace libjpeg with libjpeg-turbo entirely
This commit is contained in:
parent
b6f9f8b249
commit
c853efdeb2
@ -9,7 +9,7 @@ dependencies = [
|
||||
"glib",
|
||||
"libffi",
|
||||
"libiconv",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"pcre2",
|
||||
"shared-mime-info",
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
# libjpeg is now provided by libjpeg-turbo
|
||||
# libjpeg-turbo is compatible with libjpeg
|
||||
[source]
|
||||
tar = "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.0/libjpeg-turbo-3.1.0.tar.gz"
|
||||
blake3 = "3efc14da55c56fc0a6a50f109d9e1ee8a91f5ae7dd17a21d3aebe04a65f3ee96"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = ""
|
||||
|
||||
[package]
|
||||
dependencies = ["libjpeg-turbo"]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cmake
|
||||
"""
|
||||
|
||||
@ -16,7 +16,7 @@ dependencies = [
|
||||
"llvm18",
|
||||
"lz4",
|
||||
"libffi",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"libtiff",
|
||||
"openexr",
|
||||
|
||||
@ -38,7 +38,7 @@ dependencies = [
|
||||
"libcdr",
|
||||
"libgsl",
|
||||
"libgspell-gtk3",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"liblcms",
|
||||
"liblapack",
|
||||
]
|
||||
|
||||
@ -24,7 +24,7 @@ dependencies = [
|
||||
"libmypaint",
|
||||
"boost",
|
||||
"libheif",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libjxl",
|
||||
"kf5-extra-cmake-modules",
|
||||
"kf5-completion",
|
||||
|
||||
@ -20,7 +20,7 @@ dependencies = [
|
||||
"libepoxy",
|
||||
"libffi",
|
||||
"libiconv",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"libpthread-stubs",
|
||||
"libx11",
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
[source]
|
||||
tar = "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.0/libjpeg-turbo-3.1.0.tar.gz"
|
||||
blake3 = "3efc14da55c56fc0a6a50f109d9e1ee8a91f5ae7dd17a21d3aebe04a65f3ee96"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cmake
|
||||
"""
|
||||
@ -8,7 +8,7 @@ template = "custom"
|
||||
dependencies = [
|
||||
"imath",
|
||||
"libtiff",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"openexr",
|
||||
"libfmt",
|
||||
#"libpng",
|
||||
|
||||
@ -27,7 +27,7 @@ dependencies = [
|
||||
"libgpg-error",
|
||||
"libiconv",
|
||||
"libicu",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"libpsl",
|
||||
"libpthread-stubs",
|
||||
@ -138,4 +138,6 @@ cookbook_cmake \
|
||||
-DUSE_WOFF2=OFF
|
||||
patchelf --replace-needed "${COOKBOOK_SYSROOT}/usr/lib/libsqlite3.so" "libsqlite3.so" "${COOKBOOK_STAGE}/usr/lib/libwebkit2gtk-4.1.so"
|
||||
patchelf --replace-needed "${COOKBOOK_SYSROOT}/usr/lib/libsqlite3.so" "libsqlite3.so" "${COOKBOOK_STAGE}/usr/libexec/webkit2gtk-4.1/MiniBrowser"
|
||||
mkdir -p "${COOKBOOK_STAGE}/usr/bin"
|
||||
ln -sr "${COOKBOOK_STAGE}/usr/libexec/webkit2gtk-4.1/MiniBrowser" "${COOKBOOK_STAGE}/usr/bin/MiniBrowser"
|
||||
"""
|
||||
|
||||
@ -19,7 +19,7 @@ dependencies = [
|
||||
"libhyphen",
|
||||
"libxml2",
|
||||
"libxslt",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"zlib",
|
||||
"glib",
|
||||
|
||||
@ -6,7 +6,7 @@ tar = "https://apache.org/dyn/closer.lua/guacamole/1.5.5/source/guacamole-server
|
||||
template = "configure"
|
||||
dependencies = [
|
||||
"cairo",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libpng",
|
||||
"libuuid",
|
||||
"libssh2",
|
||||
|
||||
@ -23,7 +23,7 @@ dependencies = [
|
||||
"glib",
|
||||
"gtk3",
|
||||
"harfbuzz",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"pango",
|
||||
"libpng",
|
||||
"librsvg",
|
||||
|
||||
@ -15,7 +15,7 @@ dependencies = [
|
||||
"lame",
|
||||
"libass",
|
||||
"libiconv",
|
||||
"libjpeg-turbo",
|
||||
"libjpeg",
|
||||
"libogg",
|
||||
"libsamplerate",
|
||||
"libtheora",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user