Re: [darktable-user] darktable 4.4.1 released

2023-07-04 Thread Jean-Luc

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

2023-07-04 Thread Jean-Luc

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.1 released

2023-07-03 Thread tony Hamilton



On 02/07/2023 16:29, 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](https://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 :



#
START


# 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 : Dépendances
#
sudo apt install gcc g++ cmake intltool xsltproc libgtk-3-dev
libxml2-utils libxml2-dev liblensfun-dev librsvg2-dev
libsqlite3-dev libcurl4-gnutls-dev libjpeg-dev libtiff5-dev
liblcms2-dev libjson-glib-dev libexiv2-dev libpugixml-dev

# Paquets divers

sudo apt install exiv2 libexiv2-27 libexiv2-dev libgmic1 libheif1
libraw20 checkinstall

# 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.4.0

# Récupération des sous-modules
###
git submodule update --init

# Build manuel
#
mkdir build/
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr/ ..
make
sudo checkinstall --pkgname=darktable
--pakdir=/home/jean-luc/.config/debian --nodoc
--exclude=/home/jean-luc/CloneGitHUB/

###
END

###

Rgrds,

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.
 
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.1 released

2023-07-02 Thread Remco Viëtor
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



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable 4.4.1 released

2023-07-02 Thread Jean-Luc

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](https://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 :


   
#
   START
   

   # 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 : Dépendances
   #
   sudo apt install gcc g++ cmake intltool xsltproc libgtk-3-dev
   libxml2-utils libxml2-dev liblensfun-dev librsvg2-dev libsqlite3-dev
   libcurl4-gnutls-dev libjpeg-dev libtiff5-dev liblcms2-dev
   libjson-glib-dev libexiv2-dev libpugixml-dev

   # Paquets divers
   
   sudo apt install exiv2 libexiv2-27 libexiv2-dev libgmic1 libheif1
   libraw20 checkinstall

   # 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.4.0

   # Récupération des sous-modules
   ###
   git submodule update --init

   # Build manuel
   #
   mkdir build/
   cd build/
   cmake -DCMAKE_INSTALL_PREFIX=/usr/ ..
   make
   sudo checkinstall --pkgname=darktable
   --pakdir=/home/jean-luc/.config/debian --nodoc
   --exclude=/home/jean-luc/CloneGitHUB/
   
###
   END
   
###

Rgrds,

J.-Luc


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org