GNU bug report logs -
#59640
[PATCH] gnu: Add tilix.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Sun, 27 Nov 2022 18:55:02 UTC
Severity: normal
Tags: moreinfo, patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59640 in the body.
You can then email your comments to 59640 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Sun, 27 Nov 2022 18:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jgart <jgart <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 27 Nov 2022 18:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <at> protonmail.com>
;;; Copyright © 2022 Felipe Balbi <balbi <at> kernel.org>
;;; Copyright © 2022 ( <paren <at> disroot.org>
+;;; Copyright © 2022 jgart <jgart <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Sun, 27 Nov 2022 19:11:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 59640 <at> debbugs.gnu.org (full text, mbox):
On Sun, 27 Nov 2022 18:55:02 +0000 help-debbugs <at> 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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Tue, 13 Dec 2022 13:26:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
jgart via Guix-patches via <guix-patches <at> 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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Tue, 13 Dec 2022 13:26:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Tue, 13 Dec 2022 16:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
On Tue, 13 Dec 2022 13:24:02 +0000 Christopher Baines <mail <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Tue, 13 Dec 2022 16:25:03 GMT)
Full text and
rfc822 format available.
Added tag(s) moreinfo.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 05 Jan 2023 21:19:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Sat, 07 Jan 2023 21:15:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 59640 <at> debbugs.gnu.org (full text, mbox):
From: jgart <jgart <at> dismail.de>
* gnu/packages/terminals.scm (tilix): New variable.
Co-authored-by: Efraim Flashner <efraim <at> 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 <at> flashner.co.il>
+;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2016 Mckinley Olsen <mck.olsen <at> gmail.com>
;;; Copyright © 2016, 2017, 2019 Alex Griffin <a <at> ajgrf.com>
;;; Copyright © 2016 David Craven <david <at> craven.ch>
@@ -32,6 +32,7 @@
;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
;;; Copyright © 2022 Felipe Balbi <balbi <at> kernel.org>
;;; Copyright © 2022 ( <paren <at> disroot.org>
+;;; Copyright © 2022 jgart <jgart <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59640
; Package
guix-patches
.
(Sat, 07 Jan 2023 22:15:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 59640 <at> debbugs.gnu.org (full text, mbox):
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 <at> 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
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Sun, 08 Jan 2023 11:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jgart <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Sun, 08 Jan 2023 11:10:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 59640-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 Feb 2023 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.