unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64000] [PATCH 1/2] gnu: tessen: Update to 2.2.1.
@ 2023-06-10 11:57 Hilton Chain via Guix-patches via
  2023-06-10 12:16 ` [bug#64000] [PATCH 2/2] gnu: tessen: Wrap script Hilton Chain via Guix-patches via
  2023-07-19 15:37 ` [bug#64000] [PATCH v2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-06-10 11:57 UTC (permalink / raw)
  To: 64000; +Cc: Hilton Chain

* gnu/packages/password-utils.scm (tessen): Update to 2.2.1.
[arguments]<#:make-flags>: Set DESTDIR.
[license]: License has been changed to GPL2-only.
---
 gnu/packages/password-utils.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 74e465d21e..5caf0b80b5 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -859,7 +859,7 @@ (define-public rofi-pass
 (define-public tessen
   (package
     (name "tessen")
-    (version "2.1.2")
+    (version "2.2.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -868,7 +868,7 @@ (define-public tessen
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "01jaxakq847k3v2wid8fzhcmq8mraxz0q1j87s1jv75l1gy4qiij"))))
+                "0v0mkdwwxpy23fm5dqspp9c77b5ifcj7fsi8xhjrkrv1vqwmh67j"))))
     (build-system gnu-build-system)
     (arguments
      (list #:tests?
@@ -885,15 +885,15 @@ (define-public tessen
                      (("xdg-open") (search-input-file inputs "/bin/xdg-open")))))
                (delete 'configure)) ;no configure script
            #:make-flags
-           #~(list (string-append "PREFIX="
-                                  #$output))))
+           #~(list (string-append "DESTDIR=" #$output)
+                   "PREFIX=''")))
     (native-inputs (list scdoc))
     (inputs (list libnotify wl-clipboard wtype xdg-utils))
     (home-page "https://github.com/ayushnix/tessen")
     (synopsis "Frontend for password-store and gopass")
     (description "Tessen is a bash script that can autotype and copy data
 from password-store and gopass files.")
-    (license license:gpl2+)))
+    (license license:gpl2)))
 
 (define-public browserpass-native
   (package

base-commit: 9504dd2c3eef0277369acc0944f87fb4546251b1
-- 
2.40.1





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

* [bug#64000] [PATCH 2/2] gnu: tessen: Wrap script.
  2023-06-10 11:57 [bug#64000] [PATCH 1/2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
@ 2023-06-10 12:16 ` Hilton Chain via Guix-patches via
  2023-07-19 15:37 ` [bug#64000] [PATCH v2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-06-10 12:16 UTC (permalink / raw)
  To: 64000; +Cc: Hilton Chain

* gnu/packages/password-utils.scm (tessen)[arguments]<#:phases> Add phase
wrap.
Remove phase patch-wtype-path.
[inputs]: Add guile-3.0.
---
 gnu/packages/password-utils.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 5caf0b80b5..afd5109b31 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -875,20 +875,20 @@ (define-public tessen
            #f ;no tests
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'patch-wtype-path
+               (add-after 'install 'wrap
                  (lambda* (#:key inputs #:allow-other-keys)
-                   (substitute* "tessen"
-                     (("notify-send") (search-input-file inputs
-                                                         "/bin/notify-send"))
-                     (("wl-copy") (search-input-file inputs "/bin/wl-copy"))
-                     (("wtype") (search-input-file inputs "/bin/wtype"))
-                     (("xdg-open") (search-input-file inputs "/bin/xdg-open")))))
+                   (wrap-script (string-append #$output "/bin/tessen")
+                     `("PATH" suffix
+                       ,(map (lambda (program)
+                               (dirname (search-input-file
+                                         inputs (string-append "/bin/" program))))
+                             '("notify-send" "wl-copy" "wtype" "xdg-open"))))))
                (delete 'configure)) ;no configure script
            #:make-flags
            #~(list (string-append "DESTDIR=" #$output)
                    "PREFIX=''")))
     (native-inputs (list scdoc))
-    (inputs (list libnotify wl-clipboard wtype xdg-utils))
+    (inputs (list guile-3.0 libnotify wl-clipboard wtype xdg-utils))
     (home-page "https://github.com/ayushnix/tessen")
     (synopsis "Frontend for password-store and gopass")
     (description "Tessen is a bash script that can autotype and copy data
-- 
2.40.1





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

* [bug#64000] [PATCH v2] gnu: tessen: Update to 2.2.1.
  2023-06-10 11:57 [bug#64000] [PATCH 1/2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
  2023-06-10 12:16 ` [bug#64000] [PATCH 2/2] gnu: tessen: Wrap script Hilton Chain via Guix-patches via
@ 2023-07-19 15:37 ` Hilton Chain via Guix-patches via
  2023-07-22  3:37   ` bug#64000: [PATCH 1/2] " 宋文武 via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-07-19 15:37 UTC (permalink / raw)
  To: 64000; +Cc: Hilton Chain

* gnu/packages/password-utils.scm (tessen): Update to 2.2.1.
[arguments]<#:make-flags>: Set DESTDIR.
[license]: License has been changed to GPL2-only.
---
v1 -> v2:
No change on [PATCH 1/2] (gnu: tessen: Update to 2.2.1.)
Removed [PATCH 2/2] (gnu: tessen: Wrap script.)

 gnu/packages/password-utils.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 06e00a69d4..aa911120f3 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -959,7 +959,7 @@ (define-public rofi-pass
 (define-public tessen
   (package
     (name "tessen")
-    (version "2.1.2")
+    (version "2.2.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -968,7 +968,7 @@ (define-public tessen
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "01jaxakq847k3v2wid8fzhcmq8mraxz0q1j87s1jv75l1gy4qiij"))))
+                "0v0mkdwwxpy23fm5dqspp9c77b5ifcj7fsi8xhjrkrv1vqwmh67j"))))
     (build-system gnu-build-system)
     (arguments
      (list #:tests?
@@ -985,15 +985,15 @@ (define-public tessen
                      (("xdg-open") (search-input-file inputs "/bin/xdg-open")))))
                (delete 'configure)) ;no configure script
            #:make-flags
-           #~(list (string-append "PREFIX="
-                                  #$output))))
+           #~(list (string-append "DESTDIR=" #$output)
+                   "PREFIX=''")))
     (native-inputs (list scdoc))
     (inputs (list libnotify wl-clipboard wtype xdg-utils))
     (home-page "https://github.com/ayushnix/tessen")
     (synopsis "Frontend for password-store and gopass")
     (description "Tessen is a bash script that can autotype and copy data
 from password-store and gopass files.")
-    (license license:gpl2+)))
+    (license license:gpl2)))
 
 (define-public browserpass-native
   (package

base-commit: b2750695f72519286cb0530431396767588cc67d
-- 
2.41.0





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

* bug#64000: [PATCH 1/2] gnu: tessen: Update to 2.2.1.
  2023-07-19 15:37 ` [bug#64000] [PATCH v2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
@ 2023-07-22  3:37   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-22  3:37 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 64000-done

Hilton Chain <hako@ultrarare.space> writes:

> * gnu/packages/password-utils.scm (tessen): Update to 2.2.1.
> [arguments]<#:make-flags>: Set DESTDIR.
> [license]: License has been changed to GPL2-only.
> ---
> v1 -> v2:
> No change on [PATCH 1/2] (gnu: tessen: Update to 2.2.1.)
> Removed [PATCH 2/2] (gnu: tessen: Wrap script.)

Applied, thank you!




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

end of thread, other threads:[~2023-07-22  3:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 11:57 [bug#64000] [PATCH 1/2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
2023-06-10 12:16 ` [bug#64000] [PATCH 2/2] gnu: tessen: Wrap script Hilton Chain via Guix-patches via
2023-07-19 15:37 ` [bug#64000] [PATCH v2] gnu: tessen: Update to 2.2.1 Hilton Chain via Guix-patches via
2023-07-22  3:37   ` bug#64000: [PATCH 1/2] " 宋文武 via Guix-patches via

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).