[PATCH] gnu: xf86-input-libinput: Reduce closure size.

  • Done
  • quality assurance status badge
Details
2 participants
  • Arun Isaac
  • Pierre Neidhardt
Owner
unassigned
Submitted by
Pierre Neidhardt
Severity
normal
P
P
Pierre Neidhardt wrote on 11 Jun 2020 09:14
(address . guix-patches@gnu.org)
20200611071402.29056-1-mail@ambrevar.xyz
* 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(-)

Toggle diff (15 lines)
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
A
A
Arun Isaac wrote on 11 Jun 2020 18:06
cu7wo4doad8.fsf@systemreboot.net
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.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl7iVoMACgkQLiXui2GA
K7OrfAf/T7M0CQNYdwrKFSNFep1jymr5wKXpCF08LIFVtrfhyOec2ilxr8izWsBW
EphvuWBSUOb1DlpzvYvhLdEEgXA7L52u4uFBCeeZkEmdZcph2CjcICHRKDuGzEnm
85rD9DWWhxDxJqJm5jCC6zc5CB4o6ASEjqJfHDXYsyzHbQZeTgjb3lLGZ/a+x7j6
Oganp3ljbwuOMuhvpdBIIKhLvv6GiWh0y4ILxJQW8PUe7pMi+ecMcPe0ZjqoHjRD
84gE5kZCaTQOowUHNiUp2fZO5Wxlw0mObk3PNDNSjdCqqxabJdDdH3Wuv5juDqLq
pLs3dXTNowG1zZLUBbd6OySIWYCcNA==
=d+2m
-----END PGP SIGNATURE-----

P
P
Pierre Neidhardt wrote on 11 Jun 2020 18:28
87imfx36t9.fsf@ambrevar.xyz
Arun Isaac <arunisaac@systemreboot.net> writes:

Toggle quote (4 lines)
> `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:

Toggle snippet (4 lines)
> 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

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

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7iW8IACgkQm9z0l6S7
zH9n4wf8CIYd610ulqnXWO4oAuoYvSl3x7IDfVilQ/7fh98PS1nK59LBdv7DbHc3
k5J+3WuHEtUTDyNacEQ+2mrYlm7s0y6bbYuCOan2RtUAhXRdjCLYJ379TdEm140X
cXKRT0dqWvGiq8ATidgzcPikTIcHRxOcxXfkaiHuztoZ60WvqFc2frbxKwZeMcC7
IwTdd1W6Mif9CWz/q/rGpi2dM4cqpi1So3IZPuW3iNcp9F5gq9l+MUTDao0nWXr6
6fpCGVAL8K3ExXdclTvvWc2ZC9XiRAHNKfskyffjY4Sdv22QIWNXOla1X0E1ZqkO
9b3FL285OTzY+R2xb+MrxrobCRhiOA==
=icJF
-----END PGP SIGNATURE-----

A
A
Arun Isaac wrote on 11 Jun 2020 20:09
cu7tuzho4ol.fsf@systemreboot.net
Oops, sorry! I accidentally looked up the dependents of
libinput-minimal. Please push to master.

Thanks!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl7ic0oACgkQLiXui2GA
K7PB5Qf/T/xDBEUk1WMyExSHJos7kIDX2TmGz+XAbRQCooAcLiuDq1E1vIfQiNEI
KDofq/oXvGsT3xQMwFHPCyRJNJ0QN30WaFoZOB11x70lbjXUL6PSytMqhP36x7Zl
03Q8H1fpfDScbldC8zE9/KxJmuLPbXQkE6EISAUreDROrGqj7NwNQOMulRj7l768
a4ajvtOBeraGkslEluHmi6Ezo23+aOQm/V/7dmaqQDPzRZlSKhbqqhPcRANs+aVP
zzpkQp/mheV/HpC+65SJcxtemur3cpDAuXJC6/bs/n2wbqCm/eXgW6VCBgN6XmMW
vUz4e528EMOLkWtbUFFSlky/RXFYAQ==
=w3tP
-----END PGP SIGNATURE-----

P
P
Pierre Neidhardt wrote on 12 Jun 2020 09:27
87r1ukspzk.fsf@ambrevar.xyz
Thanks!

Pushed with cd0f1fbd1ab1018c022661fa57ddcb91125dd4ab.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7jLm8ACgkQm9z0l6S7
zH/GEgf/ThQ/r5gRdLA15dTYxqksHiymOxsIxiuAoqtIGly9a8WzB4G+eDHScSHJ
Ms0pzOo9ykktOweUhno4s23Ufva4Y93irM6GaXO2kQa7iabxeoK17ZoBOVZCD+hJ
W4pmHLTU0D0MwzTLVIqTqnTfNTj/IC4JVbv786/nhbJX35BQsPiOwGUH8PQvrG3J
HbxsrZlcPirLEjRP0c4pCdbe279+44oAgcEIN384SIrk0JiS12X04L/xqz6IAY3d
OcIhSMewKUYdzIwKt8JYpHZxuruOnaWeFwblTSIJXFdgAScVI+NuDST7ZO/2pqtj
urHEItp50ZG5tBGhPm/h/8YMt3tuqA==
=WwwT
-----END PGP SIGNATURE-----

P
P
Pierre Neidhardt wrote on 12 Jun 2020 09:28
control message for bug #41798
(address . control@debbugs.gnu.org)
87pna4spz3.fsf@ambrevar.xyz
close 41798
quit
?