[PATCH 0/2] Update senpai to 0.3.0 and add delthas-tcell-v2.

  • Done
  • quality assurance status badge
Details
3 participants
  • Christopher Baines
  • get-state
  • Nicolas Graves
Owner
unassigned
Submitted by
get-state
Severity
normal
G
G
get-state wrote on 1 Nov 20:58 +0100
(address . guix-patches@gnu.org)(name . get-state)(address . mazin@getstate.dev)
cover.1730490061.git.mazin@getstate.dev
get-state (2):
gnu: go-github-com-delthas-tcell-v2: New variable.
gnu: senpai: Update to 0.3.0.

gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/messaging.scm | 9 +++++----
2 files changed, 33 insertions(+), 4 deletions(-)


base-commit: 870b7d69b4b06d01cdf6bfca71bcc161c0b832bf
--
2.46.0
M
M
Mazin AlHaddad wrote on 2 Nov 08:40 +0100
[PATCH 1/2] gnu: go-github-com-delthas-tcell-v2: New variable.
(address . 74172@debbugs.gnu.org)(name . Mazin Alhaddad)(address . mazin@getstate.dev)
24f1024f2de4897361db95b9e8558a177c345cd7.1730495315.git.mazin@getstate.dev
From: Mazin Alhaddad <mazin@getstate.dev>

* gnu/packages/golang.scm (go-github-com-delthas-tcell-v2): New variable.

