From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO7LX-0000Bn-DO for guix-patches@gnu.org; Sun, 10 Dec 2017 14:33:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO7LS-0003Wt-TR for guix-patches@gnu.org; Sun, 10 Dec 2017 14:33:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46930) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO7LS-0003Wi-ID for guix-patches@gnu.org; Sun, 10 Dec 2017 14:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO7LS-00064y-8u for guix-patches@gnu.org; Sun, 10 Dec 2017 14:33:02 -0500 Subject: [bug#29574] Fwd: [PATCH] Add Krita to guix Resent-Message-ID: From: Kei Kebreau References: <1512437757.2664676.1194102760.4CC1A193@webmail.messagingengine.com> Date: Sun, 10 Dec 2017 14:32:06 -0500 In-Reply-To: <1512437757.2664676.1194102760.4CC1A193@webmail.messagingengine.com> (Mark Meyer's message of "Tue, 05 Dec 2017 02:35:57 +0100") Message-ID: <87609e1irt.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mark Meyer Cc: 29574@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mark Meyer writes: > On Tue, Dec 5, 2017, at 02:26, Mark Meyer wrote: >> Second try. >>=20 >> I disabled all tests, since these required an X11 display to be present. >> It's running now. I created a new file and saved the output. Looks good. >>=20 >> Please find the patch attached. >>=20 >> Lints fine, but I didn't test if this is reproducible, since the build >> is taking a very long time (even with all tests disabled). >>=20 >> Cheers, Mark >>=20 >> --=20 >> Mark Meyer >> mark@ofosos.org Hi Mark, I built this package twice and it is reproducible! I've moved some inputs to native-inputs in the attached patch because they didn't show up as requisites for krita (i.e. I ran 'guix gc -R /gnu/store/...-krita-3.3= .2.1' to find this out). Please tell me if this build works properly for you as it seems to for me. Thanks, Kei --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-krita.patch Content-Transfer-Encoding: quoted-printable From=200f977a7444445753aaa48b65d8c84d6db16b8368 Mon Sep 17 00:00:00 2001 From: Mark Meyer Date: Tue, 5 Dec 2017 00:52:42 +0100 Subject: [PATCH] gnu: Add krita. * gnu/packages/kde.scm (krita): Add new variable. Signed-off-by: Kei Kebreau =2D-- gnu/packages/kde.scm | 90 ++++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 59271ebee..39a137397 100644 =2D-- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2016, 2017 Efraim Flashner ;;; Copyright =C2=A9 2016, 2017 Thomas Danckaert +;;; Copyright =C2=A9 2017 Mark Meyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,18 +24,29 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages apr) #:use-module (gnu packages boost) #:use-module (gnu packages compression) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) + #:use-module (gnu packages gettext) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages gnome) + #:use-module (gnu packages graphics) + #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages llvm) + #:use-module (gnu packages maths) + #:use-module (gnu packages pdf) + #:use-module (gnu packages perl) + #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) #:use-module (gnu packages qt) =2D #:use-module (gnu packages version-control)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xorg)) =20 (define-public kdevelop (package @@ -220,6 +232,82 @@ for some KDevelop language plugins (Ruby, PHP, CSS...)= .") plugins, as well as code to create plugins, or complete applications.") (license license:gpl3+))) =20 +(define-public krita + (package + (name "krita") + (version "3.3.2.1") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/krita/" + "3.3.2/" name "-" version ".tar.xz")) + (sha256 + (base32 + "0i3l27cfi1h486m74xf4ynk0pwx32xaqraa91a0g1bpj1jxf2mg5")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (list "-DBUILD_TESTING=3DOFF" "-DKDE4_BUILD_TESTS=3DOFF" + (string-append "-DWITH_FFTW3=3D" + (assoc-ref %build-inputs "fftw")) + (string-append "-DWITH_GSL=3D" + (assoc-ref %build-inputs "gsl")) + (string-append "-DWITH_LibRaw=3D" + (assoc-ref %build-inputs "libraw")) + (string-append "-DWITH_JPEG=3D" + (assoc-ref %build-inputs "openjpeg")) + (string-append "-DWITH_Poppler=3D" + (assoc-ref %build-inputs "poppler")) + (string-append "-DWITH_TIFF=3D" + (assoc-ref %build-inputs "libtiff"))))) + (native-inputs + `(("curl" ,curl) + ("eigen" ,eigen) + ("extra-cmake-modules" ,extra-cmake-modules) + ("gettext-minimal" ,gettext-minimal) + ("kitemmodels" ,kitemmodels) + ("qwt" ,qwt))) + (inputs + `(("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtmultimedia" ,qtmultimedia) + ("qtx11extras" ,qtx11extras) + ("qtsvg" ,qtsvg) + ("karchive" ,karchive) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kguiaddons" ,kguiaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kitemviews" ,kitemviews) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("boost" ,boost) + ("exiv2" ,exiv2) + ("lcms" ,lcms) + ("libpng" ,libpng) + ("zlib" ,zlib) + ("libx11" ,libx11) + ("libxcb" ,libxcb) + ("libxi" ,libxi) + ("fftw" ,fftw) + ("gsl" ,gsl) + ("openjpeg" ,openjpeg) + ("poppler" ,poppler) + ("libraw" ,libraw) + ("libtiff" ,libtiff) + ("perl" ,perl))) + (home-page "https://krita.org") + (synopsis "Digital painting application") + (description + "A digital image editor, primarily aimed at digital painting and anim= ation.") + (license license:gpl2+))) + (define-public libkomparediff2 (package (name "libkomparediff2") =2D-=20 2.15.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAloti7YACgkQ5qXuPBlG eg0Kdg/9FVuEInAUdbtzUH1TDKvuXwF7/PgLCNK1WF8LS61kGsoHC2CqrKyd3xfU bbGTBAIzNdTB3Nm4sMNwSp0nt50HpbBP6U7M2OPdVSnpQVCvUiq70pO943E1CALx bXIaeWDoeugpAH5y0/fpU0wGoBFAhaOSFgtp0KHD790vwSRozIQuTOp8OUkd9U1b KZvaGu7Xy35Leb9z3bgpk3fkDUqYyVPXS5E7Uq6Ds07+z3jV82R1Z5fWKjw6uFT9 z+iFObFbsgRLfUpI96t1kYRF4iwXs/QiGjw5z/wUaKzAZ3AD0DJj1e19aZgrkDuo Sap2V3pTog8SrAxs4qpEi0tunpS5DdrWEEFDJstG8zpBQPURIn6PautiL08fx1H0 qET6yRWoomhNOFVxytu5KI0g7m4HVQ9/2dhpXpeolJuHzDv5hs2k63KfN7gL4WRe HtKki5jI/AATtfSGxKOzksOnGfqCT5I324O0XJaUVLWAsS8IaDx/Jdu9hqyNVz04 QsB8y6VviV9xk3/vZHgZunO1AjokN0fNr3BL0Avf5IXj/P9Ch1cmPTQgg0pxP2Vc rQjDVTj8jtmDC3vFqjtRi3CDqtLQStprbcW01hvdPni0AeaUXYlECxgOfwmf90Ly iGXkC3xoMjrF8Q1OiTo1dn+tMHOt2uPY42dMxzHGMR8G4kGKzpA= =F5W3 -----END PGP SIGNATURE----- --==-=-=--