unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bloat in Windows (revisited)
@ 2019-06-05 21:46 Phillip Lord
  2019-06-05 23:24 ` Tak Kunihiro
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Phillip Lord @ 2019-06-05 21:46 UTC (permalink / raw)
  To: emacs-devel


A while back, we had some discussion about the Emacs packages for
windows.

https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00719.html

I have now implemented the first part of this (no debug symbols in
release builds); at least hopefully, as it's hard to test for sure till
the first release of Emacs-27.

I have also been playing around with the problem of msys2 pulling in a
fairly wide set of dependencies. Instead of using `pactree` to determine
the dependency tree, I use `pacman` directly and crawl the tree myself.

This has a slightly increased maintainence load (there are two packages
with different names in different places for some reason). But it means
that I can exclude any subtree I like. Currently:

mingw-w64-x86_64-librsvg

brings in

mingw-w64-x86_64-glib2

which brings in lots of stuff including python. Excluding this results
in a much smaller dependencies package (around 40Mb as opposed to
140Mb). Haven't build the final files yet, but I would guess that this
would bring the installer version down to 50Mb -- not quite "eight Mb and
constantly swapping", but pretty small.

This also opens up the question of whether we *should* include any
executables that would add value to Emacs on Windows; I hesitate to go
too far down this route, mostly because maintaining an mini MSYS2
distribution seems the wrong thing to do.

But some basic functionality that other editors get from the OS comes
from external packages. I am thinking gzip, find, grep and aspell as
essential. Things like latex and python, I would exclude. Then there is
some middle ground -- I use msmtp for sending email, for instance.

The branch is here. Comments welcome.

http://git.savannah.gnu.org/cgit/emacs.git/log/?h=feature/smaller-windows

Phil




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

end of thread, other threads:[~2019-06-18 19:27 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-05 21:46 Bloat in Windows (revisited) Phillip Lord
2019-06-05 23:24 ` Tak Kunihiro
2019-06-06 14:29 ` Eli Zaretskii
2019-06-06 14:34   ` Stefan Monnier
2019-06-06 20:14     ` Phillip Lord
2019-06-07  2:07       ` Stefan Monnier
2019-06-09 21:16         ` Phillip Lord
2019-06-10  8:59         ` Nikolay Kudryavtsev
2019-06-10 12:17           ` Óscar Fuentes
2019-06-10 15:47             ` Nikolay Kudryavtsev
2019-06-10 21:28           ` Phillip Lord
2019-06-13 17:27             ` Nikolay Kudryavtsev
2019-06-13 17:53               ` Eli Zaretskii
2019-06-13 18:12                 ` Nikolay Kudryavtsev
2019-06-13 21:34                   ` Phillip Lord
2019-06-14  8:19                     ` Nikolay Kudryavtsev
2019-06-17 15:59                       ` Phillip Lord
2019-06-18 16:29                         ` Eli Zaretskii
2019-06-18 17:59                           ` Stefan Monnier
2019-06-18 19:27                             ` Óscar Fuentes
2019-06-13 21:31               ` Phillip Lord
2019-06-07  6:08       ` Eli Zaretskii
2019-06-10  8:52 ` Nikolay Kudryavtsev
2019-06-10 15:27   ` Eli Zaretskii
2019-06-10 21:17     ` Phillip Lord

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

	https://git.savannah.gnu.org/cgit/emacs.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).