* [bug#52755] [PATCH 2/5] gnu: krita: Add optional dependencies.
2021-12-23 15:31 ` [bug#52755] [PATCH 1/5] gnu: Add kseexpr Vinicius Monego
@ 2021-12-23 15:31 ` Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 3/5] gnu: krita: Update to 5.0.0 Vinicius Monego
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-12-23 15:31 UTC (permalink / raw)
To: 52755; +Cc: Vinicius Monego
* gnu/packages/kde.scm (krita)[inputs]: Add giflib, kseexpr, libheif,
opencolorio, openjpeg, python, python-pyqt, python-sip.
---
gnu/packages/kde.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 3f14841d11..a1afad48a8 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages gps)
#:use-module (gnu packages graphics)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages kde-pim)
#:use-module (gnu packages kde-plasma)
@@ -517,6 +518,7 @@ expression library, that is used in Krita.")
(list boost
exiv2
fftw
+ giflib
gsl
ilmbase
karchive
@@ -529,20 +531,27 @@ expression library, that is used in Krita.")
kiconthemes
kio
kitemviews
+ kseexpr
kwidgetsaddons
kwindowsystem
kxmlgui
lcms
libjpeg-turbo
+ libheif
libpng
libraw-0.18
libtiff
libx11
libxcb
libxi
+ opencolorio
openexr-2
+ openjpeg
perl
poppler-qt5
+ python
+ python-pyqt
+ python-sip
qtbase-5
qtdeclarative
qtmultimedia
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#52755] [PATCH 3/5] gnu: krita: Update to 5.0.0.
2021-12-23 15:31 ` [bug#52755] [PATCH 1/5] gnu: Add kseexpr Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 2/5] gnu: krita: Add optional dependencies Vinicius Monego
@ 2021-12-23 15:31 ` Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 4/5] gnu: krita: Add optional dependencies Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 5/5] gnu: krita: Switch to qt-build-system Vinicius Monego
3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-12-23 15:31 UTC (permalink / raw)
To: 52755; +Cc: Vinicius Monego
* gnu/packages/kde.scm (krita): Update to 5.0.0.
[source]: Make some cosmetic changes.
---
gnu/packages/kde.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index a1afad48a8..60795bc304 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -473,15 +473,15 @@ expression library, that is used in Krita.")
(define-public krita
(package
(name "krita")
- (version "4.4.8")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://kde/stable/krita/" version
- "/krita-" version ".tar.gz"))
- (sha256
- (base32
- "1y0d8gnxfdg5nfwk8dgx8fc2bwskvnys049napb1a9fr25bqmimw"))))
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/krita/" version "/krita-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#52755] [PATCH 4/5] gnu: krita: Add optional dependencies.
2021-12-23 15:31 ` [bug#52755] [PATCH 1/5] gnu: Add kseexpr Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 2/5] gnu: krita: Add optional dependencies Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 3/5] gnu: krita: Update to 5.0.0 Vinicius Monego
@ 2021-12-23 15:31 ` Vinicius Monego
2021-12-23 15:31 ` [bug#52755] [PATCH 5/5] gnu: krita: Switch to qt-build-system Vinicius Monego
3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-12-23 15:31 UTC (permalink / raw)
To: 52755; +Cc: Vinicius Monego
* gnu/packages/kde.scm (krita)[arguments]<#:configure-flags>: Don't set
-DCMAKE_CXX_FLAGS as it's not required for OpenEXR 3.
[inputs]: Remove ilmbase, openexr-2. Add imath, libmypaint, libwebp, openexr.
---
gnu/packages/kde.scm | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 60795bc304..5634119369 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -61,6 +61,7 @@
#:use-module (gnu packages geo)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gimp)
#:use-module (gnu packages gl)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gps)
@@ -485,11 +486,7 @@ expression library, that is used in Krita.")
(build-system cmake-build-system)
(arguments
`(#:tests? #f
- #:configure-flags
- (list "-DBUILD_TESTING=OFF"
- (string-append "-DCMAKE_CXX_FLAGS=-I"
- (assoc-ref %build-inputs "openexr")
- "/include/OpenEXR"))
+ #:configure-flags (list "-DBUILD_TESTING=OFF")
#:phases
(modify-phases %standard-phases
;; Ensure that icons are found at runtime.
@@ -520,7 +517,7 @@ expression library, that is used in Krita.")
fftw
giflib
gsl
- ilmbase
+ imath
karchive
kcompletion
kconfig
@@ -538,14 +535,16 @@ expression library, that is used in Krita.")
lcms
libjpeg-turbo
libheif
+ libmypaint
libpng
libraw-0.18
libtiff
+ libwebp
libx11
libxcb
libxi
opencolorio
- openexr-2
+ openexr
openjpeg
perl
poppler-qt5
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#52755] [PATCH 5/5] gnu: krita: Switch to qt-build-system.
2021-12-23 15:31 ` [bug#52755] [PATCH 1/5] gnu: Add kseexpr Vinicius Monego
` (2 preceding siblings ...)
2021-12-23 15:31 ` [bug#52755] [PATCH 4/5] gnu: krita: Add optional dependencies Vinicius Monego
@ 2021-12-23 15:31 ` Vinicius Monego
3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-12-23 15:31 UTC (permalink / raw)
To: 52755; +Cc: Vinicius Monego
* gnu/packages/kde.scm (krita)[build-system]: Switch to qt-build-system.
[arguments]<#:phases>: Remove 'wrap-executable phase that is performed by the
new build system.
---
gnu/packages/kde.scm | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 5634119369..8531e8683e 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -483,25 +483,10 @@ expression library, that is used in Krita.")
".tar.gz"))
(sha256
(base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
- (build-system cmake-build-system)
+ (build-system qt-build-system)
(arguments
`(#:tests? #f
- #:configure-flags (list "-DBUILD_TESTING=OFF")
- #:phases
- (modify-phases %standard-phases
- ;; Ensure that icons are found at runtime.
- ;; This works around <https://bugs.gnu.org/22138>.
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (qt '("qtbase" "qtsvg")))
- (wrap-program (string-append out "/bin/krita")
- `("QT_PLUGIN_PATH" ":" prefix
- ,(map (lambda (label)
- (string-append (assoc-ref inputs label)
- "/lib/qt5/plugins/"))
- qt)))
- #t))))))
+ #:configure-flags (list "-DBUILD_TESTING=OFF")))
(native-inputs
(list curl
eigen
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread