From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 1/2] gnu: Add qtkeychain. Date: Sat, 7 Nov 2015 20:31:45 +0200 Message-ID: <20151107203145.75002d7c@debian-netbook> References: <1446497399-30726-1-git-send-email-efraim@flashner.co.il> <1446497399-30726-2-git-send-email-efraim@flashner.co.il> <87d1vocf05.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Jip0cWxaoI2QcF18EviKW_7"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv8Nv-00021a-A7 for guix-devel@gnu.org; Sat, 07 Nov 2015 13:38:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv8Nq-0007Lx-KO for guix-devel@gnu.org; Sat, 07 Nov 2015 13:38:43 -0500 In-Reply-To: <87d1vocf05.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --Sig_/Jip0cWxaoI2QcF18EviKW_7 Content-Type: multipart/mixed; boundary="MP_/1nKvGra4nMqHIKrwXsm=YzC" --MP_/1nKvGra4nMqHIKrwXsm=YzC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 05 Nov 2015 22:28:42 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Efraim Flashner skribis: >=20 > > * gnu/packages/qt.scm (qtkeychain): New variable. =20 >=20 > [...] >=20 > > + (modify-phases > > + %standard-phases =20 >=20 > =E2=80=98%standard-phases=E2=80=99 goes on the previous line. >=20 > > + (add-before > > + 'configure 'set-qt-trans-dir > > + (lambda _ > > + (substitute* "CMakeLists.txt" > > + (("\\$\\{qt_translations_dir\\}") > > + "${CMAKE_INSTALL_PREFIX}/share/qtkeychain/translations= "))))))) =20 >=20 > Is Qt able to find translations installed there? Is some environment > variable needed to tell it where to look for them? I don't really know. Without this it tries to install them to /gnu/store/..= .qt5/translations, so I tried to make a directory that would make sense. In= this patch I've changed it to just /translations, but I still didn't see i= t in .guix-profile/share/{de,ro}/LC_MESSAGES/, so I don't really know what = to do with it. >=20 > > + (synopsis "Qt API to store passwords") > > + (description > > + "QtKeychain is a Qt API to store passwords and other secret data > > +securely. It will not store any data unencrypted unless explicitly re= quested.") =20 >=20 > What about =E2=80=9Cservice=E2=80=9D or =E2=80=9Cservice and library=E2= =80=9D rather than =E2=80=9CAPI=E2=80=9D? I think library works best. It can interact with gnome-keyring and the like but would never be installed on its own. Plus as just library it doesn't go on to the next line :) >=20 > Thanks, > Ludo=E2=80=99. --=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 --MP_/1nKvGra4nMqHIKrwXsm=YzC Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-qtkeychain.patch =46rom f4ae6cc0036556d1c205e8dbce658fd47f81b7fd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 16 Sep 2015 15:24:27 +0300 Subject: [PATCH 1/2] gnu: Add qtkeychain. * gnu/packages/qt.scm (qtkeychain): New variable. --- gnu/packages/qt.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 9813f5b..242c21a 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2013, 2014, 2015 Andreas Enge ;;; Copyright =C2=A9 2015 Sou Bunnbu ;;; Copyright =C2=A9 2015 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2015 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,10 +20,11 @@ ;;; along with GNU Guix. If not, see . =20 (define-module (gnu packages qt) - #:use-module ((guix licenses) #:select (gpl2 gpl3 lgpl2.1 x11-style)) + #:use-module ((guix licenses) #:select (bsd-3 gpl2 gpl3 lgpl2.1 x11-styl= e)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build utils) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix packages) #:use-module (guix utils) @@ -518,3 +520,35 @@ contain over 620 classes.") ("qt" ,qt-4))) (inputs `(("python" ,python-2))))) + +(define-public qtkeychain + (package + (name "qtkeychain") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/frankosterfeld/qtkeychain/" + "archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "055mkd4pz6cyff4cw0784wjc1w92m8x223sxi96ph15fr3lplbg6")))) + (build-system cmake-build-system) + (inputs + `(("qt", qt))) + (arguments + `(#:tests? #f ; No tests included + #:phases + (modify-phases %standard-phases + (add-before + 'configure 'set-qt-trans-dir + (lambda _ + (substitute* "CMakeLists.txt" + (("\\$\\{qt_translations_dir\\}") + "${CMAKE_INSTALL_PREFIX}/translations"))))))) + (home-page "https://github.com/frankosterfeld/qtkeychain") + (synopsis "Qt API to store passwords") + (description + "QtKeychain is a Qt library to store passwords and other secret data +securely. It will not store any data unencrypted unless explicitly reques= ted.") + (license bsd-3))) --=20 2.6.2 --MP_/1nKvGra4nMqHIKrwXsm=YzC-- --Sig_/Jip0cWxaoI2QcF18EviKW_7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWPkORAAoJEPTB05F+rO6T1yYP/3dnJSG2lRAWw0PGxv+AFQxs DxmOzUoeoWEx5CX6MuVqeySmzPuHyHggJwTt2+gSgTK20DIKFDmFSBanOUR6p7oq 9xZxUOoLBjwSr3UQ8qTwziKJRBO94N0yrh4BnM/UX8TLChxByTlJ87EhwUSGEz9z Ecl3JKeUPiaIdnCqUdqKmzNN+CVCCQDUFUpbmTXRi+M7V4zdeIcNmQvHiFKp0J9S +rKYC0pwgB/LEEAWau0+qnvF5dnGM2qG0TIX+TQR10Mda6z6xvc56ObAKQrZHf92 9b/o/0ZFIiei4nqy0v+AeUyaa4OJ1tCg8SgGc955MTxv9T8MfiBEX2QlA32YScs4 DYoSGMWZPlNbh9nOg/kLyytQu+mJ9SetMm1PIWZ1IZwR0pnG5/lxFHT9scEEWYKo icdsPPRBAvgPTRCsBRDqus4R8LGw0sW7xaqF63DHX4YefXy84G8O0sBG4n2qeTtF zoVQd7FPVFqJNBw3vIwNJiS1ACD7TUugTxu0ZZLBlVRWtsCYpMaP6p3QllVmNv1Q RATCtNPtlQ7rCWl82losDTANJH6xVKWCNSRAWb72vtdRfVwGwR1YAcIH2MzgIqat UUhBz02jhg+Qt9Sm634OoNXmUnwMXTCgVHGBmmVeeKZnxSjarAZKD9U9GVC7wS/M Y6RYT5defdfTXP4OpK79 =IQ35 -----END PGP SIGNATURE----- --Sig_/Jip0cWxaoI2QcF18EviKW_7--