From unknown Sun Jun 15 10:56:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36303] [PATCH] gnu: Add qtpass. Resent-From: Jens =?UTF-8?Q?M=C3=B8lgaard?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jun 2019 07:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36303@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15610172653081 (code B ref -1); Thu, 20 Jun 2019 07:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2019 07:54:25 +0000 Received: from localhost ([127.0.0.1]:47798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdrtk-0000nZ-Kf for submit@debbugs.gnu.org; Thu, 20 Jun 2019 03:54:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:39225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdrti-0000nR-Io for submit@debbugs.gnu.org; Thu, 20 Jun 2019 03:54:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53698) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdrtg-0005xt-Oc for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdrte-0003JW-U9 for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:16 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdrte-0003FW-Ln for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:14 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1561017243; cv=none; d=zoho.com; s=zohoarc; b=fK5t8+u1AAd9eyLC6Oo+3fXkOUrTcut2U1iU0vYhSUIe2zy3Uj1OcmgwSmIuk+pGRX82lzEkZtTAs0QDl50yZLUuQrUEcJ8tPsB9UF14jGwPyO+4qzTguJ5emO00jzq1RdXoCmQJ8C5y3hcBmCOLu8zu9yFcv3RW/aoDxLRLQJY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561017243; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=6Zm/3ydzj99NMJwiHkwg7Alm7Z90ZXTNl1sbHzF27Do=; b=NjkXJGb0Qe3Wa2HAG6TuOw8X7/1/voR4HLq3kzEU2hmuEwF2wcADW82gcp8N5RCfjn9C/6i2PcHXGawUY7LVLDgOOM7fLy5kQ1Tjtq3BQhUac8dlU54FA9VMtdDAyfasu9E/xYWtVL6Avu2uGJtFYh25Sk7kR+RIFVv1d17KoK4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zete.tk; spf=pass smtp.mailfrom=jens@zete.tk; dmarc=pass header.from= header.from= Received: from localhost (165.84.56.164 [165.84.56.164]) by mx.zohomail.com with SMTPS id 1561017241291838.5960480121762; Thu, 20 Jun 2019 00:54:01 -0700 (PDT) From: Jens =?UTF-8?Q?M=C3=B8lgaard?= User-Agent: Emacs/26.2 (x86_64-pc-linux-gnu) Date: Thu, 20 Jun 2019 19:53:51 +1200 Message-ID: <87d0j81yls.fsf@zete.tk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello guix! This patch adds qtpass, one of the GUIs available for password-store. It should build reproducibly now, and 'guix lint' reports no issues, so should be ready to go. Some notes: - Tests are currently disabled as they seem to need display set. Appears to be the case for a few qt packages. - qmake looks for lrelease-qt5/lupdate-qt5 instead of lrelease/lupdate, and only seems to like the env vars given directly when invoked. lrelease/lupdate in turn need a variable to find qmake. There's possibly a more elegant way of doing this. - Desktop file isn't currently set up; I'll need to look into that. Comments and advice are very welcome (I'm quite 'green')! Happy hacking, Jens M --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-qtpass.patch Content-Transfer-Encoding: quoted-printable From=20cf95cf3b851c09afe7904e512c4a2e6b373db4de Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D Date: Thu, 20 Jun 2019 19:24:47 +1200 Subject: [PATCH] gnu: Add qtpass. * gnu/packages/password-utils.scm (qtpass): New variable. =2D-- gnu/packages/password-utils.scm | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.= scm index ed890f73c3..a3db8fbcdc 100644 =2D-- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -22,6 +22,7 @@ ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Amirouche Boubekki ;;; Copyright =C2=A9 2018 Tim Gesthuizen +;;; Copyright =C2=A9 2019 Jens M=C3=B8lgaard ;;; ;;; This file is part of GNU Guix. ;;; @@ -562,6 +563,61 @@ one-time-password (OTP) secrets, generating OTP codes,= and displaying secret key URIs using the standard otpauth:// scheme.") (license license:gpl3+))) =20 +(define-public qtpass + (package + (name "qtpass") + (version "1.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/IJHack/QtPass.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vfhfyccrxq9snyvayqfzm5rqik8ny2gysyv7nipc91kvhq3bhky")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require display. + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; lupdate/lrelease need to find qmake. + (setenv "QMAKE" "qmake") + ;; qmake needs to find lrelease/lupdate. + (invoke "qmake" + "QMAKE_LRELEASE=3Dlrelease" + "QMAKE_LUPDATE=3Dlupdate" + (string-append "PREFIX=3D" out))))) + (add-after 'configure 'reset-resource-timestamps + ;; Reset timestamps on localization files for a reproducible bu= ild. + (lambda _ + (with-directory-excursion "localization" + (for-each (lambda (file) + (let* ((base (basename file ".qm")) + (src (string-append base ".ts")) + (st (stat src))) + (set-file-time file st))) + (find-files "." ".*\\.qm"))) + #t))))) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (home-page "https://qtpass.org") + (synopsis "GUI for password manager password-store") + (description + "Qt-based graphical user interface for the password manager +password-store also known as pass. Can use either pass or gpg to interact +with password-store files. Features configurable password generation, +templates, clipboard handling, and per folder settings for multi-recipient +encryption.") + (license license:gpl3))) + (define-public argon2 (package (name "argon2") =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/VzWzPUn4Rzyui0RiZ866GcCScAFAl0LO48ACgkQiZ866GcC ScBMVBAAhspRykDWUUqIlZQs0E5ALWPsAgpAgR8A1umZx8HzFHNJ756Gv2prAwPS fJJgrypKIOjZ94dl11o0LgtvJgYRIQvgxOpuFvdmyISZr2ilm49skuiE7PoYCX++ /rpIMqSHdbFyYnlVNjHV/uOQGXq5gjwrMt0tvZXgbnh12kgS5mb6m3CtCIH69TDD 5gbkjNwQH77ZtTwh8yJomHHhD2h+dN/sVzw31/5l0dEin83kMudNiOcZZJ1MBQKg agUwuBrKabMU0WdYUzYqpMtzZuTXXhWmg3EFM17IcclxStyW4hMWfwty4xNTltwz DXFujvrrv5+CefDOIILT5MKR+1OJB9VWXpQFJbjLJmplKxqByF9T1NKmjs9ouIuH Inc7PKCal0ywlxZHm50uHL/W8+VLTbkQwYrllx2NNMR31MzQtRncqv8Y362C0ob4 vKM8mM1kP1k+t00f1YUfUDQ2fG146fFP5jnaVKQ3vN5QFVc3lK+zQUEcU/YuHbqU yVmgZgyBBYTty2+W0S9IC8CrPPdAwdFPzg1XDPrUsUt+bQPVv2j+VOvhtSSLw3Uc LcLg0Ar17XjwVTiy0cP0xnFlnP3a8kpCnHe5b6clBlyAmWYQoLanh1DpAPqcjPj+ nc9W+pwrIsV28iKuzIDS1IvGJ7XdjPFlu+PGFH0r+K3OZGGIl0g= =x9DY -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Jun 15 10:56:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36303] [PATCH] gnu: Add qtpass. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jul 2019 22:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jens =?UTF-8?Q?M=C3=B8lgaard?= Cc: 36303@debbugs.gnu.org Received: via spool by 36303-submit@debbugs.gnu.org id=B36303.156210620017262 (code B ref 36303); Tue, 02 Jul 2019 22:24:03 +0000 Received: (at 36303) by debbugs.gnu.org; 2 Jul 2019 22:23:20 +0000 Received: from localhost ([127.0.0.1]:48101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiRBH-0004UL-MR for submit@debbugs.gnu.org; Tue, 02 Jul 2019 18:23:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiRBF-0004U5-8O for 36303@debbugs.gnu.org; Tue, 02 Jul 2019 18:23:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hiRB9-0000MG-SI; Tue, 02 Jul 2019 18:23:11 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34846 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hiRB9-0007me-8M; Tue, 02 Jul 2019 18:23:11 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87d0j81yls.fsf@zete.tk> Date: Wed, 03 Jul 2019 00:23:06 +0200 In-Reply-To: <87d0j81yls.fsf@zete.tk> ("Jens \=\?utf-8\?Q\?M\=C3\=B8lgaard\=22's\?\= message of "Thu, 20 Jun 2019 19:53:51 +1200") Message-ID: <871rz85b5h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Jens, Jens M=C3=B8lgaard skribis: > Some notes: > > - Tests are currently disabled as they seem to need display set. Appears > to be the case for a few qt packages. Some packages have a pre-check phase that spawns Xvfb; others do: (setenv "QT_QPA_PLATFORM" "offscreen") Would one of these method allow us to run the tests? > - qmake looks for lrelease-qt5/lupdate-qt5 instead of lrelease/lupdate, > and only seems to like the env vars given directly when invoked. > lrelease/lupdate in turn need a variable to find qmake. There's possibly > a more elegant way of doing this. Sounds good. > - Desktop file isn't currently set up; I'll need to look into that. OK. > From cf95cf3b851c09afe7904e512c4a2e6b373db4de Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D > Date: Thu, 20 Jun 2019 19:24:47 +1200 > Subject: [PATCH] gnu: Add qtpass. > > * gnu/packages/password-utils.scm (qtpass): New variable. [...] > + (license license:gpl3))) Source file headers don=E2=80=99t specify any version of the GPL, so it sho= uld be =E2=80=98gpl3+=E2=80=99 (meaning =E2=80=9Cor any later version=E2=80=9D). Apart from these minor issues, it LGTM! Could you send an updated patch that runs tests, if that works? Otherwise we=E2=80=99re ready to go. Thank you, and apologies for the delay! Ludo=E2=80=99. From unknown Sun Jun 15 10:56:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36303] [PATCH] gnu: Add qtpass. Resent-From: Jens =?UTF-8?Q?M=C3=B8lgaard?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Jul 2019 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36303@debbugs.gnu.org Received: via spool by 36303-submit@debbugs.gnu.org id=B36303.156214618822575 (code B ref 36303); Wed, 03 Jul 2019 09:30:02 +0000 Received: (at 36303) by debbugs.gnu.org; 3 Jul 2019 09:29:48 +0000 Received: from localhost ([127.0.0.1]:48383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hibaC-0005rz-LM for submit@debbugs.gnu.org; Wed, 03 Jul 2019 05:29:48 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiba9-0005rq-1G for 36303@debbugs.gnu.org; Wed, 03 Jul 2019 05:29:42 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1562146168; cv=none; d=zoho.com; s=zohoarc; b=D5zipQfjpez8CC7GyckXEEKHiZ5TweEH0xNqs3/kgR1jYg4ycb3+9gp7IYgfLYmp5x/anSlZZsbeuZdkZb0QsfefyvZmPuXAB/BkURJ2sFAJE4TQdmQX+uR0BQF8XDjTYy5giHoSkQ9HCg15kXRLDSMo5H8zfvu/at/iN/y0b0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562146168; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=WDpENw4DoOpwhR3Y8fbdho1L4JiDvWdMzwNm/Oas4To=; b=NTIWW9pJMlodj9dAy4GsFKPelNR1u/youX7VKXqekuKYJKgnMw3zzgbjVtQUOPLAhn14Ha3gmCc0EABcvrVpQISu+3JV1kkMZbKobNUCWpbJ1Mi9C/GftrllCNTDjoLSdlGG7btlV6LUeMgj3F7QhwdYbyfXPsaj02diLf7+wbM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zete.tk; spf=pass smtp.mailfrom=jens@zete.tk; dmarc=pass header.from= header.from= Received: from localhost (165.84.56.164 [165.84.56.164]) by mx.zohomail.com with SMTPS id 1562146166512126.31061249721324; Wed, 3 Jul 2019 02:29:26 -0700 (PDT) From: Jens =?UTF-8?Q?M=C3=B8lgaard?= In-Reply-To: <871rz85b5h.fsf@gnu.org> References: <87d0j81yls.fsf@zete.tk> <871rz85b5h.fsf@gnu.org> User-Agent: Emacs/26.2 (x86_64-pc-linux-gnu) Date: Wed, 03 Jul 2019 21:29:23 +1200 Message-ID: <87o92bbh58.fsf@zete.tk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludo, > Some packages have a pre-check phase that spawns Xvfb; others do: > (setenv "QT_QPA_PLATFORM" "offscreen") > Would one of these method allow us to run the tests? Yep, tests work fine with this! > Source file headers don=E2=80=99t specify any version of the GPL, so it s= hould > be =E2=80=98gpl3+=E2=80=99 (meaning =E2=80=9Cor any later version=E2=80= =9D). Ah, I thought only compatible later versions could be used, unless it was specified explicitly. I'll trust your advice and specify 'gpl3+'. I've also added a bit to install the desktop file, man-page and icon. So, patch should be good to go! Thanks, Jens M --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-qtpass.patch Content-Transfer-Encoding: quoted-printable From=209aa91d33b280197dbd590e8347260e213df623c7 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D Date: Thu, 20 Jun 2019 19:24:47 +1200 Subject: [PATCH] gnu: Add qtpass. * gnu/packages/password-utils.scm (qtpass): New variable. =2D-- gnu/packages/password-utils.scm | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.= scm index ed890f73c3..e1c8a10242 100644 =2D-- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -22,6 +22,7 @@ ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Amirouche Boubekki ;;; Copyright =C2=A9 2018 Tim Gesthuizen +;;; Copyright =C2=A9 2019 Jens M=C3=B8lgaard ;;; ;;; This file is part of GNU Guix. ;;; @@ -562,6 +563,78 @@ one-time-password (OTP) secrets, generating OTP codes,= and displaying secret key URIs using the standard otpauth:// scheme.") (license license:gpl3+))) =20 +(define-public qtpass + (package + (name "qtpass") + (version "1.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/IJHack/QtPass.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vfhfyccrxq9snyvayqfzm5rqik8ny2gysyv7nipc91kvhq3bhky")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; lupdate/lrelease need to find qmake. + (setenv "QMAKE" "qmake") + ;; qmake needs to find lrelease/lupdate. + (invoke "qmake" + "QMAKE_LRELEASE=3Dlrelease" + "QMAKE_LUPDATE=3Dlupdate" + (string-append "PREFIX=3D" out))))) + (add-after 'configure 'reset-resource-timestamps + ;; Reset timestamps on localization files for a reproducible bu= ild. + (lambda _ + (with-directory-excursion "localization" + (for-each (lambda (file) + (let* ((base (basename file ".qm")) + (src (string-append base ".ts")) + (st (stat src))) + (set-file-time file st))) + (find-files "." ".*\\.qm"))) + #t)) + (add-after 'install 'install-auxilliary + ;; Install man-page, icon and .desktop file. + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (applications (string-append out "/share/applications"= )) + (icons (string-append out "/share/icons/hicolor/scalab= le/apps")) + (man (string-append out "/share/man/man1"))) + (install-file "qtpass.desktop" applications) + (install-file "artwork/icon.svg" icons) + (rename-file (string-append icons "/icon.svg") + (string-append icons "/qtpass-icon.svg")) + (install-file "qtpass.1" man) + #t))) + (add-before 'check 'check-setup + ;; Make Qt render "offscreen", required for tests. + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (home-page "https://qtpass.org") + (synopsis "GUI for password manager password-store") + (description + "Qt-based graphical user interface for the password manager +password-store also known as pass. Can use either pass or gpg to interact +with password-store files. Features configurable password generation, +templates, clipboard handling, and per folder settings for multi-recipient +encryption.") + (license license:gpl3+))) + (define-public argon2 (package (name "argon2") =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/VzWzPUn4Rzyui0RiZ866GcCScAFAl0cdXMACgkQiZ866GcC ScA90Q//QOmSkbKTZMOloJZX2Cyzbk2l+2q8hegGUsTIOTjw7+06wXpSTX08vOEb RcGxzMeD5yNGwtKVqJFLBYKdCFZXE4DNtd0gxl14Im3jqNa4lbEqpL6AB9RQqwQc 9GOQuLLowPpad0XosNtfPFTzskZGdM3+Pflf9l+MufDoi996NZ1ZUP+sWPbYnb70 ZoXYJHww5OM+JORcnh0yFUngLhBLsFW/pEw1y2C+6ENsY313+15tZYXsi65xQdm6 ON8oCuuEL8LllBbrQdwe9DigUqfEZ0ORr8bn+/GB9iFsxMl9D0qtCTfsg1tzUX4I 21/hjIF0XHKCYpR07XOg9LRRnaFgefMLoo/7guIxJ3LrLSLdv4dc+2nCN6y0kbGv q/s+2FNOmZfIferst30TB2WrpkmvmFvN4nkBuic+vmfF05JWhnHYw36iXgR1Euya hCfejOHLNxVChPUwkLLhPvJePQNP4sW8e/26Mr/8RikCN5l/FMnINTRycXT+7DzV oSL1jB51WNhuMZmTuRWd96LMYJRx1PJR2r6+IF9GlSFjLrhVUxmVvr4E/8LHwakZ kqvuiVjOY9czR4Vn3TwMUoDzz+aWIIsLtKhTkG9eqoBjpsIi9KHTaScDin+k3pdo o02HaWCYFqVPtNku4Mqqg7doc+juXX3JHwLU23R1WozhN6yYEsE= =sk+r -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Jun 15 10:56:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jens =?UTF-8?Q?M=C3=B8lgaard?= Subject: bug#36303: closed (Re: [bug#36303] [PATCH] gnu: Add qtpass.) Message-ID: References: <87zhlu6sgh.fsf@gnu.org> <87d0j81yls.fsf@zete.tk> X-Gnu-PR-Message: they-closed 36303 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 36303@debbugs.gnu.org Date: Thu, 04 Jul 2019 09:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1562233742-10228-1" This is a multi-part message in MIME format... ------------=_1562233742-10228-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #36303: [PATCH] gnu: Add qtpass. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36303@debbugs.gnu.org. --=20 36303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36303 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1562233742-10228-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 36303-done) by debbugs.gnu.org; 4 Jul 2019 09:48:45 +0000 Received: from localhost ([127.0.0.1]:50400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiyM8-0002eV-Nj for submit@debbugs.gnu.org; Thu, 04 Jul 2019 05:48:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiyM6-0002eI-Ip for 36303-done@debbugs.gnu.org; Thu, 04 Jul 2019 05:48:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hiyLx-0004Qf-8X; Thu, 04 Jul 2019 05:48:35 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=42488 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hiyLw-0003Ek-M5; Thu, 04 Jul 2019 05:48:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jens =?utf-8?Q?M=C3=B8lgaard?= Subject: Re: [bug#36303] [PATCH] gnu: Add qtpass. References: <87d0j81yls.fsf@zete.tk> <871rz85b5h.fsf@gnu.org> <87o92bbh58.fsf@zete.tk> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 04 Jul 2019 11:48:30 +0200 In-Reply-To: <87o92bbh58.fsf@zete.tk> ("Jens \=\?utf-8\?Q\?M\=C3\=B8lgaard\=22's\?\= message of "Wed, 03 Jul 2019 21:29:23 +1200") Message-ID: <87zhlu6sgh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36303-done Cc: 36303-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jens M=C3=B8lgaard skribis: >> Some packages have a pre-check phase that spawns Xvfb; others do: >> (setenv "QT_QPA_PLATFORM" "offscreen") >> Would one of these method allow us to run the tests? > > Yep, tests work fine with this! Awesome. >> Source file headers don=E2=80=99t specify any version of the GPL, so it = should >> be =E2=80=98gpl3+=E2=80=99 (meaning =E2=80=9Cor any later version=E2=80= =9D). > > Ah, I thought only compatible later versions could be used, unless it > was specified explicitly. I'll trust your advice and specify 'gpl3+'. Section 14 of GPLv3 reads (GPLv2 has similar wording): If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. In Guix, we encode it as =E2=80=9Cversion X or later=E2=80=9D. > From 9aa91d33b280197dbd590e8347260e213df623c7 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D > Date: Thu, 20 Jun 2019 19:24:47 +1200 > Subject: [PATCH] gnu: Add qtpass. > > * gnu/packages/password-utils.scm (qtpass): New variable. Applied, thanks! Ludo=E2=80=99. ------------=_1562233742-10228-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jun 2019 07:54:25 +0000 Received: from localhost ([127.0.0.1]:47798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdrtk-0000nZ-Kf for submit@debbugs.gnu.org; Thu, 20 Jun 2019 03:54:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:39225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdrti-0000nR-Io for submit@debbugs.gnu.org; Thu, 20 Jun 2019 03:54:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53698) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdrtg-0005xt-Oc for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdrte-0003JW-U9 for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:16 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdrte-0003FW-Ln for guix-patches@gnu.org; Thu, 20 Jun 2019 03:54:14 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1561017243; cv=none; d=zoho.com; s=zohoarc; b=fK5t8+u1AAd9eyLC6Oo+3fXkOUrTcut2U1iU0vYhSUIe2zy3Uj1OcmgwSmIuk+pGRX82lzEkZtTAs0QDl50yZLUuQrUEcJ8tPsB9UF14jGwPyO+4qzTguJ5emO00jzq1RdXoCmQJ8C5y3hcBmCOLu8zu9yFcv3RW/aoDxLRLQJY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561017243; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=6Zm/3ydzj99NMJwiHkwg7Alm7Z90ZXTNl1sbHzF27Do=; b=NjkXJGb0Qe3Wa2HAG6TuOw8X7/1/voR4HLq3kzEU2hmuEwF2wcADW82gcp8N5RCfjn9C/6i2PcHXGawUY7LVLDgOOM7fLy5kQ1Tjtq3BQhUac8dlU54FA9VMtdDAyfasu9E/xYWtVL6Avu2uGJtFYh25Sk7kR+RIFVv1d17KoK4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zete.tk; spf=pass smtp.mailfrom=jens@zete.tk; dmarc=pass header.from= header.from= Received: from localhost (165.84.56.164 [165.84.56.164]) by mx.zohomail.com with SMTPS id 1561017241291838.5960480121762; Thu, 20 Jun 2019 00:54:01 -0700 (PDT) From: Jens =?utf-8?Q?M=C3=B8lgaard?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add qtpass. User-Agent: Emacs/26.2 (x86_64-pc-linux-gnu) Date: Thu, 20 Jun 2019 19:53:51 +1200 Message-ID: <87d0j81yls.fsf@zete.tk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello guix! This patch adds qtpass, one of the GUIs available for password-store. It should build reproducibly now, and 'guix lint' reports no issues, so should be ready to go. Some notes: - Tests are currently disabled as they seem to need display set. Appears to be the case for a few qt packages. - qmake looks for lrelease-qt5/lupdate-qt5 instead of lrelease/lupdate, and only seems to like the env vars given directly when invoked. lrelease/lupdate in turn need a variable to find qmake. There's possibly a more elegant way of doing this. - Desktop file isn't currently set up; I'll need to look into that. Comments and advice are very welcome (I'm quite 'green')! Happy hacking, Jens M --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-qtpass.patch Content-Transfer-Encoding: quoted-printable From=20cf95cf3b851c09afe7904e512c4a2e6b373db4de Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D Date: Thu, 20 Jun 2019 19:24:47 +1200 Subject: [PATCH] gnu: Add qtpass. * gnu/packages/password-utils.scm (qtpass): New variable. =2D-- gnu/packages/password-utils.scm | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.= scm index ed890f73c3..a3db8fbcdc 100644 =2D-- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -22,6 +22,7 @@ ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Amirouche Boubekki ;;; Copyright =C2=A9 2018 Tim Gesthuizen +;;; Copyright =C2=A9 2019 Jens M=C3=B8lgaard ;;; ;;; This file is part of GNU Guix. ;;; @@ -562,6 +563,61 @@ one-time-password (OTP) secrets, generating OTP codes,= and displaying secret key URIs using the standard otpauth:// scheme.") (license license:gpl3+))) =20 +(define-public qtpass + (package + (name "qtpass") + (version "1.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/IJHack/QtPass.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vfhfyccrxq9snyvayqfzm5rqik8ny2gysyv7nipc91kvhq3bhky")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Tests require display. + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; lupdate/lrelease need to find qmake. + (setenv "QMAKE" "qmake") + ;; qmake needs to find lrelease/lupdate. + (invoke "qmake" + "QMAKE_LRELEASE=3Dlrelease" + "QMAKE_LUPDATE=3Dlupdate" + (string-append "PREFIX=3D" out))))) + (add-after 'configure 'reset-resource-timestamps + ;; Reset timestamps on localization files for a reproducible bu= ild. + (lambda _ + (with-directory-excursion "localization" + (for-each (lambda (file) + (let* ((base (basename file ".qm")) + (src (string-append base ".ts")) + (st (stat src))) + (set-file-time file st))) + (find-files "." ".*\\.qm"))) + #t))))) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (home-page "https://qtpass.org") + (synopsis "GUI for password manager password-store") + (description + "Qt-based graphical user interface for the password manager +password-store also known as pass. Can use either pass or gpg to interact +with password-store files. Features configurable password generation, +templates, clipboard handling, and per folder settings for multi-recipient +encryption.") + (license license:gpl3))) + (define-public argon2 (package (name "argon2") =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/VzWzPUn4Rzyui0RiZ866GcCScAFAl0LO48ACgkQiZ866GcC ScBMVBAAhspRykDWUUqIlZQs0E5ALWPsAgpAgR8A1umZx8HzFHNJ756Gv2prAwPS fJJgrypKIOjZ94dl11o0LgtvJgYRIQvgxOpuFvdmyISZr2ilm49skuiE7PoYCX++ /rpIMqSHdbFyYnlVNjHV/uOQGXq5gjwrMt0tvZXgbnh12kgS5mb6m3CtCIH69TDD 5gbkjNwQH77ZtTwh8yJomHHhD2h+dN/sVzw31/5l0dEin83kMudNiOcZZJ1MBQKg agUwuBrKabMU0WdYUzYqpMtzZuTXXhWmg3EFM17IcclxStyW4hMWfwty4xNTltwz DXFujvrrv5+CefDOIILT5MKR+1OJB9VWXpQFJbjLJmplKxqByF9T1NKmjs9ouIuH Inc7PKCal0ywlxZHm50uHL/W8+VLTbkQwYrllx2NNMR31MzQtRncqv8Y362C0ob4 vKM8mM1kP1k+t00f1YUfUDQ2fG146fFP5jnaVKQ3vN5QFVc3lK+zQUEcU/YuHbqU yVmgZgyBBYTty2+W0S9IC8CrPPdAwdFPzg1XDPrUsUt+bQPVv2j+VOvhtSSLw3Uc LcLg0Ar17XjwVTiy0cP0xnFlnP3a8kpCnHe5b6clBlyAmWYQoLanh1DpAPqcjPj+ nc9W+pwrIsV28iKuzIDS1IvGJ7XdjPFlu+PGFH0r+K3OZGGIl0g= =x9DY -----END PGP SIGNATURE----- --==-=-=-- ------------=_1562233742-10228-1--