Change-Id: Ifc15544e2e78215a4f6cdc36cd316dd10fa0071e
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 00dde61f2c..bdfee798bf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5135,6 +5135,34 @@ (define-public go-github-com-gdamore-tcell-v2
(modify-inputs (package-inputs go-github-com-gdamore-tcell)
(prepend go-golang-org-x-term go-golang-org-x-sys)))))
+(define-public go-github-com-delthas-tcell-v2
+ (package
+ (inherit go-github-com-gdamore-tcell)
+ (name "go-github-com-delthas-tcell")
+ (version "2.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/delthas/tcell")
+ (commit "837a7d7")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05zr73q38dawl7hr6g7v4pkyv6mqr0zp2l9qsgn7xmf1p9q4bn7j"))))
+ (arguments
+ (list
+ #:import-path "github.com/gdamore/tcell/v2"
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-files-writable
+ (lambda _
+ ;; Make sure .gz files are writable so that the
+ ;; 'reset-gzip-timestamps' phase can do its work.
+ (for-each make-file-writable
+ (find-files #$output "\\.gz$")))))))
+ (propagated-inputs (modify-inputs (package-inputs
+ go-github-com-gdamore-tcell)
+ (prepend go-golang-org-x-term go-golang-org-x-sys)))))
+
(define-public go-git-sr-ht-rockorager-tcell-term
(package
(name "go-git-sr-ht-rockorager-tcell-term")
--
2.46.0
M
M
Mazin AlHaddad wrote on 2 Nov 08:40 +0100
[PATCH 2/2] gnu: senpai: Update to 0.3.0.
(address . 74172@debbugs.gnu.org)(name . Mazin Alhaddad)(address . mazin@getstate.dev)
2f0375d91d5f9da5bc7dd3d4fb2bee2db89a7795.1730495315.git.mazin@getstate.dev
From: Mazin Alhaddad <mazin@getstate.dev>

* gnu/packages/messaging.scm (senpai): Update to 0.3.0.
[phases]: Switch to `make doc` in build-doc phase.
[native-inputs]: Add `which`.

Change-Id: I40d5cae27eb716da1ed6d9dddc1e19f33ae683b6
---
gnu/packages/messaging.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c482cd469e..72b68d9495 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3595,7 +3595,7 @@ (define-public pn
(define-public senpai
(package
(name "senpai")
- (version "0.2.0")
+ (version "0.3.0")
(source
(origin
(method git-fetch)
@@ -3605,7 +3605,7 @@ (define-public senpai
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1qw955i5f3jr42h4afr23v7wq616bcsyq68if75qdw8j1yibnpmb"))))
+ (base32 "0l43qfjr0ggpv1hkyyfxp3j6acrbbrl8n6qxlh91gyb2jan03683"))))
(build-system go-build-system)
(arguments
(list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
@@ -3615,7 +3615,7 @@ (define-public senpai
#~(modify-phases %standard-phases
(add-after 'build 'build-doc
(lambda* (#:key unpack-path #:allow-other-keys)
- (invoke "make" "doc/senpai.1" "doc/senpai.5"
+ (invoke "make" "doc"
"-C" (string-append "src/" unpack-path))))
(add-after 'install 'install-doc
(lambda* (#:key unpack-path #:allow-other-keys)
@@ -3632,12 +3632,13 @@ (define-public senpai
(native-inputs (list go-git-sr-ht-emersion-go-scfg
go-github-com-delthas-go-libnp
go-github-com-delthas-go-localeinfo
- go-github-com-gdamore-tcell-v2
+ go-github-com-delthas-tcell-v2
go-github-com-mattn-go-runewidth
go-golang-org-x-net
go-golang-org-x-term
go-golang-org-x-time
go-mvdan-cc-xurls
+ which
scdoc))
(home-page "https://sr.ht/~delthas/senpai")
(synopsis "Modern terminal IRC client")
--
2.46.0
N
N
Nicolas Graves wrote on 3 Nov 21:08 +0100
tag 74172 easy
(address . control@debbugs.gnu.org)
87y120nkq1.fsf@ngraves.fr
tags 74172 + easy
quit

--
Best regards,
Nicolas Graves
C
C
Christopher Baines wrote on 22 Nov 22:59 +0100
Re: [bug#74172] [PATCH 0/2] Update senpai to 0.3.0 and add delthas-tcell-v2.
(name . get-state)(address . mazin@getstate.dev)(address . 74172-done@debbugs.gnu.org)
877c8vdj51.fsf@cbaines.net
get-state <mazin@getstate.dev> writes:

Toggle quote (11 lines)
> get-state (2):
> gnu: go-github-com-delthas-tcell-v2: New variable.
> gnu: senpai: Update to 0.3.0.
>
> gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
> gnu/packages/messaging.scm | 9 +++++----
> 2 files changed, 33 insertions(+), 4 deletions(-)
>
>
> base-commit: 870b7d69b4b06d01cdf6bfca71bcc161c0b832bf

Thanks for the patches, obviously senpai using the fork of tcell isn't
ideal so I've made the fork package hidden and removed some unneeded
fields.

I've pushed the patches to master as
c2a80ba78c979d2df2434fed0b9e55a29102f5c2.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmdA/tpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xc/lw//bRsyRdHXVKGl4sdg6ie14HKpxT+td8s9
6f2gnFCyP57NYfwha3grJcEQIlLxr6vT3bmE4md6VGmlJNijzy99jCBclzgdNtVT
GZQ91VUqNmDldF88H6LyIH6fxwGE+dfJE6s2z+pRgQjtLLN7DZ55p1UvIsLJwsS8
HuCw7JzmhhS+zdY0Sv/7eTxMLdkmYZLjXVy551qgPHH/3Xue13N1GMgEHXtFklIO
VTeEbmowdVUpH6wCDkTnTjoDlTxsYbPia7MAakbwsuGimQ72mhI6SJFM2fI4HFjc
vouY3cAGxK+sOUxgkxq3XF7Kr67TLG0i0X1jQSF9r1ab/9AwPyzU3isrTAxbUIh5
06/UZ9vRfXFhBYLoSbOTCe3jkE1tA4xrQxFNKrAWthuPAEYLzShzAmqcPpWgS0UN
H5nzFRDW037VKW/0DQQsqWiR8QWO/tehG7ab4HnPldX8uZYF9U0VP9A41NOTJjP3
gfDVLr1w6Y9N/a7r+e6gtvn3Cb1FSgjvas1V1H199Xa78svwQB8zNiIjJPku4nib
bTV2teaZesv9ofVMeyOs2vLE10gHTcilHVZLFz5KfPKc+HWGtD5nvsoBw1MqehhQ
iPyzhIT2Cx2QDdcZPbwyyV+KPvjhZkARYyp/SEEVz7KjkvX1A6nXza+61UtOtSh3
UuosoiHgRQ8=
=2rVt
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 74172@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74172
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch