52d122290e
- 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 OBS-URL: https://build.opensuse.org/request/show/706306 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=95
164 lines
4.9 KiB
RPMSpec
164 lines
4.9 KiB
RPMSpec
#
|
|
# spec file for package krita
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%bcond_without lang
|
|
|
|
# Enable VC only on x86*
|
|
%ifarch %ix86 x86_64
|
|
%bcond_without vc
|
|
%else
|
|
%bcond_with vc
|
|
%endif
|
|
|
|
Name: krita
|
|
Version: 4.2.0
|
|
Release: 0
|
|
Summary: Digital Painting Application
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
|
Group: Productivity/Graphics/Bitmap Editors
|
|
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
|
|
BuildRequires: libboost_system-devel
|
|
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: kitemmodels-devel
|
|
BuildRequires: kitemviews-devel
|
|
BuildRequires: kwidgetsaddons-devel
|
|
BuildRequires: kwindowsystem-devel
|
|
BuildRequires: libeigen3-devel
|
|
BuildRequires: libexiv2-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: liblcms2-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpoppler-qt5-devel
|
|
BuildRequires: libraw-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: perl
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-qt5-devel
|
|
BuildRequires: python3-sip-devel
|
|
BuildRequires: libquazip-qt5-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.9
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
BuildRequires: pkgconfig(xcb-atom)
|
|
BuildRequires: pkgconfig(xi) >= 1.4.99.1
|
|
Recommends: %{name}-lang = %{version}
|
|
Recommends: python3-qt5
|
|
Obsoletes: calligra-krita < %{version}
|
|
Provides: calligra-krita = %{version}
|
|
|
|
%description
|
|
Krita is a painting program. It supports concept art, texture and
|
|
matte painters, as well as illustrations and comics.
|
|
|
|
%package devel
|
|
Summary: Krita Build Environment
|
|
Group: Development/Libraries/KDE
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
Development headers and libraries for Krita.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q -n krita-%{version}
|
|
|
|
%build
|
|
# install translations to %%{_kf5_localedir} so they don't clash with the krita translations in calligra-l10n (KDE4 based)
|
|
# can probably be changed back to the standard location when calligra is KF5 based...
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
%suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics
|
|
%if %{with lang}
|
|
%kf5_find_lang %{name}
|
|
%endif
|
|
|
|
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license COPYING*
|
|
%doc AUTHORS HACKING README*
|
|
%{_kf5_bindir}/krita
|
|
%{_kf5_bindir}/kritarunner
|
|
%{_kf5_applicationsdir}/*.desktop
|
|
%{_kf5_sharedir}/krita/
|
|
%{_kf5_appstreamdir}/
|
|
%{_kf5_libdir}/libkrita*.so.*
|
|
%{_kf5_libdir}/kritaplugins/
|
|
%{_kf5_libdir}/krita-python-libs/
|
|
%{_kf5_qmldir}
|
|
%{_kf5_sharedir}/kritaplugins/
|
|
%{_kf5_sharedir}/color/
|
|
%{_kf5_sharedir}/color-schemes/
|
|
%{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.*
|
|
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-krita.png
|
|
%dir %{_kf5_iconsdir}/hicolor/1024x1024
|
|
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
|
|
%dir %{_kf5_iconsdir}/hicolor/1024x1024/mimetypes
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
|
|
%dir %{_kf5_iconsdir}/hicolor/256x256/mimetypes
|
|
%dir %{_kf5_iconsdir}/hicolor/512x512
|
|
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
|
|
%dir %{_kf5_iconsdir}/hicolor/512x512/mimetypes
|
|
%config %{_kf5_configdir}/krita*
|
|
|
|
%files devel
|
|
%{_kf5_libdir}/libkrita*.so
|
|
|
|
%if %{with lang}
|
|
%files lang -f %{name}.lang
|
|
%endif
|
|
|
|
%changelog
|