Accepting request 1185077 from graphics:darktable

- Update to version 4.8.0:
  https://github.com/darktable-org/darktable/releases/tag/release-4.8.0
- Removed darktable-old-glib.patch

OBS-URL: https://build.opensuse.org/request/show/1185077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=111
This commit is contained in:
Ana Guerrero 2024-07-03 18:30:43 +00:00 committed by Git OBS Bridge
commit c5640c0cee
9 changed files with 21 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16edc0a070293e2d3cda4ea10e49bda9bde932e23f9e62e2fa2e7ac74acf7afd
size 6240188

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTxD5aGZSsOlJ/NlMMY3KEj+Um9OwUCZc+dswAKCRAY3KEj+Um9
O7xzAJ9rXJizIIWM2Rqm4j742Kq+RonN2gCguaAPzGvqJKkyWP37yzTUTbGEXk0=
=Am5w
-----END PGP SIGNATURE-----

3
darktable-4.8.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:419849e9015270e4075f2341c6b5532d3d1cccccfa8f19592cb2ea3ad17f9255
size 6256036

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTxD5aGZSsOlJ/NlMMY3KEj+Um9OwUCZm9aAQAKCRAY3KEj+Um9
OxfnAJ9bQ51MyoUo7NgipdSZ+1tCie/LwQCZAauqnR5T5Cyj6F1xBOO7UQQj//4=
=BpvK
-----END PGP SIGNATURE-----

View File

@ -1,30 +0,0 @@
Index: darktable/src/common/exif.cc
===================================================================
--- darktable.orig/src/common/exif.cc 2021-06-20 19:40:04.426410553 +0200
+++ darktable/src/common/exif.cc 2021-06-20 19:46:21.658809959 +0200
@@ -591,6 +591,13 @@ static bool dt_exif_read_iptc_tag(Exiv2:
}
#define FIND_IPTC_TAG(key) dt_exif_read_iptc_tag(iptcData, &pos, key)
+#if ! GLIB_CHECK_VERSION(2,40,0)
+static gboolean _str_is_ascii(const char *str)
+{
+ while(*str) if((guchar)*str++ >= 0x80) return FALSE;
+ return TRUE;
+}
+#endif
// FIXME: according to http://www.exiv2.org/doc/classExiv2_1_1Metadatum.html#63c2b87249ba96679c29e01218169124
// there is no need to pass iptcData
@@ -1776,7 +1783,11 @@ int dt_exif_read_blob(uint8_t **buf, con
if(res != NULL)
{
char *desc = (char *)res->data;
+#if GLIB_CHECK_VERSION(2,40,0)
if(g_str_is_ascii(desc))
+#else
+ if(_str_is_ascii(desc))
+#endif
exifData["Exif.Image.ImageDescription"] = desc;
else
exifData["Exif.Photo.UserComment"] = desc;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 1 14:34:50 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 4.8.0:
https://github.com/darktable-org/darktable/releases/tag/release-4.8.0
- Removed darktable-old-glib.patch
-------------------------------------------------------------------
Mon Mar 11 07:02:40 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -4,7 +4,7 @@ Section: graphics
Priority: optional
Binary: darktable darktable-tools-basecurve darktable-tools-noise
Architecture: any-amd64 any-arm64 any-ppc64el
Version: 4.6.1-1.1
Version: 4.8.0-1.1
Homepage: http://www.darktable.org/
# libavif-dev (>= 0.9.1),
Build-Depends: cmake (>= 3.18),

View File

@ -119,7 +119,7 @@
%endif
Name: darktable
Version: 4.6.1
Version: 4.8.0
Release: 0
%global pkg_name darktable
%global pkg_version %{version}
@ -133,8 +133,7 @@ Source97: darktable.dsc
Source98: debian.tar.xz
Source99: README.openSUSE
#
Patch0: darktable-old-glib.patch
Patch1: darktable-rawspeed-build-type-override.patch
Patch0: darktable-rawspeed-build-type-override.patch
#
ExclusiveArch: x86_64 aarch64 ppc64le
# build time tools

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c148cab25d5ad4ca6238c0ed6540579439f63aefa94c07621e28c1c5505f9a4
size 21328
oid sha256:36445c53170a76c9a81114ef1b24d9b9881cb224bef8df0c8ecbf88b5581ddd1
size 21700