all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: emacs-devel@gnu.org
Subject: Bloat in Windows (revisited)
Date: Wed, 05 Jun 2019 22:46:11 +0100	[thread overview]
Message-ID: <874l53g0yk.fsf@russet.org.uk> (raw)


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




             reply	other threads:[~2019-06-05 21:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-05 21:46 Phillip Lord [this message]
2019-06-05 23:24 ` Bloat in Windows (revisited) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l53g0yk.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.