Accepting request 942151 from graphics

- Update to 2.10.30

OBS-URL: https://build.opensuse.org/request/show/942151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=131
This commit is contained in:
Dominique Leuenberger 2021-12-24 19:22:54 +00:00 committed by Git OBS Bridge
commit 05d3ea1270
5 changed files with 61 additions and 46 deletions

View File

@ -1,38 +0,0 @@
From a08055f1a18886fdacaf0cba5887b7ff2f687732 Mon Sep 17 00:00:00 2001
From: Adam Fontenot <adam.m.fontenot@gmail.com>
Date: Tue, 19 Jan 2021 13:47:27 +0100
Subject: [PATCH] =?UTF-8?q?Issue=20#6210:=20Subpixel=20font=20rendering=20?=
=?UTF-8?q?system=20settings=20should=20only=E2=80=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
… apply to GIMP GUI not text layer rendering in image.
Reviewer note: this is the theoretical fix, but it won't work right now
because Cairo explicitly bypasses grayscale antialiasing when system set
subpixel one. Still let's push this first patch, but the issue will be
actually fixed when Cairo will merge my MR too:
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/114
(cherry picked from commit 00bbeabaf4d8a434bd64371303ee982fb5403ab6)
---
app/text/gimptextlayout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/text/gimptextlayout.c b/app/text/gimptextlayout.c
index 47beed7705..56c670ea0b 100644
--- a/app/text/gimptextlayout.c
+++ b/app/text/gimptextlayout.c
@@ -701,7 +701,7 @@ gimp_text_get_font_options (GimpText *text)
cairo_font_options_t *options = cairo_font_options_create ();
cairo_font_options_set_antialias (options, (text->antialias ?
- CAIRO_ANTIALIAS_DEFAULT :
+ CAIRO_ANTIALIAS_GRAY :
CAIRO_ANTIALIAS_NONE));
switch (text->hint_style)
--
2.33.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f4dc22cff1ab5f026feaa2ab55e05775b3a11e198186b47bdab79cbfa078826
size 31675862

3
gimp-2.10.30.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88815daa76ed7d4277eeb353358bafa116cd2fcd2c861d95b95135c1d52b67dc
size 31731327

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Tue Dec 21 19:22:16 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to 2.10.30
- Core:
- Do not follow subpixel font rendering choice from system
settings for text layer rendering. These systems are useful
for GUI rendering on a screen of a specific type and pixel
order. Yet when rendering an image which can be zoomed in or
out, showed on various screens or even printed, subpixel font
rendering doesn't make sense.
- Rewrite the core selection drawing logics so that it works on
macOS Big Sur and over. This is a backport (adapted to GTK+2)
of the fix brought in GIMP 2.99.8 for Wayland and macOS.
- Ignore MakerNote metadata tag at export and only store the
tags that go in it, hence avoiding partial invalid metadata.
- Color picking from Colors dockable can now use the
Freedesktop portal.
- On Windows, move from GetICMProfile() to
WcsGetDefaultColorProfile() because the former is broken in
Windows 11.
- Plug-ins:
- metadata-viewer: improve how XMP tags with multiple values
are handled and shown (now each value on a separate line for
better readability).
- metadata-editor:
* XMP array tags of type BAG and SEQ are now on separate
lines.
* Comparing XMP tags with equivalent IPTC tags with multiple
values, each value is compared individually, instead of
comparing the list as a whole.
- Many robustness improvements and other fixes to the metadata
plug-ins.
- AVIF: prefer AOM encoder for export.
- PSD:
* Skip sanity check for mask of rendered layers as some layer
mask have invalid dimensions in such cases. They will now
be loaded correctly.
* Fixed loading of CMYK PSD files without alpha.
* Fixed loading of CMYK images without layers.
* Fixed loading of merged image of a 16 bit per channel RGBA
PSD file with the alpha channel opaque.
- PBM: large file export now always works and does not depend
anymore on the platform's long int size.
- Screenshot:
* GNOME shell implementation dropped because the D-Bus API
has been restricted to core components for security
reasons, thus our plug-in was failing.
* KDE portal moved as last fallback after the X
implementation (when running on X) and Freedesktop portal,
because KDE is also starting to block API calls for
security reasons.
- drop 0001-Issue-6210-Subpixel-font-rendering-system-settings-s.patch
included in update
-------------------------------------------------------------------
Fri Oct 22 09:50:04 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -31,7 +31,7 @@
%bcond_without python_plugin
%endif
Name: gimp
Version: 2.10.28
Version: 2.10.30
Release: 0
Summary: The GNU Image Manipulation Program
License: GPL-3.0-or-later
@ -42,8 +42,6 @@ Source1: macros.gimp
# openSUSE palette file
Source2: openSUSE.gpl
Source99: baselibs.conf
# https://gitlab.gnome.org/GNOME/gimp/-/commit/a08055f1a18886fdacaf0cba5887b7ff2f687732
Patch0: 0001-Issue-6210-Subpixel-font-rendering-system-settings-s.patch
BuildRequires: aalib-devel
BuildRequires: alsa-devel >= 1.0.0
@ -52,7 +50,7 @@ BuildRequires: fontconfig-devel >= 2.12.4
BuildRequires: gcc-c++
BuildRequires: gdk-pixbuf-loader-rsvg
# For some odd reason build needs gegl executable.
BuildRequires: gegl >= 0.4.32
BuildRequires: gegl >= 0.4.34
BuildRequires: ghostscript-devel
# Explicitly needed, otherwise ghostscript-mini is used during the
# build, and it's not enough for gimp.
@ -74,7 +72,7 @@ BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(cairo-pdf) >= 1.12.2
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.8
BuildRequires: pkgconfig(gegl-0.4) >= 0.4.32
BuildRequires: pkgconfig(gegl-0.4) >= 0.4.34
BuildRequires: pkgconfig(gexiv2) >= 0.10.6
BuildRequires: pkgconfig(glib-2.0) >= 2.54.2
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.32