SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i titled the thread 'darktable issues' because of various factors:
1) ponce's sbo package for slackware current seems to be 'darktable 4.2.1' and not 'darktable-4.6.0' as mentioned in this thread;
2) ponce's 'darktable 4.2.1-2' does not build (I re-synced ponce's repo last night before doing a bunch of re-installs)
Quote:
..........
/tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd:194: element complexType: Schemas parser error : complex type 'CFA2Type': The content model is not determinist.
WXS schema /tmp/SBo/darktable-4.2.1/src/external/rawspeed/data/cameras.xsd failed to compile
make[2]: *** [lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/build.make:76: lib64/darktable/rawspeed/data/cameras.xml.touch] Error 5
make[2]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make[1]: *** [CMakeFiles/Makefile2:2342: lib64/darktable/rawspeed/data/CMakeFiles/validate-cameras.xml.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/darktable-4.2.1/build'
make: *** [Makefile:156: all] Error 2
darktable:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
3) 'darktable-4.6.1' from pkgs.org won't launch (i know, some of you will tell me not to install anything from pkgs.org and some of you will say 'there is nothing wrong with pkgs.org). I also installed (painfully) all the required deps and subdeps specified on each package;
4) tried to build the package 'darktable 4.2.1' using slpkg (now that I finally gor it working) and interestingly enough I realized that slpkg builds its packages based on ponce's libraries which, of course, didn't work either;
Has anyone managed to get darktable to work on current? if so, how?
I would appreciate some hints because at this stage, even using a slacware binary, don't think will solve the problem.
p.s.: i am on slackware current with a 'non-virgin' installation, meaning I already have installed third-party packages such as Apache OO, Scribus, Inkscape and more
i'm able to build darktable 4.6.1 using a modified SlackBuild
Code:
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index 2c20db3062..7aa729f67b 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=darktable
-VERSION=${VERSION:-4.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.6.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# Slackware's lensfun isn't compatible
@@ -45,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -100,9 +97,6 @@ cd build
-DUSE_LIBSECRET=On \
-DBINARY_PACKAGE_BUILD=1 \
-DDONT_USE_INTERNAL_LUA=0 \
- -DLensFun_INCLUDE_DIR="/opt/$LENSFUN/include/lensfun" \
- -DLensFun_LIBRARIES="/opt/$LENSFUN/lib$LIBDIRSUFFIX" \
- -DLensFun_LIBRARY="/opt/$LENSFUN/lib$LIBDIRSUFFIX/liblensfun.so" \
-DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make
make install DESTDIR=$PKG
diff --git a/graphics/darktable/darktable.info b/graphics/darktable/darktable.info
index 38835785d1..b37daf872f 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,10 +1,10 @@
PRGNAM="darktable"
-VERSION="4.2.1"
+VERSION="4.6.1"
HOMEPAGE="https://www.darktable.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.2.1/darktable-4.2.1.tar.xz"
-MD5SUM_x86_64="ac7b028c0768f19ce9cb604beaac3d86"
+DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.6.1/darktable-4.6.1.tar.xz"
+MD5SUM_x86_64="e46c3dc0cf649f8b3b73f55153aabe97"
REQUIRES="gmic pugixml lensfun03"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
i'm able to build darktable 4.6.1 using a modified SlackBuild
Code:
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index 2c20db3062..7aa729f67b 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=darktable
-VERSION=${VERSION:-4.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.6.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# Slackware's lensfun isn't compatible
@@ -45,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -100,9 +97,6 @@ cd build
-DUSE_LIBSECRET=On \
-DBINARY_PACKAGE_BUILD=1 \
-DDONT_USE_INTERNAL_LUA=0 \
- -DLensFun_INCLUDE_DIR="/opt/$LENSFUN/include/lensfun" \
- -DLensFun_LIBRARIES="/opt/$LENSFUN/lib$LIBDIRSUFFIX" \
- -DLensFun_LIBRARY="/opt/$LENSFUN/lib$LIBDIRSUFFIX/liblensfun.so" \
-DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make
make install DESTDIR=$PKG
diff --git a/graphics/darktable/darktable.info b/graphics/darktable/darktable.info
index 38835785d1..b37daf872f 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,10 +1,10 @@
PRGNAM="darktable"
-VERSION="4.2.1"
+VERSION="4.6.1"
HOMEPAGE="https://www.darktable.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.2.1/darktable-4.2.1.tar.xz"
-MD5SUM_x86_64="ac7b028c0768f19ce9cb604beaac3d86"
+DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.6.1/darktable-4.6.1.tar.xz"
+MD5SUM_x86_64="e46c3dc0cf649f8b3b73f55153aabe97"
REQUIRES="gmic pugixml lensfun03"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
hello and thank you for the input.
I have the feeling that the long code is trying to tell me something? or is it just to confirm that you built darktable-4.6.1. successfully?
anyhow, would you be so kind to, at least, suggest what you did?
In the meantime, i tried to build darktable-4.6.1 using the SBO slackbuild and the source code that I downloaded from their website, and the build stopped with an error msg almost immediately
Quote:
...........
darktable-4.6.1/tools/wb_presets_common.rb
patching file src/common/exif.cc
Hunk #1 succeeded at 103 with fuzz 2 (offset 23 lines).
Hunk #2 FAILED at 2663.
Hunk #3 FAILED at 2703.
Hunk #4 FAILED at 2863.
Hunk #5 FAILED at 4065.
Hunk #6 FAILED at 4081.
Hunk #7 FAILED at 4209.
Hunk #8 FAILED at 4376.
Hunk #9 FAILED at 4442.
8 out of 9 hunks FAILED -- saving rejects to file src/common/exif.cc.rej
patching file tools/basecurve/exif-wrapper.cpp
Hunk #2 FAILED at 37.
1 out of 2 hunks FAILED -- saving rejects to file tools/basecurve/exif-wrapper.cpp.rej
bash-5.2#
If you're using the SlackBuild from ponce's repo, the patch command at line 91 needs to be commented out or deleted to build 4.6.1.
Thank you for the input but it didnt work either.
Quote:
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS - Success
-- Does the compiler support __builtin_cpu_supports(): 1
-- Performing Test HAVE_TLS
-- Performing Test HAVE_TLS - Success
-- Checking for -mtune=generic support
-- Performing Test MTUNEGENERIC
-- Performing Test MTUNEGENERIC - Success
-- Lua support: Enabled
CMake Error at cmake/modules/LibFindMacros.cmake:272 (message):
REQUIRED PACKAGE NOT FOUND
We could not find development headers for Pugixml. Do you have the
necessary dev package installed? This package is REQUIRED and you need to
install it or adjust CMake configuration in order to continue building
darktable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.