gnu: mtpaint: Update to 3.50.12.

* gnu/packages/image.scm (mtpaint): Update to 3.50.12.
[native-inputs]: Drop labels.
[inputs]: Drop labels. Replace gtk+-2 by gtk.
[arguments]: Use gexps.
<#:phases>: Replace 'configure phase.

Change-Id: Ia8129b4331add95390e22eb0b918789c60300afe
This commit is contained in:
Andreas Enge 2025-07-19 15:11:18 +02:00
parent 57df83570d
commit 17cf14f512
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -73,6 +73,7 @@
#:use-module (gnu packages documentation) #:use-module (gnu packages documentation)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript) #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gimp) #:use-module (gnu packages gimp)
@ -2811,39 +2812,47 @@ Format) file format decoder and encoder.")
(name "mtpaint") (name "mtpaint")
;; The author neither releases tarballs nor uses git version tags. ;; The author neither releases tarballs nor uses git version tags.
;; Instead, author puts version in git commit title. ;; Instead, author puts version in git commit title.
(version "3.49.33") (version "3.50.12")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/wjaguar/mtPaint") (url "https://github.com/wjaguar/mtPaint")
(commit "5272e2b1e773c8e02ac3506b2d3bde82ad946b21"))) (commit "7cae5d663ed835a365d89a535536c39e18862a83")))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1bmq4m0dxczl18n1yiqb75g05a4c3pal1vdcyypkilx7ijsr0cmc")))) (base32 "0rcblsdikn5659gzqwq3xdws5k03xyvd4yj7r0rm78daamki1wsv"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list
("pkg-config" ,pkg-config) gettext-minimal
("which" ,which))) perl
pkg-config
which))
(inputs (inputs
`(("imlib2" ,imlib2) (list
("libtiff" ,libtiff) glib
("libpng" ,libpng) gtk+
("libungif" ,libungif) imlib2
("libjpeg" ,libjpeg-turbo) libjpeg-turbo
("libwebp" ,libwebp) libpng
("openjpeg" ,openjpeg) libtiff
("lcms" ,lcms) libungif
("zlib" ,zlib) libwebp
("glib" ,glib) openjpeg
;; Support for gtk3 is in the testing stage. lcms
("gtk+" ,gtk+-2))) zlib))
(arguments (arguments
`(#:configure-flags (list
(list "intl" ; build internationalized version #:tests? #f ; no test suite
"man") ; build the man page #:phases
#:tests? #f)) ; no test suite #~(modify-phases %standard-phases
(replace 'configure
;; Do not use "--enable-fast-install".
(lambda _
(invoke "./configure"
(string-append "--prefix=" #$output)
"intl" "man"))))))
(home-page "https://mtpaint.sourceforge.net/") (home-page "https://mtpaint.sourceforge.net/")
(synopsis "Create pixel art and manipulate digital images") (synopsis "Create pixel art and manipulate digital images")
(description (description