diff --git a/fix_libgif_5_0_build.patch b/fix_libgif_5_0_build.patch deleted file mode 100644 index a2f92a8..0000000 --- a/fix_libgif_5_0_build.patch +++ /dev/null @@ -1,14 +0,0 @@ -From: Anatoly Bobrov -Subject: Trivial fix to make Krita link against libgif 5.0.x in openSUSE Leap 42.3 - ---- plugins/impex/gif/qgiflibhandler.cpp 2018-03-20 10:49:57.000000000 +0300 -+++ plugins/impex/gif/qgiflibhandler.cpp 2018-03-23 15:11:33.890071869 +0300 -@@ -314,7 +314,7 @@ - } - } - -- EGifCloseFile(gif, &err); -+ EGifCloseFile(gif); - - return true; - } diff --git a/krita-4.1.8.tar.gz b/krita-4.1.8.tar.gz deleted file mode 100644 index 4a61d7b..0000000 --- a/krita-4.1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0476c9e2279f0ae690c2ed02e1aa9c3d491943643f9859355a02657318bd5940 -size 244065767 diff --git a/krita-4.2.1.tar.xz b/krita-4.2.1.tar.xz new file mode 100644 index 0000000..2eb7c86 --- /dev/null +++ b/krita-4.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3271934b960d1b43559d6dda5999f94d5887d62fc6a06184c233f01b4e123e94 +size 167544272 diff --git a/krita.changes b/krita.changes index aae8524..74d3233 100644 --- a/krita.changes +++ b/krita.changes @@ -1,3 +1,259 @@ +------------------------------------------------------------------- +Wed Jun 5 09:05:27 UTC 2019 - wbauer@tmo.at + +- Update to 4.2.1: + * See https://krita.org/en/item/krita-4-2-1-released/ + * Fix slowdown after a longer period of use (kde#408255, + kde#408133) + * Fix loading vector layers when the image name is not latin1 + (kde#408280) + * Fix rectangular grid spacing limits incorrect after resizing + canvas (kde#408166) + * Fix layer properties window draws on top of other application + windows (kde#408170) + * Fix the posterize filter to use non-linear sRGB for computation + * Allow the animation render to start at frame 0 at all times + (kde#408198) + * Enable the Select Opaque actions for group layers (kde#408236) + * Check whether the drive still exists before creating a + temporary directory for animation rendering (kde#408246) + * Prevent the user from deleting locked layers when pressing + shift-del too quickly + * Fix copying and duplicating vector layers (kde#408028) + * Fix Krita's canvas being transparent on Linux when built + against older versions of Qt (kde#408225) + * Fix possible small delays at the beginning of a stroke + (kde#408133) + * Fix folding/unfolding when clicking on a layer thumbnail + * Fix undo/redo when working with guides + * Fix reversed Python API guides lock/show states (kde#408113) + * Make the minimum size for brushes consistent through the + application + * Make the auto brush spacing precision values consistent + (kde#359453) + * Improve selectioon behaviour on the layer docker (kde#408002) + * Fix the vector stroke style propagating to other vector objects + (kde#407683) + * Fix the Document Tools plugin (kde#408146) + * Fix the layer name being deselected when opening the layer name + editor (kde#400357) + +------------------------------------------------------------------- +Wed May 29 14:16:16 UTC 2019 - Christophe Giboudeaux + +- Update the 'License' tag for the 4.2.0 release. + +------------------------------------------------------------------- +Wed May 29 11:52:40 UTC 2019 - wbauer@tmo.at + +- Update to 4.2.0: + * See https://krita.org/en/krita-4-2-release-notes/ + * Fix: Allow changing layer name to set document as modified + (kde#380437) + * Fix: Allow undoing when changing layer names (kde#380437) + * Fix: Update the undo limit if we change it + * Fix: Handling of modified document notification in sub-window + mode (kde#386488) + * Fix: Fix when holding right-click over layer's color settings + (kde#392815) + * Fix: Do not show language switch warning when going back to the + default (kde#362961) + * Fix: Gradient map color mapping issues (kde#388976) + * Fix: Layout improvements and showing levels for histogram + filter (kde#376048) + * Improvement: Add warning when adding shape to clone layer + (kde#406730) + * Usability: Make default background for text editor white for + readability + * Fix: Activation of FFTW convolution worker (kde#407062) + * Fix: Crash in halftone filter (kde#407045) + * Fix: remove notification for unused keyboard short for + wrap-around (kde#407119) + * Fix: Safe assert triggered while drawing (kde#404552) + * Improvement: Warn artists if they try to render an animated GIF + with over 50 FPS (kde#403873) + * Improvement: Handle calculation better for grayscale images in + high bit depth (kde#405693) + * Usability: Make tabs and table headers and text translatable + (kde#406943, kde#406944) + * Improvement: Make zoom mode persistent when moving across + screens + * Fix: Exporting animation frames into EXR format (kde#406830) + * Improvement: Load broken TGA files that have bad alpha data + (kde#354791) + * Python: Allow selecting boundary limits on export (kde#404615) + * Fix: Unable to set minimal shade selector (kde#368587) + * Improvement: Add pixel snap mode for canvas (kde#390952) + * Fix: Load pre-Krita 4.0 transform masks (kde#396815) + * Fix: TIFF export filter flatten images with group layers + (kde#404204) + * Fix: Do not activate already running app instance when + exporting image sequence + * Fix: Memory leak with GIFs when saving and line length + (kde#404160) + * Improvement: Better calculate SVG document size and loading + omitted commands (kde#406124) + * Usability: Hide pattern fill option in vector tools until it is + fully implemented + * Fix: Artifacts when saving vector layers as PNG (kde#404976) + * Fix: Crash when merging back split alpha function + * Fix: Address sanitizer (ASAN) crash when creating a guide + (kde#405732) + * Fix: Hard to select color in vector objects (kde#404975) + * Fix: Undo merging a layer that is cloned (kde#397836) + * Improvement: Add fractional DPI scaling (found in settings) + * Improvement: Allow clone brush to have an option to reset + origin after every stroke + * Fix: Canvas input cursor updates when it has no input focus + (kde#369305) + * Fix: Hiccups when using wheel on Wacom's tablet (kde#381452) + * Fix: Clone brush should use the last layer the source was + placed on (kde#401919) + * Fix: Tilt elevation curve corrections (kde#399846) + * Fix: Do not focus on tag search line edit in the show event + (kde#404131) + * Usability: Only show layer styles contour and texture when + Bevel and Emboss is checked (kde#396015) + * Python: Comics plugin improvements to file saving and creating + documents + * Fix: Pop-up palette color fix when changing themes + * Usability: Improve control point size for brush editor curves + (kde#406233) + * Fix: Make font size consistent (kde#406386) + * Usability: Theme change fixes for overview docker, rulers, and + subwindows + * Fix: Memory leak caused by converting function + * Fix: Wrong position of the merged layer (kde#405686) + * Fix: Right clicking on popup-palette color selector hides it + (kde#402990) + * Fix: rulers showing pixels no matter what unit (kde#406181) + * Fix: Crash in Split Alpha function (kde#406241) + * Fix: wrong bounding box on gradient map (kde#406234) + * Fix: page orientation switch in new dialog (kde#374493) + * Improvement: Do a better job when calculating nearest neighbor + filters (kde#401788) + * Usability: Improve contrast with checkboxes on pen settings and + brush favorites + * Fix: Allow group layers to be transformed and improve logic for + layers that cannot be transformed (kde#406036) + * Fix: Background color being lost after merging (kde#405230) + * Improvement: Remember last used directory for shortcut + import/export (kde#368360) + * Improvement: Improve canvas refresh rate when moving vector + objects (kde#403340, kde#405698) + * Improvement: Intel OpenGL detection for newer drivers + * Fix crash on quick brush engine because of calculations + (kde#404179) + * Fix: splash screen on some high DPI screens + * Improvement: Move color filters on onion skin out of combo box + for easier toggling + * Usability: Improve contrast with checkboxes on brush settings, + pen sensors, and blending modes (bug 404190) + * Fix: hangup when starting painting too quickly after changing + opacity (kde#405879) + * Fix: Data loss when adding multiple hold frames through + right-click menu (kde#404246) + * Fix: Copy correct image cache when cloning a layer (kde#387698) + * Fix: Only show Intel graphics card warning on Windows + * Text: changed "Launch Bug Report Wizard" to "Submit Bug Report" + from main menu (kde#406152) + * Usability: Add tooltip to eraser button in toolbar + * Fix activation of isolate mode when merging layers down + (kde#295981) + * Improvement: Add ability for shape brushes to use patterns for + filling + * Fix: Transform tool crash on layers with pass-through mode + * Improvement: Add more information like HighDPI and language to + usage logger + * Fix: Make sure a masked painter knows about outlines + (kde#404963) + * Fix: Make sure polyline takes into account the no-stroke + setting + * Feature: Add ability to export animation to PNG sequence using + commandline + * Fix: Better handle loading recent files (kde#405364) + * Improvement: Better show/hide progress bars when loading an + unsupported image (kde#402625) + * Feature: Add mirroring capability for Quick brush (kde#372636) + * Usability: Add a second row to pop-up palette presets if the + number gets above 20 so they are easier to see + * Fix: Color smudge might not have an image for tip (kde#405336) + * Fix: Prevent crash with mirror manager decorations + * Fix: When no outline is selected, outline doesn't use brush + width (kde#398509) + * Fix: Low pixel size limit in Scale to New Size dialog + * Feature: Simplex Noise Generator can now be used from a fill + layer + * Usability: Make disabled icons in animation docker + semi-transparent to be like other disabled icons + * Fix: creating vector shapes with pattern fills (kde#405037) + * Fix: minimum animation cell grid size on windows + * Fix: conversion errors in Scale new image dialog (kde#400177) + * Improve UI for Arrange docker to make it easier to understand + (kde#399984, kde#394084) + * Fix: Only load a thumbnail for a recent file that still exists + (kde#401939) + * Improve angle selection on layer effects (kde#372169) + * Fix: Restore broken fonts (kde#402092) + * Add a few new options for fill type when creating new documents + * Fix: Remove the default shortcut for text tool. We just don't + have any good available keys left (kde#402270) + * Improve animation export dialog: Add warning when dimensions + are not divisible by 2 for MP4 and MKV. Make sure the default + dialog uses the encoder config for the format + * Fix opening templates from the command line (kde#402342) + * Inserting a layer when on a group layer adds it above the layer, + not inside it now (kde#399103) + * Feature: Advanced Color Selector - Add option to hide the color + selector in the configure menu (kde#337328) + * Remove old Karbon gradient files that weren't being used + * Fix: Restore the UI after crashing in canvas only mode + (kde#402710) + * Fix: Added safe assert to prevent Krita from crashing when a + toolbar gets accidentally enabled + * Improvement: Add more information to the bug reporter with + memory, CPU cores, and swap location + * Usability: Update the layer box to better to support RTL + languages + * Feature: Add Python plugin importer to make importing plugins + easier + * Improvement: Add direction choice for the Image Split feature + * Fix: Actions on Move Tool only being executed after changing + current node in move tool (kde#403048) + * Fix: Python API. Fix crash when trying to access projection + pixel data on transform mask (kde#402382) + * Fix: Return colorspace of projection before returning the + colorspace of the node (kde#402382) + * Improvement: Enable automatic docstring generation for python + * Fix: Loading KRA files with image names starting with a "/" + symbol + * Fix: Enabling the selection mode shortcuts (kde#403587) + * Improvement: Generator Layers. Added real-time preview when + changing layer properties + * Improvement: Polygonal Selection: Add ability to undo these + operations + * Fix: File layers: Use the mergedimage preview when opening ORA + or KRA files + * Improvement: Transform Tool: Added Granularity to tool options + * Improvement: Added new blending modes: Reflect, Glow, Freeze, + Heat, Glow-Heat, Heat-Glow, Reflect-Freeze, Freeze-Reflect, + Heat-Glow & Freeze-Reflect Hybrid + * Fix: Save mirror tool state to KRA file (kde#339515) + * Usability: Make it easier to select lower values for stabilizer + sliders + * Fix: Saving reference images z-order (kde#403974) + * Fix: Disable use of Always Use Template in the New File Window + (kde#399796) + * Usability: Add a tooltip to the composition docker + * Fix: Bug where mirroring canvas would get out of sync with the + main menu action + * Fix: Check if animation config exists before accessing its + contents (kde#404521) +- Drop fix_libgif_5_0_build.patch, Leap 42.3 is too old +- Remove unnecessary build requirements +- Remove conflict with calligra-devel, no longer necessary +- Run spec-cleaner + ------------------------------------------------------------------- Wed Mar 6 14:24:12 UTC 2019 - wbauer@tmo.at diff --git a/krita.spec b/krita.spec index 886ba78..d3b1e2d 100644 --- a/krita.spec +++ b/krita.spec @@ -1,7 +1,7 @@ # # spec file for package krita # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,105 +12,82 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %bcond_without lang - # Enable VC only on x86* -%ifarch %ix86 x86_64 +%ifarch %{ix86} x86_64 %bcond_without vc %else %bcond_with vc %endif - Name: krita -Version: 4.1.8 +Version: 4.2.1 Release: 0 Summary: Digital Painting Application -License: GPL-2.0-or-later AND LGPL-2.1-or-later +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 LGPL-2.1-only AND BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-only Group: Productivity/Graphics/Bitmap Editors -Url: http://www.krita.org/ -Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.gz -# PATCH-FIX-OPENSUSE fix_libgif_5_0_build.patch -- Trivial fix to make Krita link against libgif 5.0.x in openSUSE Leap 42.3 -Patch: fix_libgif_5_0_build.patch -BuildRequires: Mesa-devel +URL: https://www.krita.org/ +Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz BuildRequires: OpenColorIO-devel BuildRequires: OpenEXR-devel -%if %{with vc} -BuildRequires: Vc-devel-static -%endif -%if 0%{?suse_version} < 1320 -BuildRequires: boost_1_61-devel -%else -BuildRequires: libboost_system-devel -%endif BuildRequires: extra-cmake-modules BuildRequires: fftw3-devel BuildRequires: giflib-devel BuildRequires: gsl-devel -BuildRequires: karchive-devel -BuildRequires: kcompletion-devel -BuildRequires: kconfig-devel -BuildRequires: kcoreaddons-devel -BuildRequires: kcrash-devel -BuildRequires: kguiaddons-devel -BuildRequires: ki18n-devel -BuildRequires: kiconthemes-devel -BuildRequires: kitemmodels-devel -BuildRequires: kitemviews-devel -BuildRequires: kwidgetsaddons-devel -BuildRequires: kwindowsystem-devel -BuildRequires: kxmlgui-devel +BuildRequires: libboost_system-devel BuildRequires: libeigen3-devel BuildRequires: libexiv2-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: libpng-devel BuildRequires: libpoppler-qt5-devel +BuildRequires: libquazip-qt5-devel BuildRequires: libraw-devel BuildRequires: libtiff-devel -BuildRequires: openjpeg-devel BuildRequires: perl +BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: python3-qt5-devel BuildRequires: python3-sip-devel BuildRequires: update-desktop-files BuildRequires: zlib-devel -BuildRequires: pkgconfig(Qt5Concurrent) -BuildRequires: pkgconfig(Qt5Core) >= 5.6 -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Multimedia) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5OpenGL) -BuildRequires: pkgconfig(Qt5PrintSupport) -BuildRequires: pkgconfig(Qt5Qml) -BuildRequires: pkgconfig(Qt5Quick) -BuildRequires: pkgconfig(Qt5Script) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5UiTools) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) -BuildRequires: pkgconfig(Qt5Xml) -BuildRequires: pkgconfig(inputproto) >= 2.0.99.1 -BuildRequires: pkgconfig(x11) +BuildRequires: cmake(KF5Archive) +BuildRequires: cmake(KF5Completion) +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5Crash) +BuildRequires: cmake(KF5GuiAddons) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5ItemModels) +BuildRequires: cmake(KF5ItemViews) +BuildRequires: cmake(KF5WidgetsAddons) +BuildRequires: cmake(KF5WindowSystem) +BuildRequires: cmake(Qt5Concurrent) +BuildRequires: cmake(Qt5Core) >= 5.9 +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5Multimedia) +BuildRequires: cmake(Qt5Network) +BuildRequires: cmake(Qt5PrintSupport) +BuildRequires: cmake(Qt5Qml) +BuildRequires: cmake(Qt5Quick) +BuildRequires: cmake(Qt5Svg) +BuildRequires: cmake(Qt5Test) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5X11Extras) +BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(xcb-atom) -BuildRequires: pkgconfig(xext) -BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xi) >= 1.4.99.1 -BuildRequires: pkgconfig(xinerama) -BuildRequires: pkgconfig(xorg-macros) >= 1.3 -BuildRequires: pkgconfig(xrandr) -%if %{with lang} Recommends: %{name}-lang = %{version} -%endif Recommends: python3-qt5 Obsoletes: calligra-krita < %{version} Provides: calligra-krita = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with vc} +BuildRequires: Vc-devel-static +%endif %description Krita is a painting program. It supports concept art, texture and @@ -120,20 +97,14 @@ matte painters, as well as illustrations and comics. Summary: Krita Build Environment Group: Development/Libraries/KDE Requires: %{name} = %{version} -Conflicts: calligra-devel %description devel Development headers and libraries for Krita. -%if %{with lang} %lang_package -%endif %prep %setup -q -n krita-%{version} -%if 0%{?suse_version} < 1320 -%patch -%endif %build # install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based) @@ -142,7 +113,7 @@ Development headers and libraries for Krita. %make_jobs %install -%kf5_makeinstall -C build +%kf5_makeinstall -C build %suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics %if %{with lang} %kf5_find_lang %{name} @@ -154,7 +125,6 @@ chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %license COPYING* %doc AUTHORS HACKING README* %{_kf5_bindir}/krita