unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size.
@ 2020-06-11  7:14 Pierre Neidhardt
  2020-06-11 16:06 ` Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-11  7:14 UTC (permalink / raw)
  To: 41798

* gnu/packages/xorg.scm (xf86-input-libinput)[inputs]: Replace libinput by
libinput-minimal.
---
 gnu/packages/xorg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9a7b856791..e5fe3e14cf 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -2556,7 +2556,7 @@ including most mice, keyboards, tablets and touchscreens.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("libinput" ,libinput)
+     `(("libinput" ,libinput-minimal)
        ("xorg-server" ,xorg-server)))
     (home-page "https://www.x.org/wiki/")
     (synopsis "Input driver for X server based on libinput")
-- 
2.26.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size.
  2020-06-11  7:14 [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size Pierre Neidhardt
@ 2020-06-11 16:06 ` Arun Isaac
  2020-06-11 16:28   ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2020-06-11 16:06 UTC (permalink / raw)
  To: Pierre Neidhardt, 41798

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]


xf86-input-libinput builds fine with this patch and achieves quite a
dramatic closure size reduction from 817 MB to 199 MB! :-)

`guix refresh -l` reports that this change will cause the rebuild of 781
packages. So, according to the manual, this should go to the staging
branch.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size.
  2020-06-11 16:06 ` Arun Isaac
@ 2020-06-11 16:28   ` Pierre Neidhardt
  2020-06-11 18:09     ` Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-11 16:28 UTC (permalink / raw)
  To: Arun Isaac, 41798

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Arun Isaac <arunisaac@systemreboot.net> writes:

> `guix refresh -l` reports that this change will cause the rebuild of 781
> packages. So, according to the manual, this should go to the staging
> branch.

Weird, I get this:

--8<---------------cut here---------------start------------->8---
> guix refresh -l xf86-input-libinput
Building the following 2 packages would ensure 4 dependent packages are rebuilt: lxqt@0.14.1 xfce@4.14.2
--8<---------------cut here---------------end--------------->8---

In fact, to test the patch Guix didn't rebuild anything for me (I don't
use lxqt / xfce).

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size.
  2020-06-11 16:28   ` Pierre Neidhardt
@ 2020-06-11 18:09     ` Arun Isaac
  2020-06-12  7:27       ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2020-06-11 18:09 UTC (permalink / raw)
  To: Pierre Neidhardt, 41798

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]


Oops, sorry! I accidentally looked up the dependents of
libinput-minimal. Please push to master.

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size.
  2020-06-11 18:09     ` Arun Isaac
@ 2020-06-12  7:27       ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-12  7:27 UTC (permalink / raw)
  To: Arun Isaac, 41798

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]

Thanks!

Pushed with cd0f1fbd1ab1018c022661fa57ddcb91125dd4ab.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-12  7:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11  7:14 [bug#41798] [PATCH] gnu: xf86-input-libinput: Reduce closure size Pierre Neidhardt
2020-06-11 16:06 ` Arun Isaac
2020-06-11 16:28   ` Pierre Neidhardt
2020-06-11 18:09     ` Arun Isaac
2020-06-12  7:27       ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).