Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] darktable: add missing optional dependencies
@ 2022-01-05 16:41 lemmi
  2022-01-05 17:25 ` [PR PATCH] [Updated] " lemmi
  2022-01-05 18:10 ` [PR PATCH] [Merged]: " lemmi
  0 siblings, 2 replies; 3+ messages in thread
From: lemmi @ 2022-01-05 16:41 UTC (permalink / raw)
  To: ml

[-- 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"

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

* Re: [PR PATCH] [Updated] darktable: add missing optional dependencies
  2022-01-05 16:41 [PR PATCH] darktable: add missing optional dependencies lemmi
@ 2022-01-05 17:25 ` lemmi
  2022-01-05 18:10 ` [PR PATCH] [Merged]: " lemmi
  1 sibling, 0 replies; 3+ messages in thread
From: lemmi @ 2022-01-05 17:25 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 2586 bytes --]

From cd7c40a870d720cb3122e6ab279fe192120d41ae 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 | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 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..6ddade65ac18 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 portmidi-devel $(vopt_if gmic gmic-devel)
+ $(vopt_if avif libavif-devel) $(vopt_if sdl2 SDL2-devel)"
 depends="adwaita-icon-theme"
 short_desc="Virtual lighttable and darkroom for photographers"
 maintainer="lemmi <lemmi@nerd2nerd.org>"
@@ -24,10 +25,13 @@ 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="avif gmic sdl2"
 
 if [ ! "$CROSS_BUILD" ]; then
-	build_options_default+=" gmic"
+	build_options_default+=" gmic sdl2"
 fi
 
 # Temporarily disable OpenMP for aarch64:

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

* Re: [PR PATCH] [Merged]: darktable: add missing optional dependencies
  2022-01-05 16:41 [PR PATCH] darktable: add missing optional dependencies lemmi
  2022-01-05 17:25 ` [PR PATCH] [Updated] " lemmi
@ 2022-01-05 18:10 ` lemmi
  1 sibling, 0 replies; 3+ messages in thread
From: lemmi @ 2022-01-05 18:10 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

darktable: add missing optional dependencies
https://github.com/void-linux/void-packages/pull/34869

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

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

end of thread, other threads:[~2022-01-05 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 16:41 [PR PATCH] darktable: add missing optional dependencies lemmi
2022-01-05 17:25 ` [PR PATCH] [Updated] " lemmi
2022-01-05 18:10 ` [PR PATCH] [Merged]: " lemmi

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).