[Top][All Lists]

[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)


Andreas Enge <> 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
    (name "converseen")
    (version "")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "";)
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
    (build-system cmake-build-system)
      #:tests? #false                   ;no tests
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-translations-location
            ;; Fix translations location.
            (lambda _
              (substitute* "src/translator.cpp"
                 (string-append "QString(\""
          ;; (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")))
     (list pkg-config qttools-5))
     (list imagemagick qtbase-5))
    (home-page "";)
    (synopsis "Batch image converter and resizer")
     "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---

Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]