commit rawtherapee for openSUSE:Factory

2024-10-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2024-10-07 21:49:50

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.19354 (New)


Package is "rawtherapee"

Mon Oct  7 21:49:50 2024 rev:11 rq:1205989 version:5.11

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2024-08-27 
19:38:59.383594980 +0200
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.19354/rawtherapee.changes   
2024-10-07 21:50:27.881840419 +0200
@@ -1,0 +2,5 @@
+Thu Oct  3 08:05:28 UTC 2024 - ecsos 
+
+- Fix build error in by cleanup gcc requirements.
+
+---



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.IYay96/_old  2024-10-07 21:50:28.549868228 +0200
+++ /var/tmp/diff_new_pack.IYay96/_new  2024-10-07 21:50:28.553868395 +0200
@@ -40,7 +40,7 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  libjxl-devel
 BuildRequires:  libpng-devel
-BuildRequires:  libraw-devel
+BuildRequires:  libraw-devel >= 0.21
 BuildRequires:  libtiff-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
@@ -58,39 +58,12 @@
 Conflicts:  rawtherapee-nosse-unstable
 Conflicts:  rawtherapee-stable-3.x
 Conflicts:  rawtherapee-unstable
-%if 0%{?suse_version} > 1320
-BuildRequires:  gcc-c++
-%endif
-%if 0%{?suse_version} == 1320
-BuildRequires:  gcc49-c++
-#!BuildIgnore:  libgcc_s1
-%endif
-%if 0%{?sle_version} == 120100
-# Leap 42.1 / SLE12SP2
-BuildRequires:  gcc5-c++
-%endif
-%if 0%{?sle_version} == 120200
-# Leap 42.2+ / SLE12SP2Backports
-%if 0%{?is_opensuse}
-BuildRequires:  gcc6-c++
-#!BuildIgnore:  libasan3
+%if 0%{?suse_version} <= 1600
+BuildRequires:  gcc12
+BuildRequires:  gcc12-c++
 %else
-BuildRequires:  gcc5-c++
-%endif
-%endif
-%if 0%{?sle_version} == 120300
-# Leap 42.3+ / SLE12SP2Backports
-%if 0%{?is_opensuse}
-BuildRequires:  gcc7-c++
-%else
-BuildRequires:  gcc5-c++
-%endif
-%endif
-%if 0%{?sle_version} == 120400
-BuildRequires:  gcc5-c++
-%endif
- %if 0%{?sle_version} == 120400 && !0%{?is_opensuse}
-BuildRequires:  gcc8-c++
+BuildRequires:  gcc
+BuildRequires:  gcc-c++
 %endif
 %if 0%{?suse_version} == 1315
 #!BuildIgnore:  libgcc_s1
@@ -134,7 +107,7 @@
 BuildRequires:  liblcms2-devel >= 2.6
 BuildRequires:  update-desktop-files
 Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
+Requires(postun):desktop-file-utils
 %else
 BuildRequires:  desktop-file-utils
 BuildRequires:  expat-devel
@@ -158,14 +131,10 @@
 %autosetup -p1
 
 %build
-test -x "$(type -p gcc-4.9)" && export CC=gcc-4.9
-test -x "$(type -p g++-4.9)" && export CXX=g++-4.9
-test -x "$(type -p gcc-5)" && export CC=gcc-5
-test -x "$(type -p g++-5)" && export CXX=g++-5
-test -x "$(type -p gcc-6)" && export CC=gcc-6
-test -x "$(type -p g++-6)" && export CXX=g++-6
-test -x "$(type -p gcc-7)" && export CC=gcc-7
-test -x "$(type -p g++-7)" && export CXX=g++-7
+%if 0%{?suse_version} <= 1600
+export CC=gcc-12
+export CXX=g++-12
+%endif
 
 # Adding -fno-tree-loop-vectorize due to 
https://github.com/Beep6581/RawTherapee/issues/5749
 export CFLAGS="%(echo %{optflags} | sed 's/-O2/-O3/' | sed 
's/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=3/') -fno-tree-loop-vectorize"


commit rawtherapee for openSUSE:Factory

