From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55652) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixS9j-0003Fa-VZ for guix-patches@gnu.org; Fri, 31 Jan 2020 04:00:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixS9i-00072b-Np for guix-patches@gnu.org; Fri, 31 Jan 2020 04:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixS9i-00071F-Jc for guix-patches@gnu.org; Fri, 31 Jan 2020 04:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixS9i-0000cZ-I6 for guix-patches@gnu.org; Fri, 31 Jan 2020 04:00:02 -0500 Subject: [bug#39365] [PATCH 1/6] gnu: Add qrcodegen-cpp. Resent-Message-ID: Date: Fri, 31 Jan 2020 10:58:51 +0200 From: Efraim Flashner Message-ID: <20200131085851.GE9517@E5400> References: <20200131030509.GA13436@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qp4W5+cUSnZs0RIF" Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari Cc: 39365@debbugs.gnu.org --qp4W5+cUSnZs0RIF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2020 at 10:06:22PM -0500, Leo Famulari wrote: > * gnu/packages/aidc.scm (qrcodegen-cpp): New variable. > --- > gnu/packages/aidc.scm | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) You're missing the actual patch ;) >=20 > 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 =C2=A9 2017 Hartmut Goebel > ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice > ;;; Copyright =C2=A9 2019 Guillaume Le Vaillant > +;;; Copyright =C2=A9 2020 Leo Famulari > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -154,3 +155,41 @@ For application developers, language bindings are in= cluded 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 Gi= tHub > + ;; pull request, so we build from a recent commit that the proposed pa= tch > + ;; 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= =2Egit") > + (commit commit))) > + (file-name (git-file-name name version)) > + (patches (search-patches "qrcodegen-cpp-make-install.pat= ch")) > + (sha256 > + (base32 > + "19fcwqmfk2n9p2n01dv2j4x2y2mqip0j1wbmfbxjp34rqkjwcwxm"= )))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; no test suite > + #:make-flags > + (list (string-append "PREFIX=3D" (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 implementation= s.") You can drop the comma after C if you want. > + (home-page "https://www.nayuki.io/page/qr-code-generator-library") > + (license license:expat)))) > --=20 > 2.25.0 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qp4W5+cUSnZs0RIF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl4z7EQACgkQQarn3Mo9 g1FTMQ//f1SSCqvEwlh+W80uiBKciJ5auVqUFueyXTAAc/3fyFuymivgQcqYWmlO TjhN4z4dI0TQcEbSCcV5pSAsymAtCZMgTEjP53wi4Ba/zv+BUYjyCFBqXIUpPxk2 0e2T0gBxsa+2/rPUEl6XCNnegwM/IaX8NBcq4a7lKF09dlbrOOfiqCV/Kn02rkb2 tvW7BDjP+sjnjhwxWNH/APyea2IcB3c2ga9NpRyoSH1kPsQrF4m5w6/TFAfs0I65 jsu3FVKicK5S/9QvNZ1NmvqdzP7NiyLQR6GHCq/Uxsk6wSO0oH5dwW5owgbBAoeC 5OMeCCrxc2Gg1FDgIASi0FcnMbAS/tYiyH3JRfmgZo0rITivXKufXmqIugQXm9Ji uJcxusHIbw6C60rqrG5F1v/U/FLXfojbqVu9fxvagoco59rV4IVPbIipOdAnVWdB vbn7r8lxPpdXZ4zRjTIA/Mmt98WjC0szPXexu5ht1ZPelTxELUPs+ALdRXKbLlB8 MF+9XI9Z8x3xy35xQywVwXvx7xeYkzO+HRqFhzZUrR9QcsvGx00bbIO9AuldSr6z IA+sVzV/r3nt3g7vbnM5cg/mr/Pme183xaA7dHNUjtuUcd70RQvtRl8A5wGise8W BGXkUU95n/40Sd9YaF+8EFSsISmixix5nEunQhnYbcDJsF+KvQ4= =L+xe -----END PGP SIGNATURE----- --qp4W5+cUSnZs0RIF--