GNU bug report logs - #60567
[PATCH] gnu: Add ftxui

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Thu, 5 Jan 2023 05:43:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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 60567 in the body.
You can then email your comments to 60567 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Thu, 05 Jan 2023 05:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 05 Jan 2023 05:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add ftxui
Date: Thu, 05 Jan 2023 08:42:06 +0300
[Message part 1 (text/plain, inline)]
Hello,

this patch adds FXTUI[1], a simple C++ library for terminal based user
interfaces.
[0001-gnu-Add-ftxui.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
I decided to place this package in a separate module called "tui.scm" as
there are other libraries for building text-based user interfaces that
can be added in the future (like [2], for example.)

Also to check if the library installed right I tried to build "tiles"
game[3] that is using FXTUI:

--8<---------------cut here---------------start------------->8---
git clone https://github.com/tusharpm/tiles.git
cd tiles
guix shell binutils gcc
mkdir build
cd build
cmake ..
make -j$(nproc)
--8<---------------cut here---------------end--------------->8---

Which worked out flawlessly.

Thanks,
- avp

References:
1. https://github.com/ArthurSonzogni/FTXUI
2. https://github.com/gansm/finalcut
3. https://github.com/tusharpm/tiles

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Sun, 08 Jan 2023 17:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 60567 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 60567 <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Sun, 08 Jan 2023 18:06:00 +0100
Hello Artyom,

> +++ b/gnu/packages/tui.scm

I'm not sure about the new tui module because a lot of packages could
fall into that category, all ncurses based programs for instance.

> +    (arguments
> +     (list #:tests? #f)) ;Tests require gtest

Providing googletest as a native-inputs doesn't help here?

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Sun, 08 Jan 2023 17:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 60567 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 60567 <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Sun, 08 Jan 2023 20:49:50 +0300
[Message part 1 (text/plain, inline)]
Hello Mathieu!

Thank you for the patch review.

I fixed the patch, please find the updated version attached.
[0001-gnu-Add-ftxui.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
Thanks,
- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Sun, 08 Jan 2023 17:54:01 GMT) Full text and rfc822 format available.

Message #14 received at 60567 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 60567 <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Sun, 08 Jan 2023 20:52:59 +0300
[Message part 1 (text/plain, inline)]
> I'm not sure about the new tui module because a lot of packages could
> fall into that category, all ncurses based programs for instance.

I'm not sure about the new module either, but where would you put this
package?

- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Mon, 09 Jan 2023 19:57:02 GMT) Full text and rfc822 format available.

Message #17 received at 60567 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 60567 <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Mon, 09 Jan 2023 22:55:48 +0300
[Message part 1 (text/plain, inline)]
Hello,

I decided to move the FTXUI package to "cpp.scm" module as the library
provides API mainly for C++ programs.
[0001-gnu-Add-ftxui.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Tue, 10 Jan 2023 08:17:02 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Tue, 10 Jan 2023 08:17:02 GMT) Full text and rfc822 format available.

Message #22 received at 60567-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 60567-done <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Tue, 10 Jan 2023 09:16:48 +0100
Hell Artyom,

> I decided to move the FTXUI package to "cpp.scm" module as the library
> provides API mainly for C++ programs.

OK, thanks for the v2!

Applied.

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#60567; Package guix-patches. (Tue, 10 Jan 2023 09:57:02 GMT) Full text and rfc822 format available.

Message #25 received at 60567 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 60567 <at> debbugs.gnu.org
Subject: Re: bug#60567: [PATCH] gnu: Add ftxui
Date: Tue, 10 Jan 2023 10:55:58 +0100
Hey Artyom,

I noticed that the package is failing on non-x86_64 architectures:
https://ci.guix.gnu.org/eval/104402?status=failed.

Could you please have a look?

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Feb 2023 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.