[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image converter and resizer
From: |
Nicolas Goaziou |
Subject: |
Re: image converter and resizer |
Date: |
Sat, 18 Mar 2023 18:57:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
Andreas Enge <andreas@enge.fr> writes:
> I had a quick look at converseen. It requires the qtlinguist package,
> which we do not have in Guix.
qtlinguist belongs to qttools, doesn't it?
The main issue in properly packaging converseen is, IMO, to remove the
(auto)update code all over the place.
For the record, here's a draft, without the check updates cleanup:
--8<---------------cut here---------------start------------->8---
(define-public converseen
(package
(name "converseen")
(version "0.9.11.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Faster3ck/Converseen")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0nxvac8df47gxg1klqlz0s3rxl0ykrikmciniwkb938bgilmaijm"))))
(build-system cmake-build-system)
(arguments
(list
#:tests? #false ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-translations-location
;; Fix translations location.
(lambda _
(substitute* "src/translator.cpp"
(("QString\\(\"%1/share/converseen/loc\"\\).arg\\(rootPath\\)")
(string-append "QString(\""
#$output
"/share/converseen/loc\")")))))
;; (add-after 'unpack 'disable-updates-checks
;; ;; Disable "Check for updates" since there's no use for it
;; ;; in Guix and we don't want software to phone home.
;; (lambda _
;; (error "foo")))
)))
(native-inputs
(list pkg-config qttools-5))
(inputs
(list imagemagick qtbase-5))
(home-page "https://converseen.fasterland.net/")
(synopsis "Batch image converter and resizer")
(description
"Converseen is an image batch conversion tool. You can resize and
convert images in more than 100 different formats.")
(license license:gpl3+)))
--8<---------------cut here---------------end--------------->8---
Regards,
--
Nicolas Goaziou
- image converter and resizer, Gottfried, 2023/03/17
- Re: image converter and resizer, Felix Lechner, 2023/03/17
- Re: image converter and resizer, Luis Felipe, 2023/03/17
- Re: image converter and resizer, Felix Lechner, 2023/03/17
- Re: image converter and resizer, Gottfried, 2023/03/18
- Re: image converter and resizer, Luis Felipe, 2023/03/18
- Re: image converter and resizer, Gottfried, 2023/03/18
- Re: image converter and resizer, Andreas Enge, 2023/03/18
- Re: image converter and resizer,
Nicolas Goaziou <=
- Re: image converter and resizer, Gottfried, 2023/03/21
- Re: image converter and resizer, Csepp, 2023/03/21
- Re: image converter and resizer, Gottfried, 2023/03/22
- Re: image converter and resizer, Gottfried, 2023/03/21
- Re: image converter and resizer, Csepp, 2023/03/21
- Re: image converter and resizer, Gottfried, 2023/03/21
- Re: image converter and resizer, Csepp, 2023/03/21
- Re: image converter and resizer, Andreas Enge, 2023/03/21
- Re: image converter and resizer, Gottfried, 2023/03/22
- Re: image converter and resizer, Gottfried, 2023/03/22