Skip to content

Commit 026379a

Browse files
Merge branch 'darktable-org:master' into master
2 parents bfe659e + 2e0a7bd commit 026379a

File tree

882 files changed

+638161
-332997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

882 files changed

+638161
-332997
lines changed

.ci/Brewfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is part of darktable.
2-
# copyright (c) 2016 Roman Lebedev.
2+
# Copyright (C) 2016-2023 darktable developers.
33
#
44
# darktable is free software: you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by
@@ -15,6 +15,8 @@
1515
# along with darktable. If not, see <http://www.gnu.org/licenses/>.
1616

1717
brew 'cmake'
18+
brew 'pkg-config'
19+
brew 'adwaita-icon-theme'
1820
brew 'desktop-file-utils'
1921
brew 'exiv2'
2022
brew 'gettext'
@@ -29,22 +31,26 @@ brew 'icu4c'
2931
brew 'intltool'
3032
brew 'iso-codes'
3133
brew 'json-glib'
34+
brew 'jsonschema'
3235
brew 'lensfun'
3336
brew 'libavif'
3437
brew 'libheif'
38+
brew 'libraw'
3539
brew 'librsvg'
3640
brew 'libsecret'
37-
brew 'libsoup'
3841
brew 'little-cms2'
3942
brew 'lua'
4043
brew 'libomp'
4144
brew 'ninja'
4245
brew 'openexr'
4346
brew 'openjpeg'
4447
brew 'osm-gps-map'
48+
brew 'portmidi'
4549
brew 'pugixml'
4650
brew 'sdl2'
4751
brew 'cmocka'
4852
brew 'curl'
4953
brew 'perl'
5054
brew 'jpeg'
55+
brew 'jpeg-xl'
56+
brew 'webp'

.ci/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get update && \
7676
libcups2-dev \
7777
libcurl4-gnutls-dev \
7878
libexiv2-dev \
79-
libflickcurl-dev \
8079
libgdk-pixbuf2.0-dev \
8180
libglib2.0-dev \
8281
libgphoto2-dev \
@@ -99,7 +98,6 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get update && \
9998
librsvg2-dev \
10099
libsaxon-java \
101100
libsecret-1-dev \
102-
libsoup2.4-dev \
103101
libsqlite3-dev \
104102
libtiff5-dev \
105103
libwebp-dev \

.ci/appveyor.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.ci/ci-script-windows.sh

Lines changed: 0 additions & 91 deletions
This file was deleted.

.ci/ci-script.sh

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# This file is part of darktable.
4-
# copyright (c) 2016 Roman Lebedev.
4+
# Copyright (C) 2016-2023 darktable developers.
55
#
66
# darktable is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by
@@ -16,65 +16,52 @@
1616
# You should have received a copy of the GNU General Public License
1717
# along with darktable. If not, see <http://www.gnu.org/licenses/>.
1818

19-
# it is supposed to be run by travis-ci
20-
# expects a few env variables to be set:
21-
# BUILD_DIR - the working directory, where to build
22-
# INSTALL_DIR - the installation prefix.
23-
# SRC_DIR - read-only directory with git checkout to compile
24-
# CC, CXX, CFLAGS, CXXFLAGS are not required, should make sense too
25-
# TARGET - either build, skiptest, nofeatures or usermanual
19+
# This script is supposed to be run by Travis CI or GitHub workflow.
20+
# It expects a few env variables to be set:
21+
# BUILD_DIR - the working directory where the program will be built
22+
# INSTALL_DIR - the installation prefix
23+
# SRC_DIR - directory with the source code to be compiled
24+
# CC, CXX, CFLAGS, CXXFLAGS are optional, but make sense for build
25+
# TARGET - either build, skiptest, nofeatures or nofeatures_nosse
2626
# ECO - some other flags for cmake
2727

2828
set -ex
2929

30-
VERBOSE="-v"
31-
KEEPGOING="-k0"
30+
if [ "$GENERATOR" = "Ninja" ];
31+
then
32+
VERBOSE="-v"
33+
KEEPGOING="-k0"
34+
JOBS=""
35+
fi;
3236

3337
if [ "$GENERATOR" = "Unix Makefiles" ];
3438
then
3539
VERBOSE="VERBOSE=1";
3640
KEEPGOING="-k"
41+
JOBS="-j2"
3742
fi;
3843

3944
if [ "$GENERATOR" = "MSYS Makefiles" ];
4045
then
4146
VERBOSE="VERBOSE=1";
4247
KEEPGOING="-k"
48+
JOBS="-j2"
4349
fi;
4450

