diff options
Diffstat (limited to 'media-gfx/gthumb/files')
-rw-r--r-- | media-gfx/gthumb/files/3.12.2-date-format.patch | 32 | ||||
-rw-r--r-- | media-gfx/gthumb/files/3.12.2-libraw-0.21.patch | 55 | ||||
-rw-r--r-- | media-gfx/gthumb/files/3.12.2-link-with-x11.patch | 14 |
3 files changed, 0 insertions, 101 deletions
diff --git a/media-gfx/gthumb/files/3.12.2-date-format.patch b/media-gfx/gthumb/files/3.12.2-date-format.patch deleted file mode 100644 index 1bc2309abf20..000000000000 --- a/media-gfx/gthumb/files/3.12.2-date-format.patch +++ /dev/null @@ -1,32 +0,0 @@ -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/files/3.12.2-libraw-0.21.patch b/media-gfx/gthumb/files/3.12.2-libraw-0.21.patch deleted file mode 100644 index 4fef16dc9843..000000000000 --- a/media-gfx/gthumb/files/3.12.2-libraw-0.21.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://bugs.gentoo.org/887769 -https://gitlab.gnome.org/GNOME/gthumb/-/merge_requests/42 - -From 2133520496afd179702953a5d07aa99b5209f9cf Mon Sep 17 00:00:00 2001 -From: Chris Mayo <aklhfex@gmail.com> -Date: Wed, 21 Dec 2022 19:21:12 +0000 -Subject: [PATCH] raw: make compatible with LibRaw 0.21.0 release - -Memory error callback removed -https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L127 - -Typo in LIBRAW_OPTIONS_* flag names fixed -https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L170 ---- a/extensions/raw_files/gth-metadata-provider-raw.c -+++ b/extensions/raw_files/gth-metadata-provider-raw.c -@@ -62,7 +62,11 @@ gth_metadata_provider_raw_read (GthMetadataProvider *self, - if (!_g_mime_type_is_raw (gth_file_data_get_mime_type (file_data))) - return; - -+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) -+ raw_data = libraw_init (LIBRAW_OPTIONS_NO_DATAERR_CALLBACK); -+#else - raw_data = libraw_init (LIBRAW_OPIONS_NO_MEMERR_CALLBACK | LIBRAW_OPIONS_NO_DATAERR_CALLBACK); -+#endif - if (raw_data == NULL) - goto fatal_error; - ---- a/extensions/raw_files/main.c -+++ b/extensions/raw_files/main.c -@@ -213,7 +213,11 @@ _cairo_image_surface_create_from_raw (GInputStream *istream, - size_t size; - GthImage *image = NULL; - -+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) -+ raw_data = libraw_init (LIBRAW_OPTIONS_NO_DATAERR_CALLBACK); -+#else - raw_data = libraw_init (LIBRAW_OPIONS_NO_MEMERR_CALLBACK | LIBRAW_OPIONS_NO_DATAERR_CALLBACK); -+#endif - if (raw_data == NULL) { - _libraw_set_gerror (error, errno); - goto fatal_error; -@@ -300,7 +304,11 @@ _cairo_image_surface_create_from_raw (GInputStream *istream, - if ((original_width != NULL) && (original_height != NULL)) { - libraw_close (raw_data); - -+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) -+ raw_data = libraw_init (LIBRAW_OPTIONS_NO_DATAERR_CALLBACK); -+#else - raw_data = libraw_init (LIBRAW_OPIONS_NO_MEMERR_CALLBACK | LIBRAW_OPIONS_NO_DATAERR_CALLBACK); -+#endif - if (raw_data == NULL) - goto fatal_error; - --- -GitLab diff --git a/media-gfx/gthumb/files/3.12.2-link-with-x11.patch b/media-gfx/gthumb/files/3.12.2-link-with-x11.patch deleted file mode 100644 index b5e84710e5e1..000000000000 --- a/media-gfx/gthumb/files/3.12.2-link-with-x11.patch +++ /dev/null @@ -1,14 +0,0 @@ -https://gitlab.gnome.org/GNOME/gthumb/-/issues/222 - -diff --git a/meson.build b/meson.build -index 2a970673..4cdc1a5e 100644 ---- a/meson.build -+++ b/meson.build -@@ -232,6 +232,7 @@ common_deps = [ - dependency('gmodule-2.0'), - dependency('gio-unix-2.0'), - dependency('gtk+-3.0', version : gtk_version), -+ dependency('x11'), - dependency('libpng'), - dependency('zlib'), - dependency('gsettings-desktop-schemas') |