unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30583] RawTherapee raw image processor
@ 2018-02-22 22:01 Leo Famulari
  2018-02-22 22:02 ` [bug#30583] [PATCH 1/2] gnu: Add libiptcdata Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-02-22 22:01 UTC (permalink / raw)
  To: 30583

[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

This add the RawTherapee program, which is a graphical environment for
working with raw images.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#30583] [PATCH 1/2] gnu: Add libiptcdata.
  2018-02-22 22:01 [bug#30583] RawTherapee raw image processor Leo Famulari
@ 2018-02-22 22:02 ` Leo Famulari
  2018-02-22 22:02   ` [bug#30583] [PATCH 2/2] gnu: Add RawTherapee Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-02-22 22:02 UTC (permalink / raw)
  To: 30583

* gnu/packages/image.scm (libiptcdata): New variable.
---
 gnu/packages/image.scm | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 9052a34e9..ebdce9368 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -7,8 +7,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
 ;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
-;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2016, 2017, 2018 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
@@ -1231,3 +1230,24 @@ medical image data, e.g. magnetic resonance image (MRI) and functional MRI
     (synopsis "Color picker")
     (description "Gpick is an advanced color picker and palette editing tool.")
     (license license:bsd-3)))
+
+(define-public libiptcdata
+  (package
+    (name "libiptcdata")
+    (version "1.0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/" name "/" name "/"
+                                  version "/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "03pfvkmmx762iydq0q207x2028d275pbdysfsgpmrr0ywy63pxkr"))))
+    (build-system gnu-build-system)
+    (home-page "http://libiptcdata.sourceforge.net/")
+    (synopsis "IPTC metadata manipulation library")
+    (description "Libiptcdata is a C library for manipulating the International
+Press Telecommunications Council (IPTC) metadata stored within multimedia files
+such as images.  This metadata can include captions and keywords, often used by
+popular photo management applications.  The library provides routines for
+parsing, viewing, modifying, and saving this metadata.")
+    (license license:lgpl2.0+)))
-- 
2.16.2

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

* [bug#30583] [PATCH 2/2] gnu: Add RawTherapee.
  2018-02-22 22:02 ` [bug#30583] [PATCH 1/2] gnu: Add libiptcdata Leo Famulari
@ 2018-02-22 22:02   ` Leo Famulari
  2018-02-26  1:17     ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-02-22 22:02 UTC (permalink / raw)
  To: 30583

* gnu/packages/photo.scm (rawtherapee): New variable.
---
 gnu/packages/photo.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index e41131fcd..428f46958 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -46,6 +47,7 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages man)
@@ -465,3 +467,57 @@ user interface.  It can be used to assemble a mosaic of photographs into
 a complete panorama and stitch any series of overlapping pictures.")
     (license license:gpl2+)))
 
+(define-public rawtherapee
+  (package
+    (name "rawtherapee")
+    (version "5.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://rawtherapee.com/shared/source/"
+                                  "rawtherapee-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1y1ygxqmqfp4zg8rcgrlfdc1597cyr5zqgp5zjpldhvwdfa9r5cp"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f
+       #:configure-flags
+       (list (string-append "-DLENSFUNDBDIR="
+                            (assoc-ref %build-inputs "lensfun")
+                            "/share/lensfun")
+             "-DCMAKE_BUILD_TYPE=release"
+             ; Don't optimize the build for the host machine. See the file
+             ; 'ProcessorTargets.cmake' in the source distribution for more
+             ; information.
+             "-DPROC_TARGET_NUMBER=1"
+             ; These flags are recommended by upstream for distributed packages.
+             ; See the file 'RELEASE_NOTES.txt' in the source distribution.
+             "-O3"
+             "-DCACHE_NAME_SUFFIX=\"\"")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("expat" ,expat)
+       ("fftw" ,fftwf)
+       ("glib" ,glib)
+       ("glibmm" ,glibmm)
+       ("gtk+" ,gtk+)
+       ("gtkmm" ,gtkmm)
+       ("lcms" ,lcms)
+       ("lensfun" ,lensfun)
+       ("libcanberra" ,libcanberra)
+       ("libiptcdata" ,libiptcdata)
+       ("libjpeg" ,libjpeg)
+       ("libpng" ,libpng)
+       ("libsigc++" ,libsigc++)
+       ("libtiff" ,libtiff)
+       ("zlib" ,zlib)))
+    (home-page "http://rawtherapee.com")
+    (synopsis "Raw image developing and processing")
+    (description "RawTherapee is a raw image processing suite.  It comprises a
+subset of image editing operations specifically aimed at non-destructive raw
+photo post-production and is primarily focused on improving a photographer's
+workflow by facilitating the handling of large numbers of images.  Most raw
+formats are supported, including Pentax Pixel Shift, Canon Dual-Pixel, and those
+from Foveon and X-Trans sensors.")
+    (license license:gpl3+)))
-- 
2.16.2

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

* [bug#30583] [PATCH 2/2] gnu: Add RawTherapee.
  2018-02-22 22:02   ` [bug#30583] [PATCH 2/2] gnu: Add RawTherapee Leo Famulari
@ 2018-02-26  1:17     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2018-02-26  1:17 UTC (permalink / raw)
  To: Leo Famulari, 30583

[-- Attachment #1: Type: text/plain, Size: 2564 bytes --]

Leo Famulari <leo@famulari.name> writes:

> * gnu/packages/photo.scm (rawtherapee): New variable.

[...]

> +(define-public rawtherapee
> +  (package
> +    (name "rawtherapee")
> +    (version "5.3")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://rawtherapee.com/shared/source/"
> +                                  "rawtherapee-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1y1ygxqmqfp4zg8rcgrlfdc1597cyr5zqgp5zjpldhvwdfa9r5cp"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     '(#:tests? #f

No tests, or work in progress?  Other than that both patches LGTM.

> +       #:configure-flags
> +       (list (string-append "-DLENSFUNDBDIR="
> +                            (assoc-ref %build-inputs "lensfun")
> +                            "/share/lensfun")
> +             "-DCMAKE_BUILD_TYPE=release"
> +             ; Don't optimize the build for the host machine. See the file
> +             ; 'ProcessorTargets.cmake' in the source distribution for more
> +             ; information.
> +             "-DPROC_TARGET_NUMBER=1"
> +             ; These flags are recommended by upstream for distributed packages.
> +             ; See the file 'RELEASE_NOTES.txt' in the source distribution.
> +             "-O3"
> +             "-DCACHE_NAME_SUFFIX=\"\"")))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("expat" ,expat)
> +       ("fftw" ,fftwf)
> +       ("glib" ,glib)
> +       ("glibmm" ,glibmm)
> +       ("gtk+" ,gtk+)
> +       ("gtkmm" ,gtkmm)
> +       ("lcms" ,lcms)
> +       ("lensfun" ,lensfun)
> +       ("libcanberra" ,libcanberra)
> +       ("libiptcdata" ,libiptcdata)
> +       ("libjpeg" ,libjpeg)
> +       ("libpng" ,libpng)
> +       ("libsigc++" ,libsigc++)
> +       ("libtiff" ,libtiff)
> +       ("zlib" ,zlib)))
> +    (home-page "http://rawtherapee.com")
> +    (synopsis "Raw image developing and processing")
> +    (description "RawTherapee is a raw image processing suite.  It comprises a
> +subset of image editing operations specifically aimed at non-destructive raw
> +photo post-production and is primarily focused on improving a photographer's
> +workflow by facilitating the handling of large numbers of images.  Most raw
> +formats are supported, including Pentax Pixel Shift, Canon Dual-Pixel, and those
> +from Foveon and X-Trans sensors.")
> +    (license license:gpl3+)))
> -- 
> 2.16.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-02-26  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 22:01 [bug#30583] RawTherapee raw image processor Leo Famulari
2018-02-22 22:02 ` [bug#30583] [PATCH 1/2] gnu: Add libiptcdata Leo Famulari
2018-02-22 22:02   ` [bug#30583] [PATCH 2/2] gnu: Add RawTherapee Leo Famulari
2018-02-26  1:17     ` Marius Bakke

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).