update to 5.0.2 [release 5.0.2-1mamba;Tue Jan 11 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 02:47:23 +01:00
parent 4787eabe45
commit edcac66136
2 changed files with 53 additions and 39 deletions

View File

@ -0,0 +1,11 @@
--- krita-5.0.0/libs/brush/kis_gbr_brush.cpp.orig 2021-12-24 18:53:13.991916725 +0100
+++ krita-5.0.0/libs/brush/kis_gbr_brush.cpp 2021-12-24 18:52:53.712544663 +0100
@@ -10,6 +10,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <sys/types.h>
+#include <limits>
+
#include <QtEndian>
#include "kis_gbr_brush.h"

View File

@ -2,19 +2,23 @@
%define dirver %(echo %version | cut -d. -f1-3) %define dirver %(echo %version | cut -d. -f1-3)
Name: krita Name: krita
Version: 4.4.3 Version: 5.0.2
Release: 1mamba Release: 1mamba
Summary: A free and open source painting tool Summary: A free and open source painting tool
Group: Graphical Desktop/Applications/Graphics Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kde.org URL: https://kde.org/
Source: https://download.kde.org/stable/krita/%{dirver}/krita-%{version}.tar.gz Source: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
Patch0: krita-5.0.0-gcc-11.2.0.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
@ -25,6 +29,8 @@ BuildRequires: libfftw-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgif-devel BuildRequires: libgif-devel
BuildRequires: libgsl-devel BuildRequires: libgsl-devel
BuildRequires: libheif-devel
BuildRequires: libimath-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libkcompletion-devel BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel BuildRequires: libkconfig-devel
@ -36,18 +42,21 @@ BuildRequires: libkitemviews-devel
BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel BuildRequires: libkwindowsystem-devel
BuildRequires: liblcms2-devel BuildRequires: liblcms2-devel
BuildRequires: libopencolorio-devel BuildRequires: libmypaint-devel
BuildRequires: libopenexr-devel BuildRequires: libopenexr-devel
BuildRequires: libopenjpeg-devel BuildRequires: libopenjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libpoppler-devel BuildRequires: libpoppler-devel
BuildRequires: libpoppler-qt5-devel BuildRequires: libpoppler-qt5-devel
BuildRequires: libqt5-devel BuildRequires: libpython3-devel
BuildRequires: libquazip-devel BuildRequires: libquazip-devel
BuildRequires: libraw-devel BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: rpm-macros-kde5 BuildRequires: rpm-macros-kde5
@ -68,15 +77,25 @@ Obsoletes: libcalligra-krita < 4.4.3
%description -n lib%{name} %description -n lib%{name}
This package contains shared libraries for %{name}. This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains the development files for %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
#-D -T %patch0 -p1
%build %build
#:<< _EOF %cmake_kde5 -d build \
%cmake_kde5 -d build -DBUILD_TESTING=OFF \
-DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
%make %make
%install %install
@ -96,7 +115,7 @@ This package contains shared libraries for %{name}.
%{_sysconfdir}/xdg/kritarc %{_sysconfdir}/xdg/kritarc
%{_bindir}/krita %{_bindir}/krita
%{_bindir}/krita_version %{_bindir}/krita_version
#%{_bindir}/kritarunner %{_bindir}/kritarunner
%{_datadir}/applications/krita_*.desktop %{_datadir}/applications/krita_*.desktop
%{_datadir}/applications/org.kde.krita.desktop %{_datadir}/applications/org.kde.krita.desktop
%{_datadir}/color-schemes/Krita*.colors %{_datadir}/color-schemes/Krita*.colors
@ -116,40 +135,24 @@ This package contains shared libraries for %{name}.
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/kritaplugins %dir %{_libdir}/kritaplugins
%{_libdir}/kritaplugins/krita*.so %{_libdir}/kritaplugins/krita*.so
%{_libdir}/libkritabasicflakes.so* %{_libdir}/libkrita*.so.*
%{_libdir}/libkritacolor.so* %dir %{_libdir}/krita-python-libs
%{_libdir}/libkritacolord.so* %dir %{_libdir}/krita-python-libs/PyKrita
%{_libdir}/libkritacommand.so* %{_libdir}/krita-python-libs/PyKrita/krita.so
%{_libdir}/libkritaflake.so* %dir %{_libdir}/krita-python-libs/krita
%{_libdir}/libkritaglobal.so* %{_libdir}/krita-python-libs/krita/*
%{_libdir}/libkritaimage.so*
%{_libdir}/libkritaimpex.so*
%{_libdir}/libkritalibbrush.so*
%{_libdir}/libkritalibkis.so*
%{_libdir}/libkritalibkra.so*
%{_libdir}/libkritalibpaintop.so*
%{_libdir}/libkritametadata.so*
%{_libdir}/libkritaodf.so*
%{_libdir}/libkritapigment.so*
%{_libdir}/libkritaplugin.so*
%{_libdir}/libkritapsd.so*
%{_libdir}/libkritaqml.so*
%{_libdir}/libkritastore.so*
%{_libdir}/libkritatext.so*
%{_libdir}/libkritatextlayout.so*
%{_libdir}/libkritaui.so*
%{_libdir}/libkritaversion.so*
%{_libdir}/libkritawidgets.so*
%{_libdir}/libkritawidgetutils.so*
#%dir %{_libdir}/krita-python-libs
#%dir %{_libdir}/krita-python-libs/PyKrita
#%{_libdir}/krita-python-libs/PyKrita/krita.so
#%dir %{_libdir}/krita-python-libs/krita
#%{_libdir}/krita-python-libs/krita/*
%dir %{_libdir}/qt5/qml/org/krita %dir %{_libdir}/qt5/qml/org/krita
%{_libdir}/qt5/qml/org/krita/* %{_libdir}/qt5/qml/org/krita/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libkrita*.so
%changelog %changelog
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.2-1mamba
- update to 5.0.2
* Thu Mar 25 2021 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba * Thu Mar 25 2021 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba
- automatic version update by autodist - automatic version update by autodist