Ben Wing <ben(a)xemacs.org> writes:
It annoyed me that there was a random and unmaintainable order of
packages
in xemacs-packages/Makefile, with who knows what subtle dependencies.
With the various patches I've made to the packages build process, there
should be no more dependencies. So I redid things alphabetically except
that I looked through the dependencies and ordered the basic stuff first
for compilation speed.
I'm going to commit this after I've verified that a clean build works
(which will take a while, since my previous clean build still has some
hours left).
<15 lines deleted by Adrian Aichner>
Index: xemacs-packages/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- xemacs-packages/Makefile 2004/03/15 16:36:46 1.35
+++ xemacs-packages/Makefile 2004/12/07 04:15:59
<22 lines deleted by Adrian
Aichner>
+# At one point, we needed the list of packages to be in a very
particular
+# order because of autoload issues. This is no longer true -- we build all
+# autoloads first, before any compilation, so they're available to all
+# packages, and we arrange things so that out-of-date .elc files are
+# ignored. However, it's useful to order the more basic stuff first,
+# to speed up compilation. We use four groups:
I very much like the fact that you actually document the justification
for the particular ordering with the sources!
Adrian
+#
+# (a) The most basic stuff, listed in dependency order.
+# (b) Basic libraries used by lots of other code, with few or no dependencies
+# other than in (a); listed alphabetically.
+# (c) Some other things with more dependencies but used by lots of packages;
+# listed alphabetically.
+# (d) Everything else, listed alphabetically.
+
ifeq ('$(NONMULE_PACKAGES)','xemacs-packages')
-PACKAGES:= xemacs-base fsf-compat mail-lib dired efs apel \
- Sun edebug elib tooltalk xemacs-devel sounds-au sounds-wav \
- eieio build auctex crisp edt reftex texinfo textools tpu viper \
- vm w3 net-utils eudc footnote gnats mh-e supercite mailcrypt \
- rmail gnus tm mew zenirc bbdb cookie games general-docs mine \
- misc-games semantic cc-mode pcl-cvs ada c-support debug ediff \
- emerge idlwave jde prog-modes scheme sh-script vc-cc vc vhdl \
- xslt-process eterm igrep ilisp os-utils ps-print view-process \
- eshell pcomplete edit-utils speedbar calc calendar forms frame-icon \
- hm--html-menus ispell pc psgml psgml-dtds sgml slider text-modes time \
- strokes tramp clearcase dictionary sieve ibuffer mmm-mode xslide \
- liece haskell-mode ess docbookide ecrypto ocaml sasl sml-mode \
- python-modes fortran-modes ruby-modes perl-modes pgg ecb x-symbol \
- hyperbole oo-browser riece erc xlib xwem escreen
+PACKAGES:= xemacs-base fsf-compat mail-lib \
+ \
+ apel cc-mode debug dired ecrypto edit-utils elib eterm ispell \
+ os-utils sh-script texinfo text-modes xlib \
+ \
+ edebug eieio efs net-utils xemacs-devel \
+ \
+ Sun ada bbdb build c-support calc calendar clearcase \
+ cookie crisp dictionary docbookide ecb ediff edt emerge \
+ erc escreen eshell ess eudc footnote forms fortran-modes \
+ frame-icon games general-docs gnats gnus haskell-mode \
+ hm--html-menus hyperbole ibuffer idlwave igrep ilisp \
+ jde liece mailcrypt mew mh-e mine misc-games mmm-mode \
+ ocaml oo-browser pc pcl-cvs pcomplete perl-modes pgg \
+ prog-modes ps-print psgml psgml-dtds python-modes reftex \
+ riece rmail ruby-modes sasl scheme semantic sgml sieve \
+ slider sml-mode sounds-au sounds-wav speedbar strokes \
+ supercite text-modes textools time tm tooltalk tpu tramp \
+ vc vc-cc vhdl view-process viper vm w3 x-symbol xlib \
+ xslide xslt-process xwem zenirc
else
PACKAGES := $(NONMULE_PACKAGES)
endif
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/