2024-08-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2024-08-27 19:38:51

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.2698 (New)


Package is "rawtherapee"

Tue Aug 27 19:38:51 2024 rev:10 rq:1196121 version:5.11

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2024-02-22 
20:59:17.516865699 +0100
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.2698/rawtherapee.changes
2024-08-27 19:38:59.383594980 +0200
@@ -1,0 +2,56 @@
+Sat Aug 24 22:30:14 UTC 2024 - Joshua Smith 
+
+- Add libjxl and libraw to BuildRequires. Use system libraw and
+  allow jxl import.
+- Update to 5.11
+- The path template for queue export supports more format
+  specifiers, including dates and new path types. Additionally,
+  there is a preview to show the path for the selected image.
+- The maximum zoom for the editor is now configurable.
+- Pseudo HiDPI is replaced by real HiDPI.
+- The file browser has an option to show all images within
+  subfolders too.
+- The Use embedded option for the Input Profile is available for
+  DNGs that have an embedded DCP.
+- The Color appearance sub-tool in Selective Editing (formerly
+  Local Adjustments) received various improvements, including
+  simplification of the basic mode, addition of new tone mappers
+  for Cam16, a black and white mode, and a highlight attenuation
+  feature.
+- The White balance Tint range is expanded.
+- It is now possible to use Contrast by Detail Levels in Before
+  Black-and-White mode while Color Appearance & Lighting is
+  activated with CAM16.
+- Ratings and color labels can be synchronized with XMPs.
+- The Selective Editing tool received various improvements, such as
+  a global mode for applying edits to the entire image uniformly,
+  ΔE preview buttons for most sub-tools, and adjustable graduated
+  filter feathering for each sub-tool.
+- The EXIF modified date-time is now added to saved images.
+- R wTherapee can now read 12-bit Panasonic raw files encoded in the
+  v6 format, such as those from the DC-GH5M2.
+- RawTherapee can now read Panasonic raw files encoded in the v8
+  format, such as those from the DC-GH6, DC-S5M2, and DC-S5M2X.
+- RawTherapee can now read Fujifilm lossy-compressed raw files.
+- JPEG XL images can now be opened.
+- There is a new option to use lens corrections from the file me
+  adata. It works for compatible raw images from Fujifilm, Olympus /
+  OM Digital Solutions (distortion and chromatic aberration
+  corrections only), and Sony. Corrections embedded in DNGs can also
+  be used.
+- RawTherapee can leverage LibRaw (enabled by default) to read
+  raw images. It adds the ability to read additional raw formats,
+  such as Sony lossless compression, and improved support for some
+  cameras.
+- Added or improved support for cameras, raw formats and color
+  profiles (not including LibRaw and color matrices for dcraw):
+  FUJIFILM GFX 100 (PDAF lines filter), FUJIFILM GFX 100S (DCP, PDAF
+  lines filter), FUJIFILM GFX 100 II (PDAF lines filter), Fujifilm
+  X-H2S, Nikon Z 8 (DCP), Nikon Z 9 (DCP), Nikon Z f (DCP), OM
+  Digital Solutions TG-7, Panasonic DC-G9M2, Panasonic DC-GH5M2,
+  Panasonic DC-GH6, Panasonic DC-S5M2, Panasonic DC-S5M2X, Sony
+  ILCE-1 (Pixel shift), Sony ILCE-6700, Sony ILCE-7CR (PDAF lines
+  filter), Sony ILCE-7RM4 (PDAF lines filter), Sony ILCE-7RM5 (PDAF
+  lines filter), SONY ILCE-9M3
+
+---

Old:

  rawtherapee-5.10.tar.xz

New:

  rawtherapee-5.11.tar.xz



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.jJZ5jF/_old  2024-08-27 19:39:02.063707887 +0200
+++ /var/tmp/diff_new_pack.jJZ5jF/_new  2024-08-27 19:39:02.075708392 +0200
@@ -24,7 +24,7 @@
 %define liblcms2_name lcms2
 %endif
 Name:   rawtherapee
