#1004919 ITP: kmscon -- Simple terminal emulator based on Kernel Mode Setting

Package:
wnpp
Source:
wnpp
Submitter:
Victor Westerhuis
Date:
2022-06-24 13:03:06 UTC
Severity:
wishlist
#1004919#5
Date:
2022-02-03 16:36:43 UTC
From:
To:
* Package name    : kmscon
  Version         : 8+40
  Upstream Author : Aetf <aetf@unlimitedcodeworks.xyz>
* URL             : https://github.com/Aetf/kmscon
* License         : Expat
  Programming Lang: C
  Description     : Simple terminal emulator based on Kernel Mode Setting

kmscon is a system console for linux. It does not depend on any
graphics-server on your system (like X.org), but instead provides
a raw console layer that can  be used independently.
It can replace the linux kernel console entirely but was designed to
work well side-by-side, too.
Even though initially targeted at providing internationalization to
the system-console, it has grown into a fully modularized console
layer including features like multi-head support, internationalized
font rendering, XKB-compatible keyboard handling,
hardware-accelerated graphics access and more.

I have used this package since Linux dropped scrollback support
from the kernel in 2020 [1]. The original upstream [2] has been
dead since 2014, but Aetf has picked up development.

Kmscon depends on a newer, forked version of libtsm. I'll file
a separate bug to address that.

[1]: https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.9-Drops-Soft-Scrollback
[2]: https://www.freedesktop.org/wiki/Software/kmscon/

#1004919#14
Date:
2022-02-05 05:35:39 UTC
From:
To:
Victor Westerhuis left as an exercise for the reader:

i've also forked this, and have been working on it a bit over
the past year:

https://github.com/dankamongmen/kmscon

if the other fork is more active, i'm happy to fold my changes
into it, but they definitely ought go in there. the most
important thing i recall doing was fixing the cursor location
report to use the proper order for coordinates.

#1004919#19
Date:
2022-02-05 12:05:47 UTC
From:
To:
indeed, the cursor location report fix is only on a branch. i'll
go ahead and submit it to this other fork, and rebase mine off
of theirs. thank you likewise for bringing this to my attention!
i'm glad to see kmscon getting some love.

i'm the maintainer and upstream author of Notcurses, and kmscon
is very much a target of mine. if you'd like to integrate any
Notcurses stuff into your testing, just hit me up; i'd be happy
to help!

#1004919#24
Date:
2022-02-05 12:08:28 UTC
From:
To:
also, there is a kmscon repo under the auspices of the
freedesktop.org organization. i talked to the original author
about removing that if he wasn't going to be taking the project
forward, but it didn't go anywhere. if someone's really picking
kmscon up, they might want to go talk to the fdo people.

#1004919#29
Date:
2022-02-05 12:11:15 UTC
From:
To:
ahh, rereading your original ITP, i see you know all about the
fdo situation. good deal =]. i just killed my fork, and am going
to submit a PR to Aetf's fork.

#1004919#34
Date:
2022-02-05 12:20:20 UTC
From:
To:
On 05/02/2022 13:05, nick black wrote:
 > indeed, the cursor location report fix is only on a branch. i'll
 > go ahead and submit it to this other fork, and rebase mine off
 > of theirs. thank you likewise for bringing this to my attention!
 > i'm glad to see kmscon getting some love.

That would be great. I'd like to ask Aetf for a versioned release as
well, but first I'd like to get composing working. There's an open issue
for that and I independently had a patch for that as well, so I'll see
if I can get that upstreamed.

 > i'm the maintainer and upstream author of Notcurses, and kmscon
 > is very much a target of mine. if you'd like to integrate any
 > Notcurses stuff into your testing, just hit me up; i'd be happy
 > to help!

I would like something a bit more formal to test kmscon. So far I've
just been testing out different modes and see if aptitude draws
everything correctly, but that's hardly a decent compliance test.

On 05/02/2022 13:08, nick black wrote:
 > also, there is a kmscon repo under the auspices of the
 > freedesktop.org organization. i talked to the original author
 > about removing that if he wasn't going to be taking the project
 > forward, but it didn't go anywhere. if someone's really picking
 > kmscon up, they might want to go talk to the fdo people.

On 05/02/2022 13:11, nick black wrote:
 > ahh, rereading your original ITP, i see you know all about the
 > fdo situation. good deal =]. i just killed my fork, and am going
 > to submit a PR to Aetf's fork.

It would be great if it could be moved back under FDO auspices, but I
haven't tried to contact them, yet. Going by your experiences that might
not be worth the effort then.

#1004919#39
Date:
2022-02-05 11:54:48 UTC
From:
To:
Thanks for bringing your fork to my attention. I can see you have an
open issue for the cursor location coordinates, but I don't see any
commits related to that in the history of the master branch.

The two fixes I can see, for the removal of SIGUNUSED and adding an
include for sys/sysmacros.h have also been implemented in Aetf's branch.

Aetf's fork has some additional functionality, so I would prefer to use
that. However, in the course of packaging kmscon I've also opened some
PRs on Github and they've responded very quickly. If you have a fix, I'm
sure they'll happily take it as well.

