all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
To: Leo Famulari <leo@famulari.name>, 39365@debbugs.gnu.org
Subject: [bug#39365] [PATCH 1/6] gnu: Add qrcodegen-cpp.
Date: Sat, 01 Feb 2020 00:42:51 +0100	[thread overview]
Message-ID: <1580514171.1958.6.camel@Nokia-N900> (raw)
In-Reply-To: <d1b35284d66dbed5e4fa09dd0f6a658ba0f0a1ef.1580439985.git.leo@famulari.name>


----- Ursprüngliche Mitteilung -----
> * gnu/packages/aidc.scm (qrcodegen-cpp): New variable.
> ---
>   gnu/packages/aidc.scm | 39 +++++++++++++++++++++++++++++++++++++++
>   1 file changed, 39 insertions(+)
> 
> diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
> index 77db0ac9fc..b68f2137be 100644
> --- a/gnu/packages/aidc.scm
> +++ b/gnu/packages/aidc.scm
> @@ -4,6 +4,7 @@
>   ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
>   ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
>   ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
> +;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
>   ;;;
>   ;;; This file is part of GNU Guix.
>   ;;;
> @@ -154,3 +155,41 @@ For application developers, language bindings are
> included for C, C++ and Python as well as GUI widgets for GTK and Qt.")
>           (home-page "https://github.com/mchehab/zbar")
>           (license license:lgpl2.1+)))
> +
> +(define-public qrcodegen-cpp
> +   ;; Currently this project's installation mechanism only exists as a
> GitHub +   ;; pull request, so we build from a recent commit that the
> proposed patch +   ;; applies to.
> +   (let ((commit "6ea933f1596d818bd21e9a6b8d2e851fb8b4bcf1")
> +               (revision "0"))
> +       (package
> +           (name "qrcodegen-cpp")
> +           (version (git-version "1.5.0" revision commit))
> +           (source (origin
> +                               (method git-fetch)
> +                               (uri (git-reference
> +                                             (url
> "https://github.com/nayuki/QR-Code-generator.git") +                                       
>     (commit commit))) +                               (file-name (git-file-name name
> version)) +                               (patches (search-patches
> "qrcodegen-cpp-make-install.patch")) +                               (sha256
> +                                 (base32
> +                                 

I think you forgot to include the patch and adding it to lokal.mk.

> "19fcwqmfk2n9p2n01dv2j4x2y2mqip0j1wbmfbxjp34rqkjwcwxm")))) +         
> (build-system gnu-build-system) +           (arguments
> +             `(#:tests? #f ; no test suite
> +                 #:make-flags
> +                 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
> +                 #:phases
> +                 (modify-phases %standard-phases
> +                     (delete 'configure) ; No ./configure script
> +                     ;; Only build the C++ variant.
> +                     (add-after 'unpack 'chdir
> +                         (lambda _
> +                             (chdir "cpp")
> +                             #t)))))
> +           (synopsis "QR Code generator library")
> +           (description "qrcodegen-cpp is a QR code generator library in
> C++.   The +project also offers Java, Javascript, Python, C, and Rust
> implementations.") +           (home-page
> "https://www.nayuki.io/page/qr-code-generator-library") +           (license
> license:expat)))) -- 
> 2.25.0
> 
> 
> 
> 


      parent reply	other threads:[~2020-01-31 23:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31  3:05 [bug#39365] LibreOffice 6.4 Leo Famulari
2020-01-31  3:06 ` [bug#39365] [PATCH 1/6] gnu: Add qrcodegen-cpp Leo Famulari
2020-01-31  3:06   ` [bug#39365] [PATCH 2/6] gnu: mdds: Update to 1.5.0 Leo Famulari
2020-01-31  3:06   ` [bug#39365] [PATCH 3/6] gnu: ixion: Update to 0.15.0 Leo Famulari
2020-01-31  3:06   ` [bug#39365] [PATCH 4/6] gnu: orcus: Update to 0.15.3 Leo Famulari
2020-01-31  3:06   ` [bug#39365] [PATCH 5/6] gnu: libetonyek: Update MDDS requirement Leo Famulari
2020-01-31  3:06   ` [bug#39365] [PATCH 6/6] gnu: LibreOffice: Update to 6.4.0.3 Leo Famulari
2020-01-31  8:58   ` [bug#39365] [PATCH 1/6] gnu: Add qrcodegen-cpp Efraim Flashner
2020-01-31 18:30     ` Leo Famulari
2020-02-13 22:21     ` Ludovic Courtès
2020-02-14  1:13       ` bug#39365: " Leo Famulari
2020-01-31 23:42   ` Jonathan Brielmaier [this message]

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=1580514171.1958.6.camel@Nokia-N900 \
    --to=jonathan.brielmaier@web.de \
    --cc=39365@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /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.