unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: rovanion.luckey@gmail.com
Cc: guix-devel@gnu.org
Subject: [RFC] Package of Nomacs
Date: Wed, 30 Dec 2020 19:32:52 +0100	[thread overview]
Message-ID: <424245f9f30e2418942a8eec27019864294550cd.camel@student.tugraz.at> (raw)
In-Reply-To: CAAaf0CCYv10Hr6caP_TCHUOoRS=BODVGsPc=eunNY4hs=W9-qQ@mail.gmail.com

Hi rovanion,

> (define-module (nomacs)
The nomacs package should probably go to gnu/packages/image-
viewers.scm.

>     (source (origin
>               (method url-fetch)
>               (uri (string-append "
> https://codeload.github.com/nomacs/nomacs/tar.gz/" version))
>               (sha256
> "0z113mfxxdy3wafh0g1xxxwsc5qg0n42r4345c6rxvr6h02fkixv")))
Use git-fetch instead and don't recurse into submodules.  You will
likely encounter some errors, because it doesn't seem as though nomacs
expects you to have its inputs properly packages.  *sigh*

>      `(#:configure-flags (list "-DENABLE_TRANSLATIONS=true"
>                                "-DUSE_SYSTEM_QUAZIP=true"
>                                (string-append "../nomacs-" ,version
> "/ImageLounge"))
Instead of adding the path to the source directory, try `(cd
"ImageLounge")` in a phase after 'unpack.

>     (inputs `(("python"     ,python-wrapper)
>               ("qtbase"     ,qtbase)
>               ("qtlinguist" ,qttools)
>               ("qtsvg"      ,qtsvg)
>               ("exiv2"      ,exiv2)
>               ("libtiff"    ,libtiff)
>               ("opencv"     ,opencv)
>               ("libraw"     ,libraw)
>               ("quazip"     ,quazip)))
Try to sort them alphabetically, also don't put too much effort into
making the tails align.

> (description "Nomacs is a free, open source image viewer, which
> supports multiple platforms. You can use it for viewing all common
> image formats including RAW and psd images.
> 
> Nomacs features semi-transparent widgets that display additional
> information such as thumbnails, metadata or histogram. It is able to
> browse images in zip or MS Office files which can be extracted to a
> directory. Metadata stored with the image can be displayed and you
> can add notes to images. A thumbnail preview of the current folder is
> included as well as a file explorer panel which allows switching
> between folders. Within a directory you can apply a file filter, so
> that only images are displayed whose filenames have a certain string
> or match a regular expression. Activating the cache allows for
> instantly switching between images.
> 
> Nomacs includes image manipulation methods for adjusting brightness,
> contrast, saturation, hue, gamma, exposure. It has a pseudo color
> function which allows creating false color images. A unique feature
> of Nomacs is the synchronization of multiple instances. With this
> feature you can easily compare images by zooming and/or panning at
> the exactly same position or even by overlaying them with different
> opacity.
> Nomacs is licensed under the GNU General Public License v3 and
> available for Windows, Linux, FreeBSD, Mac, and OS/2.")
fill-column is at 78.  Also try to shorten this text and use double
spaces ("  ") between sentences.

> (license gpl3)
It is actually gpl3+ according to license/README.md.

> One thing that's missing is the plugins that are developed in a
> separate git repository [0] and not included in the source tarballs
> of the main repository [1]. Ideas on how to make them available in
> the `plugins` directory during build time are welcome.
A trick that's often used in Guix is
(inputs
 `(("extra-source-package"
    ,(origin ...)))
   [other inputs])
You can then (copy-recursively (assoc-ref inputs "extra-source-
package") destination) in a phase between 'unpack and 'configure.

Regards,
Leo



             reply	other threads:[~2020-12-30 18:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 18:32 Leo Prikler [this message]
2020-12-31 15:37 ` [RFC] Package of Nomacs 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
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=424245f9f30e2418942a8eec27019864294550cd.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).