unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45306] [PATCH] gnu: Add ksshaskpass.
       [not found] <87im8zkfyo.fsf@qq.com>
@ 2020-12-18  2:25 ` Z572
  2020-12-30 10:40 ` bug#45306: " Efraim Flashner
  1 sibling, 0 replies; 2+ messages in thread
From: Z572 @ 2020-12-18  2:25 UTC (permalink / raw)
  To: 45306

[-- Attachment #1: ksshaskpass.patch --]
[-- Type: text/x-patch, Size: 2490 bytes --]

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index e18d521ad2..883e4dcd5d 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -59,6 +60,37 @@ These window decorations can be used by for example an X11 based window
 manager which re-parents a Client window to a window decoration frame.")
     (license license:lgpl3+)))
 
+(define-public ksshaskpass
+  (package
+    (name "ksshaskpass")
+    (version "5.19.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/" version
+                                  "/ksshaskpass-" version ".tar.xz"))
+
+              (sha256
+               (base32
+                "1k2va2v9051f71w78dn3gihk642iyy5yzrkcfnp97fag8g6dpisi"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("qtbase" ,qtbase)))
+    (propagated-inputs
+     `(("kwallet" ,kwallet)))
+    (home-page "https://invent.kde.org/plasma/ksshaskpass")
+    (synopsis "Front-end for ssh-add using kwallet")
+    (description "Ksshaskpass is a front-end for ssh-add which stores the
+password of the ssh key in KWallet. Ksshaskpass is not meant to be executed
+directly, you need to tell ssh-add about it. ssh-add will then call it if it is
+not associated to a terminal.")
+    (license license:gpl2+)))
+
 (define-public kscreenlocker
   (package
     (name "kscreenlocker")
@@ -78,7 +110,7 @@ manager which re-parents a Client window to a window decoration frame.")
          (add-before 'check 'check-setup
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (system (string-append (assoc-ref inputs "xorg-server")
-                                   "/bin/Xvfb :1 -screen 0 640x480x24 &"))
+                                    "/bin/Xvfb :1 -screen 0 640x480x24 &"))
              (setenv "DISPLAY" ":1")
              #t))
          (delete 'check)




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#45306: [PATCH] gnu: Add ksshaskpass.
       [not found] <87im8zkfyo.fsf@qq.com>
  2020-12-18  2:25 ` [bug#45306] [PATCH] gnu: Add ksshaskpass Z572
@ 2020-12-30 10:40 ` Efraim Flashner
  1 sibling, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-12-30 10:40 UTC (permalink / raw)
  To: Z572; +Cc: 45306-done

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

I moved kwallet to inputs since the package already refers to it in the
output. It looks like it'll be most useful with a future kwallet
service, perhaps as part of a KDE desktop service.

I also touched up the description to add @code tags to ssh-add and to
make sure each sentence was followed by two spaces.

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-30 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87im8zkfyo.fsf@qq.com>
2020-12-18  2:25 ` [bug#45306] [PATCH] gnu: Add ksshaskpass Z572
2020-12-30 10:40 ` bug#45306: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).