From d31499e9228d8739279d3d276f0742775e50ef34aa317c151cc3f9dfb226b010 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 5 Oct 2023 11:00:05 +0000 Subject: [PATCH] Accepting request 1112672 from home:polslinux:branches:graphics - Update to 1.2.0: * Fixed crash in background extraction samples removing (#1123) * Fixed crash in binning with ushort images (4d4d4878) * Fixed crash in findstar when a large saturated patch was close to border * Fixed memory leaks in deconvolution code (3e122ad7) * Fixed sorting in the rightmost columns in Dynamic PSF window (75586c04) * Added logging typed command in stdout (06f67292) * Improved path-checking and messages for astrometry.net local solver (Windows) (!524) * Prevent crash using recomposition tool eyedroppers without images loaded (!526) * Fixed HaOiii script failure if input image has odd dimensions (!533) * Fixed errors in GNUplot process handling (!538) * Fixed crash with seqextract_HaOIII command (!535) * Fixed crash when trying to export csv from empty plot (#1150) * Fixed deleting RA/Dec info when undoing an astrometry solve (#1119) * Improved error detection and messages for astrometry (!516) * Fixed sampling range specification for siril internal solver (!549) * Fixed all command descriptions (!546) * Fixed SER orientation after AVI conversion (#1120) * Fixed rescaling float images upon loading when not in [0,1] range (#1155) * Fixed initialization of guide image for clamping (#1114) * Fixed disabling weighting in the GUI when widget is not visible (#1158) * Fixed output_norm behavior for stacking to ignore border values (#1159) * Fixed the check for the no space left condition in the conversion (#1108) * Fixed DATE_OBS missing on seqapplyreg if interp was set to NONE (#1156) * Fixed photometry issue with 8-bit .ser file (#1160) * Fixed removing zero values in histogram calculations (#1164) * Fixed pixel sizes after HaOIII extrcation (#1175) * Fixed crash when passing only constants in pm expression (#1176) * Fixed incorrect channel when adding star from selection in RGB vport (#1180) * Allow to access to non-local disk (#1182) OBS-URL: https://build.opensuse.org/request/show/1112672 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=42 --- 0001-Fix-compilation-with-Exiv-0.28.patch | 26 -------- fix-exiv2.patch | 22 +++++++ siril-1.0.6.tar.bz2 | 3 - siril-1.2.0.tar.bz2 | 3 + siril.changes | 73 +++++++++++++++++++++++ siril.spec | 10 ++-- 6 files changed, 104 insertions(+), 33 deletions(-) delete mode 100644 0001-Fix-compilation-with-Exiv-0.28.patch create mode 100644 fix-exiv2.patch delete mode 100644 siril-1.0.6.tar.bz2 create mode 100644 siril-1.2.0.tar.bz2 diff --git a/0001-Fix-compilation-with-Exiv-0.28.patch b/0001-Fix-compilation-with-Exiv-0.28.patch deleted file mode 100644 index 45972c4..0000000 --- a/0001-Fix-compilation-with-Exiv-0.28.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 15d475774e4f9e0498618466f8e349070688f4dc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20Br=C3=BCns?= -Date: Fri, 23 Jun 2023 16:35:09 +0200 -Subject: [PATCH] Fix compilation with Exiv 0.28 - -Extracted from commit a593c2b10c9090b5f991718148d61c0fa156fb41. ---- - src/core/exif.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/exif.cpp b/src/core/exif.cpp -index 6bc5c52..266abec 100644 ---- a/src/core/exif.cpp -+++ b/src/core/exif.cpp -@@ -108,7 +108,7 @@ int siril_get_thumbnail_exiv(const char *path, uint8_t **buffer, size_t *size, c - //std::cerr << "[exiv2] "<< path << ": found thumbnail "<< preview.width() << "x" << preview.height() << std::endl; - memcpy(*buffer, tmp, _size); - return 0; -- } catch (Exiv2::AnyError &e) { -+ } catch (Exiv2::Error &e) { - std::string s(e.what()); - std::cerr << "[exiv2]: " << s << std::endl; - return 1; --- -2.41.0 - diff --git a/fix-exiv2.patch b/fix-exiv2.patch new file mode 100644 index 0000000..457324a --- /dev/null +++ b/fix-exiv2.patch @@ -0,0 +1,22 @@ +Index: siril-1.2.0/src/core/exif.cpp +=================================================================== +--- siril-1.2.0.orig/src/core/exif.cpp ++++ siril-1.2.0/src/core/exif.cpp +@@ -121,10 +121,16 @@ int siril_get_thumbnail_exiv(const char + #endif + } + ++#if EXIV2_TEST_VERSION(0,28,0) ++ typedef Exiv2::Image::UniquePtr ImagePtr; ++#else ++ typedef Exiv2::Image::AutoPtr ImagePtr; ++#endif ++ + gchar* siril_get_date_from_exif(const char *filename) { + #ifdef HAVE_EXIV2 + try { +- Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(WIDEN(filename)); ++ ImagePtr image = Exiv2::ImageFactory::open(WIDEN(filename)); + if (image.get() == 0) { + fprintf(stderr, "Error Cannot open the file.\n"); + return NULL; diff --git a/siril-1.0.6.tar.bz2 b/siril-1.0.6.tar.bz2 deleted file mode 100644 index d82a026..0000000 --- a/siril-1.0.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:994a6c4c1508e339b5904b6dc8b3f91f9371d6f826d390b4763880f28a493017 -size 2893872 diff --git a/siril-1.2.0.tar.bz2 b/siril-1.2.0.tar.bz2 new file mode 100644 index 0000000..a0ee1d6 --- /dev/null +++ b/siril-1.2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a64aa3a1b718366c0e6b551b04a08d44e6c85dbff13273671dfeb17735352650 +size 4500147 diff --git a/siril.changes b/siril.changes index 5506917..342597e 100644 --- a/siril.changes +++ b/siril.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Thu Sep 21 05:49:59 UTC 2023 - Paolo Stivanin + +- Update to 1.2.0: + * Fixed crash in background extraction samples removing (#1123) + * Fixed crash in binning with ushort images (4d4d4878) + * Fixed crash in findstar when a large saturated patch was close to border + * Fixed memory leaks in deconvolution code (3e122ad7) + * Fixed sorting in the rightmost columns in Dynamic PSF window (75586c04) + * Added logging typed command in stdout (06f67292) + * Improved path-checking and messages for astrometry.net local solver (Windows) (!524) + * Prevent crash using recomposition tool eyedroppers without images loaded (!526) + * Fixed HaOiii script failure if input image has odd dimensions (!533) + * Fixed errors in GNUplot process handling (!538) + * Fixed crash with seqextract_HaOIII command (!535) + * Fixed crash when trying to export csv from empty plot (#1150) + * Fixed deleting RA/Dec info when undoing an astrometry solve (#1119) + * Improved error detection and messages for astrometry (!516) + * Fixed sampling range specification for siril internal solver (!549) + * Fixed all command descriptions (!546) + * Fixed SER orientation after AVI conversion (#1120) + * Fixed rescaling float images upon loading when not in [0,1] range (#1155) + * Fixed initialization of guide image for clamping (#1114) + * Fixed disabling weighting in the GUI when widget is not visible (#1158) + * Fixed output_norm behavior for stacking to ignore border values (#1159) + * Fixed the check for the no space left condition in the conversion (#1108) + * Fixed DATE_OBS missing on seqapplyreg if interp was set to NONE (#1156) + * Fixed photometry issue with 8-bit .ser file (#1160) + * Fixed removing zero values in histogram calculations (#1164) + * Fixed pixel sizes after HaOIII extrcation (#1175) + * Fixed crash when passing only constants in pm expression (#1176) + * Fixed incorrect channel when adding star from selection in RGB vport (#1180) + * Allow to access to non-local disk (#1182) + * Allow the Star Recomposition UI to scroll when larger than the dialog (#1172) + * Fixed wrong Bayer interpretation after FITS-SER conversion (#1193) + * Fixed pixelmath argument parsing error (#1189) + * Fixed handling of special characters in sequence name during conversion + * Fixed crash in seqstarnet when processing single-file sequences (SER, FITSEQ) + * Fixed hang in seqstarnet when processing a single-file sequence with no star mask + * Fixed using default masters names in calibrate (GUI) + * Fixed invoking external programs in CLI mode (Windows only) + * Fixed stream setting for all versions of ffmpeg (mp4 export crash) + * Fixed crash when doing manual registration of sequence with variable image sizes (now disabled) + * Fixed UI and command issues in deconvolution code + * Fixed star recomposition issue where LIVETIME and STACKCNT could be doubled when processing + the starless and star mask parts of the same image + * Fixed “image copy error in previews” bug in asinh transformation + * Fixed reset of the viewports when reopening the RGB composition tool after opening a mono sequence + * Fixed star detection for undersampled mono images + * Fixed sequence cleaning with opened image and resetting the reference image + * Fixed photometry with 32bit images from PRISM + * Fixed incorrect behaviour when resetting right-hand stretch type in star recomposition tool + * Fixed sequence handling when images have different number of layers + * Fixed GNUplot terminals so they remain interactive and free resources when closed + * Fixed crash that could occur when parsing string keywords that contained forbidden characters + * Fixed calling external processes that left too many opened file descriptors + * Fixed Stop behavior for starnet and local astrometry.net + * Fixed crash when running merge_cfa in headless mode + * Fixed console logs output on Windows when messages contained widechars + * Fixed networking detection at build-time and made it and exiv2 optional + * Fixed bug in NetPBM file import + * Changed gnuplot initialization to keep plots open after stopping main process (and fixed leak) + * Changed image opening for all images not from Siril (ensures DATAMAX is correct) + * Improved parsing of localization data for wider imaging software compatibility + * Improved DATE-OBS control and log for solar system features + * Improved clipping model in luminance-based GHS stretches + * Improved Wayland support + * Reviewed and fixed coordinate conversion from WCS to display for annotations, nomad command, pcc + * Improved astrometry.net handling on Windows to support more recent cygwin builds + * Updated URLs to query online catalogs +- Drop upstreamed 0001-Fix-compilation-with-Exiv-0.28.patch. +- Add fix-exiv2.patch. + ------------------------------------------------------------------- Fri Jun 23 14:36:11 UTC 2023 - Stefan Brüns diff --git a/siril.spec b/siril.spec index 5402fc1..dcd1925 100644 --- a/siril.spec +++ b/siril.spec @@ -17,23 +17,25 @@ Name: siril -Version: 1.0.6 +Version: 1.2.0 Release: 0 Summary: An astronomical image processing software for Linux. (IRIS clone) License: BSL-1.0 AND GPL-3.0-or-later Group: Productivity/Scientific/Physics URL: https://www.siril.org/ Source: https://gitlab.com/free-astro/siril/-/archive/%{version}/siril-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM -- https://gitlab.com/free-astro/siril/-/commit/a593c2b10c9090b5f991718148d61c0fa156fb41 -Patch0: 0001-Fix-compilation-with-Exiv-0.28.patch +Patch0: fix-exiv2.patch +BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: meson >= 0.53.0 +BuildRequires: libheif-devel +BuildRequires: meson >= 0.56.0 BuildRequires: pkgconfig BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(exiv2) >= 0.25 BuildRequires: pkgconfig(ffms2) BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(glib-2.0) >= 2.56.0 BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.0 BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.6