-Version:5.10
+Version:5.11
 Release:3%{?dist}
 Summary:Cross-platform raw image processing program
 License:GPL-3.0-only
@@ -38,7 +38,9 @@
 BuildRequires:  lensfun-devel
 BuildRequires:  libiptcdata-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  libjxl-devel
 BuildRequires:  libpng-devel
+BuildRequires:  libraw-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
@@ -185,6 +187,7 @@
 
 # FIXME: you should use the %%cmake macros
 cmake \
+-DWITH_SYSTEM_LIBRAW=1 \
 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 -DLIBDIR=%{_libdir} \
 -DCMAKE_BUILD_TYPE=release \
@@ -242,8 +245,6 @@
 %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicol

commit rawtherapee for openSUSE:Factory

2024-02-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2024-02-22 20:58:27

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.1706 (New)


Package is "rawtherapee"

Thu Feb 22 20:58:27 2024 rev:9 rq:1148890 version:5.10

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2023-03-21 
17:44:51.574786156 +0100
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.1706/rawtherapee.changes
2024-02-22 20:59:17.516865699 +0100
@@ -1,0 +2,57 @@
+Wed Feb 21 21:07:59 UTC 2024 - Joshua Smith 
+
+- Remove 6670.patch -- fixed upstream
+- Update to 5.10
+- Multiple custom external editors can be added and the external
+  editor can be chosen in the Editor tab.
+- The Favorites tab can be configured in Preferences. An option to
+  display Favorite tools in their original location has been added.
+- Metadata is now handled by Exiv2. CR3 metadata is supported.
+- When saving images in the TIFF file format, there is a new option
+  to use the BigTIFF format.
+- The DCP and LCP file paths saved to processing profiles have
+  better interoperability between Windows and Linux, and between
+  different computers.
+- The Tone Equalizer in Local Adjustments is now also available
+  in the Exposure tab. They have a new Pivot adjuster to shift the
+  range of affected tones. The Tone Equalizer in the Exposure tab
+  can display a tonal map for visualizing the tones.
+- The ICC profiles in the user configuration directory are
+  recognized.
+- The language selection in Preferences now show all language names
+  in their own language.
+- The Lensfun database directory can be changed in Preferences.
+- The color pickers in Film Negative (Color tab) now have
+  adjustable size.
+- Dynamic Profile Rules now has a File path filter.
+- The context menu for images (File Browser tab) received a new
+  option to sort images by name, date, rank, color label, or EXIF.
+- The Flat-Field tool (Raw tab) has a new From Metadata option for
+  applying DNG gain maps.
+- Temporary files generated by the external editor feature now have
+  more private file permissions.
+- The Color Appearance & Lighting tool (Advanced tab) received
+  various improvements.
+- The Abstract Profile in the Color Management tool (Color tab)
+  received a Gamut control option.
+- The L*a*b* Adjustments (Exposure tab) and Local Adjustments
+  (Local tab) tools received improvements to the Avoid color shift
+  option.
+- The Highlight reconstruction in the Exposure tool (Exposure
+  tab) has a new Inpaint Opposed method that usually offers
+  better reconstructed details than the Blend method and higher
+  reliability compared to the Color Propagation method.
+- The Temperature correlation automatic white balance method in the
+  White Balance tool (Color tab) received various improvements.
+- The Denoise section of the Blur/Grain & Denoise tool in Local
+  Adjustments (Local tab) has an improved interface.
+- Raw files from OM Digital Solutions cameras are supported.
+- The Dynamic Range Compression tool in the Exposure tab and in
+  Local Adjustments (Local tab) has improved behavior. The tool in
+  Local Adjustments received a Saturation control option.
+- The default value for the Show additional settings option for
+  new spots in Local Adjustments (Local tab) is now linked to the
+  Default complexity for Local Adjustments set in Preferences.
+- Added or improved support for many cameras and raw formats.
+
+---

Old:

  6670.patch
  rawtherapee-5.9.tar.xz

New:

  rawtherapee-5.10.tar.xz

BETA DEBUG BEGIN:
  Old:
