all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Krita
@ 2017-01-30 23:32 contact.ng0
  2017-01-30 23:32 ` [PATCH] gnu: Add krita contact.ng0
  2017-02-01 22:50 ` Krita Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: contact.ng0 @ 2017-01-30 23:32 UTC (permalink / raw)
  To: guix-devel

I'm not sure if someone was/is working on this, but here's a patch you can
use as a start.

I could probably fix it, but I drop work on this.
Here's the error to get you started on fixing it:

-- Using CMake version: 3.6.1
-- Krita version: 3.0
Module path:/tmp/guix-build-krita-3.0.drv-0/krita-3.0/cmake/modules/tmp/guix-build-krita-3.0.drv-0/krita-3.0/cmake/kde_macro
-- Release build: TRUE
-- -------------------------------------------------------------------
-- Configured with product set "ALL"
-- -------------------------------------------------------------------
CMake Error at CMakeLists.txt:208 (find_package):
  By not providing "FindECM.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ECM", but
  CMake did not find one.

  Could not find a package configuration file provided by "ECM" (requested
  version 1.7.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/tmp/guix-build-krita-3.0.drv-0/build/CMakeFiles/CMakeOutput.log".
phase `configure' failed after 2.8 seconds
builder for `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed with exit code 1
@ build-failed /gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv - 1 builder for `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] gnu: Add krita.
  2017-01-30 23:32 Krita contact.ng0
@ 2017-01-30 23:32 ` contact.ng0
  2017-02-01 22:50 ` Krita Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: contact.ng0 @ 2017-01-30 23:32 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@we.make.ritual.n0.is>

* 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 <rekado@elephly.net>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Krita
  2017-01-30 23:32 Krita contact.ng0
  2017-01-30 23:32 ` [PATCH] gnu: Add krita contact.ng0
@ 2017-02-01 22:50 ` Ludovic Courtès
  2017-02-01 23:07   ` Krita ng0
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-02-01 22:50 UTC (permalink / raw)
  To: contact.ng0; +Cc: guix-devel

Hey ng0,

contact.ng0@cryptolab.net skribis:

> I'm not sure if someone was/is working on this, but here's a patch you can
> use as a start.

That’s quite a few messages for work in progress, which can be confusing
when scanning a long list of unread messages for pending patches.

Perhaps you could publish them on a personal repo and mention it here
once or on IRC?

(Great that you got started on Krita and Evolution, BTW.  :-))

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Krita
  2017-02-01 22:50 ` Krita Ludovic Courtès
@ 2017-02-01 23:07   ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2017-02-01 23:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Ludovic Courtès writes:

> Hey ng0,
>
> contact.ng0@cryptolab.net skribis:
>
>> I'm not sure if someone was/is working on this, but here's a patch you can
>> use as a start.
>
> That’s quite a few messages for work in progress, which can be confusing
> when scanning a long list of unread messages for pending patches.

I know, and I will send a message with links to what's RFC,
what's dropped and what's continous work, once I'm done with
dropping.

> Perhaps you could publish them on a personal repo and mention it here
> once or on IRC?

They used to be in a public repo. I'm down to 70 branches
already, which from 270 branches is already progress for getting
back on road, focused on what I want to do.

> (Great that you got started on Krita and Evolution, BTW.  :-))
>
> Ludo’.

I drop branches (and deleted those I marked as "dropped" in the
cover letters), because I need air, need to breath, and focusing
on what's important for the goals I target with Guix. krita for
example is not in this roadmap, but between the previous
self-evaluation and the one I've done a few days ago I got lost
in some "hey, it would be cool to have this" tasks.

There are still non-roadmap puzzles I want to solve though, and I
keep those around (including but not limited to: torbrowser,
pike).

(My) Roadmap goals now focus more on services, hardening, uclibc,
support of libressl, etc.
-- 
ng0 . https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-01 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 23:32 Krita contact.ng0
2017-01-30 23:32 ` [PATCH] gnu: Add krita contact.ng0
2017-02-01 22:50 ` Krita Ludovic Courtès
2017-02-01 23:07   ` Krita ng0

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.