SHA256
1
0
forked from pool/krita

Accepting request 865091 from KDE:Extra

OBS-URL: https://build.opensuse.org/request/show/865091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krita?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2021-02-20 21:11:51 +00:00 committed by Git OBS Bridge
commit 18529f0077
5 changed files with 105 additions and 41 deletions

View File

@ -1,33 +0,0 @@
From 75a9c5ba57c96e2a1c881aefd6eb0f4760b506a3 Mon Sep 17 00:00:00 2001
From: "L. E. Segovia" <amy@amyspark.me>
Date: Tue, 15 Dec 2020 21:27:50 +0000
Subject: [PATCH] Upgrade C++ standard to 14 if Boost >= 1.75
This only affects compilation if a recent enough Boost is detected.
BUG: 430331
CCMAIL: kimageshop@kde.org
(cherry picked from commit 03ff1bae4348a71987c69bb3746cfa6c15d53862)
---
CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b54887ff97..12b1b5950b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -574,6 +574,10 @@ endif()
add_definitions(-DBOOST_ALL_NO_LIB)
find_package(Boost 1.55 REQUIRED COMPONENTS system)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
+if(${Boost_VERSION} VERSION_GREATER_EQUAL "1.75")
+ message(WARNING "Boost 1.75 or higher detected, upgrading to C++14.")
+ set(CMAKE_CXX_STANDARD 14)
+endif()
##
## Test for GNU Scientific Library
##
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:799770a624b4fbb9ab1b889f14b5b3e446355de7b9e939f182915aaeea76b5ae
size 169788052

3
krita-4.4.2.tar.xz Normal file
View File

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

View File

@ -1,3 +1,102 @@
-------------------------------------------------------------------
Tue Jan 19 12:28:32 UTC 2021 - Wolfgang Bauer <wbauer@tmo.at>
- Update to 4.4.2:
* See https://krita.org/en/item/krita-4-4-2-released/
* New implementation of SVG Mesh Gradients and Mesh transforms
* New gradient fill layer type and new Gradient Editor
* Improved Halftone Filter
* New Paste Shape Style Action
* A Toolbar Button for Wraparound Mode
* Six new brushes meant to show off the new RGBA brush tip
feature
* Improved HiDPI rendering (kde#411118)
* Files with names starting with a number are now autosaved
correctly
* Make it possible to load EXR files with non-ascii characters in
the path
* Disable making the background black for a semi-transparent EXR
file (kde#427720)
* The PressureIn sensor now works correctly in combination with
the Hue color expression (kde#426234)
* The speed smoothing algorithm no longer creates blobby lines
(kde#363364, kde#375360)
* The colorsmudge brush now blends when there is a selection
active (kde#423851)
* The brush outline no longer snaps when switching between two
images with a different zoom level (kde#427094)
* Onion skins are hidden when playing an animation (kde#426246)
* Fix converting an animated transparency mask to a paint layer
(kde#419223)
* The default shortcuts for changing the mode in the selection
tools have been removed: they are replaced by ctrl/shift/alt
modifiers. The actions still exist, so you can configure
single-key shortcuts in Krita's shortcut settings dialog.
* The magnetic selection tool now has buttons to confirm or
discard a selection
* An issue where moving a selection would jump was fixed
(kde#426949)
* A Fit to Height zoom shortcut was added (kde#410929)
* The screentone generator's defaults were improved
* File layers that are dragged and dropped now have a proper name
(kde#427235)
* The popup palette now has a clear color history button
* The report bug dialog now provides the system information and
usage logs in an easy to copy/paste manner
* Blacklisted resources that contain a \ in the filename were
ignored (kde#421575)
* Displays are shown by name in the color management settings page
(kde#412943)
* Fix showing custom icons for user-defined templates (kde#395894)
* The fill layer dialog and seexpr widgets were polished
* The x/y position spin boxes in the move tool options were fixed
(kde#420329, kde#423452)
* Add default letter spacing for the text shape
* Add support for user-installed color schemes
* All dialogs and message boxes are now correctly parented to the
main window
* Make it possible to export groups as merged layers
* Fix kerning handling in the text editor
* Add support for color opacity in the text editor (kde#342303)
* Fix cropping the transform mask when moving the masked layer
* Improve switching between SVG source and rich text editor
(kde#424213)
* Fix issues with the brush outline getting stuck when the brush
size is smaller than 0 (kde#427751)
* Improve the Python plugin importer so action files get imported
correctly (kde#429262)
* Fix tearing of patterns when scrolling in the resource chooser
* The rectangle and ellipse tool now have default shortcuts:
Shift+R and Shift+J, respectively
* Allow the Select Similar Color selection tool to pick from a
set of layers, make it work correctly with image bounds and
handle transparent layers correctly (kde#428441)
* Fix the isometric grid so it is drawn correctly
* The outline selection tool was renamed to freehand selection tool
(kde#425894)
* The gradient map filter was improved and made faster
* Fix a lot of memory leaks
* Improve performance by removing a bottleneck when transforming
internal colors to and from QColor
* Fix a race condition in the Comics Manager plugin (kde#426701)
* Fix the fill layers updating too many times
* Fix random crashes when changing screentone fill layer parameters
(kde#428014)
* Fix a crash in the Square Gradient strategy
* Fix a crash when converting SVG source to rich text or back
* Fix an assert when trying to liquify transform an empty layer
(kde#428685)
* Fix an assert when creating a new layer from the visible layers
while the active layer is hidden (kde#428683)
* Make the Select Similar selection tool multithreaded
- Drop Upgrade-C++-standard-to-14-if-Boost-ge-1.75.patch, merged
upstream
- Build with kseexpr-devel to enable the integration of Disney
Animation's SeExpr expression language
- Drop python-sip-devel BuildRequires and rely on python-qt5-devel
pulling it in, to avoid a possible version mismatch (SIP4 vs.
SIP5)
-------------------------------------------------------------------
Thu Jan 7 19:19:56 UTC 2021 - Wolfgang Bauer <wbauer@tmo.at>

View File

@ -1,7 +1,7 @@
#
# spec file for package krita
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,15 +24,13 @@
%bcond_with vc
%endif
Name: krita
Version: 4.4.1
Version: 4.4.2
Release: 0
Summary: Digital Painting Application
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-only
Group: Productivity/Graphics/Bitmap Editors
URL: https://www.krita.org/
Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: Upgrade-C++-standard-to-14-if-Boost-ge-1.75.patch
%ifnarch %{arm} aarch64
# causes build failure on ARM currently
BuildRequires: OpenColorIO-devel
@ -42,6 +40,7 @@ BuildRequires: extra-cmake-modules
BuildRequires: fftw3-devel
BuildRequires: giflib-devel
BuildRequires: gsl-devel
BuildRequires: kseexpr-devel
BuildRequires: libboost_system-devel
BuildRequires: libeigen3-devel
BuildRequires: libexiv2-devel
@ -60,7 +59,6 @@ BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-qt5-devel
BuildRequires: python3-sip-devel
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: cmake(KF5Archive)