Github messages for voidlinux
 help / color / mirror / Atom feed
From: lemmi <lemmi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [no merge] darktable: update to 3.0.0.
Date: Sat, 18 Apr 2020 08:41:16 +0200	[thread overview]
Message-ID: <20200418064116.O-hsekCOCuLyGIIqlE9JC-huX0OPOKEM7L4SfGhkuCQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17787@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 543 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/17787

[no merge] darktable: update to 3.0.0.
Since this is a rather huge upgrade to darktable and version `3.0.1` is probably not too far out, I'd like to wait until then. So this is PR is more or less a placeholder and the first test if this builds everywhere. 

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

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

From cd3c38a4c523d83b5138b8847c351ada7cf56669 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Thu, 26 Dec 2019 09:24:58 +0100
Subject: [PATCH] darktable: update to 3.0.2.

---
 srcpkgs/darktable/patches/altivec.patch | 37 -------------------------
 srcpkgs/darktable/template              | 22 +++++++++++----
 2 files changed, 16 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/darktable/patches/altivec.patch

diff --git a/srcpkgs/darktable/patches/altivec.patch b/srcpkgs/darktable/patches/altivec.patch
deleted file mode 100644
index 4bed6ef4b5f..00000000000
--- a/srcpkgs/darktable/patches/altivec.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-This fixes compilation on ppc with opencl on. Prevent opencl
-headers from defining keywords as macros which would conflict
-with C++ keywords as well as C99 keyword macro bool.
-
---- src/external/CL/cl_platform.h
-+++ src/external/CL/cl_platform.h
-@@ -275,14 +275,23 @@ typedef unsigned int cl_GLenum;
- 
- /* Define basic vector types */
- #if defined( __VEC__ )
-+   #ifndef __APPLE_ALTIVEC__
-+     /* prevent gcc from defining the keywords as macros
-+      * do not manually undef for c99 stdbool.h compat
-+      */
-+     #define __APPLE_ALTIVEC__ 1
-+     #include <altivec.h>
-+     #undef __APPLE_ALTIVEC__
-+   #else
-    #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
--   typedef vector unsigned char     __cl_uchar16;
--   typedef vector signed char       __cl_char16;
--   typedef vector unsigned short    __cl_ushort8;
--   typedef vector signed short      __cl_short8;
--   typedef vector unsigned int      __cl_uint4;
--   typedef vector signed int        __cl_int4;
--   typedef vector float             __cl_float4;
-+   #endif
-+   typedef __vector unsigned char     __cl_uchar16;
-+   typedef __vector signed char       __cl_char16;
-+   typedef __vector unsigned short    __cl_ushort8;
-+   typedef __vector signed short      __cl_short8;
-+   typedef __vector unsigned int      __cl_uint4;
-+   typedef __vector signed int        __cl_int4;
-+   typedef __vector float             __cl_float4;
-    #define  __CL_UCHAR16__  1
-    #define  __CL_CHAR16__   1
-    #define  __CL_USHORT8__  1
diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template
index f54cbd9e2a0..5d1246342c6 100644
--- a/srcpkgs/darktable/template
+++ b/srcpkgs/darktable/template
@@ -1,9 +1,9 @@
 # Template file for 'darktable'
 pkgname=darktable
-version=2.6.3
-revision=3
+version=3.0.2
+revision=1
 # upstream only supports these archs:
-archs="i686* x86_64* aarch64* ppc64le*"
+archs="x86_64* aarch64* ppc64le*"
 build_style=cmake
 # this makes sure to use -march=generic and -msse3
 configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON
@@ -13,8 +13,8 @@ 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 lua-devel json-glib-devel
  libgomp-devel libopenjpeg2-devel libopenexr-devel libgraphicsmagick-devel
- libsecret-devel pugixml-devel libosmgpsmap-devel flickcurl-devel
- colord-gtk-devel desktop-file-utils"
+ libsecret-devel pugixml-devel libosmgpsmap-devel colord-gtk-devel
+ desktop-file-utils"
 depends="adwaita-icon-theme"
 short_desc="Virtual lighttable and darkroom for photographers"
 maintainer="lemmi <lemmi@nerd2nerd.org>"
@@ -22,4 +22,14 @@ 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=a518999c8458472edfc04577026ce5047d74553052af0f52d10ba8ce601b78f0
+checksum=6abaf661fe9414e92bdb33b58b98ef024ccf6132b7876abaf0751ec2109f36fb
+
+# Temporarily disable OpenMP for aarch64:
+#
+# see https://github.com/void-linux/void-packages/issues/21105
+
+case $XBPS_TARGET_MACHINE in
+	aarch64*)
+		configure_args+=" -DUSE_OPENMP=OFF"
+		;;
+esac

  parent reply	other threads:[~2020-04-18  6:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26  8:28 [PR PATCH] " voidlinux-github
2019-12-27  2:00 ` voidlinux-github
2019-12-27  2:02 ` voidlinux-github
2019-12-27  2:02 ` voidlinux-github
2019-12-28 18:21 ` voidlinux-github
2019-12-29  1:12 ` voidlinux-github
2020-01-08  5:49 ` voidlinux-github
2020-01-08  5:57 ` voidlinux-github
2020-01-08  5:57 ` voidlinux-github
2020-01-08  6:04 ` voidlinux-github
2020-02-25 19:42 ` TeddyDD
2020-02-25 20:21 ` lemmi
2020-04-17 19:50 ` [PR PATCH] [Updated] " lemmi
2020-04-18  6:38 ` lemmi
2020-04-18  6:41 ` lemmi [this message]
2020-04-18  7:34 ` lemmi
2020-04-18 15:13 ` [PR PATCH] [Closed]: " 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=20200418064116.O-hsekCOCuLyGIIqlE9JC-huX0OPOKEM7L4SfGhkuCQ@z \
    --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).