unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0.
@ 2021-06-20 23:15 Matthew James Kraai
  2021-06-21  0:12 ` Matthew James Kraai
  2021-07-05 10:22 ` Matthew James Kraai
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew James Kraai @ 2021-06-20 23:15 UTC (permalink / raw)
  To: 49147; +Cc: Matthew James Kraai

* gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.
---
 gnu/packages/tmux.scm | 58 +++++++++++++++++++++----------------------
 1 file changed, 28 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index f208fbfd93..aa409d316c 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -66,36 +66,34 @@ continue running in the background, then later reattached.")
     (license license:isc)))
 
 (define-public tmux-themepack
-  (let ((commit "03a372866f7677f7fe63bcee140b48b9fd372c48")
-        (revision "1"))
-    (package
-      (name "tmux-themepack")
-      (version (git-version "0.0.0" revision commit)) ; no version tags
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/jimeh/tmux-themepack")
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "1d3k87mq5lca042jbap5kxskjy3kg79wjhhpnm6jacbn3anc67zl"))
-                (file-name (git-file-name name version))))
-      (build-system gnu-build-system)
-      (arguments
-       `(#:tests? #f                    ; no test suite
-         #:phases (modify-phases %standard-phases
-                    (delete 'configure)
-                    (delete 'build)
-                    (replace 'install
-                      (lambda* (#:key outputs #:allow-other-keys)
-                        (let* ((out (string-append
-                                     (assoc-ref outputs "out")
-                                     "/share/" ,name "-" ,version)))
-                          (copy-recursively "." out)))))))
-      (home-page "https://github.com/jimeh/tmux-themepack")
-      (synopsis "Collection of themes for Tmux")
-      (description "A collection of various themes for Tmux.")
-      (license license:wtfpl2))))
+  (package
+    (name "tmux-themepack")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jimeh/tmux-themepack")
+                    (commit version)))
+              (sha256
+               (base32
+                "00dmd16ngyag3n46rbnl9vy82ih6g0y02yfwkid32a1c8vdbvb3z"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                    ; no test suite
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'build)
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (string-append
+                                   (assoc-ref outputs "out")
+                                   "/share/" ,name "-" ,version)))
+                        (copy-recursively "." out)))))))
+    (home-page "https://github.com/jimeh/tmux-themepack")
+    (synopsis "Collection of themes for Tmux")
+    (description "A collection of various themes for Tmux.")
+    (license license:wtfpl2)))
 
 (define-public tmuxifier
   (package
-- 
2.32.0





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

* [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0.
  2021-06-20 23:15 [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0 Matthew James Kraai
@ 2021-06-21  0:12 ` Matthew James Kraai
  2021-06-22  7:02   ` Brice Waegeneire
  2021-07-05 10:22 ` Matthew James Kraai
  1 sibling, 1 reply; 5+ messages in thread
From: Matthew James Kraai @ 2021-06-21  0:12 UTC (permalink / raw)
  To: 49147; +Cc: Matthew James Kraai

* gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.
---
 gnu/packages/tmux.scm | 59 +++++++++++++++++++++----------------------
 1 file changed, 29 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index f208fbfd93..41f8b948ca 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
+;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66,36 +67,34 @@ continue running in the background, then later reattached.")
     (license license:isc)))
 
 (define-public tmux-themepack
-  (let ((commit "03a372866f7677f7fe63bcee140b48b9fd372c48")
-        (revision "1"))
-    (package
-      (name "tmux-themepack")
-      (version (git-version "0.0.0" revision commit)) ; no version tags
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/jimeh/tmux-themepack")
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "1d3k87mq5lca042jbap5kxskjy3kg79wjhhpnm6jacbn3anc67zl"))
-                (file-name (git-file-name name version))))
-      (build-system gnu-build-system)
-      (arguments
-       `(#:tests? #f                    ; no test suite
-         #:phases (modify-phases %standard-phases
-                    (delete 'configure)
-                    (delete 'build)
-                    (replace 'install
-                      (lambda* (#:key outputs #:allow-other-keys)
-                        (let* ((out (string-append
-                                     (assoc-ref outputs "out")
-                                     "/share/" ,name "-" ,version)))
-                          (copy-recursively "." out)))))))
-      (home-page "https://github.com/jimeh/tmux-themepack")
-      (synopsis "Collection of themes for Tmux")
-      (description "A collection of various themes for Tmux.")
-      (license license:wtfpl2))))
+  (package
+    (name "tmux-themepack")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jimeh/tmux-themepack")
+                    (commit version)))
+              (sha256
+               (base32
+                "00dmd16ngyag3n46rbnl9vy82ih6g0y02yfwkid32a1c8vdbvb3z"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                    ; no test suite
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'build)
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (string-append
+                                   (assoc-ref outputs "out")
+                                   "/share/" ,name "-" ,version)))
+                        (copy-recursively "." out)))))))
+    (home-page "https://github.com/jimeh/tmux-themepack")
+    (synopsis "Collection of themes for Tmux")
+    (description "A collection of various themes for Tmux.")
+    (license license:wtfpl2)))
 
 (define-public tmuxifier
   (package
-- 
2.32.0





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

* [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0.
  2021-06-21  0:12 ` Matthew James Kraai
@ 2021-06-22  7:02   ` Brice Waegeneire
  0 siblings, 0 replies; 5+ messages in thread
From: Brice Waegeneire @ 2021-06-22  7:02 UTC (permalink / raw)
  To: Matthew James Kraai; +Cc: 49147

Hello Matthew,

Matthew James Kraai <kraai@ftbfs.org> writes:

> * gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.

Thank you for your patch.  Comparing the output with the previous
version shows additional files which shouldn't be in a package such as
"share/tmux-themepack-1.1.0/Makefile" or
"share/tmux-themepack-1.1.0/.github/workflows/ci.yml".  Can you remove
such files from the output?

Cheers,
- Brice




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

* [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0.
  2021-06-20 23:15 [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0 Matthew James Kraai
  2021-06-21  0:12 ` Matthew James Kraai
@ 2021-07-05 10:22 ` Matthew James Kraai
  2021-07-23 14:40   ` bug#49147: " Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Matthew James Kraai @ 2021-07-05 10:22 UTC (permalink / raw)
  To: 49147; +Cc: Matthew James Kraai

* gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.
[arguments]: Install only selected files.
---
 gnu/packages/tmux.scm | 62 ++++++++++++++++++++++---------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 09040e106d..7dc977d820 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -67,36 +67,38 @@ continue running in the background, then later reattached.")
     (license license:isc)))
 
 (define-public tmux-themepack
-  (let ((commit "03a372866f7677f7fe63bcee140b48b9fd372c48")
-        (revision "1"))
-    (package
-      (name "tmux-themepack")
-      (version (git-version "0.0.0" revision commit)) ; no version tags
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/jimeh/tmux-themepack")
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "1d3k87mq5lca042jbap5kxskjy3kg79wjhhpnm6jacbn3anc67zl"))
-                (file-name (git-file-name name version))))
-      (build-system gnu-build-system)
-      (arguments
-       `(#:tests? #f                    ; no test suite
-         #:phases (modify-phases %standard-phases
-                    (delete 'configure)
-                    (delete 'build)
-                    (replace 'install
-                      (lambda* (#:key outputs #:allow-other-keys)
-                        (let* ((out (string-append
-                                     (assoc-ref outputs "out")
-                                     "/share/" ,name "-" ,version)))
-                          (copy-recursively "." out)))))))
-      (home-page "https://github.com/jimeh/tmux-themepack")
-      (synopsis "Collection of themes for Tmux")
-      (description "A collection of various themes for Tmux.")
-      (license license:wtfpl2))))
+  (package
+    (name "tmux-themepack")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jimeh/tmux-themepack")
+                    (commit version)))
+              (sha256
+               (base32
+                "00dmd16ngyag3n46rbnl9vy82ih6g0y02yfwkid32a1c8vdbvb3z"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                    ; no test suite
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'build)
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (string-append
+                                   (assoc-ref outputs "out")
+                                   "/share/" ,name)))
+                        (copy-recursively "powerline" (string-append out "/powerline"))
+                        (for-each (lambda (file) (copy-file file (string-append out "/" file)))
+                                  '("basic.tmuxtheme"
+                                    "default.tmuxtheme"
+                                    "themepack.tmux"))))))))
+    (home-page "https://github.com/jimeh/tmux-themepack")
+    (synopsis "Collection of themes for Tmux")
+    (description "A collection of various themes for Tmux.")
+    (license license:wtfpl2)))
 
 (define-public tmuxifier
   (package
-- 
2.32.0





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

* bug#49147: [PATCH] gnu: tmux-themepack: Update to 1.1.0.
  2021-07-05 10:22 ` Matthew James Kraai
@ 2021-07-23 14:40   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2021-07-23 14:40 UTC (permalink / raw)
  To: Matthew James Kraai; +Cc: 49147-done

Hi,

Matthew James Kraai <kraai@ftbfs.org> skribis:

> * gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.
> [arguments]: Install only selected files.

Looks like it fell through the cracks.  Now applied, thanks!

Ludo’.




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

end of thread, other threads:[~2021-07-23 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 23:15 [bug#49147] [PATCH] gnu: tmux-themepack: Update to 1.1.0 Matthew James Kraai
2021-06-21  0:12 ` Matthew James Kraai
2021-06-22  7:02   ` Brice Waegeneire
2021-07-05 10:22 ` Matthew James Kraai
2021-07-23 14:40   ` bug#49147: " Ludovic Courtès

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