darktable ver. bump

This commit is contained in:
Rmys
2026-05-21 15:04:28 +03:00
parent 29ff488773
commit 7755f44ee0
7 changed files with 56 additions and 1320 deletions
@@ -0,0 +1,21 @@
From 1435feaec30ea1acbf94aaec27ce7507333ed2d7 Mon Sep 17 00:00:00 2001
From: Pascal Obry <pascal@obry.net>
Date: Thu, 5 Feb 2026 17:56:21 +0100
Subject: [PATCH] Add 5.4.1 in appdata.
---
data/org.darktable.darktable.appdata.xml.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/org.darktable.darktable.appdata.xml.in b/data/org.darktable.darktable.appdata.xml.in
index 600c87b6c1e4..1a45de1eb74d 100644
--- a/data/org.darktable.darktable.appdata.xml.in
+++ b/data/org.darktable.darktable.appdata.xml.in
@@ -47,6 +47,7 @@
</screenshots>
<content_rating type="oars-1.1" />
<releases>
+ <release date="2026-02-05" version="5.4.1"/>
<release date="2025-12-21" version="5.4.0"/>
<release date="2025-08-06" version="5.2.1"/>
<release date="2025-06-21" version="5.2.0"/>
@@ -0,0 +1,53 @@
From 8dc68e2a4551f03838b7f2da9276e5d1eb20bca0 Mon Sep 17 00:00:00 2001
From: Alex Tutubalin <lexa@lexa.ru>
Date: Sun, 25 Jan 2026 19:56:24 +0300
Subject: [PATCH] Use LIBRAW_EXCEPTION instead of own internal in
losslessjpeg.h
---
internal/losslessjpeg.h | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/internal/losslessjpeg.h b/internal/losslessjpeg.h
index 7964822d..eced82b3 100644
--- a/src/external/LibRaw/internal/losslessjpeg.h
+++ b/src/external/LibRaw/internal/losslessjpeg.h
@@ -20,6 +20,7 @@ it under the terms of the one of two licenses as you choose:
#pragma once
#include <stdint.h>
#include <vector>
+#include "libraw_cxx_defs.h"
struct BitPump // generic bit source
{
@@ -37,12 +38,6 @@ struct BitPump // generic bit source
struct ByteStreamBE // Jpeg is always big endian
{
- enum Exceptions
- {
- OK = 0,
- EndOfBuffer = 1
- };
-
uint8_t *buffer;
unsigned size, pos;
ByteStreamBE(uint8_t *b, unsigned s) : buffer(b), size(s), pos(0) {}
@@ -52,7 +47,7 @@ struct ByteStreamBE // Jpeg is always big endian
uint8_t get_u8()
{
if (pos >= size)
- throw EndOfBuffer;
+ throw LIBRAW_EXCEPTION_IO_CORRUPT;
uint8_t ret = buffer[pos];
pos++;
return ret;
@@ -60,7 +55,7 @@ struct ByteStreamBE // Jpeg is always big endian
uint16_t get_u16()
{
if (pos + 2 > size)
- throw EndOfBuffer;
+ throw LIBRAW_EXCEPTION_IO_CORRUPT;
uint8_t r1 = buffer[pos];
uint8_t r2 = buffer[pos + 1];
pos += 2;