Github messages for voidlinux
 help / color / mirror / Atom feed
From: lemmi <lemmi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] darktable: add missing optional dependencies
Date: Wed, 05 Jan 2022 17:41:11 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34869@inbox.vuxu.org> (raw)

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

There is a new pull request by lemmi against master on the void-packages repository

https://github.com/lemmi/void-packages darktable
https://github.com/void-linux/void-packages/pull/34869

darktable: add missing optional dependencies
Add dependencies for new input methods (`SDL2`, `portmidi`) and image formats (`libheif`, `libavif`). Disable `libavif` by default, since it currently doesn't load correctly.

A patch file from https://github.com/void-linux/void-packages/pull/34869.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darktable-34869.patch --]
[-- Type: text/x-diff, Size: 2475 bytes --]

From 682203ff6ad83470f9c5b72d52135ef8d2398f24 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Wed, 5 Jan 2022 17:30:51 +0100
Subject: [PATCH] darktable: add missing optional dependencies

---
 common/options.description |  1 +
 srcpkgs/darktable/template | 10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/common/options.description b/common/options.description
index 46e24a140e52..ac0f14c0843d 100644
--- a/common/options.description
+++ b/common/options.description
@@ -3,6 +3,7 @@ desc_option_acl="Enable support for ACLs and Extended Attributes"
 desc_option_alsa="Enable support for ALSA"
 desc_option_aom="Enable support for the AV1 codec"
 desc_option_avahi="Enable support for Avahi"
+desc_option_avif="Enable support for avif image format"
 desc_option_backtrace="Enable support for backtraces via libunwind"
 desc_option_bluetooth="Enable support for bluetooth"
 desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"
diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template
index 2951cfda3560..0d0d40db6de4 100644
--- a/srcpkgs/darktable/template
+++ b/srcpkgs/darktable/template
@@ -1,7 +1,7 @@
 # Template file for 'darktable'
 pkgname=darktable
 version=3.8.0
-revision=1
+revision=2
 # upstream only supports these archs:
 archs="x86_64* aarch64* ppc64le*"
 build_style=cmake
@@ -14,7 +14,8 @@ makedepends="gtk+3-devel glib-devel exiv2-devel libglade-devel libxslt-devel
  lensfun-devel sqlite-devel librsvg-devel lua54-devel json-glib-devel
  libgomp-devel libopenjpeg2-devel libopenexr-devel libgraphicsmagick-devel
  libsecret-devel pugixml-devel libosmgpsmap-devel colord-gtk-devel
- $(vopt_if gmic gmic-devel)"
+ libheif-devel SDL2-devel portmidi-devel $(vopt_if gmic gmic-devel)
+ $(vopt_if avif libavif-devel)"
 depends="adwaita-icon-theme"
 short_desc="Virtual lighttable and darkroom for photographers"
 maintainer="lemmi <lemmi@nerd2nerd.org>"
@@ -24,7 +25,10 @@ changelog="https://github.com/darktable-org/darktable/releases"
 distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
 checksum=2e65c7c78d074ad218e3ef7a8c3051a8ea78f4a0406386667859645e5e4bf705
 
-build_options="gmic"
+# 2022-01-05
+# avif doesn't load correctly, disable avif by default for now:
+# [imageio_load_module_format] failed to open `avif': (null)
+build_options="gmic avif"
 
 if [ ! "$CROSS_BUILD" ]; then
 	build_options_default+=" gmic"

             reply	other threads:[~2022-01-05 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 16:41 lemmi [this message]
2022-01-05 17:25 ` [PR PATCH] [Updated] " lemmi
2022-01-05 18:10 ` [PR PATCH] [Merged]: " lemmi

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34869@inbox.vuxu.org \
    --to=lemmi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).