From b4ccf373e8de530244564678f6d30e9e58463b3f Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Mon, 24 Jun 2024 23:49:39 +0200 Subject: [PATCH 1/3] sci-astronomy/siril: add 1.2.3 Signed-off-by: Mario Haustein Signed-off-by: Jason Zaman --- sci-astronomy/siril/Manifest | 1 + sci-astronomy/siril/siril-1.2.3.ebuild | 93 ++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 sci-astronomy/siril/siril-1.2.3.ebuild diff --git a/sci-astronomy/siril/Manifest b/sci-astronomy/siril/Manifest index 2840ba6a92d88..cb5cfbd03c0b4 100644 --- a/sci-astronomy/siril/Manifest +++ b/sci-astronomy/siril/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/sci-astronomy/siril/siril-1.2.3.ebuild b/sci-astronomy/siril/siril-1.2.3.ebuild new file mode 100644 index 0000000000000..8b3fc3865d24d --- /dev/null +++ b/sci-astronomy/siril/siril-1.2.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson optfeature toolchain-funcs xdg + +DESCRIPTION="A free astronomical image processing software" +HOMEPAGE="https://siril.org/" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + 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" + S="${WORKDIR}/${PN}-${PV/_/-}" +fi + +LICENSE="GPL-3+ Boost-1.0" +SLOT="0" +IUSE="curl exif ffmpeg heif jpeg libconfig openmp png raw tiff wcs" + +DEPEND=" + >=dev-libs/glib-2.56.0:2 + >=dev-libs/json-glib-1.2.6 + media-libs/librtprocess + >=media-libs/opencv-4.4.0:= + sci-libs/cfitsio:= + sci-libs/fftw:3.0= + sci-libs/gsl:= + x11-libs/gdk-pixbuf:2 + x11-libs/cairo + x11-libs/pango + >=x11-libs/gtk+-3.20.0:3 + curl? ( net-misc/curl ) + exif? ( >=media-gfx/exiv2-0.25:= ) + ffmpeg? ( media-video/ffmpeg:= ) + heif? ( media-libs/libheif:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + libconfig? ( >=dev-libs/libconfig-1.4:=[cxx] ) + png? ( >=media-libs/libpng-1.6.0:= ) + raw? ( media-libs/libraw:= ) + tiff? ( media-libs/tiff:= ) + wcs? ( >=sci-astronomy/wcslib-7.7:= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND="dev-build/cmake + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}/${PN}-docfiles.patch" + "${FILESDIR}/${PN}-1.2-fseek64-musl.patch" + "${FILESDIR}/${PN}-1.2.1-options.patch" +) + +DOCS=( README.md NEWS ChangeLog AUTHORS ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local emesonargs=( + -Dffms2=false + -Dcriterion=false + $(meson_use exif exiv2) + $(meson_use ffmpeg) + $(meson_use heif libheif) + $(meson_use jpeg libjpeg) + $(meson_use libconfig) + $(meson_use openmp) + $(meson_use png libpng) + $(meson_use raw libraw) + $(meson_use tiff libtiff) + $(meson_use wcs wcslib) + $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update + optfeature "gnuplot support" sci-visualization/gnuplot +} From ebe0880735724b0da36d882d33a11f37d5f3a07d Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Fri, 14 Jun 2024 17:48:41 +0200 Subject: [PATCH 2/3] sci-astronomy/siril: drop 1.2.0 Closes: https://github.com/gentoo/gentoo/pull/37158 Signed-off-by: Mario Haustein Signed-off-by: Jason Zaman --- sci-astronomy/siril/Manifest | 1 - .../siril/files/siril-1.2-exiv2-0.28.patch | 39 -------- sci-astronomy/siril/siril-1.2.0.ebuild | 92 ------------------- 3 files changed, 132 deletions(-) delete mode 100644 sci-astronomy/siril/files/siril-1.2-exiv2-0.28.patch delete mode 100644 sci-astronomy/siril/siril-1.2.0.ebuild diff --git a/sci-astronomy/siril/Manifest b/sci-astronomy/siril/Manifest index cb5cfbd03c0b4..3dd2b5266b768 100644 --- a/sci-astronomy/siril/Manifest +++ b/sci-astronomy/siril/Manifest @@ -1,3 +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 diff --git a/sci-astronomy/siril/files/siril-1.2-exiv2-0.28.patch b/sci-astronomy/siril/files/siril-1.2-exiv2-0.28.patch deleted file mode 100644 index 8678316bfc87c..0000000000000 --- a/sci-astronomy/siril/files/siril-1.2-exiv2-0.28.patch +++ /dev/null @@ -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 -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 -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 diff --git a/sci-astronomy/siril/siril-1.2.0.ebuild b/sci-astronomy/siril/siril-1.2.0.ebuild deleted file mode 100644 index 70a659136663f..0000000000000 --- a/sci-astronomy/siril/siril-1.2.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature toolchain-funcs xdg - -DESCRIPTION="A free astronomical image processing software" -HOMEPAGE="https://siril.org/" - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - 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" - S="${WORKDIR}/${PN}-${PV/_/-}" -fi - -LICENSE="GPL-3+ Boost-1.0" -SLOT="0" -IUSE="curl exif ffmpeg heif jpeg libconfig openmp png raw tiff wcs" - -DEPEND=" - >=dev-libs/glib-2.56.0:2 - >=dev-libs/json-glib-1.2.6 - media-libs/librtprocess - >=media-libs/opencv-4.4.0:= - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/gsl:= - x11-libs/gdk-pixbuf:2 - x11-libs/cairo - x11-libs/pango - >=x11-libs/gtk+-3.20.0:3 - curl? ( net-misc/curl ) - exif? ( >=media-gfx/exiv2-0.25:= ) - ffmpeg? ( media-video/ffmpeg:= ) - heif? ( media-libs/libheif:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - libconfig? ( >=dev-libs/libconfig-1.4:=[cxx] ) - png? ( >=media-libs/libpng-1.6.0:= ) - raw? ( media-libs/libraw:= ) - tiff? ( media-libs/tiff:= ) - wcs? ( >=sci-astronomy/wcslib-7.7:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND="dev-build/cmake - x11-base/xorg-proto" - -PATCHES=( - "${FILESDIR}/${PN}-docfiles.patch" - "${FILESDIR}/${PN}-1.2-exiv2-0.28.patch" # bug 906499 -) - -DOCS=( README.md NEWS ChangeLog AUTHORS ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local emesonargs=( - -Dffms2=false - -Dcriterion=false - $(meson_use exif exiv2) - $(meson_use ffmpeg) - $(meson_use heif libheif) - $(meson_use jpeg libjpeg) - $(meson_use libconfig) - $(meson_use openmp) - $(meson_use png libpng) - $(meson_use raw libraw) - $(meson_use tiff libtiff) - $(meson_use wcs wcslib) - $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) - ) - meson_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update - optfeature "gnuplot support" sci-visualization/gnuplot -} From 5bc1e26e89408440f0220da0afdee82e4476e153 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Wed, 12 Jun 2024 17:20:27 +0200 Subject: [PATCH 3/3] sci-astronomy/sirilic: enable py3.12 Closes: https://github.com/gentoo/gentoo/pull/37132 Signed-off-by: Mario Haustein Signed-off-by: Jason Zaman --- .../sirilic/sirilic-1.15.8-r1.ebuild | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sci-astronomy/sirilic/sirilic-1.15.8-r1.ebuild diff --git a/sci-astronomy/sirilic/sirilic-1.15.8-r1.ebuild b/sci-astronomy/sirilic/sirilic-1.15.8-r1.ebuild new file mode 100644 index 0000000000000..dd5dcb825cc78 --- /dev/null +++ b/sci-astronomy/sirilic/sirilic-1.15.8-r1.ebuild @@ -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}"