* [bug#59640] [PATCH] gnu: Add tilix.
@ 2022-11-27 18:53 jgart via Guix-patches via
[not found] ` <handler.59640.B.166957525030365.ack@debbugs.gnu.org>
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: jgart via Guix-patches via @ 2022-11-27 18:53 UTC (permalink / raw)
To: 59640; +Cc: jgart
* gnu/packages/terminals.scm (tilix): 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 f6673388d2..69b982a727 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
;;; Copyright © 2022 ( <paren@disroot.org>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -72,6 +73,7 @@ (define-module (gnu packages terminals)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crypto)
+ #:use-module (gnu packages dlang)
#:use-module (gnu packages docbook)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -86,6 +88,7 @@ (define-module (gnu packages terminals)
#:use-module (gnu packages image)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages libevent)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages man)
#:use-module (gnu packages ncurses)
@@ -1307,6 +1310,46 @@ (define-public eternalterminal
(define-public wterm
(deprecated-package "wterm" foot))
+(define-public tilix
+ (package
+ (name "tilix")
+ (version "1.9.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gnunn1/tilix")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0sb1hypg2276y8c2a5vivrkcxp70swddvhnd9h273if3kv6j879r"))))
+ (build-system meson-build-system)
+ (arguments
+ '(#:glib-or-gtk? #t
+ #:configure-flags '("-Dbuildtype=debugoptimized")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check))))
+ (inputs
+ (list dbus
+ gettext-minimal
+ dconf
+ gsettings-desktop-schemas
+ libsecret
+ libunwind))
+ (native-inputs
+ (list desktop-file-utils
+ gtkd
+ ldc
+ pkg-config
+ python-wrapper
+ appstream))
+ (home-page "https://gnunn1.github.io/tilix-web/")
+ (synopsis "Tiling terminal emulator following the Gnome Human Interface Guidelines")
+ (description "Tilix is a tiling terminal emulator following the
+Gnome Human Interface Guidelines.")
+ (license license:mpl2.0)))
+
(define-public tio
(package
(name "tio")
--
2.38.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#59640] Acknowledgement ([PATCH] gnu: Add tilix.)
[not found] ` <handler.59640.B.166957525030365.ack@debbugs.gnu.org>
@ 2022-11-27 19:10 ` jgart via Guix-patches via
0 siblings, 0 replies; 7+ messages in thread
From: jgart via Guix-patches via @ 2022-11-27 19:10 UTC (permalink / raw)
To: 59640; +Cc: (
On Sun, 27 Nov 2022 18:55:02 +0000 help-debbugs@gnu.org (GNU bug Tracking System) wrote:
Ignore v1. Waiting on gtkd getting patched because it is currently broken.
I just added this here to share my tilix WIP with others and to get feedback.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#59640] [PATCH] gnu: Add tilix.
2022-11-27 18:53 [bug#59640] [PATCH] gnu: Add tilix jgart via Guix-patches via
[not found] ` <handler.59640.B.166957525030365.ack@debbugs.gnu.org>
@ 2022-12-13 13:24 ` Christopher Baines
2022-12-13 16:23 ` jgart via Guix-patches via
2023-01-07 21:10 ` Efraim Flashner
2 siblings, 1 reply; 7+ messages in thread
From: Christopher Baines @ 2022-12-13 13:24 UTC (permalink / raw)
To: jgart; +Cc: 59640
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]
jgart via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/terminals.scm (tilix): New variable.
> ---
> gnu/packages/terminals.scm | 43 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 43 insertions(+)
Hey, thanks for the patch.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/gnunn1/tilix")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "0sb1hypg2276y8c2a5vivrkcxp70swddvhnd9h273if3kv6j879r"))))
This hash doesn't seem to match, you can sort of see this with the QA
testing. Has something changed upstream since you prepared the patch?
> + (build-system meson-build-system)
> + (arguments
> + '(#:glib-or-gtk? #t
> + #:configure-flags '("-Dbuildtype=debugoptimized")
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'check))))
> + (inputs
> + (list dbus
> + gettext-minimal
> + dconf
> + gsettings-desktop-schemas
> + libsecret
> + libunwind))
> + (native-inputs
> + (list desktop-file-utils
> + gtkd
Also, gtkd seems to fail to build for me, so I can't build tilix. Were
you able to build it locally?
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#59640] [PATCH] gnu: Add tilix.
2022-12-13 13:24 ` [bug#59640] [PATCH] gnu: Add tilix Christopher Baines
@ 2022-12-13 16:23 ` jgart via Guix-patches via
0 siblings, 0 replies; 7+ messages in thread
From: jgart via Guix-patches via @ 2022-12-13 16:23 UTC (permalink / raw)
To: Christopher Baines; +Cc: 59640
On Tue, 13 Dec 2022 13:24:02 +0000 Christopher Baines <mail@cbaines.net> wrote:
> Also, gtkd seems to fail to build for me, so I can't build tilix. Were
> you able to build it locally?
Hi Christopher,
Sorry to not update this patch. I haven't had time to work on gtkd but
I'll send an update to both gtkd and tilix once I fix the former.
Thanks for the reviews. They are greatly appreciated!
all best,
jgart
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#59640] [PATCH] gnu: Add tilix.
2022-11-27 18:53 [bug#59640] [PATCH] gnu: Add tilix jgart via Guix-patches via
[not found] ` <handler.59640.B.166957525030365.ack@debbugs.gnu.org>
2022-12-13 13:24 ` [bug#59640] [PATCH] gnu: Add tilix Christopher Baines
@ 2023-01-07 21:10 ` Efraim Flashner
2023-01-07 22:13 ` jgart via Guix-patches via
2 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2023-01-07 21:10 UTC (permalink / raw)
To: 59640; +Cc: jgart, Efraim Flashner
From: jgart <jgart@dismail.de>
* gnu/packages/terminals.scm (tilix): New variable.
Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/terminals.scm | 53 +++++++++++++++++++++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 06b7b8b725..4832206fec 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Mckinley Olsen <mck.olsen@gmail.com>
;;; Copyright © 2016, 2017, 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 David Craven <david@craven.ch>
@@ -32,6 +32,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
;;; Copyright © 2022 ( <paren@disroot.org>
+;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -73,6 +74,7 @@ (define-module (gnu packages terminals)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crypto)
+ #:use-module (gnu packages dlang)
#:use-module (gnu packages docbook)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -87,6 +89,7 @@ (define-module (gnu packages terminals)
#:use-module (gnu packages image)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages libevent)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages man)
#:use-module (gnu packages ncurses)
@@ -1310,6 +1313,54 @@ (define-public eternalterminal
(define-public wterm
(deprecated-package "wterm" foot))
+(define-public tilix
+ (package
+ (name "tilix")
+ (version "1.9.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gnunn1/tilix")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ij3ix6yhi8hicxvglrxjyyv8bch9birrgsr8ml6jfh3hvk4pxdh"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-env-variables
+ (lambda _
+ (setenv "CC" ,(cc-for-target))))
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("gtk-update-icon-cache") (which "true"))))))))
+ (inputs
+ (list dbus
+ dconf
+ gsettings-desktop-schemas
+ gtk+
+ gtkd
+ libsecret
+ libunwind
+ vte))
+ (native-inputs
+ (list appstream
+ desktop-file-utils
+ gettext-minimal
+ (list glib "bin")
+ ldc
+ pkg-config
+ python-wrapper))
+ (home-page "https://gnunn1.github.io/tilix-web/")
+ (synopsis "Tiling terminal emulator following the Gnome Human Interface Guidelines")
+ (description "Tilix is a tiling terminal emulator following the
+Gnome Human Interface Guidelines.")
+ (license license:mpl2.0)))
+
(define-public tio
(package
(name "tio")
base-commit: d15972194aaef17fd1f7fd713d235c70794c9d4f
prerequisite-patch-id: 7e73a2ead7c6e84326cbb37aedbfed984cbe6ac3
--
2.38.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#59640] [PATCH] gnu: Add tilix.
2023-01-07 21:10 ` Efraim Flashner
@ 2023-01-07 22:13 ` jgart via Guix-patches via
2023-01-08 11:08 ` bug#59640: " Efraim Flashner
0 siblings, 1 reply; 7+ messages in thread
From: jgart via Guix-patches via @ 2023-01-07 22:13 UTC (permalink / raw)
To: Efraim Flashner, 59640
Hi Efraim,
Thank you very much for fixing up and working on this patch. It is greatly appreciated!
Here's a screenshot of me running tilix on GNOME 42.4 after building the patch that you sent:
https://up.nixnet.services/wpex6t2q.png
I also ran the linter and just got
gnu/packages/terminals.scm:1351:5: tilix@1.9.5: label 'glib' does not match package name 'glib:bin'
But the above is a warning that can be ignored, correct?
all best,
jgart
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#59640: [PATCH] gnu: Add tilix.
2023-01-07 22:13 ` jgart via Guix-patches via
@ 2023-01-08 11:08 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2023-01-08 11:08 UTC (permalink / raw)
To: jgart; +Cc: 59640-done
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Sat, Jan 07, 2023 at 10:13:56PM +0000, jgart wrote:
> Hi Efraim,
>
> Thank you very much for fixing up and working on this patch. It is greatly appreciated!
>
> Here's a screenshot of me running tilix on GNOME 42.4 after building the patch that you sent:
>
> https://up.nixnet.services/wpex6t2q.png
>
> I also ran the linter and just got
>
> gnu/packages/terminals.scm:1351:5: tilix@1.9.5: label 'glib' does not match package name 'glib:bin'
>
> But the above is a warning that can be ignored, correct?
That's right.
I pushed the patch with a few more minor changes. I think this makes it
our first package actually using dlang.
--
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] 7+ messages in thread
end of thread, other threads:[~2023-01-08 11:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-27 18:53 [bug#59640] [PATCH] gnu: Add tilix jgart via Guix-patches via
[not found] ` <handler.59640.B.166957525030365.ack@debbugs.gnu.org>
2022-11-27 19:10 ` [bug#59640] Acknowledgement ([PATCH] gnu: Add tilix.) jgart via Guix-patches via
2022-12-13 13:24 ` [bug#59640] [PATCH] gnu: Add tilix Christopher Baines
2022-12-13 16:23 ` jgart via Guix-patches via
2023-01-07 21:10 ` Efraim Flashner
2023-01-07 22:13 ` jgart via Guix-patches via
2023-01-08 11:08 ` bug#59640: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.