Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-07-05 22:48:50 +00:00
4 changed files with 27 additions and 42 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
DIST siril-1.2.0.tar.bz2 4500147 BLAKE2B 7ff4fa5bf1b578336c82bd0f67e404fe47715640edae9cb231da4a3c6a30638612e77515049d56dd1d444965ad58f12d5e2516ad13d3e726f13242b11d91b954 SHA512 7df7b17d65a2aad9e0edd4b5022c1d23688ad8884a973d2195391234151aff0824e155ce949b385a951eaef71065a811f33b54e08b865ab5fa6c1d331841663c
DIST siril-1.2.1.tar.bz2 4596163 BLAKE2B c461a397e623164ccb2310b26aede120bf587b3491a2af3fab446af5ecbfb716169120b549c496bb615d3b7ac6175629258173fe66682ef4684ef5cf01d64761 SHA512 352b3e761a2d863d4ce4e01b0bf4181d8fefa903478973b50ace76ff419dbf07775099a994e685cd83cc2210b34ca10fb98004cedfdea34fe0c1520b4892bb6d
DIST siril-1.2.3.tar.bz2 4615997 BLAKE2B f8464849fad03faca07f238b3abd08c59126dab567666d92f1a53d2cea302608fe40b5532c6544029e869c639d1fc625c8ccc98779e678457713675c43225a74 SHA512 52cfa86ce0ddede42a3572c3d422cccca72da02a6efe207231ec98de9d59cc48704edd35e8ae83e86318e6980ce80eca3b9dba639e93f8551355a1328156ed9a
@@ -1,39 +0,0 @@
* asturm 2023-08-20: Combination of two commits from upstream git master
3c2579cd: Pick the only hunk relevant for exiv2-0.28...
64583490: Blend with that to fix build w/o exiv2 and fix indendation...
From 3c2579cd171314f7e408c00bc8e793330dcc07ba Mon Sep 17 00:00:00 2001
From: Cyril Richard <cyril.richard42@gmail.com>
Date: Sun, 4 Jun 2023 22:10:55 +0000
Subject: [PATCH] XISF image import
From 64583490214302f4057cf223d7591be9d2172a4f Mon Sep 17 00:00:00 2001
From: Vincent Hourdin <vh@free-astro.org>
Date: Mon, 5 Jun 2023 00:27:56 +0200
Subject: [PATCH] fixing exiv2 as optional
--- a/src/core/exif.cpp
+++ b/src/core/exif.cpp
@@ -121,10 +121,18 @@
#endif
}
+#ifdef HAVE_EXIV2
+#if EXIV2_TEST_VERSION(0,28,0)
+typedef Exiv2::Image::UniquePtr ImagePtr;
+#else
+typedef Exiv2::Image::AutoPtr ImagePtr;
+#endif
+#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;
--
GitLab
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git"
else
SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2"
KEYWORDS="amd64 ~x86"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${PV/_/-}"
fi
@@ -52,7 +52,8 @@ BDEPEND="dev-build/cmake
PATCHES=(
"${FILESDIR}/${PN}-docfiles.patch"
"${FILESDIR}/${PN}-1.2-exiv2-0.28.patch" # bug 906499
"${FILESDIR}/${PN}-1.2-fseek64-musl.patch"
"${FILESDIR}/${PN}-1.2.1-options.patch"
)
DOCS=( README.md NEWS ChangeLog AUTHORS )
@@ -0,0 +1,23 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Preparing acquisition files for processing with the SiriL software"
HOMEPAGE="https://gitlab.com/free-astro/sirilic"
SRC_URI="https://gitlab.com/free-astro/sirilic/-/archive/V${PV}/${PN}-V${PV}.tar.bz2"
S="${WORKDIR}/${PN}-V${PV}"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/wxpython-4.2:4.0[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"