From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact.ng0@cryptolab.net Subject: [PATCH] gnu: Add krita. Date: Mon, 30 Jan 2017 23:32:03 +0000 Message-ID: <20170130233203.5157-2-contact.ng0@cryptolab.net> References: <20170130233203.5157-1-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYLPX-00016k-Lh for guix-devel@gnu.org; Mon, 30 Jan 2017 18:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYLPU-0006RO-Fr for guix-devel@gnu.org; Mon, 30 Jan 2017 18:30:59 -0500 Received: from aibo.runbox.com ([91.220.196.211]:55262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYLPU-0006RI-8u for guix-devel@gnu.org; Mon, 30 Jan 2017 18:30:56 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1cYLPR-0005ho-Lq for guix-devel@gnu.org; Tue, 31 Jan 2017 00:30:53 +0100 In-Reply-To: <20170130233203.5157-1-contact.ng0@cryptolab.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: ng0 From: ng0 * gnu/packages/graphics.scm (krita): New variable. --- gnu/packages/graphics.scm | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index b55285707..fec4bb491 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Andreas Enge +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,9 @@ #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) + #:use-module (gnu packages gettext) #:use-module (gnu packages haskell) #:use-module (gnu packages image) #:use-module (gnu packages python) @@ -44,8 +47,10 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate #:use-module (gnu packages compression) + #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages boost) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages graphviz) @@ -53,7 +58,10 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages photo) + #:use-module (gnu packages perl) + #:use-module (gnu packages pdf) #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages readline) @@ -537,3 +545,75 @@ and understanding different BRDFs (and other component functions).") It supports sub-pixel resolutions and anti-aliasing. It is also library for rendering SVG graphics.") (license license:gpl2+))) + +(define-public krita + (package + (name "krita") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append + "http://download.kde.org/stable/krita/" + "3.0.0/" name "-" version ".tgz")) + (sha256 + (base32 + "0nlwka1x5apwm7y0i65y25nxjymrfvys162c10r6v7bh7di8bsjc")))) + (build-system cmake-build-system) + (arguments + `(#:make-flags + (list (string-append "-DWITH_FFTW3=" + (assoc-ref %build-inputs "fftw")) + (string-append "-DWITH_GSL=" + (assoc-ref %build-inputs "gsl")) + (string-append "-DWITH_LibRaw=" + (assoc-ref %build-inputs "libraw")) + (string-append "-DWITH_JPEG=" + (assoc-ref %build-inputs "openjpeg")) + (string-append "-DWITH_OpenEXR=" + (assoc-ref %build-inputs "openexr")) + (string-append "-DWITH_Poppler=" + (assoc-ref %build-inputs "poppler")) + (string-append "-DWITH_TIFF=" + (assoc-ref %build-inputs "libtiff"))))) + (inputs + `(("karchive" ,karchive) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kguiaddons" ,kguiaddons) + ;; ("kil8n" ,kil8n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kitemmodels" ,kitemmodels) + ("kitemviews" ,kitemviews) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("boost" ,boost) + ("exiv2" ,exiv2) + ("lcms" ,lcms) + ("libpng" ,libpng) + ("curl" ,curl) + ("zlib" ,zlib) + ("libx11" ,libx11) + ("libxcb" ,libxcb) + ("libxi" ,libxi) + ("fftw" ,fftw) + ("gsl" ,gsl) + ("openjpeg" ,openjpeg) + ("ilmbase" ,ilmbase) + ("openexr" ,openexr) + ("poppler" ,poppler) + ("libraw" ,libraw) + ("libtiff" ,libtiff) + ("eigen" ,eigen) + ("perl" ,perl) + ("gettext-minimal" ,gettext-minimal))) + (home-page "https://krita.org") + (synopsis "Digital painting application") + (description + "FOO") + (license license:gpl2+))) ; probably more -- 2.11.0