unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andreas Enge <andreas@enge.fr>
Cc: Gottfried <gottfried@posteo.de>,  Luis Felipe <sirgazil@zoho.com>,
	Felix Lechner <felix.lechner@lease-up.com>,
	 help-guix@gnu.org
Subject: Re: image converter and resizer
Date: Sat, 18 Mar 2023 18:57:40 +0100	[thread overview]
Message-ID: <87ileyaqnf.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <ZBXy5mN4AUqyrV9c@jurong> (Andreas Enge's message of "Sat, 18 Mar 2023 18:20:38 +0100")

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


  reply	other threads:[~2023-03-18 17:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17 16:43 image converter and resizer Gottfried
2023-03-17 16:55 ` Felix Lechner via
2023-03-17 17:04   ` Luis Felipe
2023-03-17 17:10     ` Felix Lechner via
2023-03-18 11:13     ` Gottfried
2023-03-18 15:28       ` Luis Felipe
2023-03-18 16:43         ` Gottfried
2023-03-18 17:20           ` Andreas Enge
2023-03-18 17:57             ` Nicolas Goaziou [this message]
2023-03-21  6:24               ` Gottfried
2023-03-21 13:47                 ` Csepp
2023-03-22 13:49                   ` Gottfried
2023-04-22 10:14                   ` Gottfried
2023-03-21  6:17             ` Gottfried
2023-03-21 13:18               ` Csepp
2023-03-21 16:32                 ` Gottfried
2023-03-21 17:40                   ` Csepp
2023-03-21 18:43                     ` Andreas Enge
2023-03-22 14:44                       ` Gottfried
2023-03-22 13:57                     ` Gottfried
2023-03-18 18:20           ` Luis Felipe
2023-03-17 16:59 ` Luis Felipe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ileyaqnf.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=andreas@enge.fr \
    --cc=felix.lechner@lease-up.com \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=sirgazil@zoho.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).