help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image converter and resizer


From: Gottfried
Subject: Re: image converter and resizer
Date: Tue, 21 Mar 2023 06:24:52 +0000

Hi,

thanks for your help.

converseen is a nice and easy to use programme,
in which you can  convert an image/picture/photo with some klicks.

And also many images at once.

You simply choose/load all the images, tick them,

and with one other tick you convert all of them at once
in choosing beforehand how much and to what kind you would like to convert them.

So if it doesn’t take too much time for somebody to build it for Guix
I would be happy.


Kind regards

Gottfried


Am 18.03.23 um 18:57 schrieb Nicolas Goaziou:
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,


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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