all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Sergey Trofimov <sarg@sarg.org.ru>
Cc: 68500@debbugs.gnu.org
Subject: [bug#68500] [PATCH v2 2/2] gnu: ausweisapp: Update to 2.1.0.
Date: Sat, 09 Mar 2024 20:28:13 -0500	[thread overview]
Message-ID: <87h6hedgeq.fsf@gmail.com> (raw)
In-Reply-To: <c3d7d864219f9cee667c2ebeff9d3363e7e23816.1709575388.git.sarg@sarg.org.ru> (Sergey Trofimov's message of "Mon, 4 Mar 2024 19:03:31 +0100")

Hi Sergey,

Sergey Trofimov <sarg@sarg.org.ru> writes:

> * gnu/packages/security-token.scm (ausweisapp): Update to 2.1.0.
> (ausweisapp2): Rename to ausweisapp.

The changelog commit message should mention the change to inputs and
arguments, e.g.:

[native-inputs]: Replace qttools-5 with qttools.
...

> ---
>  gnu/packages/security-token.scm | 45 ++++++++++++++++-----------------
>  1 file changed, 22 insertions(+), 23 deletions(-)
>
> diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
> index a1fc058db8..3e46e318c3 100644
> --- a/gnu/packages/security-token.scm
> +++ b/gnu/packages/security-token.scm
> @@ -950,43 +950,42 @@ (define-public nitrocli
>  devices.")
>      (license license:gpl3+)))
>  
> -(define-public ausweisapp2
> +(define-public ausweisapp
>    (package
> -    (name "ausweisapp2")
> -    (version "1.22.2")
> +    (name "ausweisapp")
> +    (version "2.1.0")
>      (source (origin
>                (method url-fetch)
> -              (uri (string-append "https://github.com/Governikus/AusweisApp2/releases"
> -                                  "/download/" version "/AusweisApp2-" version ".tar.gz"))
> +              (uri (string-append "https://github.com/Governikus/AusweisApp/releases"
> +                                  "/download/" version "/AusweisApp-" version ".tar.gz"))
>                (sha256
>                 (base32
> -                "1qh1m057va7njs3yk0s31kwsvv44fjlsdac6lhiw5npcwssgjn8l"))))
> +                "1jzxfybjrc3byw42bqjvn1nsn7vbgcl8y94sywjy6vaj3a58hy36"))))
>  
> -    (build-system cmake-build-system)
> +    (build-system qt-build-system)
>      (native-inputs
> -     (list pkg-config qttools-5))
> +     (list pkg-config qttools))
>      (inputs
> -     (list qtbase-5
> -           qtsvg-5
> -           qtdeclarative-5
> -           qtwebsockets-5
> +     (list qtbase
> +           qtsvg
> +           qtscxml
> +           qtdeclarative
> +           qtshadertools
> +           qtwebsockets
>             qtgraphicaleffects
> -           qtquickcontrols2-5
>             pcsc-lite
>             openssl))
>      (arguments
> -     `(#:modules ((guix build cmake-build-system)
> -                  (guix build qt-utils)
> -                  (guix build utils))
> -       #:imported-modules (,@%cmake-build-system-modules
> -                           (guix build qt-utils))
> +     `(#:qtbase ,qtbase
>         #:phases
>         (modify-phases %standard-phases
> -         (add-after 'install 'wrap-qt
> -           (lambda* (#:key inputs outputs #:allow-other-keys)
> -             (let ((out (assoc-ref outputs "out")))
> -               (wrap-qt-program "AusweisApp2" #:output out #:inputs inputs)))))))
> -    (home-page "https://github.com/Governikus/AusweisApp2")
> +         (replace 'check
> +           (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
> +             (when tests? (invoke "ctest" "--output-on-failure" "-j"
> +                                  (if parallel-tests?
> +                                      (number->string (parallel-job-count))
> +                                      "1"))))))))
> +    (home-page "https://github.com/Governikus/AusweisApp")
>      (synopsis
>       "Authentication program for German ID cards and residence permits")
>      (description

The rest LGTM, but it'd be best to use define-precated/public for
current users ausweisapp2; I think something like:

--8<---------------cut here---------------start------------->8---
(define-deprecated/public "ausweisapp2" ausweisapp)
--8<---------------cut here---------------end--------------->8---

Could you please send a v3 with the above changes?

-- 
Thanks,
Maxim




  reply	other threads:[~2024-03-10  1:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 10:24 [bug#68500] [PATCH 0/2] gnu: ausweisapp: Update to 2.0.2 Sergey Trofimov
2024-01-16 10:28 ` [bug#68500] [PATCH 1/2] gnu: qtscxml: Update to 6.5.2 Sergey Trofimov
2024-01-17 14:02   ` Maxim Cournoyer
2024-01-16 10:28 ` [bug#68500] [PATCH 2/2] gnu: ausweisapp: Update to 2.0.2 Sergey Trofimov
2024-01-17 20:36 ` [bug#68500] [PATCH v1 0/2] " Sergey Trofimov
2024-01-17 20:36   ` [bug#68500] [PATCH v1 1/2] gnu: qtscxml: Update to 6.5.2 Sergey Trofimov
2024-01-17 20:36   ` [bug#68500] [PATCH v1 2/2] gnu: ausweisapp: Update to 2.0.2 Sergey Trofimov
2024-03-04 18:03 ` [bug#68500] [PATCH v2 1/2] gnu: qtscxml: Update to 6.5.2 Sergey Trofimov
2024-03-04 18:03   ` [bug#68500] [PATCH v2 2/2] gnu: ausweisapp: Update to 2.1.0 Sergey Trofimov
2024-03-10  1:28     ` Maxim Cournoyer [this message]
2024-03-10  1:21   ` [bug#68500] [PATCH v2 1/2] gnu: qtscxml: Update to 6.5.2 Maxim Cournoyer
2024-03-10  7:26 ` [bug#68500] [PATCH v3 " Sergey Trofimov
2024-03-10  7:26   ` [bug#68500] [PATCH v3 2/2] gnu: ausweisapp: Update to 2.1.0 Sergey Trofimov
2024-03-19  7:45     ` bug#68500: " Maxim Cournoyer

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

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

  git send-email \
    --in-reply-to=87h6hedgeq.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=68500@debbugs.gnu.org \
    --cc=sarg@sarg.org.ru \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.