FS#40672 - [network-manager-applet] consider splitting libnm-gtk.so*
Attached to Project:
Arch Linux
Opened by Andrew (abrouwers) - Wednesday, 04 June 2014, 02:31 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 09 July 2014, 19:14 GMT
Opened by Andrew (abrouwers) - Wednesday, 04 June 2014, 02:31 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 09 July 2014, 19:14 GMT
|
Details
Description:
Unless I'm misunderstanding, it seems that nm-applet is an optional dep in gnome-shell (adding some additional functionality), and g-c-c too only uses the libnm shared library. To avoid installing nm-applet (which is autoloaded), could it be considered to split out the library, similar to what was done with modemmanager? This seems to be a popular solution in fedora and debian, at least, and would reduce the number of processes that load with gnome. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 09 July 2014, 19:14 GMT
Reason for closing: Implemented
Wednesday, 09 July 2014, 19:14 GMT
Reason for closing: Implemented
[ajb@thinkpad ~]$ ldd /usr/bin/gnome-shell | grep libnm
libnm-util.so.2 => /usr/lib/libnm-util.so.2 (0x00007f8315372000)
libnm-glib.so.4 => /usr/lib/libnm-glib.so.4 (0x00007f8315133000)
[ajb@thinkpad ~]$
[ajb@thinkpad ~]$ ldd /usr/bin/gnome-control-center | grep libnm
libnm-glib-vpn.so.1 => /usr/lib/libnm-glib-vpn.so.1 (0x00007f3eb1ca6000)
libnm-gtk.so.0 => /usr/lib/libnm-gtk.so.0 (0x00007f3eb1a7a000)
libnm-util.so.2 => /usr/lib/libnm-util.so.2 (0x00007f3eb1816000)
libnm-glib.so.4 => /usr/lib/libnm-glib.so.4 (0x00007f3eb15d7000)
Restarting g-shell works correctly after removing network-manager-applet. Makes the install footprint slightly smaller, including less memory being loaded for the common use case.
nm_pkgbuild.diff (1.7 KiB)