From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61049 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Gnus installation Date: Fri, 30 Sep 2005 10:20:29 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1128043490 19541 80.91.229.2 (30 Sep 2005 01:24:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2005 01:24:50 +0000 (UTC) Original-X-From: ding-owner+m9581@lists.math.uh.edu Fri Sep 30 03:24:48 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EL9cd-0001HO-Hm for ding-account@gmane.org; Fri, 30 Sep 2005 03:23:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EL9cC-0008Lq-00; Thu, 29 Sep 2005 20:23:08 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EL9Zr-0008Lk-00 for ding@lists.math.uh.edu; Thu, 29 Sep 2005 20:20:43 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EL9Zo-0005do-N7 for ding@lists.math.uh.edu; Thu, 29 Sep 2005 20:20:43 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EL9Zm-0000ON-00 for ; Fri, 30 Sep 2005 03:20:38 +0200 Original-Received: from localhost ([127.0.0.1]:48293) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1EL9Zx-0004qs-SM for ding@gnus.org; Thu, 29 Sep 2005 20:20:50 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:hLvJRxwzmk1kgHSyOnqvy4ugfeY= X-Hashcash: 1:20:050930:ding@gnus.org::3VjN+4Ua1taKLIMC:00002DnW X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.2 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61049 Archived-At: --=-=-= Hi, When installing Gnus, specifying no options, a lot of Lisp files will be scattered underneath the site-lisp directory. I considered over ten years that it's not a good idea. In addition to this, there's another problem that ``./configure; make install'' will never install .el files. WDYT? I made a patch for both of them. I think a similar change should also be applied to the v5-10 branch. --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- aclocal.m4~ 2004-05-20 08:02:34 +0000 +++ aclocal.m4 2005-09-30 01:14:57 +0000 @@ -87,7 +87,7 @@ datadir="\$(prefix)/lib" lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus" else - lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp" + lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus" fi for thedir in share lib; do potential= @@ -95,7 +95,7 @@ if test "$EMACS_FLAVOR" = "xemacs"; then lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus" else - lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp" + lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus" fi break fi @@ -113,7 +113,7 @@ if test "$EMACS_FLAVOR" = "xemacs"; then etcdir="\$(lispdir)/../../etc" else - etcdir="\$(lispdir)/../etc" + etcdir="\$(lispdir)/../../etc" fi fi AC_MSG_RESULT($etcdir) --- lisp/Makefile.in~ 2004-05-20 09:43:25 +0000 +++ lisp/Makefile.in 2005-09-30 01:14:57 +0000 @@ -29,7 +29,7 @@ clever some l: gnus-load.el $(EMACS_COMP) -f dgnushack-compile -install: install-el install-elc +install: install-el-elc install-el: gnus-load.el $(SHELL) $(top_srcdir)/mkinstalldirs $(lispdir) @@ -51,6 +51,21 @@ $(INSTALL_DATA) $$p $(lispdir)/$$p; \ done +install-el-elc: clever + rm -f dgnushack.elc + $(SHELL) $(top_srcdir)/mkinstalldirs $(lispdir) + echo " $(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el" + $(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el + for p in *.elc; do \ + q=`basename $$p c`; \ + if [ -f "$(srcdir)/$$q" ]; then \ + echo " $(INSTALL_DATA) $$q $(lispdir)/$$q"; \ + $(INSTALL_DATA) $(srcdir)/$$q $(lispdir)/$$q; \ + fi; \ + echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \ + $(INSTALL_DATA) $$p $(lispdir)/$$p; \ + done + uninstall: for p in *.elc; do \ rm -f "$(lispdir)/$$p"; \ --=-=-=--