- Remove 6670.patch -- fixed upstream
- Update to 5.10
BETA DEBUG END:



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.6FamES/_old  2024-02-22 20:59:18.240892168 +0100
+++ /var/tmp/diff_new_pack.6FamES/_new  2024-02-22 20:59:18.240892168 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rawtherapee
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2022 Marcin Bajor
 #
 # All modifications and additions to the file contributed by third parties
@@ -24,15 +24,13 @@
 %define liblcms2_name lcms2
 %endif
 Name:   rawtherapee
-Version:5.9
+Version:5.10
 Release:3%{?dist}
 Summary:Cross-platform raw image processing program
 License:GPL-3.0-only
 Group:  Productivity/Graphics/Other
 URL:https://rawtherapee.com
 Source0:https://rawtherapee.com/shared/source/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM - Fix build with gcc13 - 
https://github.com/

commit rawtherapee for openSUSE:Factory

2023-03-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2023-03-21 17:44:31

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.31432 (New)


Package is "rawtherapee"

Tue Mar 21 17:44:31 2023 rev:8 rq:1073527 version:5.9

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2022-11-30 
15:01:04.821744332 +0100
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.31432/rawtherapee.changes   
2023-03-21 17:44:51.574786156 +0100
@@ -1,0 +2,6 @@
+Tue Mar 21 08:29:17 UTC 2023 - Guillaume GARDET 
+
+- Backport patch to fix build with gcc13 on aarch64:
+  * 6670.patch
+
+---

New:

  6670.patch



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.rjYURW/_old  2023-03-21 17:44:52.314789651 +0100
+++ /var/tmp/diff_new_pack.rjYURW/_new  2023-03-21 17:44:52.318789670 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rawtherapee
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2022 Marcin Bajor
 #
 # All modifications and additions to the file contributed by third parties
@@ -31,6 +31,8 @@
 Group:  Productivity/Graphics/Other
 URL:https://rawtherapee.com
 Source0:https://rawtherapee.com/shared/source/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM - Fix build with gcc13 - 
https://github.com/Beep6581/RawTherapee/pull/6670
+Patch1: 6670.patch
 BuildRequires:  cmake
 BuildRequires:  fftw3-devel
 BuildRequires:  glib2-devel
@@ -153,6 +155,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 test -x "$(type -p gcc-4.9)" && export CC=gcc-4.9

++ 6670.patch ++
>From 311f3422fd25b8306a11186d866d902057fbccb2 Mon Sep 17 00:00:00 2001
From: Mattia Verga 
Date: Wed, 25 Jan 2023 14:16:19 +0100
Subject: [PATCH] Add missing include for GCC13 compatibility

Signed-off-by: Mattia Verga 

Guillaume: Updated to apply the patch
---
 rtengine/dcraw.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rtengine/dcraw.h b/rtengine/dcraw.h
index e0a6cda929..aadc0b9698 100644
--- a/rtengine/dcraw.h
+++ b/rtengine/dcraw.h
@@ -21,7 +21,7 @@
 
 #include "myfile.h"
 #include 
