>>>> "SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SY> * "Stephen" == Stephen J Turnbull <turnbull(a)sk.tsukuba.ac.jp>
writes:
>>>>>> "APA" == Adrian Aichner
<adrian(a)xemacs.org> writes:
APA> This causes emu-mule.el (and some
others requiring mule) not
APA> to be byte-compiled when the package is built.
Stephen> Do you mean that such files are sprinkled around outside
Stephen> of the xemacs-packages/mule sources? If so, can you
Stephen> suggest a way for me to quickly identify them (eg, grep
Stephen> for BUILD_WITHOUT_MULE in package Makefiles)?
Stephen> I would like to purge code that requires Mule to build
Stephen> correctly from the main codebase.
SY> Please don't. Having packages split across two different
SY> places will make maintenance a bitch.
Yeah Steve, you catch my drift.
This was exactly the concern I tried to convey to Stephen.
Building a package is just not as simple as marking all .el files in a
dired buffer and byte-copmiling them all.
But
make distclean
make bindist
isn't really asking too much of people who want to build their own
packages, I think.
Having to copy xemacs-packages/Local.rules.template to
xemacs-packages/Local.rules and configuring it correctly is the
trickiest part.
We should probably have a xemacs-packages/README file explaining this
and advertising xemacs-packages/NEWS.packages as well.
Steve, are you willing to write that file?
Adrian
SY> But what you could do is add a 'PROBLEMS' file to each
SY> non-Mule package that contains Mule files. [1] [2]
SY> ,----[ ./PROBLEMS ]
SY> | This package contains files that will only byte-compile using a
SY> | Mule-enabled XEmacs.
SY> |
SY> | Those files are: x.el, y.el, z.el ...
SY> |
SY> | If your XEmacs is not Mule-enabled, don't panic, this package does not
SY> | lose any functionality by not having the above files byte-compiled.
SY> `----
SY> These are the packages that have Mule files... [3]
SY> ,----[ find -name "Makefile" -exec sh -c 'grep -H
"_MULE" {}' \; ]
SY> | ./comm/footnote/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./comm/mew/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./comm/mew/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./comm/tm/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./libs/apel/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/edict/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/egg-its/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/leim/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/locale/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/mule-base/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./mule/skk/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./oa/calendar/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> | ./wp/auctex/Makefile:ifeq ($(BUILD_WITHOUT_MULE),)
SY> `----
SY> Footnotes:
SY> [1] I know that this isn't the cleanest of solutions, but I think its
SY> a pretty good trade-off between ease of maintenance and user
SY> complaint. So far, I've only seen one complaint like this (the
SY> one that started this thread).
SY> [2] Just mail them to me and I'll add them to the CVS tree.
SY> [3] Obviously the packages under ./mule/ don't need this
SY> 'enhancement'.
SY> --
SY> |---<Regards, Steve Youngs>-----------[GnuPG KeyID: 59E4C4B2]---|
SY> | XEmacs - It's not just an editor... |
SY> | It's a way of life. |
SY> |----------------------------------<mailto:youngs@xemacs.org>---|
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org