mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/babl: upgrade to 0.1.106
This commit is contained in:
parent
7ec33f8738
commit
f47ebbf712
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=babl
|
pkgname=babl
|
||||||
pkgver=0.1.104
|
pkgver=0.1.106
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="Dynamic, any to any, pixel format conversion library"
|
pkgdesc="Dynamic, any to any, pixel format conversion library"
|
||||||
url="https://gegl.org/babl"
|
url="https://gegl.org/babl"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -12,7 +12,6 @@ subpackages="$pkgname-dev $pkgname-tools"
|
|||||||
source="https://download.gimp.org/pub/babl/${pkgver%.*}/babl-$pkgver.tar.xz
|
source="https://download.gimp.org/pub/babl/${pkgver%.*}/babl-$pkgver.tar.xz
|
||||||
arm-neon-v1.patch
|
arm-neon-v1.patch
|
||||||
git.patch
|
git.patch
|
||||||
s390x-lut-disable.patch
|
|
||||||
"
|
"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -49,8 +48,7 @@ tools() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e752de823d627eb1af957b4dd30e3b3d9f8acc7e3592e2c8659288b7edb9b621edba19269c6d7eca07477ee8bb149e2db375fe7e55d6dcab3801269d9fc2082f babl-0.1.104.tar.xz
|
97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943 babl-0.1.106.tar.xz
|
||||||
8c73e601fc376ed4aab10193d6060b2a2d49f2f71062ae8478335ec1eab488adf44bf6c1fe3258cf14375add7f2aa54f6eab4449f0dc3f5bdffec47ca18d166d arm-neon-v1.patch
|
8c73e601fc376ed4aab10193d6060b2a2d49f2f71062ae8478335ec1eab488adf44bf6c1fe3258cf14375add7f2aa54f6eab4449f0dc3f5bdffec47ca18d166d arm-neon-v1.patch
|
||||||
8208bd7a0e34508e14a68b1f67396d2804ff2f73db4e58d198b352891e72cc19db350c05c9fa6662b25ed4671073bd08410386ac34c88e20c618125909dd38c6 git.patch
|
8208bd7a0e34508e14a68b1f67396d2804ff2f73db4e58d198b352891e72cc19db350c05c9fa6662b25ed4671073bd08410386ac34c88e20c618125909dd38c6 git.patch
|
||||||
8165622d500289e5e3abd9cb5ec0bf28824b7c3b174c8938ac2a3ba66a2d249ac6d7bfbf5a153374d0cfdbae7c7aab53c786fdc7f76ad71b8bab2d29230919cd s390x-lut-disable.patch
|
|
||||||
"
|
"
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
Patch-Source: https://gitlab.gnome.org/GNOME/babl/-/commit/39dfcba9e342f10dfa8c7b8cb61d7f1faf9fc29a
|
|
||||||
--
|
|
||||||
From 39dfcba9e342f10dfa8c7b8cb61d7f1faf9fc29a Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org>
|
|
||||||
Date: Sat, 22 Apr 2023 15:29:33 +0200
|
|
||||||
Subject: [PATCH] LUT: disable when running on big-endian systems
|
|
||||||
|
|
||||||
We are crashing due to endian assumptions - we now only try to do the LUT
|
|
||||||
optimizations on little endian - no functionality is lost on big-endian
|
|
||||||
though conversion might be a tad slower. Hopefully fixing issue #91
|
|
||||||
---
|
|
||||||
babl/babl-fish-path.c | 8 ++++++++
|
|
||||||
1 file changed, 8 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c
|
|
||||||
index c01cc2d7c..ef195f8e5 100644
|
|
||||||
--- a/babl/babl-fish-path.c
|
|
||||||
+++ b/babl/babl-fish-path.c
|
|
||||||
@@ -648,6 +648,14 @@ _babl_legal_error (void)
|
|
||||||
else
|
|
||||||
enable_lut = 1;
|
|
||||||
|
|
||||||
+ {
|
|
||||||
+ const uint32_t u32 = 1;
|
|
||||||
+ if ( *((char*)&u32) == 0)
|
|
||||||
+ { /* disable use of LUTs if we are running on big endian */
|
|
||||||
+ enable_lut = 0;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
return error;
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user