From patchwork Fri May 20 11:18:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Kortkamp X-Patchwork-Id: 39541 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 8C54E27BBEA; Fri, 20 May 2022 15:47:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C929727BBE9 for ; Fri, 20 May 2022 15:47:13 +0100 (BST) Received: from localhost ([::1]:60490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ns3uK-0005ir-Ve for patchwork@mira.cbaines.net; Fri, 20 May 2022 10:47:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns3R8-0001fy-BZ for guix-patches@gnu.org; Fri, 20 May 2022 10:17:02 -0400 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 1ns3R8-0003Ng-3Q for guix-patches@gnu.org; Fri, 20 May 2022 10:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ns3R8-0002Hz-09 for guix-patches@gnu.org; Fri, 20 May 2022 10:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55541] [PATCH] gnu: Add azpainter. Resent-From: Tobias Kortkamp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 May 2022 14:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55541@debbugs.gnu.org Cc: Tobias Kortkamp X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16530561688724 (code B ref -1); Fri, 20 May 2022 14:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2022 14:16:08 +0000 Received: from localhost ([127.0.0.1]:39798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns3QD-0002Ga-9N for submit@debbugs.gnu.org; Fri, 20 May 2022 10:16:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:47950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0ge-00013R-8T for submit@debbugs.gnu.org; Fri, 20 May 2022 07:20:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns0gZ-0005xe-W1 for guix-patches@gnu.org; Fri, 20 May 2022 07:20:52 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:39921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ns0gV-00085i-22 for guix-patches@gnu.org; Fri, 20 May 2022 07:20:47 -0400 Received: by mail-ed1-x534.google.com with SMTP id j4so5965386edq.6 for ; Fri, 20 May 2022 04:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=laIc+302vfvo1+gmqugsdf+XsTvOvzPLT8c+BJv7EpI=; b=IUgm8fWWJQjqXamsd6I0ekmNugGTKumJ4uBw1dJ7gufbwqRpQ+7HMYdzuD+edziWAg /jUIXPx7PyEh8yvQB6kqPuQyj/JocUdu3iyDub9pLFb/pIhu45yiT4vAami6t3QJyTTd Go1bql7U8lOu6UDrKhVuvoxTvWGZall1TdZRqJQY3oHhW2bx7nsR+DBmNJsel3uGS2DS vnm60qtbfcdoaIA8KpHjYyIn5Vh4VAbBzu0Gj+cm7SuuTlP+5SmQyBKgsWJvV4Dw07YJ KdJ4GIc2zHWgRYTyb0lJbA+cONVcNxbakL2ZGJchiAFTiW58eRChC6BqHpHsqvzbD6ME D/aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=laIc+302vfvo1+gmqugsdf+XsTvOvzPLT8c+BJv7EpI=; b=G7BtK007pYtdvEVEpY9IzWjhmZpAi4z6fJiFozhqHyuLidd4lx16iZyXdKCS33pzaF vsHc69zSRNgHqEGWcjdNB1FgxtbbJritRYN+AuUZx4aGOZL4tXt3XLTGDtH0zmzeR78y sTe7nPzOfCof2aY+aeGjbQkBZrbVTPclZ/hBwQ33BeMtIWGFhmFcNbPaQR0O+VHzBEau qCPw4Y+WQZF7R0TgMsQKVfNobTRqcy32zYOb9r38qWHKDViH5fE4JosA2CmGET3Wd3Nf cjJ8jYS4yXxPX7s749B++is33zVTWEtTH9xifVSOoj0HRijTsw0JKCvw/U7pL1ciBpa3 ufuA== X-Gm-Message-State: AOAM533cPteY6pX4aLsMl0xbSoFA0IKPh8iY/UqXbo3onOZTKoCzINcI 4kZHLlXAM3mkBtTrgZq5+hHnzTGQiSbzqg== X-Google-Smtp-Source: ABdhPJxmnDHlIQHxc1WdoSdLwa7RfrxptePx8dm4TxYQ4H0r4aegL7B7PYluMg1p6L/hLlJdeSAEcA== X-Received: by 2002:a05:6402:5161:b0:42a:b056:489f with SMTP id d1-20020a056402516100b0042ab056489fmr10357287ede.301.1653045635428; Fri, 20 May 2022 04:20:35 -0700 (PDT) Received: from anubis.kortkamp.xyz (p200300ff7f01ec00ef85e4aef4ae91a9.dip0.t-ipconnect.de. [2003:ff:7f01:ec00:ef85:e4ae:f4ae:91a9]) by smtp.gmail.com with ESMTPSA id mm8-20020a170906cc4800b006f4cb79d9a8sm3040081ejb.75.2022.05.20.04.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 04:20:34 -0700 (PDT) From: Tobias Kortkamp Date: Fri, 20 May 2022 13:18:39 +0200 Message-Id: <6d31ff958ec0c75cbba8324a275315d195a54902.1653045472.git.tobias.kortkamp@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=tobias.kortkamp@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 20 May 2022 10:16:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 20 May 2022 10:47:03 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/graphics.scm (azpainter): New variable. --- gnu/packages/graphics.scm | 66 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) base-commit: 2f170893719e6e9fc8e19cc5f0568e20a95d92b4 diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index e966a82dbb..1457cf83fb 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2022 Michael Rohleder ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2022 Tobias Kortkamp ;;; ;;; This file is part of GNU Guix. ;;; @@ -2124,3 +2125,68 @@ (define-public monado such as VR and AR on mobile, PC/desktop, and any other device. Monado aims to be a complete and conforming implementation of the OpenXR API made by Khronos.") (license license:boost1.0))) + +(define-public azpainter + (package + (name "azpainter") + (version "3.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/azelpg/azpainter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iplp3p8pw9q44kb43hrk89sv2aff6bdy9fk58j2v6k5lqbk6kvf")))) + (build-system gnu-build-system) ;actually a home grown build system + (arguments + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "./configure" + (string-append "--prefix=" + #$output)))) + (replace 'build + (lambda* (#:key parallel-build? #:allow-other-keys) + (let ((job-count (if parallel-build? + (number->string (parallel-job-count)) + "1"))) + (invoke "ninja" "-j" job-count "-C" "build")))) + (add-before 'install 'disable-cache-generation + (lambda _ + (setenv "DESTDIR" "/") #t)) + (replace 'install + (lambda _ + (invoke "ninja" "-C" "build" "install")))))) + (inputs (list fontconfig + freetype + libjpeg-turbo + libpng + libtiff + libwebp + libx11 + libxcursor + libxext + libxi + zlib)) + (native-inputs (list ninja pkg-config)) + (home-page "http://azsky2.html.xdomain.jp/soft/azpainter.html") + (synopsis "Paint software for editing illustrations and images") + (description + "AzPainter is a lightweight full color painting application for editing +illustrations and images. + +Features include: +@itemize +@item Layers +@item Many artistic filters +@item Good range of selection tools +@item Pen pressure support with automatic brush size adjustment +@item Support for 16-bit color images with transparency (RGBA) +@item Support for image formats like PSD, PNG, JPEG, TIFF, WebP +@end itemize +") + (license license:gpl3+)))