From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2JXEMSYCWGDLGgAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 02:34:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MD9yLSYCWGDoRQAAbx9fmQ (envelope-from ) for ; Mon, 22 Mar 2021 02:34:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4692F22EDB for ; Mon, 22 Mar 2021 03:34:14 +0100 (CET) Received: from localhost ([::1]:48900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOAOT-0001Sa-67 for larch@yhetil.org; Sun, 21 Mar 2021 22:34:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOAOI-0001SR-6c for guix-patches@gnu.org; Sun, 21 Mar 2021 22:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOAOH-0002LN-Vi for guix-patches@gnu.org; Sun, 21 Mar 2021 22:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOAOH-0003LV-Rj for guix-patches@gnu.org; Sun, 21 Mar 2021 22:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47309] [PATCH] gnu: Add drawing. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Mar 2021 02:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47309@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161638042912837 (code B ref -1); Mon, 22 Mar 2021 02:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 02:33:49 +0000 Received: from localhost ([127.0.0.1]:55785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOAO4-0003Kz-Qs for submit@debbugs.gnu.org; Sun, 21 Mar 2021 22:33:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:50494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOANz-0003Kn-B2 for submit@debbugs.gnu.org; Sun, 21 Mar 2021 22:33:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOANy-0001RH-KS for guix-patches@gnu.org; Sun, 21 Mar 2021 22:33:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOANv-0002CA-8D for guix-patches@gnu.org; Sun, 21 Mar 2021 22:33:42 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7EAAF16005C for ; Mon, 22 Mar 2021 03:33:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616380415; bh=CPgcUw7x8TerO86qQ3u5QysGEC+GH313N9PXJ0u+uJI=; h=From:To:Cc:Subject:Date:From; b=Sco2x0HBvtH/yhdpEA+ZrtqabiNDcnVdu5Sv+jb6z/AJkahasvqKJP2XynvauAxjC lJfUw96cwV6NjeuGh4ybC7Xj83hu9OJk3H87mn46aSGnENyw4EDRKEhIPObD0SIHyF uohEY6d2umWI7nJ8o0Ee09Unc84THZlPd3VnRtHKIv1C5zksCTWKyE6tc6rLs9gMnK VnmiVxd5oD5MV/Nt9/jna0tzH2qf4iiUwgU51zATjPTCTveANWDL/e9jAeToUfF56B 9NXqwZBlM9gARTKrPya0prRaVOlnbFgAiV0cV/sUEQ71EDCxahCpoEpBsczGuEAXba Ulu64BHDScj2A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F3dpj2ZLlz6tmR; Mon, 22 Mar 2021 03:33:33 +0100 (CET) From: Vinicius Monego Date: Sun, 21 Mar 2021 23:30:49 -0300 Message-Id: <20210322023049.424735-1-monego@posteo.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616380454; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UX1ONbmL41ztsUDB2SBfXdkfwM5WBXcjzo5eAnhNRlk=; b=EAX3wHTaDlyBtiN/K7T4GJ+aO95Jsg7P2aR1kVTB63uBRn0vDUaXpjfSuMq/hRr/qPuEM2 FwWXUPPNX0Zq7pe0/+MOryxWEBNewFZOYm2I2a2AFT8DNgYSnhE5QWfzOx68k/PcQp8NJ1 vQ/F/dEueDhgjUfo8NUK77HTfzF/qqsZy+i1A6JFwQtgk1vcWBs0TtRGwV08GR+bjV5ok2 VOpREMRj3f2cjUbw18jCQfjwMQDHDerwKv/s7Blv7KvOtQbUNHe+s6JjYVqAovpP701wug W/7m30e46zznFh29dgr/VvGZ+BkjarKnm4Wyv2++SeeuJb1XM1a8zfna7zl3wQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616380454; a=rsa-sha256; cv=none; b=cLxgokQtjLVjFUzpHPI2b23Uq4rx+tSugjV1KOh2+kcZJ6DCu+vVmmH6aq4hRVXZGWvdgu XGKlQY+4TzXfakLhPeO3Bu26UsGc85oyJ9E9zYio3j172Hsq88WiL3I8MKJbE+nqD/1ivb /JImt5Dt3/5yrZRjT/2WffEb5HgowzHeliKYzjXXHMeOIdFLY/qhraaoopxG/GJq9RYnhC BoSCZAsDeAr6XqI7fbRyJIhvkm5BpRDWKL4WcpesxOGtvGBLi4b44hjw6S+qmA3DpskN8V QYX5rsC3pcqLr6JC3JHPk/ucatdM2OhzO98fcMgP2fhyKA6PMNiFLypV0YWtQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Sco2x0HB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Sco2x0HB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4692F22EDB X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: gCTvE65mvH/7 * gnu/packages/gnome.scm (drawing): New variable. --- gnu/packages/gnome.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 34cd0fa992..db68794ac9 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4256,6 +4256,57 @@ engineering.") ;; Dual licensed under GPLv2 or GPLv3 (both without "or later") (list license:gpl2 license:gpl3)))) +(define-public drawing + (package + (name "drawing") + (version "0.6.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/maoschanz/drawing") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/drawing")) + (pylib (string-append (assoc-ref outputs "out") + "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages"))) + (wrap-program prog + `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib)) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) + #t)))))) + (native-inputs + `(("desktop-file-utils" ,desktop-file-utils) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gdk-pixbuf" ,gdk-pixbuf+svg) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gtk+" ,gtk+) + ("pango" ,pango) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject))) + (home-page "https://maoschanz.github.io/drawing/") + (synopsis "Basic image editor for GNOME") + (description + "Drawing is a basic image editor aiming at the GNOME desktop.") + (license license:gpl3+))) + (define-public gnome-themes-standard (package (name "gnome-themes-standard") -- 2.31.0