-
+#include 
 
 class DCraw
 {


commit rawtherapee for openSUSE:Factory

2022-11-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2022-11-30 15:00:05

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.1597 (New)


Package is "rawtherapee"

Wed Nov 30 15:00:05 2022 rev:7 rq:1039025 version:5.9

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2021-09-28 
19:17:49.348275011 +0200
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.1597/rawtherapee.changes
2022-11-30 15:01:04.821744332 +0100
@@ -1,0 +2,47 @@
+Tue Nov 29 21:11:21 UTC 2022 - Marcin Bajor 
+
+- Update to 5.9
+- The Spot Removal tool (Detail tab) was added, for removing dust specks and 
small objects.
+- The Color Appearance & Lighting tool (Advanced tab), formerly known as 
CIECAM02, now includes CAM16.
+  By taking into account the conditions of the photographed scene and the 
conditions under which the image is viewed, it allows you to adjust the image 
in a way which matches human color perception.
+- The Local Adjustments tool (Local tab) was added, for performing a wide 
range of operations on an area of the image determined by its geometry or color.
+- The Wavelet Levels tool (Advanced tab) received various improvements.
+- The White Balance tool (Color tab) received a new automatic white balance 
method named "temperature correlation" (the old one was renamed to "RGB grey").
+- The Film Negative tool (Color tab) received various improvements including 
support for non-raw files.
+- The Preprocess White Balance tool (Raw tab) was added, allowing you to 
specify whether channels should be balanced automatically or whether the white 
balance values recorded by the camera should be used instead.
+- A new Perspective Correction tool (Transform tab) was added which includes 
an automated perspective correction feature.
+- The Main Histogram was improved with new modes: waveform, vectorscope and 
RGB parade.
+- Improvements to the Inspect feature (File Browser tab).
+- New dual-demosaicing methods in the Demosaicing tool (Raw tab).
+- The Haze Removal tool (Detail tab) received a saturation adjuster.
+- The RawTherapee theme was improved, including changes to make it easier to 
see which tools are enabled.
+- The Navigator (Editor tab) can now be resized.
+- The Resize tool (Transform tab) now allows to resize by the long or short 
edge.
+- The Crop tool (Transform tab) received a "centered square" crop guide, 
useful when the resulting non-square image will also be used on social media 
which crop to a square format.
+- The Pixel Shift demosaicing method (Raw tab) now allows using an average of 
all frames for regions with motion.
+- Added or improved support for cameras, raw formats and color profiles:
+  Canon EOS 100D / Rebel SL1 / Kiss X7, Canon EOS 1DX Mark III, Canon EOS 
2000D / Rebel T7 / Kiss X90,
+  Canon EOS 400D DIGITAL, Canon EOS 5D Mark II, Canon EOS 5D Mark IV (DCP), 
Canon EOS 90D (DCP),
+  Canon EOS M6 Mark II (DCP), Canon EOS R (DCP), Canon EOS R3, R7 and R10, 
Canon EOS R5 (DCP), Canon EOS R6 (DCP),
+  Canon EOS RP, Canon EOS-1D Mark III, Canon EOS-1Ds, Canon EOS-1Ds Mark II, 
Canon PowerShot G1 X Mark II (DCP),
+  Canon PowerShot G9 X Mark II, Canon PowerShot S120 (DCP), Canon PowerShot 
SX50 HS, Canon PowerShot SX70 HS, DJI FC3170,
+  FUJIFILM X-A5 (DCP), FUJIFILM X-E4, FUJIFILM X-H1 (DCP), FUJIFILM X-PRO2, 
FUJIFILM X-PRO3 (DCP), FUJIFILM X-S10,
+  FUJIFILM X-T1, FUJIFILM X-T100, FUJIFILM X-T2, FUJIFILM X-T3 (DCP), FUJIFILM 
X-T30, FUJIFILM X-T4, FUJIFILM X100V,
+  Fujifilm GFX 100, Fujifilm GFX100S though lossy compression and alternative 
crop modes (e.g. 4:3) are not supported yet,
+  Fujifilm X-A20, Fujifilm X-T4, HASSELBLAD NEX-7 (Lunar), Hasselblad L1D-20c 
(DJI Mavic 2 Pro),
+  Improved support for the Canon CR3 raw format, added support for compressed 
files, affects Canon EOS M50, R, R5, R6 and 1D X Mark III, etc.,
+  LEICA C-LUX, LEICA CAM-DC25, LEICA D-LUX 7, LEICA M8, LEICA V-LUX 5, Leica 
SL2-S, NIKON COOLPIX P1000, NIKON D500 (DCP), NIKON D5300 (DCP),
+  NIKON D610 (DCP), NIKON D7100 (DCP), NIKON D7500 (DCP), NIKON D800 (DCP), 
NIKON D850 (DCP), NIKON Z 6 (DCP), NIKON Z 7 (DCP), Nikon 1 J4,
+  Nikon COOLPIX P950, Nikon D2Hs, Nikon D2Xs, Nikon D300s, Nikon D3500, Nikon 
D5100, Nikon D6, Nikon D70s, Nikon D780, Nikon D810A, Nikon Z 5,
+  Nikon Z 50 (DCP), Nikon Z 6II, Nikon Z 7II, Nikon Z fc, OLYMPUS E-M10 Mark 
IV, OLYMPUS E-M1 Mark III, OLYMPUS E-M1X, OLYMPUS E-M5 Mark II (DCP),
+  OLYMPUS E-M5 Mark III, OLYMPUS E-PL10, OLYMPUS E-PL9, OLYMPUS Stylus 1, 
OLYMPUS Stylus 1s, OLYMPUS TG-6, PENTAX K-50 (DCP), PENTAX K10D,
+  Panasonic DC-FZ1000M2, Panasonic DC-FZ80, Panasonic DC-FZ81, Panasonic 
DC-FZ82, Panasonic DC-FZ83, Panasonic DC-G100, Panasonic DC-G110,
+

commit rawtherapee for openSUSE:Factory

2021-09-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2021-09-28 19:16:51

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.1899 (New)


Package is "rawtherapee"

Tue Sep 28 19:16:51 2021 rev:6 rq:922020 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2021-06-01 
10:38:00.532868936 +0200
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.1899/rawtherapee.changes
2021-09-28 19:17:49.348275011 +0200
@@ -1,0 +2,6 @@
+Mon Sep 27 23:19:02 UTC 2021 - Marcin Bajor 
+
+- Backport patch for glibc 2.34 compatibility, add
+  fix-glibc_234-build.patch
+
+---

New:

  fix-glibc_234-build.patch



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.RMnq5L/_old  2021-09-28 19:17:49.864275605 +0200
+++ /var/tmp/diff_new_pack.RMnq5L/_new  2021-09-28 19:17:49.868275610 +0200
@@ -25,13 +25,14 @@
 %endif
 Name:   rawtherapee
 Version:5.8
-Release:2%{?dist}
+Release:3%{?dist}
 Summary:Cross-platform raw image processing program
 License:GPL-3.0-only
 Group:  Productivity/Graphics/Other
 URL:https://rawtherapee.com
 Source0:https://rawtherapee.com/shared/source/%{name}-%{version}.tar.xz
 Patch0: fix-segfault-on-exit.patch
+Patch1: fix-glibc_234-build.patch
 BuildRequires:  cmake
 BuildRequires:  fftw3-devel
 BuildRequires:  glib2-devel
@@ -155,6 +156,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 test -x "$(type -p gcc-4.9)" && export CC=gcc-4.9

++ fix-glibc_234-build.patch ++
diff --git a/rtengine/canon_cr3_decoder.cc b/rtengine/canon_cr3_decoder.cc
index 6274154cb..98c743dad 100644
--- a/rtengine/canon_cr3_decoder.cc
+++ b/rtengine/canon_cr3_decoder.cc
@@ -662,7 +662,7 @@ std::uint32_t _byteswap_ulong(std::uint32_t x)
 #endif
 
 struct LibRaw_abstract_datastream {
-IMFILE* ifp;
+rtengine::IMFILE* ifp;
 
 void lock()
 {
diff --git a/rtengine/dcraw.cc b/rtengine/dcraw.cc
index 812f122b3..5da696af2 100644
--- a/rtengine/dcraw.cc
+++ b/rtengine/dcraw.cc
@@ -2025,7 +2025,7 @@ void CLASS phase_one_load_raw_c()
 #endif
 {
 int len[2], pred[2];
-IMFILE ifpthr = *ifp;
+rtengine::IMFILE ifpthr = *ifp;
 ifpthr.plistener = nullptr;
 
 #ifdef _OPENMP
@@ -3380,7 +3380,7 @@ void CLASS sony_arw2_load_raw()
 {
 uchar *data = new (std::nothrow) uchar[raw_width + 1];
 merror(data, "sony_arw2_load_raw()");
-IMFILE ifpthr = *ifp;
+rtengine::IMFILE ifpthr = *ifp;
 int pos = ifpthr.pos;
 ushort pix[16];
 
@@ -6394,7 +6394,7 @@ int CLASS parse_tiff_ifd (int base)
   unsigned sony_curve[] = { 0,0,0,0,0,4095 };
   unsigned *buf, sony_offset=0, sony_length=0, sony_key=0;
   struct jhead jh;
-/*RT*/  IMFILE *sfp;
+/*RT*/  rtengine::IMFILE *sfp;
 /*RT*/  int pana_raw = 0;
 
   if (tiff_nifds >= sizeof tiff_ifd / sizeof tiff_ifd[0])
@@ -6958,7 +6958,7 @@ it under the terms of the one of two licenses as you 
choose:
 fread (buf, sony_length, 1, ifp);
 sony_decrypt (buf, sony_length/4, 1, sony_key);
 sfp = ifp;
-/*RT*/ ifp = fopen (buf, sony_length);
+/*RT*/ ifp = rtengine::fopen (buf, sony_length);
 // if ((ifp = tmpfile())) {
 // fwrite (buf, sony_length, 1, ifp);
 // fseek (ifp, 0, SEEK_SET);
@@ -7264,7 +7264,7 @@ void CLASS parse_external_jpeg()
 {
   const char *file, *ext;
   char *jname, *jfile, *jext;
-/*RT*/  IMFILE *save=ifp;
+/*RT*/  rtengine::IMFILE *save=ifp;
 
   ext  = strrchr (ifname, '.');
   file = strrchr (ifname, '/');
@@ -7292,7 +7292,7 @@ void CLASS parse_external_jpeg()
   *jext = '0';
 }
   if (strcmp (jname, ifname)) {
-/*RT*/if ((ifp = fopen (jname))) {
+/*RT*/if ((ifp = rtengine::fopen (jname))) {
 //if ((ifp = fopen (jname, "rb"))) {
   if (verbose)
fprintf (stderr,_("Reading metadata from %s ...\n"), jname);
diff --git a/rtengine/dcraw.h b/rtengine/dcraw.h
index 89c1fcaff..f25157088 100644
--- a/rtengine/dcraw.h
+++ b/rtengine/dcraw.h
@@ -73,7 +73,7 @@ public:
 
 protected:
 int exif_base, ciff_base, ciff_len;
-IMFILE *ifp;
+rtengine::IMFILE *ifp;
 FILE *ofp;
 short order;
 const char *ifname;
@@ -125,7 +125,7 @@ protected:
 int cur_buf_size;// buffer size
 uchar   *cur_buf;// currently read block
 int fillbytes;  // Counter to add extra byte for block 
size N*16
-IMFILE  *input;
+rtengine::IMFILE  *input;
 struct int_pair grad_even[3][41];// tables of gradients
 str

commit rawtherapee for openSUSE:Factory

2021-06-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rawtherapee for openSUSE:Factory 
checked in at 2021-06-01 10:37:00

Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old)
 and  /work/SRC/openSUSE:Factory/.rawtherapee.new.1898 (New)


Package is "rawtherapee"

Tue Jun  1 10:37:00 2021 rev:5 rq:895581 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes  2020-06-09 
00:10:42.434540122 +0200
+++ /work/SRC/openSUSE:Factory/.rawtherapee.new.1898/rawtherapee.changes
2021-06-01 10:38:00.532868936 +0200
@@ -1,0 +2,6 @@
+Wed May 26 08:30:03 UTC 2021 - Marcin Bajor 
+
+- Fix sgfault on exit, add patch fix-segfault-on-exit.patch
+  boo#1186455 
+
+---

Old:

  rawtherapee-5.8.tar.bz2

New:

  fix-segfault-on-exit.patch
  rawtherapee-5.8.tar.xz



Other differences:
--
++ rawtherapee.spec ++
--- /var/tmp/diff_new_pack.RZdUbK/_old  2021-06-01 10:38:01.388870394 +0200
+++ /var/tmp/diff_new_pack.RZdUbK/_new  2021-06-01 10:38:01.392870401 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package rawtherapee
 #
-# Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2020 Marcin Bajor
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2021 Marcin Bajor
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,45 @@
 #
 
 
-Name:   rawtherapee
-Version:5.8
-Release:1%{?dist}
-Summary:Cross-platform raw image processing program
-License:GPL-3.0-only
-Group:  Productivity/Graphics/Other
-URL:http://rawtherapee.com
-
 %define _name rawtherapee
-
 %if (0%{?suse_version} || 0%{?sles_version})
 %define liblcms2_name liblcms2-2
 %else
 %define liblcms2_name lcms2
 %endif
-
-Requires:   %{liblcms2_name} >= 2.6
-
+Name:   rawtherapee
+Version:5.8
+Release:2%{?dist}
+Summary:Cross-platform raw image processing program
+License:GPL-3.0-only
+Group:  Productivity/Graphics/Other
+URL:https://rawtherapee.com
+Source0:https://rawtherapee.com/shared/source/%{name}-%{version}.tar.xz
+Patch0: fix-segfault-on-exit.patch
 BuildRequires:  cmake
-
+BuildRequires:  fftw3-devel
+BuildRequires:  glib2-devel
+BuildRequires:  gtk3-devel
+BuildRequires:  lensfun-devel
+BuildRequires:  libiptcdata-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(glibmm-2.4)
+BuildRequires:  pkgconfig(gtkmm-2.4)
+Requires:   %{liblcms2_name} >= 2.6
+Conflicts:  rawtherapee-gtk2
+Conflicts:  rawtherapee-gtk2-nosse
+Conflicts:  rawtherapee-gtk2-nosse-unstable
+Conflicts:  rawtherapee-gtk2-unstable
+Conflicts:  rawtherapee-gtk3
+Conflicts:  rawtherapee-gtk3-nosse
+Conflicts:  rawtherapee-nosse
+Conflicts:  rawtherapee-nosse-unstable
+Conflicts:  rawtherapee-stable-3.x
+Conflicts:  rawtherapee-unstable
 %if 0%{?suse_version} > 1320
 BuildRequires:  gcc-c++
 %endif
@@ -44,12 +63,10 @@
 BuildRequires:  gcc49-c++
 #!BuildIgnore: libgcc_s1
 %endif
-
 %if 0%{?sle_version} == 120100
 # Leap 42.1 / SLE12SP2
 BuildRequires:  gcc5-c++
 %endif
-
 %if 0%{?sle_version} == 120200
 # Leap 42.2+ / SLE12SP2Backports
 %if 0%{?is_opensuse}
@@ -59,7 +76,6 @@
 BuildRequires:  gcc5-c++
 %endif
 %endif
-
 %if 0%{?sle_version} == 120300
 # Leap 42.3+ / SLE12SP2Backports
 %if 0%{?is_opensuse}
@@ -68,20 +84,15 @@
 BuildRequires:  gcc5-c++
 %endif
 %endif
-
 %if 0%{?sle_version} == 120400
 BuildRequires:  gcc5-c++
 %endif
-
+ %if 0%{?sle_version} == 120400 && !0%{?is_opensuse}
+BuildRequires:  gcc8-c++
+%endif
 %if 0%{?suse_version} == 1315
-#!Buildignore:  libgcc_s1
+#!BuildIgnore:  libgcc_s1
 %endif
-
-BuildRequires:  libiptcdata-devel
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  pkgconfig(glibmm-2.4)
-BuildRequires:  pkgconfig(gtkmm-2.4)
 %if 0%{?fedora_version} >= 24
 BuildRequires:  libsigc++20-devel
 %else
@@ -91,10 +102,6 @@
 BuildRequires:  libsigc++2-devel
 %endif
 %endif
-BuildRequires:  glib2-devel
-BuildRequires:  gtk3-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  zlib-devel
 %if (0%{?suse_version} || 0%{?sles_version})
 BuildRequires:  gtkmm3-devel
 %else
@@ -104,59 +111,39 @@
 BuildRequires:  gtkmm30-devel
 %endif
 %endif
-BuildRequires:  fftw3-devel
 %if (0%{?suse_version} > 1320 || 0%{?sle_version} > 120100) || 0%{?mageia}
 BuildRequires:  libcanberra-gtk3-devel
 %else
 BuildRequires:  libcanberra-devel
 %endif
-
+%ifarch x86_64
 %if 0%{?