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: update to 3.8.0.
Date: Sat, 25 Dec 2021 18:55:24 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34694@inbox.vuxu.org> (raw)

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

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

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

darktable: update to 3.8.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



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

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

From 7bc38b59f13faac0f513071e2a7998db1dcb52d8 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 25 Dec 2021 18:53:24 +0100
Subject: [PATCH] darktable: update to 3.8.0.

---
 ...rget_clones-attribute-only-for-glibc.patch | 25 ++++++++-----------
 srcpkgs/darktable/template                    |  8 +++---
 2 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch b/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch
index 8137cd133788..9ba81b0d9067 100644
--- a/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch
+++ b/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch
@@ -1,28 +1,25 @@
-From d61f3f153f8db2c991c09a3d2bd5ac9af69ce614 Mon Sep 17 00:00:00 2001
+From d4560c20044a9d187b0f8c558b3a65945fbc5a27 Mon Sep 17 00:00:00 2001
 From: lemmi <lemmi@nerd2nerd.org>
-Date: Mon, 5 Jul 2021 02:31:17 +0200
+Date: Sat, 25 Dec 2021 18:20:21 +0100
 Subject: [PATCH] define target_clones attribute only for glibc
 
 ---
- src/common/darktable.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ src/common/darktable.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/common/darktable.h b/src/common/darktable.h
-index 3267cfed3..03f17f0ee 100644
+index b841bf2bc..7894badab 100644
 --- a/src/common/darktable.h
 +++ b/src/common/darktable.h
-@@ -126,9 +126,9 @@ typedef unsigned int u_int;
+@@ -127,7 +127,7 @@ typedef unsigned int u_int;
  /* Create cloned functions for various CPU SSE generations */
  /* See for instructions https://hannes.hauswedell.net/post/2017/12/09/fmv/ */
  /* TL;DR : use only on SIMD functions containing low-level paralellized/vectorized loops */
--#if __has_attribute(target_clones) && !defined(_WIN32) && (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64))
-+#if __has_attribute(target_clones) && !defined(_WIN32) && (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)) && defined(__GLIBC__)
+-#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH)
++#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH) && defined(__GLIBC__)
+ # if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)
  #define __DT_CLONE_TARGETS__ __attribute__((target_clones("default", "sse2", "sse3", "sse4.1", "sse4.2", "popcnt", "avx", "avx2", "avx512f", "fma4")))
--#elif __has_attribute(target_clones) && !defined(_WIN32) && defined(__PPC64__)
-+#elif __has_attribute(target_clones) && !defined(_WIN32) && defined(__PPC64__) && defined(__GLIBC__)
- /* __PPC64__ is the only macro tested for in is_supported_platform.h, other macros would fail there anyway. */
- #define __DT_CLONE_TARGETS__ __attribute__((target_clones("default","cpu=power9")))
- #else
+ # elif defined(__PPC64__)
 -- 
-2.32.0
+2.34.1
 
diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template
index f18f5f123b7e..2951cfda3560 100644
--- a/srcpkgs/darktable/template
+++ b/srcpkgs/darktable/template
@@ -1,7 +1,7 @@
 # Template file for 'darktable'
 pkgname=darktable
-version=3.6.0
-revision=2
+version=3.8.0
+revision=1
 # upstream only supports these archs:
 archs="x86_64* aarch64* ppc64le*"
 build_style=cmake
@@ -11,7 +11,7 @@ configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON
 hostmakedepends="pkg-config intltool libxslt-devel desktop-file-utils"
 makedepends="gtk+3-devel glib-devel exiv2-devel libglade-devel libxslt-devel
  dbus-glib-devel libcurl-devel libgphoto2-devel libwebp-devel libsoup-devel
- lensfun-devel sqlite-devel librsvg-devel lua53-devel json-glib-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)"
@@ -22,7 +22,7 @@ license="GPL-3.0-or-later"
 homepage="http://www.darktable.org/"
 changelog="https://github.com/darktable-org/darktable/releases"
 distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
-checksum=86bcd0184af38b93c3688dffd3d5c19cc65f268ecf9358d649fa11fe26c70a39
+checksum=2e65c7c78d074ad218e3ef7a8c3051a8ea78f4a0406386667859645e5e4bf705
 
 build_options="gmic"
 

             reply	other threads:[~2021-12-25 17:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-25 17:55 lemmi [this message]
2021-12-26  2:20 ` ericonr
2021-12-26 10:07 ` [PR PATCH] [Updated] " lemmi
2021-12-26 10:09 ` lemmi
2022-01-03  8:53 ` [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-34694@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).