Am 20.02.2017 um 00:36 schrieb David Bremner: > Matthias Bodenbinder <matth...@bodenbinder.de> writes: > >> And by the way, this are the commands I use to compile DT: >> >> ./build.sh --disable-gnome-keyring --prefix /home/software/darktable >> --build-type Release >> cd build >> echo "darktable 2.2.1" > description-pak >> checkinstall --default --install=no --pkgname=darktable-mbo >> --pkgversion=$version --docdir=$INST/share/doc >> >> Matthias > > The debian package does not use build.sh. I looks like build.sh does not > pass -DBINARY_PACKAGE_BUILD=1 to cmake. > > To test this, you could run something like > > mkdir -p dtbuild && cd dtbuild && cmake > -DCMAKE_INSTALL_PREFIX=/opt/darktable \ > -DCMAKE_BUILD_TYPE=Release -DBINARY_PACKAGE_BUILD=1 .. > > then I guess your same checkinstall should work. > > d >
Ok. I did the test. I tested 3 different DT binaries: DT 1: binary from debian testing DT 2: self-compiled with default DT build.sh DT 3: self-compiled following your cmake commands The result is interesting. The time shown is the average of 5 consecutive runs. The variance between each run is less than a second: DT 1: binary from debian testing : 22 s DT 2: self-compiled with default DT build.sh : 15 s DT 3: self-compiled following your cmake commands : 19 s So your cmake variant is basicyll in the middle. I can provide DT 2 and DT 3 as deb files (approx. 9 MB each). Matthias