From patchwork Mon Jan 4 11:47:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rovanion Luckey X-Patchwork-Id: 26214 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7CA8327BC09; Mon, 4 Jan 2021 11:49:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4970E27BC0A for ; Mon, 4 Jan 2021 11:49:09 +0000 (GMT) Received: from localhost ([::1]:56082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwOMG-0007TZ-Ar for patchwork@mira.cbaines.net; Mon, 04 Jan 2021 06:49:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwOMA-0007TM-9C for guix-patches@gnu.org; Mon, 04 Jan 2021 06:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwOM9-0004TE-TA for guix-patches@gnu.org; Mon, 04 Jan 2021 06:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwOM9-0007O9-MF for guix-patches@gnu.org; Mon, 04 Jan 2021 06:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45638] gnu: Add nomacs photo lounge. Resent-From: Rovanion Luckey Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jan 2021 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Prikler Received: via spool by 45638-submit@debbugs.gnu.org id=B45638.160976090228258 (code B ref 45638); Mon, 04 Jan 2021 11:49:01 +0000 Received: (at 45638) by debbugs.gnu.org; 4 Jan 2021 11:48:22 +0000 Received: from localhost ([127.0.0.1]:57415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwOLW-0007Li-0G for submit@debbugs.gnu.org; Mon, 04 Jan 2021 06:48:22 -0500 Received: from mail-io1-f49.google.com ([209.85.166.49]:34457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwOLT-0007LF-Om for 45638@debbugs.gnu.org; Mon, 04 Jan 2021 06:48:20 -0500 Received: by mail-io1-f49.google.com with SMTP id i18so24724547ioa.1 for <45638@debbugs.gnu.org>; Mon, 04 Jan 2021 03:48:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6mutGzca1PMa4ZwaHI/epcEZPYvaSwbgg+WpbaN4Fek=; b=nP6u0rFYgrVutkOo0Ybs7WS0+pEmxzoFIyoowmfR+Ba/0AY0jYd8/4xrehR+zdi+Cy AapfbxcM3jBlpw2hjH+DgU3zPgyyNHMAcxcCku5PypA6oj/h+gPG0fzmb+Q8S1/y7hSq 8VkEI2drM0RW+bY61Fb3vmfq4c+ZeYJAi8vsK3dk5t9RBahAacKys7OMJ3LyFcTYUymh G5VCGiBZNZ2C8rd2jlHJ+hGncLrwqdrvqARripeHGDxlvkTOQeiHlDXsWfiOCLimISnL BhEKK1AozYZZ+sWrewkBIsu5dkUWhH5asqZCor+6wRhjoR4KS5a4ZYPO/FP+isV1W01J We2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6mutGzca1PMa4ZwaHI/epcEZPYvaSwbgg+WpbaN4Fek=; b=jLoJV2rHbNZVIWYWrfUOBjUoKWTJkaC7ZTEBEmj/uPmMZlVTvTE2+K6hFamvnzZAVV ioJBFlGNqYi/7GP7ZS1QPNU8nnK2pxdY60JsjNebJVvIpgTG+hvU/Bt8o5uJJKMAFqiY 8S49GS3uiQSpmwDfxp3wv2FmiK5v9RWiSTMf63UnMDE+zoDRmkjs/ALGyyCbvp6Cridz uNVqgOjoSvjB7lU5jZ9HuWTe5Tid4s5egaqTLNdQVCQkGERINL9Qw/IpV+k1E6lxPOC7 9p0XZ5RGCHIsQ5BpZHTsKbyOCqjzw8MaCpKGnNGcwJyqkKLpOCugDtt7dPKn0K4d64Yq 3Oxw== X-Gm-Message-State: AOAM531Mtc7itTXzqVk8h20ll8wQ7dA98RDkjb45sfJxe7rqdceo52rK biUNFwBp/qhNJmVRLRoHcv3RsE5+6NNfE920ASU= X-Google-Smtp-Source: ABdhPJw1ge7mKrmQyN5z9oG+qzx3U6sa+Q5KbE4eJafTipcwrqz3uQRGQIGWe0EfEM71N33LJGaiAKra0dEriHYxqQA= X-Received: by 2002:a6b:f202:: with SMTP id q2mr58219589ioh.87.1609760894120; Mon, 04 Jan 2021 03:48:14 -0800 (PST) MIME-Version: 1.0 References: <39ecb70bd65390d146d3d1274660db5fa956ce62.camel@student.tugraz.at> In-Reply-To: <39ecb70bd65390d146d3d1274660db5fa956ce62.camel@student.tugraz.at> From: Rovanion Luckey Date: Mon, 4 Jan 2021 12:47:47 +0100 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45638@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Den mån 4 jan. 2021 kl 10:43 skrev Leo Prikler < leo.prikler@student.tugraz.at>: > Ehm, that's kinda false advertisement then 😉 > Advertisement modified in the attached patch. Please use a new line after (inputs and don't try to line up the > columns. > Ahw, but I like my aligned columns. Oh well, modified. > You may want to use ,(version-major+minor version) for the plugins > commit, if it's known that the two will always be bumped together. But > using "3.16" as you did is also fine. > The plugins get tagged very irregurarily. fill-column is 78, also the description is still too long. Try to > compact it a bit. > Compacted. From 5d0f65c6d1686510646ea63a0f832660055e891c Mon Sep 17 00:00:00 2001 From: Rovanion Luckey Date: Sun, 3 Jan 2021 19:55:36 +0100 Subject: [PATCH] gnu: Add nomacs photo lounge. --- gnu/packages/image-viewers.scm | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 0a6be77d24..4674d4ba12 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2020 R Veera Kumar ;;; Copyright © 2020 Pierre Neidhardt +;;; Copyright © 2021 Rovanion Luckey ;;; ;;; This file is part of GNU Guix. ;;; @@ -58,6 +59,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages graphics) #:use-module (gnu packages image) + #:use-module (gnu packages image-processing) #:use-module (gnu packages imagemagick) #:use-module (gnu packages maths) #:use-module (gnu packages perl) @@ -682,3 +684,57 @@ brightness/contrast/gamma correction, pan with keyboard and mouse, flip, rotate left/right, jump/forward/backward images, filename filter and use it to set X desktop background.") (license license:gpl2))) + +(define-public nomacs + (package + (name "nomacs") + (version "3.16.224") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nomacs/nomacs") + (commit version))) + (sha256 (base32 "05d4hqg0gl3g9s2xf1hr7mc7g4cqarcap4nzxxa51fsphw2b8x16")))) + (build-system cmake-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags (list "-DENABLE_TRANSLATIONS=true" + "-DUSE_SYSTEM_QUAZIP=true" + "-DENABLE_OPENCV=true" + "-DCMAKE_BUILD_TYPE=Release") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'copy-plugins + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "plugins") + "ImageLounge/plugins"))) + (add-after 'copy-plugins 'cd-to-source-dir + (lambda _ (chdir "ImageLounge") #t))) + #:tests? #f)) + (inputs + `(("plugins" ,(origin (method git-fetch) + (uri (git-reference + (url "https://github.com/nomacs/nomacs-plugins") + (commit "3.16"))) + (sha256 (base32 "1cpdwhfvaxm970nwdc1hc13848a85pqqi176m9xpa3krla9qskml")))) + ("exiv2" ,exiv2) + ("libraw" ,libraw) + ("libtiff" ,libtiff) + ("opencv" ,opencv) + ("python" ,python-wrapper) + ("quazip" ,quazip) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtlinguist" ,qttools))) + (synopsis "Image viewer for all common formats including RAW.") + (description "Nomacs is a simple to use image lounge featuring +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. + +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.") + (home-page "https://nomacs.org/") + (license license:gpl3+))) -- 2.29.2