mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: mtpaint: Fix version numbering.
* gnu/packages/image.scm (mtpaint): Remove let binding. [version]: Don't use GIT-VERSION. [source]: Specify the matching COMMIT directly.
This commit is contained in:
parent
893aca0993
commit
996b3f7159
1 changed files with 42 additions and 48 deletions
|
@ -2075,19 +2075,17 @@ (define-public libavif
|
||||||
license:expat)))) ; cJSON in the test suite
|
license:expat)))) ; cJSON in the test suite
|
||||||
|
|
||||||
(define-public mtpaint
|
(define-public mtpaint
|
||||||
(let ((commit "03b1b0938067b88d86d9f1b1088730f1934d411e")
|
|
||||||
(revision "1"))
|
|
||||||
(package
|
(package
|
||||||
(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 (git-version "3.49.25" revision commit))
|
(version "3.49.25")
|
||||||
(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 commit)))
|
(commit "03b1b0938067b88d86d9f1b1088730f1934d411e")))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0izm2wvj26566fd8mqvypr7bmv7jnq8qhp4760m7z2wrc4y8pjn1"))))
|
(base32 "0izm2wvj26566fd8mqvypr7bmv7jnq8qhp4760m7z2wrc4y8pjn1"))))
|
||||||
|
@ -2107,17 +2105,13 @@ (define-public mtpaint
|
||||||
("lcms" ,lcms)
|
("lcms" ,lcms)
|
||||||
("zlib", zlib)
|
("zlib", zlib)
|
||||||
("glib" ,glib)
|
("glib" ,glib)
|
||||||
;; support for gtk3 is in testing stage
|
;; Support for gtk3 is in the testing stage.
|
||||||
("gtk+" ,gtk+-2)))
|
("gtk+" ,gtk+-2)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list
|
(list "intl" ; build internationalized version
|
||||||
;; internationalized version
|
"man") ; build the man page
|
||||||
"intl"
|
#:tests? #f)) ; no test suite
|
||||||
;; install man page
|
|
||||||
"man")
|
|
||||||
;; no check target
|
|
||||||
#:tests? #f))
|
|
||||||
(home-page "http://mtpaint.sourceforge.net/")
|
(home-page "http://mtpaint.sourceforge.net/")
|
||||||
(synopsis "Create pixel art and manipulate digital images")
|
(synopsis "Create pixel art and manipulate digital images")
|
||||||
(description
|
(description
|
||||||
|
@ -2125,4 +2119,4 @@ (define-public mtpaint
|
||||||
It can create and edit indexed palette or 24bit RGB images, offers basic
|
It can create and edit indexed palette or 24bit RGB images, offers basic
|
||||||
painting and palette manipulation tools. It also handles JPEG, JPEG2000,
|
painting and palette manipulation tools. It also handles JPEG, JPEG2000,
|
||||||
GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
|
GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
Loading…
Reference in a new issue