- 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
23 lines
717 B
Diff
23 lines
717 B
Diff
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;
|