diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 15:17:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 15:17:30 +0100 |
commit | 662f71ae67cd775d7fbb79b5091676c0e07a992b (patch) | |
tree | 74c7cb80b79b8886cd7466cf262878d1e8b9d546 /media-gfx/gthumb | |
parent | b2d3769042cfd3d8ceadaa52f6a5aafabb0d4114 (diff) |
gentoo auto-resync : 29:05:2023 - 15:17:30
Diffstat (limited to 'media-gfx/gthumb')
-rw-r--r-- | media-gfx/gthumb/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gthumb/files/3.12.2-date-format.patch | 32 | ||||
-rw-r--r-- | media-gfx/gthumb/gthumb-3.12.2-r5.ebuild | 113 |
3 files changed, 147 insertions, 0 deletions
diff --git a/media-gfx/gthumb/Manifest b/media-gfx/gthumb/Manifest index c4f2c2f2d09e..b7cba1703a83 100644 --- a/media-gfx/gthumb/Manifest +++ b/media-gfx/gthumb/Manifest @@ -1,5 +1,7 @@ +AUX 3.12.2-date-format.patch 1030 BLAKE2B 923887a29732aca84e24813594ed5543fa9561e94c6078a097a1b5d810f4a5207607aad0731539ec2a312930acbdaa234a37e6f85b07a96856d051f09a462250 SHA512 6af14e131aa401d0223879c4a42d615c3c798aac901e702fe93994e31bed5419f7438b05b7b8f739b8d3fea41255daf403da33582114f0c2cd7f94a0f799134f AUX 3.12.2-libraw-0.21.patch 2037 BLAKE2B c70fce8223c08c4bb9dafa5c03251314a30e28aa0ce51672f8677fcd55451c29a96f9c92ad3fc383a867435737069e07a701a30dbc2ecbc6b1cdcf69a1a3d8c5 SHA512 eb8b83ca35612abf8433f1ad87b0e50defe4ed3dff3140c6de95df79842f5ecc1f6620d935cdf087a1fd3dd9efc035a2d36c21953f876a7f33933b386d5a6240 AUX 3.12.2-link-with-x11.patch 419 BLAKE2B f13fc6aead441d83ba55fafd3528a96691c18bca894c5aed6f8e6e1a9084059ec1843668ef8f76697a866979de4d2aaed944ca1729dd6f49d0aa1af316ecb7cc SHA512 667aed7e8dae78b19e0df37ca7f03b565d87a2ffa05a8ef3e3460c3cc491c263ba29781b0659c9a57595e735d38d27ae78f37898011189514ff6a1c237d2b1bb DIST gthumb-3.12.2.tar.xz 7585700 BLAKE2B 9fb4fd934975fb775b82cf17028abd6d4ac3c31ee30458c377d36d3af97e59218e621d09768eebec096c64e3d01697bd3080409fd2191c2af29d84c9b53508c1 SHA512 5304b5cfefa4ced6a244db5a6e2880dad4f5a598654c9ea6c7707ddc0a766bdfa108f827a74e400168dbc338e35db519fffb7ac7382e0ee564771d56af3ac97c EBUILD gthumb-3.12.2-r4.ebuild 2660 BLAKE2B ce92692529ae557f15592ac114473684e02edc247a52ca8611a7383c4796081c0e9384c8288cad3d5f82e50123f6fa640029d4cf7a6fa7f4a6737b4219ef3454 SHA512 3da687298918166df375ed7d9e4caa0944e5ea7a8078373bd98b711a9ea3ea9e7eddbddc6200370412e813d16db21aa0e7dba6a4cb5d0f4a06a1d6e4db9894e3 +EBUILD gthumb-3.12.2-r5.ebuild 2710 BLAKE2B 7fa13e12b3cd6592230444ee66b27d0fa219e28ef64b5defe9430296186255e8fa386fb1b917b243c108ced9554bceca6a3d7b4b6bdf31b5eb734e8e0ce3bdb3 SHA512 ddfbfc3ae3658f7e5e4ceec8980a7f35737230857034c95a8792fe267a782529be705b5bd5127aff1651bf7a7d18680a8a9f02f9c8754f99f8615f16a3fdb23f MISC metadata.xml 584 BLAKE2B 49bd5d8d4d882c9ca655abf836e8fa61a14739014af854003b3d938746d6544fce40889ed4fbc4a0ae6ca8e3403e417162370527fca052cde0e1768676593ca0 SHA512 07d09fddf781226efec422772818203b3bda7eba456f39930003c4e5bbefef2c0d89a52c2473bdb26c8d7611259852c8b4a892c95dd60c7952005995f8558184 diff --git a/media-gfx/gthumb/files/3.12.2-date-format.patch b/media-gfx/gthumb/files/3.12.2-date-format.patch new file mode 100644 index 000000000000..1bc2309abf20 --- /dev/null +++ b/media-gfx/gthumb/files/3.12.2-date-format.patch @@ -0,0 +1,32 @@ +https://gitlab.gnome.org/GNOME/gthumb/-/issues/235 + +From 77b0e6186579fccfca8a516b1399564228e01793 Mon Sep 17 00:00:00 2001 +From: Paolo Bacchilega <paobac@src.gnome.org> +Date: Wed, 10 Aug 2022 07:49:00 +0200 +Subject: [PATCH] rename series: fixed date format not applied correctly + +Closes #235 +--- + extensions/rename_series/dlg-rename-series.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/extensions/rename_series/dlg-rename-series.c b/extensions/rename_series/dlg-rename-series.c +index 60c784fe..cc0612da 100644 +--- a/extensions/rename_series/dlg-rename-series.c ++++ b/extensions/rename_series/dlg-rename-series.c +@@ -162,6 +162,12 @@ template_eval_cb (TemplateFlags flags, + char *path; + GTimeVal timeval; + ++ if ((parent_code == 'D') || (parent_code == 'M')) { ++ /* strftime code, return the code itself. */ ++ _g_string_append_template_code (result, code, args); ++ return FALSE; ++ } ++ + switch (code) { + case '#': + text = _g_template_replace_enumerator (args[0], template_data->n); +-- +GitLab + diff --git a/media-gfx/gthumb/gthumb-3.12.2-r5.ebuild b/media-gfx/gthumb/gthumb-3.12.2-r5.ebuild new file mode 100644 index 000000000000..65ef7e3cae52 --- /dev/null +++ b/media-gfx/gthumb/gthumb-3.12.2-r5.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) +inherit gnome.org gnome2-utils meson python-any-r1 xdg + +DESCRIPTION="Image viewer and browser for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Gthumb" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cdr colord exif keyring gstreamer heif jpegxl lcms raw slideshow svg tiff webkit webp" + +# libX11 dep is a workaround. See files/3.12.2-link-with-x11.patch +RDEPEND=" + x11-libs/libX11 + + >=dev-libs/glib-2.54.0:2 + >=x11-libs/gtk+-3.16.0:3 + exif? ( >=media-gfx/exiv2-0.21:= ) + slideshow? ( + >=media-libs/clutter-1.12.0:1.0 + >=media-libs/clutter-gtk-1:1.0 + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-gtk:1.0 + ) + raw? ( + >=media-libs/libraw-0.14:= + ) + webkit? ( + >=net-libs/libsoup-2.42.0:2.4 + >=dev-libs/json-glib-0.15.0 + >=net-libs/webkit-gtk-1.10.0:4 + ) + keyring? ( >=app-crypt/libsecret-0.11 ) + cdr? ( >=app-cdr/brasero-3.2.0 ) + svg? ( >=gnome-base/librsvg-2.34:2 ) + webp? ( >=media-libs/libwebp-0.2.0:= ) + jpegxl? ( >=media-libs/libjxl-0.3.0 ) + heif? ( >=media-libs/libheif-1.11:= ) + lcms? ( >=media-libs/lcms-2.6:2 ) + colord? ( + >=x11-misc/colord-1.3 + >=media-libs/lcms-2.6:2 + ) + + sys-libs/zlib + media-libs/libjpeg-turbo:= + tiff? ( media-libs/tiff:= ) + media-libs/libpng:0= + >=gnome-base/gsettings-desktop-schemas-0.1.4 +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/appstream-0.14.6 + dev-util/glib-utils + dev-util/itstool + sys-devel/bison + sys-devel/flex + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PV}-link-with-x11.patch + "${FILESDIR}"/${PV}-libraw-0.21.patch + "${FILESDIR}"/${PV}-date-format.patch +) + +src_configure() { + local emesonargs=( + -Drun-in-place=false + $(meson_use exif exiv2) + $(meson_use slideshow clutter) + $(meson_use gstreamer) + -Dlibchamplain=false # Upstream still doesn't seem to consider this ready + $(meson_use colord) + $(meson_use tiff libtiff) + $(meson_use webp libwebp) + $(meson_use jpegxl libjxl) + $(meson_use heif libheif) + $(meson_use raw libraw) + $(meson_use svg librsvg) + $(meson_use keyring libsecret) + $(meson_use webkit webservices) + $(meson_use cdr libbrasero) + ) + + # colord pulls in lcms2 anyway, so enable lcms with USE="colord -lcms"; + # some of upstream HAVE_COLORD code depends on HAVE_LCMS2 + if use lcms || use colord; then + emesonargs+=( -Dlcms2=true ) + else + emesonargs+=( -Dlcms2=false ) + fi + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |