GNU bug report logs -
#56139
[PATCH 0/4] Make window managers use libinput-minimal instead of libinput
Previous Next
Reported by: Josselin Poiret <dev <at> jpoiret.xyz>
Date: Wed, 22 Jun 2022 12:16:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <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 56139 in the body.
You can then email your comments to 56139 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#56139
; Package
guix-patches
.
(Wed, 22 Jun 2022 12:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Josselin Poiret <dev <at> jpoiret.xyz>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 22 Jun 2022 12:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This reduces their total closure, since libinput pulls in gtk+ which
adds roughly 400MiB.
Josselin Poiret (4):
gnu: wlroots: Replace input libinput by libinput-minimal.
gnu: sway: Replace input libinput by libinput-minimal.
gnu: waybar: Replace input libinput by libinput-minimal.
gnu: hikari: Replace input libinput by libinput-minimal.
gnu/packages/wm.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
base-commit: e74fa406e1043547242a8b67ab9907fea7aae6b9
--
2.36.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Wed, 22 Jun 2022 12:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 56139 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (wlroots)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.
---
gnu/packages/wm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index ecc79f73b9..fb5a6bc5b3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1538,7 +1538,7 @@ (define-public wlroots
(propagated-inputs
(list ;; As required by wlroots.pc.
eudev
- libinput
+ libinput-minimal
libxkbcommon
mesa
pixman
--
2.36.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Wed, 22 Jun 2022 12:18:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 56139 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (sway)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.
---
gnu/packages/wm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index fb5a6bc5b3..3fd4ed6ca4 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1592,7 +1592,7 @@ (define-public sway
gdk-pixbuf
json-c
libevdev
- libinput
+ libinput-minimal
libxkbcommon
pango
swaybg
--
2.36.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Wed, 22 Jun 2022 12:19:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 56139 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (waybar)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.
---
gnu/packages/wm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3fd4ed6ca4..8c312e5115 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1724,7 +1724,7 @@ (define-public waybar
gtkmm-3
jsoncpp
libdbusmenu
- libinput
+ libinput-minimal
libmpdclient
libnl
libxml2
--
2.36.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Wed, 22 Jun 2022 12:19:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 56139 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/wm.scm (hikari)[propagated-inputs]: Replace libinput
by libinput-minimal to reduce closure.
---
gnu/packages/wm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8c312e5115..a23acfd3f8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2561,7 +2561,7 @@ (define-public hikari
(list bmake pkg-config wayland-protocols))
(inputs
`(("cairo" ,cairo)
- ("libinput" ,libinput)
+ ("libinput" ,libinput-minimal)
("libucl" ,libucl)
("libxkbcommon" ,libxkbcommon)
("pam" ,linux-pam)
--
2.36.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 23 Jun 2022 20:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Josselin Poiret <dev <at> jpoiret.xyz>
:
bug acknowledged by developer.
(Thu, 23 Jun 2022 20:22:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 56139-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Josselin Poiret <dev <at> jpoiret.xyz> skribis:
> This reduces their total closure, since libinput pulls in gtk+ which
> adds roughly 400MiB.
Good catch; applied, thanks!
It never occurred to me that it could depend on GTK+; apparently that’s
for some debugging GUI, but it’s not clear how it’s supposed to get
invoked:
--8<---------------cut here---------------start------------->8---
$ grep -r 2i4ykhraljp7jhhs76v44c51kkz31f01 $(guix build libinput)
grep: /gnu/store/brbdvjj4k9g80c2vdv8cfkckwd1q9dsk-libinput-1.19.2/libexec/libinput/libinput-debug-gui: binary file matches
grep: /gnu/store/brbdvjj4k9g80c2vdv8cfkckwd1q9dsk-libinput-1.19.2/etc/ld.so.cache: binary file matches
$ grep -r libinput-debug-gui $(guix build libinput)
$ echo $?
1
--8<---------------cut here---------------end--------------->8---
What’s is it used for?
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Thu, 23 Jun 2022 20:35:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 56139-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès schreef op do 23-06-2022 om 22:20 [+0200]:
> Hi,
>
> Josselin Poiret <dev <at> jpoiret.xyz> skribis:
>
> > This reduces their total closure, since libinput pulls in gtk+ which
> > adds roughly 400MiB.
>
> Good catch; applied, thanks!
>
> It never occurred to me that it could depend on GTK+; apparently that’s
> for some debugging GUI, but it’s not clear how it’s supposed to get
> invoked:
>
> [...]
>
> What’s is it used for?
FWIW, it has a man page:
<https://man.archlinux.org/man/extra/libinput/libinput-debug-gui.1.en>?
I did some quick searches for 'libinput-debug-gui' on the Web but
didn't find any uses in the wild, so maybe we don't really lose
anything by disabling it?
Also, having multiple library variants is a bit messy (there was some
bug involving multiple versions of cairo used by a single app?), so I'd
prefer to eliminate the libinput / libinput-minimal distinction (maybe
with a separate libinput-debug-gui package if desired?).
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Fri, 24 Jun 2022 15:12:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 56139-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Maxime Devos <maximedevos <at> telenet.be> skribis:
> FWIW, it has a man page:
> <https://man.archlinux.org/man/extra/libinput/libinput-debug-gui.1.en>?
Since it’s under libexec/, I’d assume that it’s not meant to be invoked
directly, but the man page suggests otherwise?…
> I did some quick searches for 'libinput-debug-gui' on the Web but
> didn't find any uses in the wild, so maybe we don't really lose
> anything by disabling it?
Looks like it.
> Also, having multiple library variants is a bit messy (there was some
> bug involving multiple versions of cairo used by a single app?), so I'd
> prefer to eliminate the libinput / libinput-minimal distinction (maybe
> with a separate libinput-debug-gui package if desired?).
Yeah, maybe we can do that (with a comment), and apparently that’s even
an OK change for master.
If you provide a patch, I’ll happily apply it. :-)
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#56139
; Package
guix-patches
.
(Sun, 26 Jun 2022 10:16:01 GMT)
Full text and
rfc822 format available.
Message #31 received at 56139-done <at> debbugs.gnu.org (full text, mbox):
Hi Ludo and Maxime,
Ludovic Courtès <ludo <at> gnu.org> writes:
> Since it’s under libexec/, I’d assume that it’s not meant to be invoked
> directly, but the man page suggests otherwise?…
Just as a heads-up, the debug GUI is supposed to be launched through
`libinput debug-gui`. I'm not sure there's anything there that cannot
be debugged through `libinput debug-envents` though.
Cheers,
--
Josselin Poiret
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 24 Jul 2022 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.