45-
if [ -z "${MAKEFLAGS+x}" ];
46-
then
47-
MAKEFLAGS="-j2 $VERBOSE"
48-
fi
49-
5051
target_build()
5152
{
52-
# to get as much of the issues into the log as possible
53-
cmake --build "$BUILD_DIR" -- $MAKEFLAGS || cmake --build "$BUILD_DIR" -- -j1 "$VERBOSE" "$KEEPGOING"
53+
cmake --build "$BUILD_DIR" -- $JOBS "$VERBOSE" "$KEEPGOING"
5454

5555
ctest --output-on-failure || ctest --rerun-failed -V -VV
5656

57-
# and now check that it installs where told and only there.
58-
cmake --build "$BUILD_DIR" --target install -- $MAKEFLAGS || cmake --build "$BUILD_DIR" --target install -- -j1 "$VERBOSE" "$KEEPGOING"
57+
cmake --build "$BUILD_DIR" --target install -- $JOBS "$VERBOSE" "$KEEPGOING"
5958
}
6059

6160
target_notest()
6261
{
63-
# to get as much of the issues into the log as possible
64-
cmake --build "$BUILD_DIR" -- $MAKEFLAGS || cmake --build "$BUILD_DIR" -- -j1 "$VERBOSE" "$KEEPGOING"
65-
66-
# and now check that it installs where told and only there.
67-
cmake --build "$BUILD_DIR" --target install -- $MAKEFLAGS || cmake --build "$BUILD_DIR" --target install -- -j1 "$VERBOSE" "$KEEPGOING"
68-
}
69-
70-
target_usermanual()
71-
{
72-
cmake --build "$BUILD_DIR" -- -j1 -v -k0 validate_usermanual_xml
62+
cmake --build "$BUILD_DIR" -- $JOBS "$VERBOSE" "$KEEPGOING"
7363

74-
# # to get as much of the issues into the log as possible
75-
# cmake --build "$BUILD_DIR" -- $PARALLEL -v darktable-usermanual || cmake --build "$BUILD_DIR" -- -j1 -v -k0 darktable-usermanual
76-
# test -r doc/usermanual/darktable-usermanual.pdf
77-
# ls -lah doc/usermanual/darktable-usermanual.pdf
64+
cmake --build "$BUILD_DIR" --target install -- $JOBS "$VERBOSE" "$KEEPGOING"
7865
}
7966

8067
diskspace()
@@ -91,11 +78,20 @@ cd "$BUILD_DIR"
9178

9279
case "$TARGET" in
9380
"build")
94-
cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" -G"$GENERATOR" -DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" "$ECO" -DVALIDATE_APPDATA_FILE=ON -DBUILD_TESTING=ON -DTESTBUILD_OPENCL_PROGRAMS=ON "$SRC_DIR" || (cat "$BUILD_DIR"/CMakeFiles/CMakeOutput.log; cat "$BUILD_DIR"/CMakeFiles/CMakeError.log)
81+
cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" \
82+
-G"$GENERATOR" \
83+
-DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" \
84+
-DVALIDATE_APPDATA_FILE=ON \
85+
-DBUILD_TESTING=ON \
86+
-DTESTBUILD_OPENCL_PROGRAMS=ON \
87+
$ECO "$SRC_DIR" || (cat "$BUILD_DIR"/CMakeFiles/CMakeOutput.log; cat "$BUILD_DIR"/CMakeFiles/CMakeError.log)
9588
target_build
9689
;;
9790
"skiptest")
98-
cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" -G"$GENERATOR" -DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" $ECO "$SRC_DIR" || (cat "$BUILD_DIR"/CMakeFiles/CMakeOutput.log; cat "$BUILD_DIR"/CMakeFiles/CMakeError.log)
91+
cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" \
92+
-G"$GENERATOR" \
93+
-DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" \
94+
$ECO "$SRC_DIR" || (cat "$BUILD_DIR"/CMakeFiles/CMakeOutput.log; cat "$BUILD_DIR"/CMakeFiles/CMakeError.log)
9995
target_notest
10096
;;
10197
"nofeatures")
@@ -110,8 +106,10 @@ case "$TARGET" in
110106
-DUSE_NLS=OFF \
111107
-DUSE_GRAPHICSMAGICK=OFF \
112108
-DUSE_OPENJPEG=OFF \
109+
-DUSE_JXL=OFF \
113110
-DUSE_WEBP=OFF \
114111
-DUSE_AVIF=OFF \
112+
-DUSE_HEIF=OFF \
115113
-DUSE_XCF=OFF \
116114
-DBUILD_CMSTEST=OFF \
117115
-DUSE_OPENEXR=OFF \
@@ -135,8 +133,10 @@ case "$TARGET" in
135133
-DUSE_NLS=OFF \
136134
-DUSE_GRAPHICSMAGICK=OFF \
137135
-DUSE_OPENJPEG=OFF \
136+
-DUSE_JXL=OFF \
138137
-DUSE_WEBP=OFF \
139138
-DUSE_AVIF=OFF \
139+
-DUSE_HEIF=OFF \
140140
-DUSE_XCF=OFF \
141141
-DBUILD_CMSTEST=OFF \
142142
-DUSE_OPENEXR=OFF \

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
adobe_coeff.c @LebedevRI
21
rawspeed/ @LebedevRI
32
*rawspeed* @LebedevRI

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

0 commit comments

Comments
 (0)