unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building emacs with and without X -- packaging question.
@ 2002-05-31 17:25 Rob Browning
  2002-05-31 18:41 ` Eli Zaretskii
  2002-06-01 21:04 ` Richard Stallman
  0 siblings, 2 replies; 54+ messages in thread
From: Rob Browning @ 2002-05-31 17:25 UTC (permalink / raw)



I've had a *long* standing request wrt the Debian packages that I
provide a non-X version that doesn't depend on any of the X packages.
I finally sat down to accomodate this the other day and managed to
reworked things to produce emacs21, emacs21-nox, and emacs21-el
packages, emacs21-nox being the new one, built with --with-x=no.  To
be completely safe, the way I did this was to configure and build
Emacs twice, once with --with-x=no, and once without.  Then I took the
two seprarate install trees and used those to create the two emacs21
and emacs21-nox binary packages, only one of which you can have
installed at a time.

The problem with this approach is that it requires two full Emacs
builds (and since we use bootstrap, it's a long build), and it roughly
doubles the storage required for the resulting packages.  James
pointed out to me that now that Debian supports over 10 architectures,
some of which are very slow builders, this will consume a lot more
archive space and build time.

An alternate approach would be to still build Emacs twice, but put all
the bits that the two trees have in common into an emacs21-common
package.  Then the emacs21 and emacs21-nox packages might not need to
be much more than the actual application binary.  However this
wouldn't be safe if the files in the with and without-x install trees
are likely to be different in important ways (i.e. different sets of
files, binary incompatibilities in .elc files, etc.).

Another way it might not be safe is if add-on emacs packages, like
calc, psgml, etc. could detect whether they were being compiled by an
X or non-X Emacs and generate differing .elc files as a result.  (This
wouldn't be safe in the current Debian arrangement, if I was going to
try to allow emacs21 and emacs21-nox to be installed simultaneously,
but could be made so, if needed.)

Accordingly I wanted to check with you upstream and see if you
considered this a viable approach, or if you had a preferred
alternative.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

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

end of thread, other threads:[~2002-09-20  4:18 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-31 17:25 Building emacs with and without X -- packaging question Rob Browning
2002-05-31 18:41 ` Eli Zaretskii
2002-05-31 19:08   ` Alan Shutko
     [not found]     ` <7999-Sat01Jun2002102420+0300-eliz@is.elta.co.il>
2002-06-01 16:42       ` Alan Shutko
2002-06-01 16:50         ` Eli Zaretskii
2002-06-10 19:13           ` Rob Browning
2002-06-10 19:45             ` Alan Shutko
2002-06-10 19:52               ` Stefan Monnier
2002-06-10 20:17                 ` Alan Shutko
2002-06-11  5:36                   ` Eli Zaretskii
2002-06-11 12:37                     ` Alan Shutko
2002-06-12 13:49                     ` Juanma Barranquero
2002-06-13  5:21                       ` Eli Zaretskii
2002-06-13 10:23                         ` Juanma Barranquero
2002-06-13 11:42                           ` Eli Zaretskii
2002-06-13 13:51                             ` Juanma Barranquero
2002-06-13 14:03                               ` Eli Zaretskii
2002-06-13 15:06                                 ` Juanma Barranquero
2002-06-13 15:16                                   ` Eli Zaretskii
2002-06-13 16:33                                     ` Juanma Barranquero
2002-06-14 15:47                                   ` Richard Stallman
2002-06-15 15:55                                     ` Eli Zaretskii
2002-06-13 21:47                       ` Richard Stallman
2002-06-14  7:08                         ` Juanma Barranquero
2002-06-15 15:54                         ` Eli Zaretskii
2002-06-20 21:45                     ` Rob Browning
2002-06-21 15:33                       ` Eli Zaretskii
2002-06-21 17:16                         ` Rob Browning
2002-06-22 16:02                         ` Rob Browning
2002-06-23 18:13                           ` Richard Stallman
2002-06-24  6:00                             ` Rob Browning
2002-06-24 14:55                               ` Rob Browning
2002-06-24 19:39                               ` Richard Stallman
2002-06-24 19:44                                 ` Rob Browning
2002-06-24 20:16                                 ` Stefan Monnier
2002-06-25  4:23                                   ` Eli Zaretskii
2002-06-25 15:24                                     ` Rob Browning
2002-06-25 15:52                                       ` Eli Zaretskii
2002-06-26 22:24                                       ` Richard Stallman
2002-06-26 22:53                                         ` Rob Browning
2002-06-25 23:32                                   ` Richard Stallman
2002-07-31 20:03                           ` Rob Browning
2002-08-01 16:52                             ` Richard Stallman
2002-08-01 17:01                               ` Rob Browning
2002-08-02 17:43                                 ` Richard Stallman
2002-08-02  6:11                             ` Richard Stallman
2002-08-02 15:46                               ` Rob Browning
2002-08-04  2:52                                 ` Richard Stallman
2002-09-14 21:16                                   ` Rob Browning
2002-09-17 15:32                                     ` Rob Browning
2002-09-20  4:18                                       ` Rob Browning
2002-08-09  6:54                               ` Stefan Monnier
2002-06-10 20:01               ` Rob Browning
2002-06-01 21:04 ` Richard Stallman

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).