Subject: bug#64030: closed (Re: bug#64030: [PATCH] gnu: Add xiate.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 20 Jun 2023 21:54:02 +0000

Your bug report

#64030: [PATCH] gnu: Add xiate.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64030: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64030
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#64030: [PATCH] gnu: Add xiate.
From: Ludovic Courtès <[email-masked]>
To: Mekeor Melire <[email-masked]>
Cc: [email-masked]
Date: Tue, 20 Jun 2023 23:53:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Mekeor Melire <[email-masked]> skribis:

> * gnu/packages/terminals.scm (xiate): New variable.

Applied, but…

> +  (let
> +    ((commit "ae3cf30b345c64f097a747ac848e23ef5bae8b57")
> +      (revision "0"))
> +    (package
> +      (name "xiate")
> +      (version (git-version "21.12" revision commit))

… the commit apparently corresponds to 22.12, so I changed the versionm
number accordingly.

I also passed it through ‘guix style’.

Thanks,
Ludo’.

Subject: [PATCH] gnu: Add xiate.
From: [email-masked]
To: [email-masked]
Date: Mon, 12 Jun 2023 22:12:32 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/terminals.scm (xiate): New variable.
---
 gnu/packages/terminals.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index e3d0937ecc..80d39cc761 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -938,6 +938,49 @@ (define-public sakura
 desktop installed to have a decent terminal emulator.")
     (license license:gpl2)))
 
+(define-public xiate
+  (let
+    ((commit "ae3cf30b345c64f097a747ac848e23ef5bae8b57")
+      (revision "0"))
+    (package
+      (name "xiate")
+      (version (git-version "21.12" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (file-name (git-file-name name version))
+          (uri
+            (git-reference
+              (url "https://www.uninformativ.de/git/xiate.git")
+              (commit commit)))
+          (sha256
+            (base32
+              "0bc205b1gs1jvp1a2cr814l32hmlm0sgv1drfw7ykbavslfpmg2d"))))
+      (build-system gnu-build-system)
+      (arguments
+        (list
+          #:tests? #f ; no tests
+          #:make-flags
+          #~(list
+              (string-append "CC=" #$(cc-for-target))
+              (string-append "prefix=" #$output))
+          #:phases
+          #~(modify-phases %standard-phases
+              (delete 'configure)
+              (add-after 'unpack 'patch-makefile
+                (lambda _
+                  (substitute* "Makefile"
+                    (("/usr/local") #$output)))))))
+      (inputs (list gtk+ glib vte))
+      (native-inputs (list pkg-config))
+      (synopsis "Minimalist terminal emulator based on GTK+")
+      (description "Xiate is a terminal emulator which tries to keep a balance
+between features and simplicity. This is achieved by using VTE as a powerful
+backend, while UI, configuration, and code try to remain much more
+minimalistic.")
+      (home-page "https://www.uninformativ.de/git/xiate/file/README.html")
+      (license license:expat))))
+
 (define-public go-github.com-nsf-termbox-go
   (let ((commit "288510b9734e30e7966ec2f22b87c5f8e67345e3")
         (revision "1"))

base-commit: 44bbfc24e4bcc48d0e3343cd3d83452721af8c36
-- 
2.39.2