[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Package of Nomacs
From: |
Leo Prikler |
Subject: |
Re: [RFC] Package of Nomacs |
Date: |
Sat, 02 Jan 2021 16:42:59 +0100 |
User-agent: |
Evolution 3.34.2 |
Hello Rovanion,
Am Samstag, den 02.01.2021, 15:43 +0100 schrieb Rovanion Luckey:
> I can get the package to build using the following steps:
>
> git clone https://github.com/nomacs/nomacs.git
> cd nomacs
> mkdir build
> cd build
> guix environment --ad-hoc cmake make gcc libraw exiv2 libtiff opencv
> python quazip qtbase qtsvg qttools pkg-config git
> cmake "../ImageLounge" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-
> DCMAKE_INSTALL_PREFIX=/gnu/store/fiwxb6mlwhvnr49f9ydbhbam\
> wp4bzb8b-nomacs-3.16.224" "-DCMAKE_INSTALL_LIBDIR=lib" "-
> DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPA\
> TH=/gnu/store/fiwxb6mlwhvnr49f9ydbhbamwp4bzb8b-nomacs-3.16.224/lib"
> "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_TRANSLATIO\
> NS=true" "-DUSE_SYSTEM_QUAZIP=true" "-DENABLE_OPENCV=true"
> make -j 8
> ./nomacs
>
> For some reason that is different than when `guix package --from-
> file` runs.
That doesn't say much, because `guix environment` provides little
isolation. You might try with pure environments, but the better way of
replicating the build environment is using `-K`.
I have yet to look at your package definition (pardon me), but do you
notice anything strange between the Makefiles you generate on your own
vs. the Makefiles you generate in `guix build`?
Regards,
Leo