Re: [darktable-user] darktable 4.4.1 released
Le 03/07/2023 à 10:07, tony Hamilton a écrit : On 02/07/2023 16:29, Jean-Luc wrote: Le 01/07/2023 à 08:19, Pascal Obry a écrit : .../... J.-Luc Jean-Luc, You helped me to compile 4.2.1 some months ago; I hope this helps you now: My attempts to compile 4.4.0 immediately after it was announced failed with a compiler version error (see discussion in Pixls.us under "Don't understand failure to compile dt 4.4.0 from source"). That was fixed by installing g++-12 using Synaptic and running two additional commands before the build: "export CC=gcc-12" and "export CXX=g++-12". I then used the same process as described in the readme ( see https://github.com/darktable-org/darktable#readme) without problem, under Mint 21.1, using the 'easy method' to compile. Yes, I did not know about that syntax. Thanks to you as well. Rgrds, J.-Luc darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] darktable 4.4.1 released
Le 02/07/2023 à 18:54, Remco Viëtor a écrit : On dimanche 2 juillet 2023 17:29:28 CEST Jean-Luc wrote: Le 01/07/2023 à 08:19, Pascal Obry a écrit : We're proud to announce the new corrective release of darktable, 4.4.1! The github release is here: [https://github.com/darktable-org/darktable/releases/tag/release-4.4.1](h ttps://github.com/darktable-org/darktable/releases/tag/release-4.4.1). As always, please don't use the autogenerated tarball provided by github, but only our tar.xz file. The checksums are: .../... Hello, A few days after 4.4 release announce, I tried to compile from sources, following the steps I used for 4.2 - and that was still up-to-date at this time. I ended up with abort due to many missing dependancies and gcc-12+ mandatory. After some time spent to satisfy most of the dependancies, I still could not override the gcc problem. I finally thought I had solved it, after some more browsing, but the only result was a fatal system crash and I had to reinstall from scratch. I am now in the previous state of dt 4.2.1 running, but not willing to try again the compiling adventure without being sure I will not run into the same issue again. Have the compiling instructions been updated, so I will be able to reach the end of the process ? I am currently running Ubuntu 22.04-2, and the steps for getting dt from sources are those : (..) Once you have the source code and all dependencies, what worked for me was: export CC=gcc-12; export CXX=g++-12; ./build.sh --prefix /opt/darktable -- build-type Release --install --sudo That forces use of the GCC version 12 C and C++ compilers before starting the build process. But make sure you have removed a "build" directory that may have been created in your source tree by earlier attempts: cmake caches some results there and will reuse them whenever it finds them. But if you changed anything, those cached results will be wrong... Remco Thanks Remco, I did not know about this syntax. I did have installed gcc-12, but I did not know the way to force it to be used instead of the previous one. So I tried to remove the previous installed stuff, and I did so many things I read here and there that I ended up in system upside-down. Than-you again for your help. Rgrds, J.-Luc darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
Just in case anyone does not want to rebuild.darktable 4.4.1 can be also be installed via flatpak probably also snap. Jimmy On July 4, 2023 7:39:43 AM CDT, "Remco Viëtor" wrote: >On mardi 4 juillet 2023 14:38:09 CEST Remco Viëtor wrote: > >> Perhaps not in the official/base repositories, but: >> https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa >> has gcc-12 available. >or perhaps this repository is better: >https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/ > > > > >darktable user mailing list >to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
On mardi 4 juillet 2023 14:38:09 CEST Remco Viëtor wrote: > Perhaps not in the official/base repositories, but: > https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa > has gcc-12 available. or perhaps this repository is better: https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
On mardi 4 juillet 2023 13:52:17 CEST Guillermo Rozas wrote: > The OBS packages are having problems because Ubuntu 22.04 lacks the > required dependencies to compile darktable 4.4 (in particular, gcc12). As > there is a single maintainer, and he doesn't use Debian/Ubuntu in "normal > life", it could take a while or could be solved tomorrow, there is no ETA > currently. Perhaps not in the official/base repositories, but: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa has gcc-12 available. Once you have a binary, you no longer need gcc, so then it's not too difficult to create a package for others on the distro. However, if there are other missing dependencies (as is the case for OpenSUSe Leap), it gets trickier: if you have to hunt for libraries dt depends on, other would also have to hunt for those. _Not_ nice for a distributed package... As for flatpak, snap and other self-contained packages, some seem to cause their own troubles as soon as you want more than vanilla use, due to the sandboxing they do (which is a good thing, until it isn't). Remco darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
The OBS packages are having problems because Ubuntu 22.04 lacks the required dependencies to compile darktable 4.4 (in particular, gcc12). As there is a single maintainer, and he doesn't use Debian/Ubuntu in "normal life", it could take a while or could be solved tomorrow, there is no ETA currently. More in general: Ubuntu 22.04 is an LTS release. If you want to keep using it for its whole life, updating to newer and newer versions of darktable through deb packages will become increasingly difficult, because they depend on system libraries that are not going to be upgraded (that's the basic idea of the LTS). I would recommend you to start looking for universal packages, like the official flatpak version ( https://flathub.org/apps/org.darktable.Darktable). Best regards, Guillermo On Tue, Jul 4, 2023 at 1:00 AM Niranjan Rao wrote: > On 7/3/23 19:48, Patrick Shanahan wrote: > > don't really know but would bet it is. a simple proof would be to try > it. > > > > warning, backup your library.db before trying as I believe 4.41 > library > > is not backward compatible with 4.40. > > The question becomes where to get it from? OBS repository does not show > it nor does Ubuntu updates. I don't expect Ubuntu updates to update as > historically they haven't once stable release is released. But one could > get binaries from OBS which seems not to be happening. Hence the question. > > > Regards, > > Niranjan > > > > darktable user mailing list > to unsubscribe send a mail to > darktable-user+unsubscr...@lists.darktable.org > > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
On mardi 4 juillet 2023 12:49:17 CEST Bernhard wrote: > Remco Viëtor schrieb am 04.07.23 um 10:29: > > > On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote: > > > >> here is a list of what works and what not ... > >> https://build.opensuse.org/project/show/graphics:darktable > >> (might be possible to get to work with a lot of hacks though - obviously > >> like William did) > >> William Ferguson schrieb am 04.07.23 um 08:05: > >> > >>> I build it > > > > (...) > > > > > > > > Perhaps not all that many hacks. > > > > > > > > You'll need GCC-12 (or newer?), and tell your build system to use it, and > > you may have to disable some optional parts. > > > > e.g. on OpenSUSe I needed to tell the system to use GCC-12 > > ("export CC=gcc-12; export CXX=g++-12), > > and I removed openEXR (which I don't use, so removing it was easier than > > trying to get the proper version...) > > In case of such problems, have a look at the DefineOptions.cmake file, to > > see what could be disabled. > > > > Of course, if you can't get a proper version for a *required* component, > > it gets more difficult... > > > > Remco > > > > > > depends on the viewpoint - aka base knowledge. > I tried to build master 2 months ago - and learned I have do upgrade my > debian. I did that - then I learned I have to do this and that recommended > in pixls.us, github and here. I tried but never succeeded. But I'm not a SW > developer. I'm happy if my scripts (where I don't have the necessity to > compile) work for me. > So something like > > > tell the system to use GCC-12 > > is difficult (ok, you give two commands here - but: as a user? as root? And: > what are the side-affects?) > So I decided to wait till "normal compile" in a "standard system" will work > again. Btw: using the "Testing" binary in "Debian Bookworm" (manual > download) seems to work in the meantime as a workaround. > -- So you have a working dt. Good. If you want to be sure you can go back to stable 4.4.1, make sure you have a backup of the databases: a change in the database scheme may make it impossible to go back to an older version (iirc, a version that updates the databases saves a backup copy, so make sure it is there...) btw, the full sequence I used to compile darktable 4.4.1 was: #> export CC=gcc-12 #> export CXX=g++-12 #> ./build.sh --prefix /opt/darktable --build-type Release --install --sudo All as user, you'll be asked for the root password just before the install to /opt/darktable (which is not user-writable). Remco darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
Remco Viëtor schrieb am 04.07.23 um 10:29: On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote: here is a list of what works and what not ... https://build.opensuse.org/project/show/graphics:darktable (might be possible to get to work with a lot of hacks though - obviously like William did) William Ferguson schrieb am 04.07.23 um 08:05: I build it (...) Perhaps not all that many hacks. You'll need GCC-12 (or newer?), and tell your build system to use it, and you may have to disable some optional parts. e.g. on OpenSUSe I needed to tell the system to use GCC-12 ("export CC=gcc-12; export CXX=g++-12), and I removed openEXR (which I don't use, so removing it was easier than trying to get the proper version...) In case of such problems, have a look at the DefineOptions.cmake file, to see what could be disabled. Of course, if you can't get a proper version for a *required* component, it gets more difficult... Remco depends on the viewpoint - aka base knowledge. I tried to build master 2 months ago - and learned I have do upgrade my debian. I did that - then I learned I have to do this and that recommended in pixls.us, github and here. I tried but never succeeded. But I'm not a SW developer. I'm happy if my scripts (where I don't have the necessity to compile) work for me. So something like tell the system to use GCC-12 is difficult (ok, you give two commands here - but: as a user? as root? And: what are the side-affects?) So I decided to wait till "normal compile" in a "standard system" will work again. Btw: using the "Testing" binary in "Debian Bookworm" (manual download) seems to work in the meantime as a workaround. -- regards Bernhard https://www.bilddateien.de darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.or
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
Hi, On 04/07/2023 02:50, Niranjan Rao wrote: It's not clear to me if latest release of darktable is supported on 22.04. Opensuse OBS repository shows darktable 4.4 only for 23.04. Is it supported on Ubuntu 22.04? I run 22.04. This morning DT updated to 4.4.1 via a simple nala update / upgrade. Still running terribly slow though when compared to prior 4.2 version. Opencl is showing as activated so I am at a loss how to investigate this slow performance further. darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote: > here is a list of what works and what not ... > https://build.opensuse.org/project/show/graphics:darktable > (might be possible to get to work with a lot of hacks though - obviously > like William did) > William Ferguson schrieb am 04.07.23 um 08:05: > > I build it (...) Perhaps not all that many hacks. You'll need GCC-12 (or newer?), and tell your build system to use it, and you may have to disable some optional parts. e.g. on OpenSUSe I needed to tell the system to use GCC-12 ("export CC=gcc-12; export CXX=g++-12), and I removed openEXR (which I don't use, so removing it was easier than trying to get the proper version...) In case of such problems, have a look at the DefineOptions.cmake file, to see what could be disabled. Of course, if you can't get a proper version for a *required* component, it gets more difficult... Remco darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
here is a list of what works and what not ... https://build.opensuse.org/project/show/graphics:darktable (might be possible to get to work with a lot of hacks though - obviously like William did) William Ferguson schrieb am 04.07.23 um 08:05: I build it On Tue, Jul 4, 2023, 12:00 AM Niranjan Rao wrote: On 7/3/23 19:48, Patrick Shanahan wrote: don't really know but would bet it is. a simple proof would be to try it. warning, backup your library.db before trying as I believe 4.41 library is not backward compatible with 4.40. The question becomes where to get it from? OBS repository does not show it nor does Ubuntu updates. I don't expect Ubuntu updates to update as historically they haven't once stable release is released. But one could get binaries from OBS which seems not to be happening. Hence the question. Regards, Niranjan darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org -- regards Bernhard https://www.bilddateien.de darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04
I build it On Tue, Jul 4, 2023, 12:00 AM Niranjan Rao wrote: > On 7/3/23 19:48, Patrick Shanahan wrote: > > don't really know but would bet it is. a simple proof would be to try > it. > > > > warning, backup your library.db before trying as I believe 4.41 > library > > is not backward compatible with 4.40. > > The question becomes where to get it from? OBS repository does not show > it nor does Ubuntu updates. I don't expect Ubuntu updates to update as > historically they haven't once stable release is released. But one could > get binaries from OBS which seems not to be happening. Hence the question. > > > Regards, > > Niranjan > > > > darktable user mailing list > to unsubscribe send a mail to > darktable-user+unsubscr...@lists.darktable.org > > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org