Le 27/12/2023 à 14:54, Remco Viëtor a écrit :
On mercredi 27 décembre 2023 14:04:30 CET Andrew Greig wrote:
I have backed up my ~config/darktable of 4.4.2 and
I have issues with the installation, what is best? apt snap or flatpack?
why do we have such a shit fight?
In 2002 I was using Mandrake and it was as smooth as. Best detection
and configuration of hardware because of the outstanding installer, but
here we are 21 years later and things are really shit!!
(...)
Darktable team can only provide so many binary packages. If they don't provide
a package for your distribution, you'll have to wait until someone else
prepares one.
The latest version was published dec. 21, that's about a week ago, with
christmas in that week. Some of the packagers might have had other obligations
during that time?
And of course, if you are in a hurry, you can always download the source code
and compile dt yourself. Apart from a possible hurdle concerning compiler
versions(*), it's not that difficult. (it's what I did...)
(*: you need at least GCC 12, and then best use "export CC=gcc-12;export
CXX=g++-12" before starting the build)
Hello,
I second this fully. Packaging is not as just snapping one's fingers.
Forget about flatpaks and snaps which could lead to unexpected
behaviours, the best is compiling from sources - what I began to do a
few releases ago.
I install in /usr so as to get things as close as possible from the
first installation from Pascal D.'s repository, and I use checkinstall
instead of make install.
The whole process stands below (don't forget to backup your important
folders) :
# Désinstallation de darktable (optionnel)
############################## #sudo apt autoremove darktable -y #
Pré-requis : installation des dépendances
########################################### sed -e '/^#\sdeb-src
/s/^# *//;t;d' "/etc/apt/sources.list" \ | sudo tee
/etc/apt/sources.list.d/darktable-sources-tmp.list > /dev/null \ &&
( sudo apt update sudo apt build-dep darktable ) sudo rm
/etc/apt/sources.list.d/darktable-sources-tmp.list # Prérequis :
Outils #################### sudo apt -y install autoconf automake
autopoint appstream build-essential checkinstall clang cmake exiv2
extra-cmake-modules g++-12 git git-all intltool m4 make meson nasm
ninja-build patch pkg-config tar xsltproc # Prérequis : Dépendances
######################### sudo apt -y install libavif-dev
libcurl4-gnutls-dev libexiv2-27 libexiv2-dev libgmic1 libgtk-3-dev
libheif1 libimath-3-1-29 libjpeg-dev libjson-glib-dev liblcms2-dev
liblensfun-dev libportmidi-dev libpugixml-dev libraw20 librsvg2-dev
libsqlite3-dev libtiff5-dev libxml2-dev libxml2-utils # Clônage du
dépôt GIT ###################### git clone --recurse-submodules
--depth 1 https://github.com/darktable-org/darktable.git cd
darktable git fetch --tags git checkout tags/release-4.6.0 #
Récupération des sous-modules ############################### git
submodule update --init # Build manuel ############## mkdir build/
cd build/ export CC=gcc-12 export CXX=g++-12 cmake
-DCMAKE_INSTALL_PREFIX=/usr/ .. make sudo checkinstall
Worked flawlessly with 4.4.x (with add-on of 2 new export instructions),
4.5.0 and latest 4.6.0, I adapt it upon release version and new
dependancies and other needs such as GCC versions.
As always, before everything : backup all important datas.
Rgrds, and happy New Year celebrations,
J.-Luc
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org