From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50780) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIbdL-0002tX-NS for guix-patches@gnu.org; Sun, 29 Mar 2020 13:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIbdK-0006oG-Gx for guix-patches@gnu.org; Sun, 29 Mar 2020 13:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIbdK-0006nx-Df for guix-patches@gnu.org; Sun, 29 Mar 2020 13:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIbdK-000804-9N for guix-patches@gnu.org; Sun, 29 Mar 2020 13:22:02 -0400 Subject: [bug#40281] [PATCH] gnu: Add mtpaint Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:50746) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIbd5-0002pV-7E for guix-patches@gnu.org; Sun, 29 Mar 2020 13:21:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIbd4-0006UU-4l for guix-patches@gnu.org; Sun, 29 Mar 2020 13:21:47 -0400 Received: from vkten.in ([104.244.73.96]:39922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jIbd3-0006Pv-SA for guix-patches@gnu.org; Sun, 29 Mar 2020 13:21:46 -0400 Date: Sun, 29 Mar 2020 22:51:36 +0530 From: R Veera Kumar Message-ID: <20200329172136.GA23111@tulip> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40281@debbugs.gnu.org Mtpaint is a graphic editing program which uses the GTK+ toolkit. Create pixel art and manipulate digital photos. It can create and edit indexed pallete or 24bit RGB images, offers basic painting and palette manipulation tools. Signed-off-by: R Veera Kumar --- gnu/packages/image.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index b665740ca2..c4b979a775 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -45,6 +45,7 @@ #:use-module (gnu packages algebra) #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages curl) @@ -1983,3 +1984,51 @@ AOM, including with alpha.") (home-page "https://github.com/AOMediaCodec/libavif") (license (list license:bsd-2 ; libavif itself license:expat)))) ; cJSON in the test suite + +(define-public mtpaint + (let ((commit "03b1b0938067b88d86d9f1b1088730f1934d411e") + (revision "1")) + (package + (name "mtpaint") + (version (git-version "3.49.25" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wjaguar/mtPaint/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0izm2wvj26566fd8mqvypr7bmv7jnq8qhp4760m7z2wrc4y8pjn1")))) + (build-system gnu-build-system) + (native-inputs + `(("which" ,which) + ("pkg-config" ,pkg-config) + ("perl" ,perl))) + (inputs + `(("imlib2" ,imlib2) + ("libtiff" ,libtiff) + ("libpng" ,libpng) + ("libungif", libungif) + ("libjpeg", libjpeg) + ("libwebp" ,libwebp) + ("openjpeg" ,openjpeg) + ("lcms" ,lcms) + ("zlib", zlib) + ("glib" ,glib) + ("gtk+" ,gtk+-2) + ("gettext" ,gettext-minimal))) + (arguments + `(#:configure-flags + (list + "intl") ;; internationalized support + ;; no make check + #:tests? #f)) + (home-page "http://mtpaint.sourceforge.net/") + (synopsis "Create pixel art and manipulate digital photos") + (description + "Mtpaint is a graphic editing program which uses the GTK+ toolkit. +It can create and edit indexed pallete or 24bit RGB images, offers basic +painting and palette manipulation tools. It also handles JPEG, JPEG2000, +GIF, TIFF, WEBP, BMP, PNG, XPM files.") + (license license:gpl3+)))) -- 2.26.0