#1004919#44
Date:
2022-04-27 20:47:03 UTC
From:
To:
I have retracted the current version of kmscon I had uploaded at
mentors.debian.net to ask the upstream maintainer for a new release
(https://github.com/Aetf/kmscon/issues/42), so I can prepare a proper
release for Debian.

A new version of libtsm has just been accepted into the archive, closing
the blocking bug #1004921, so there should be no further blocks once I
get a new version of kmscon ready.

#1004919#51
Date:
2022-06-24 13:00:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
kmscon, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Victor Westerhuis <victor@westerhu.is> (supplier of updated kmscon package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 19 Jun 2022 22:43:25 +0200
Source: kmscon
Binary: kmscon kmscon-dbgsym
Architecture: source amd64
Version: 9.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Victor Westerhuis <victor@westerhu.is>
Changed-By: Victor Westerhuis <victor@westerhu.is>
Description:
 kmscon     - Simple terminal emulator based on Kernel Mode Setting
Closes: 1004919
Changes:
 kmscon (9.0.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1004919)
Checksums-Sha1:
 cfe5e7cd4545d83f58049291b12667aebb40567e 2099 kmscon_9.0.0-1.dsc
 ed338454cd111ac89a3374e8e80cff90f5c81997 736668 kmscon_9.0.0.orig.tar.xz
 c35d2850c46efcc275f372e0808eaac84572a62e 6632 kmscon_9.0.0-1.debian.tar.xz
 c113bb6b013893eb2013c7f49c39ec8cc4ec19b7 387088 kmscon-dbgsym_9.0.0-1_amd64.deb
 0c60f86c376d78345d31a3ae26e7616106309700 11764 kmscon_9.0.0-1_amd64.buildinfo
 f806073d58ef9eaf7f33fa06b3856b30637a0255 677868 kmscon_9.0.0-1_amd64.deb
Checksums-Sha256:
 6f6f5852da784958e63c54f4de80d1de4c4f435e86d6de39677f392f99ac9de0 2099 kmscon_9.0.0-1.dsc
 48be605bd874260d9bd7a59e82421ceacf875e4a2c5dba9c62d7f0359df694b6 736668 kmscon_9.0.0.orig.tar.xz
 5d9c67a0c3a49cb72f3dbbdb9a0439ad7a6356f0238b8d8b02478bfe3d5fd059 6632 kmscon_9.0.0-1.debian.tar.xz
 5bda6024d90690ddcc635f6a1e531fe98d03addbb3e2d9743b48c97441c3d871 387088 kmscon-dbgsym_9.0.0-1_amd64.deb
 708d47abc8a2daeee2c5efaa3d50d7b3a626c184d3873976396773901b45d762 11764 kmscon_9.0.0-1_amd64.buildinfo
 4563c49ec99a4ee3dfb2ba17e6fe8dceb8df9d04d5de9f152e601e708749e6f7 677868 kmscon_9.0.0-1_amd64.deb
Files:
 559e39f83fe83fc4de9556d869961e55 2099 utils optional kmscon_9.0.0-1.dsc
 1095a675c17d6adc6aa1537aff72c642 736668 utils optional kmscon_9.0.0.orig.tar.xz
 5e48a8352b8cd582890923553b874bb7 6632 utils optional kmscon_9.0.0-1.debian.tar.xz
 65a95fdb005e091b02d181b21cf73a34 387088 debug optional kmscon-dbgsym_9.0.0-1_amd64.deb
 182f69a2ca5ed0d39c987b8cd3e23584 11764 utils optional kmscon_9.0.0-1_amd64.buildinfo
 4bd0ab20dcc4632e764b4bff8efbe0ac 677868 utils optional kmscon_9.0.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmKvoMwACgkQweDZLphv
fH60pg/+O1Doi3IYOqtu7dY1ZY4V0D9jONDj1wULr+qW6oQmpHSWbsdQCRFETLXN
FnjA1NtkfdF4Tsz3b1NgeS9AL7/IHrexoO6TTkv+ni1uzTHB4mkdfx5T0IMSo+Ru
eLmQOisKITeGiQRYv2HoKqXOGEf3aXhhlIurht3YfMwaOFuu2+k3NEgs+e1IqRtC
LObnKuj+3RcQyLDRj0wpkHGALc4RKuKsoa9bcbuMajoFI6vY8vAJVa6LTDfPF3lj
nn5coCBiGFpMOdWLX1dhIWWSZH8r3mGndjLz9jFFdUUFVKoTppv89gUtwBQV+tkx
/3oCpJbuM5iR//8PymT5eE30deMVT4Wa+oEOnJKqB5fl10tKEv0Mg9VuewPdpiuE
2NimU881m1G9jLJa0v9LBOoaxdlKHLIdBwo8vl5c/kYXQ7Hpk7dPZkge7ekkVxAh
TlzO5x73KcidPB8O4GimujLGAPG2tDPxqfxE9eXNqf3pE5SEGWbzyYxknkK/vtMf
+0d7zZ4qHQpGyBpTQrsnlqTbmdGm5vpVLKhHfkP2AHE3ivD7RP3c+VUyH4wC0T+u
lb9iuhddG2iAYsjfnc7tAPkLGxsFjk+73JWF3ifYijiBc2fS2IiVLZ/JyuWJOlsZ
SaIAIctcZHLQSbkMPZ3XzC2ECjEncdY7a7YeaJGN87HcibAs0CQ=
=Rm6t
-----END PGP SIGNATURE-----