unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Rovanion Luckey <rovanion.luckey@gmail.com>, guix-devel@gnu.org
Subject: Re: [RFC] Package of Nomacs
Date: Sat, 02 Jan 2021 16:42:59 +0100	[thread overview]
Message-ID: <0acf30b3f335e1174dc36292cb69a7806fc8df82.camel@student.tugraz.at> (raw)
In-Reply-To: <CAAaf0CCAVMur+eyJCPyzdVNoKq0brwTHvvXBUp7EX9QqPuKjOQ@mail.gmail.com>

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



  reply	other threads:[~2021-01-02 15:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 18:32 [RFC] Package of Nomacs Leo Prikler
2020-12-31 15:37 ` Rovanion Luckey
2020-12-31 16:12   ` Leo Prikler
2021-01-01 22:02     ` Rovanion Luckey
2021-01-02 14:43       ` Rovanion Luckey
2021-01-02 15:42         ` Leo Prikler [this message]
2021-01-03  1:01           ` Rovanion Luckey
2021-01-07 16:58     ` zimoun
  -- strict thread matches above, loose matches on Subject: below --
2020-12-29 23:06 Rovanion Luckey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0acf30b3f335e1174dc36292cb69a7806fc8df82.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=rovanion.luckey@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).