From: Vinicius Monego <monego@posteo.net>
To: 42807@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#42807] [PATCH v2 2/2] gnu: darktable: Add dependency on libavif, ocl-icd.
Date: Thu, 13 Aug 2020 11:59:16 -0300 [thread overview]
Message-ID: <20200813145916.38243-2-monego@posteo.net> (raw)
In-Reply-To: <20200813145916.38243-1-monego@posteo.net>
* gnu/packages/photo.scm (darktable)[inputs]: Add libavif, ocl-icd.
[arguments]: Set LD_LIBRARY_PATH for OpenCL.
[supported-systems]: Remove i686 which is not supported anymore.
---
gnu/packages/photo.scm | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 688de5c460..2684ac294d 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -503,15 +503,19 @@ photographic equipment.")
(string-append (assoc-ref inputs "ilmbase")
"/include/OpenEXR:" (or (getenv "CPATH") "")))
#t))
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (wrap-program (string-append (assoc-ref outputs "out")
- "/bin/darktable")
- ;; For GtkFileChooserDialog.
- `("GSETTINGS_SCHEMA_DIR" =
- (,(string-append (assoc-ref inputs "gtk+")
- "/share/glib-2.0/schemas"))))
- #t)))))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (string-append (assoc-ref outputs "out")
+ "/bin/darktable")
+ ;; For GtkFileChooserDialog.
+ `("GSETTINGS_SCHEMA_DIR" =
+ (,(string-append (assoc-ref inputs "gtk+")
+ "/share/glib-2.0/schemas")))
+ ;; For libOpenCL.so.
+ `("LD_LIBRARY_PATH" =
+ (,(string-append (assoc-ref inputs "ocl-icd")
+ "/lib"))))
+ #t)))))
(native-inputs
`(("clang" ,clang-9)
("desktop-file-utils" ,desktop-file-utils)
@@ -541,6 +545,7 @@ photographic equipment.")
("lcms" ,lcms)
("lensfun" ,lensfun) ;optional, for the lens distortion plugin
("libgphoto2" ,libgphoto2) ;optional, for camera tethering
+ ("libavif" ,libavif) ;optional, for AVIF support
("libjpeg" ,libjpeg-turbo)
("libomp" ,libomp)
("libpng" ,libpng)
@@ -552,6 +557,7 @@ photographic equipment.")
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("lua" ,lua) ;optional, for plugins
+ ("ocl-icd" ,ocl-icd) ;optional, for OpenCL support
("openexr" ,openexr) ;optional, for EXR import/export
("openjpeg" ,openjpeg) ;optional, for JPEG2000 export
("osm-gps-map" ,osm-gps-map) ;optional, for geotagging view
@@ -565,7 +571,7 @@ developer. It manages your digital negatives in a database, lets you view
them through a zoomable lighttable and enables you to develop raw images
and enhance them.")
;; See src/is_supported_platform.h for supported platforms.
- (supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux"))
+ (supported-systems '("x86_64-linux" "aarch64-linux"))
(license (list license:gpl3+ ;; Darktable itself.
license:lgpl2.1+)))) ;; Rawspeed library.
--
2.20.1
next prev parent reply other threads:[~2020-08-13 15:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 23:23 [bug#42807] [PATCH 1/2] gnu: darktable: Update to 3.2.1 Vinicius Monego
2020-08-10 23:25 ` [bug#42807] [PATCH 2/2] gnu: darktable: Add dependency on libavif, ocl-icd Vinicius Monego
2020-08-10 23:31 ` [bug#42807] [PATCH 1/2] gnu: darktable: Update to 3.2.1 Brett Gilio
2020-08-11 1:12 ` Vinicius Monego
2020-08-12 1:01 ` Vinicius Monego
2020-09-04 9:06 ` Ludovic Courtès
2020-08-13 14:59 ` [bug#42807] [PATCH v2 " Vinicius Monego
2020-08-13 14:59 ` Vinicius Monego [this message]
2020-09-04 9:06 ` bug#42807: " Ludovic Courtès
2020-09-05 18:17 ` [bug#42807] " Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200813145916.38243-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=42807@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).